```css
/* =====================================================
   ENG R DAWOOD — PREMIUM DARK PORTFOLIO
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #08080d;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 5%;
    background: rgba(8, 8, 13, 0.72);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
    max-width: 1250px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo,
.footer-logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span,
.footer-logo span {
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: #a7a7b5;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #ffffff;
}

.nav-btn {
    padding: 11px 20px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 13px;
    transition: 0.3s;
}

.nav-btn:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 25px rgba(139,92,246,0.25);
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    padding: 150px 7% 50px;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
}

.hero::before {
    background: #8b5cf6;
    top: 10%;
    left: -200px;
}

.hero::after {
    background: #ec4899;
    right: -200px;
    bottom: 0;
}

.hero-content {
    max-width: 1250px;
    margin: auto;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.hello {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(139,92,246,0.35);
    background: rgba(139,92,246,0.08);
    color: #c4b5fd;
    font-size: 13px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(50px, 7vw, 92px);
    line-height: 0.95;
    letter-spacing: -5px;
    margin-bottom: 25px;
}

.hero h1 span {
    background: linear-gradient(90deg, #8b5cf6, #3b82f6, #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.hero h2 {
    font-size: 30px;
    line-height: 1.25;
    color: #d7d7df;
    margin-bottom: 25px;
}

.hero h2 strong {
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text > p {
    max-width: 570px;
    color: #9999a8;
    line-height: 1.8;
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 35px 0 25px;
}

.gradient-btn,
.outline-btn {
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.gradient-btn {
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
}

.gradient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(89,85,246,0.35);
}

.outline-btn {
    border: 1px solid rgba(255,255,255,0.16);
}

.outline-btn:hover {
    border-color: #8b5cf6;
}

.socials {
    display: flex;
    gap: 22px;
}

.socials a {
    color: #777785;
    font-size: 13px;
    transition: 0.3s;
}

.socials a:hover {
    color: #ffffff;
}


/* ================= HERO IMAGE ================= */

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gradient-circle {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: conic-gradient(
        #8b5cf6,
        #3b82f6,
        #ec4899,
        #8b5cf6
    );
    filter: blur(2px);
    animation: rotateGlow 8s linear infinite;
}

.image-wrapper {
    position: relative;
    width: 340px;
    height: 430px;
    overflow: hidden;
    border-radius: 180px 180px 30px 30px;
    border: 5px solid #08080d;
    z-index: 2;
    background: #11111a;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    right: 0;
    bottom: 45px;
    z-index: 4;
    padding: 17px 25px;
    background: rgba(17,17,27,0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.6;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.floating-card span {
    color: #ec4899;
}


/* ================= SKILLS ================= */

.skill-strip {
    max-width: 1250px;
    margin: 40px auto 0;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.skill-strip span {
    color: #777785;
    font-size: 11px;
    letter-spacing: 2px;
}

.skill-strip strong {
    color: #b8b8c4;
    font-size: 14px;
}


/* ================= COMMON SECTION ================= */

.section {
    max-width: 1250px;
    margin: auto;
    padding: 130px 5%;
}

.section-title span {
    color: #8b5cf6;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
}

.section-title h2 {
    max-width: 700px;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1;
    letter-spacing: -3px;
    margin-top: 18px;
}

.section-title em {
    font-style: normal;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.center {
    text-align: center;
}

.center h2 {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    max-width: 600px;
    margin: 20px auto 0;
    color: #858593;
    line-height: 1.7;
}


/* ================= ABOUT ================= */

.about-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    color: #9999a8;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: #ffffff;
    border-bottom: 1px solid #8b5cf6;
    padding-bottom: 5px;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat {
    padding: 30px;
    min-height: 150px;
    background: #101018;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 22px;
}

.stat h3 {
    font-size: 38px;
    margin-bottom: 10px;
    background: linear-gradient(90deg,#8b5cf6,#ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.stat p {
    color: #777785;
    font-size: 13px;
}


/* =====================================================
   PREMIUM SERVICES
===================================================== */

.services {
    position: relative;
}

.service-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    min-height: 410px;
    padding: 32px 28px;
    border-radius: 28px;
    background:
        linear-gradient(#101018, #101018) padding-box,
        linear-gradient(
            145deg,
            rgba(139,92,246,0.55),
            rgba(59,130,246,0.15),
            rgba(236,72,153,0.45)
        ) border-box;
    border: 1px solid transparent;
    overflow: hidden;
    transition: 0.4s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -90px;
    right: -90px;
    background: #8b5cf6;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.service-card:hover::before {
    opacity: 0.35;
}

.service-number {
    color: #555562;
    font-size: 12px;
    letter-spacing: 2px;
}

.service-icon {
    width: 58px;
    height: 58px;
    margin: 35px 0 30px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 700;
    background: linear-gradient(
        135deg,
        rgba(139,92,246,0.22),
        rgba(236,72,153,0.1)
    );
    border: 1px solid rgba(139,92,246,0.3);
    color: #c4b5fd;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.service-card p {
    color: #858593;
    line-height: 1.7;
    font-size: 13px;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

.service-tech span {
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.06);
    color: #8d8d9a;
    font-size: 10px;
}

.service-link {
    position: absolute;
    bottom: 28px;
    left: 28px;
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 600;
}

.service-link span {
    margin-left: 8px;
    transition: 0.3s;
}

.service-link:hover span {
    margin-left: 14px;
}


/* ================= PROJECTS ================= */

.project-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project {
    min-height: 330px;
    border-radius: 25px;
    background: #101018;
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    transition: 0.4s;
}

.project:hover {
    transform: translateY(-8px);
    border-color: rgba(139,92,246,0.35);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.project-top {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #666673;
    font-size: 11px;
}

.project-content {
    padding: 35px 25px;
}

.project-content h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.project-content p {
    color: #858593;
    line-height: 1.7;
    font-size: 14px;
}

.tags {
    display: flex;
    gap: 8px;
    margin-top: 25px;
}

.tags span {
    padding: 7px 10px;
    background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.15);
    border-radius: 8px;
    color: #a78bfa;
    font-size: 10px;
}


/* ================= CONTACT ================= */

.contact {
    margin-top: 80px;
    padding: 130px 7%;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(139,92,246,0.16),
            transparent 55%
        );
}

.contact-inner {
    max-width: 850px;
    margin: auto;
}

.contact-inner > span {
    color: #8b5cf6;
    font-size: 11px;
    letter-spacing: 3px;
}

.contact h2 {
    margin-top: 20px;
    font-size: clamp(42px, 6vw, 75px);
    line-height: 1;
    letter-spacing: -4px;
}

.contact h2 em {
    font-style: normal;
    background: linear-gradient(90deg,#8b5cf6,#ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.contact p {
    color: #858593;
    margin-top: 25px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.contact-buttons a {
    padding: 13px 22px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    font-size: 13px;
    transition: 0.3s;
}

.contact-buttons a:hover {
    border-color: #8b5cf6;
    background: rgba(139,92,246,0.08);
}


/* =====================================================
   PROFESSIONAL FOOTER
===================================================== */

.footer {
    background: #050508;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 75px 7% 25px;
}

.footer-container {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1fr 1.1fr;
    gap: 60px;
}

.footer-brand p {
    max-width: 350px;
    margin-top: 20px;
    color: #777785;
    font-size: 13px;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.footer-socials a {
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    color: #858593;
    font-size: 11px;
    transition: 0.3s;
}

.footer-socials a:hover {
    color: #ffffff;
    border-color: #8b5cf6;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-column a,
.footer-column span {
    color: #777785;
    font-size: 12px;
    transition: 0.3s;
}

.footer-column a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1250px;
    margin: 60px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #555561;
    font-size: 11px;
}


/* ================= ANIMATIONS ================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    nav {
        gap: 18px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: span 1;
    }
}


@media (max-width: 800px) {

    .navbar {
        padding: 15px 5%;
    }

    nav {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text > p {
        margin: auto;
    }

    .hero-buttons,
    .socials {
        justify-content: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .skill-strip {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


@media (max-width: 550px) {

    .nav-btn {
        display: none;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 50px;
        letter-spacing: -3px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .image-wrapper {
        width: 270px;
        height: 350px;
    }

    .gradient-circle {
        width: 310px;
        height: 310px;
    }

    .floating-card {
        right: 0;
        bottom: 20px;
    }

    .section {
        padding: 90px 5%;
    }

    .section-title h2 {
        font-size: 42px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 90px 5%;
    }

    .contact h2 {
        font-size: 45px;
    }

    .footer {
        padding-left: 5%;
        padding-right: 5%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }
}