:root {
    --bg: #12091f;
    --bg-light: #1a0d2b;
    --text: #ffffff;
    --muted: #b8a9c9;

    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --purple-dark: #6d28d9;

    --border: rgba(139, 92, 246, 0.3);
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Grotesk", sans-serif;
    background: var(--bg-light);
    color: var(--text);
}

/* =========================
   NAVIGATION
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;

    background: rgba(18, 9, 31, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.logo {
    color: var(--purple-light);
    text-decoration: none;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: 3px;
}

.navbar nav {
    display: flex;
    gap: 40px;
}

.navbar nav a {
    color: #ffffff;
    text-decoration: none;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;

    transition: opacity 0.3s ease;
}

.navbar nav a:hover {
    color: var(--purple-light);
    opacity: 1;
}

.navbar nav a {
    position: relative;
}

.navbar nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--purple-light);

    transition: width 0.3s ease;
}

.navbar nav a:hover::after {
    width: 100%;
}


/* =========================
   MENU BUTTON
========================= */

.menu-btn {
    display: none;

    background: transparent;
    border: none;

    cursor: pointer;
}

.menu-btn span {
    display: block;

    width: 28px;
    height: 2px;

    background: #ffffff;

    margin: 6px 0;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    background:
        radial-gradient(circle at 75% 35%, rgba(139, 92, 246, 0.35), transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(109, 40, 217, 0.30), transparent 40%),
        linear-gradient(135deg, #12091f, #24103d, #10071a);
    position: relative;

    display: flex;
    align-items: center;

    padding: 120px 8%;

    overflow: hidden;
}


/* Subtle background glow */

.hero::before {
    content: "";
    position: absolute;

    width: 600px;
    height: 600px;

    top: 10%;
    left: 20%;

    background: rgba(139, 92, 246, 0.22);

    filter: blur(140px);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================
   HERO CONTENT
========================= */

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
}

.hero-small {
    margin-bottom: 25px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 4px;

    opacity: 0.6;
}

.hero h1 {
    font-size: clamp(64px, 10vw, 150px);

    line-height: 0.82;

    font-weight: 700;

    letter-spacing: -5 px;

    text-transform: uppercase;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 2px var(--purple-light);

    text-shadow:
        0 0 20px rgba(139, 92, 246, 0.25),
        0 0 50px rgba(139, 92, 246, 0.15);
}

.hero-description {
    max-width: 400px;

    margin-top: 40px;

    font-size: 15px;
    line-height: 1.7;

    color: #aaaaaa;
}

.hero-button {
    border-color: var(--purple);
    color: var(--purple-light);
}

.hero-button:hover {
    background: var(--purple);
    color: #ffffff;
}

.hero-button:hover {
    background: #ffffff;
    color: #000000;
}


/* =========================
   SIDE INFORMATION
========================= */

.hero-side {
    position: absolute;

    right: 5%;
    bottom: 18%;

    display: flex;
    flex-direction: column;

    gap: 30px;

    text-align: right;

    font-size: 9px;

    line-height: 1.6;

    letter-spacing: 2px;

    color: var(--muted);
}


/* =========================
   SCROLL INDICATOR
========================= */

.scroll-indicator {
    position: absolute;

    bottom: 35px;
    left: 8%;

    display: flex;
    align-items: center;

    gap: 15px;

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--muted);
}

.scroll-line {
    width: 60px;
    height: 1px;

    background: #555555;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .navbar {
        padding: 25px 6%;
    }

    .navbar nav {
        display: none;
    }

    .navbar nav.active {
        display: flex;
        position: absolute;
        top: 75px;
        right: 6%;
        flex-direction: column;
        gap: 20px;
        padding: 25px 30px;
        min-width: 180px;
        background: #12091f;
        border: 1px solid var(--border);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }

    .navbar nav.active a {
        color: #ffffff;
        font-size: 12px;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 6% 100px;
    }

    .hero h1 {
        font-size: clamp(52px, 15vw, 90px);
        line-height: .88;
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 14px;
        max-width: 320px;
    }

    .hero-side {
        display: none;
    }

    .scroll-indicator {
        left: 6%;
        bottom: 25px;
    }
}

/* =========================
   HERO ANIMATIONS
========================= */

.hero-small {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero h1 {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-description {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-button {
    display: inline-block;

    margin-top: 35px;
    padding: 16px 28px;

    border: 1px solid var(--purple-light);

    color: #ffffff;
    background: rgba(139, 92, 246, 0.08);

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    position: relative;
    overflow: hidden;

    transition: all 0.35s ease;
}

.hero-button:hover {
    background: var(--purple);
    border-color: var(--purple);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.35);

    transform: translateY(-3px);
}

.hero-side {
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.scroll-indicator {
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}


/* =========================
   KEYFRAMES
========================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

/* =========================
   INTERACTIVE BACKGROUND
========================= */

.hero {
    background:
        radial-gradient(circle at 70% 40%,
            rgba(255, 255, 255, 0.05),
            transparent 35%),
        #0a0a0a;
}


/* Grid lines */

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(167, 139, 250, 0.09) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(167, 139, 250, 0.09) 1px,
            transparent 1px);

    background-size: 70px 70px;

    pointer-events: none;
}


/* Keep content above the grid */

.hero-content,
.hero-side,
.scroll-indicator {
    position: relative;
    z-index: 2;
}


/* =========================
   BUTTON EFFECT
========================= */

.hero-button {
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: "";

    position: absolute;

    width: 0;
    height: 100%;

    left: 0;
    top: 0;

    background: #ffffff;

    transition: width 0.4s ease;

    z-index: -1;
}

.hero-button:hover::before {
    width: 100%;
}


/* =========================
   SCROLL ANIMATION
========================= */

.scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

    0% {
        width: 20px;
    }

    50% {
        width: 60px;
    }

    100% {
        width: 20px;
    }

}

/* =========================
   ABOUT SECTION
========================= */

.about {
    min-height: 100vh;
    padding: 140px 8%;
    background: #111111;
}

.section-label {
    display: flex;
    justify-content: space-between;

    padding-bottom: 25px;
    border-bottom: 1px solid #2a2a2a;

    color: var(--muted);

    font-size: 10px;
    letter-spacing: 3px;
}

.about-content {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 70px;
}

.about h2 {
    font-size: clamp(55px, 8vw, 120px);
    line-height: 0.9;
    letter-spacing: -5px;
}

.about h2 span {
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
}

.about-text {
    max-width: 430px;
    padding-top: 15px;
}

.about-text p {
    margin-bottom: 25px;

    color: #999999;

    font-size: 16px;
    line-height: 1.8;
}

.about-link {
    display: inline-block;

    margin-top: 20px;

    color: #ffffff;
    text-decoration: none;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;

    border-bottom: 1px solid #ffffff;
    padding-bottom: 8px;
}


/* =========================
   ABOUT MOBILE
========================= */

@media (max-width: 768px) {

    .about {
        padding: 100px 6%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 70px;
    }

    .about h2 {
        letter-spacing: -3px;
    }

}

/* =========================
   ABOUT SECTION
========================= */

.about {
    min-height: 100vh;
    padding: 140px 8%;
    background:
        radial-gradient(circle at 85% 30%,
            rgba(139, 92, 246, 0.18),
            transparent 40%),
        linear-gradient(135deg,
            #1a0d2b,
            #12091f);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -150px;
    bottom: -150px;
    background: rgba(139, 92, 246, 0.18);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
}

.about .section-label {
    position: relative;
    z-index: 2;
    color: var(--purple-light);
    border-bottom-color: var(--border);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about h2 span {
    color: transparent;
    -webkit-text-stroke: 2px var(--purple-light);
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.about-text p {
    color: #c9bfd3;
}

.about-link {
    color: var(--purple-light);
    border-bottom-color: var(--purple);
}

.about-link:hover {
    color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;

    margin-top: 100px;
}

/* =========================
   ABOUT MOBILE
========================= */

@media (max-width: 768px) {

    .about {
        padding: 100px 6%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 70px;
    }

    .about h2 {
        letter-spacing: -3px;
    }

}

/* =========================
   WORK SECTION
========================= */

.work {
    min-height: 100vh;
    padding: 140px 8%;
    background:
        radial-gradient(circle at 15% 20%,
            rgba(109, 40, 217, 0.18),
            transparent 38%),
        linear-gradient(135deg,
            #12091f,
            #0d0615);
    position: relative;
    overflow: hidden;
}

.work .section-label {
    color: var(--purple-light);
    border-bottom-color: var(--border);
}

.work-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin: 100px 0 80px;
}

.work-header h2 {
    font-size: clamp(60px, 9vw, 130px);
    line-height: .85;
    letter-spacing: -6px;
}

.work-header h2 span {
    color: transparent;
    -webkit-text-stroke: 2px var(--purple-light);
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.work-header p {
    max-width: 300px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    overflow: hidden;
}

.project-image {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: inset 0 0 60px rgba(139, 92, 246, 0.08);
}

.project-image::before {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid var(--border);
}

.project-image span {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    letter-spacing: -4px;
    color: transparent;
    -webkit-text-stroke: 1px var(--purple-light);
    transition: transform .5s ease;
}

.project-card:hover .project-image span {
    transform: scale(1.1);
}

.project-one {
    background:
        radial-gradient(circle at center,
            rgba(139, 92, 246, 0.25),
            #0d0615 70%);
}

.project-two {
    background:
        linear-gradient(135deg,
            rgba(109, 40, 217, 0.25),
            #09050f);
}

.project-three {
    background:
        radial-gradient(circle at 70% 30%,
            rgba(167, 139, 250, 0.22),
            #09050f 70%);
}

.project-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
}

.project-number {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
}

.project-details h3 {
    margin-top: 8px;
    font-size: 20px;
    letter-spacing: 1px;
}

.project-details p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.project-arrow {
    color: var(--purple-light);
    text-decoration: none;
    font-size: 28px;
    transition: transform .3s ease;
}

.project-card:hover .project-arrow {
    transform: translate(5px, -5px);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .projects {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .project-image {
        height: 300px;
    }

    .project-details h3 {
        font-size: 17px;
    }

}

/* =========================
   SERVICES SECTION
========================= */

.services {
    min-height: 100vh;
    padding: 140px 8%;
    background: #111111;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin: 100px 0 80px;

    gap: 50px;
}

.services-header h2 {
    font-size: clamp(65px, 9vw, 130px);
    line-height: 0.85;
    letter-spacing: -6px;
}

.services-header h2 span {
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
}

.services-header p {
    max-width: 320px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================
   SERVICES LIST
========================= */

.services-list {
    border-top: 1px solid #2a2a2a;
}

.service {
    display: grid;
    grid-template-columns: 80px 1fr 50px;
    align-items: center;

    padding: 35px 0;

    border-bottom: 1px solid #2a2a2a;

    transition: all 0.4s ease;
}

.service:hover {
    padding-left: 25px;
    padding-right: 25px;
    background: #151515;
}

.service-number {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: 2px;
}

.service h3 {
    font-size: 24px;
    letter-spacing: 1px;
}

.service p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 12px;
}

.service-icon {
    font-size: 25px;

    transition: transform 0.3s ease;
}

.service:hover .service-icon {
    transform: translate(5px, -5px);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .services {
        padding: 100px 6%;
    }

    .services-header {
        display: block;
        margin: 70px 0 60px;
    }

    .services-header p {
        margin-top: 35px;
    }

    .services-header h2 {
        letter-spacing: -3px;
    }

    .service {
        grid-template-columns: 40px 1fr 30px;
        padding: 28px 0;
    }

    .service h3 {
        font-size: 15px;
    }

    .service p {
        font-size: 10px;
        line-height: 1.5;
    }

}

/* =========================
   CONTACT SECTION
========================= */

.contact {
    min-height: 90vh;
    padding: 140px 8% 80px;
    background: #0a0a0a;
}

.contact-content {
    margin-top: 100px;
}

.contact-small {
    color: var(--muted);

    font-size: 11px;
    letter-spacing: 3px;
}

.contact h2 {
    margin-top: 25px;

    font-size: clamp(80px, 13vw, 190px);
    line-height: 0.8;

    letter-spacing: -8px;
}

.contact h2 span {
    color: transparent;
    -webkit-text-stroke: 2px #ffffff;
}

.contact-email {
    display: inline-block;

    margin-top: 60px;

    color: #ffffff;
    text-decoration: none;

    font-size: clamp(18px, 3vw, 35px);

    border-bottom: 1px solid #ffffff;
    padding-bottom: 10px;
}


/* =========================
   CONTACT LINKS
========================= */

.contact-links {
    display: flex;
    flex-wrap: wrap;

    gap: 35px;

    margin-top: 100px;

    padding-top: 25px;
    transition: transform 0.3s ease, color 0.3s ease;
    border-top: 1px solid #2a2a2a;
}

.contact-links a {
    color: #888888;
    text-decoration: none;

    font-size: 10px;
    letter-spacing: 2px;

    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #ffffff;
    transform: translateX(6px);
    color: var(--purple-light) !important;
}


/* =========================
   FOOTER
========================= */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 30px 8%;

    border-top: 1px solid #222222;

    background: #080808;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: 1px;
}

.back-top {
    color: #ffffff;
    text-decoration: none;
}


/* =========================
   CONTACT MOBILE
========================= */

@media (max-width: 768px) {

    .contact {
        padding: 100px 6% 60px;
    }

    .contact-content {
        margin-top: 70px;
    }

    .contact h2 {
        letter-spacing: -4px;
    }

    .contact-email {
        margin-top: 45px;
    }

    .contact-links {
        gap: 20px;
        margin-top: 70px;
    }

    .footer {
        padding: 25px 6%;

        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }

    .contact-form {
        margin-top: 50px;
        width: 100%;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 13px;
    }

    .form-button {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }
}

.work {
    background:
        radial-gradient(circle at 15% 20%,
            rgba(139, 92, 246, 0.25),
            transparent 40%),
        linear-gradient(135deg,
            #12091f 0%,
            #1d0b32 50%,
            #0d0615 100%) !important;
}

.work .section-label {
    color: #a78bfa !important;
}

.work-header h2 span {
    color: transparent !important;
    -webkit-text-stroke: 2px #a78bfa !important;
}

.work-header p {
    color: #b8a9c9 !important;
}

.project-image {
    border: 1px solid rgba(167, 139, 250, 0.3) !important;
    box-shadow: inset 0 0 80px rgba(139, 92, 246, 0.12) !important;
}

.project-one {
    background:
        radial-gradient(circle at center,
            rgba(139, 92, 246, 0.35),
            #0d0615 70%) !important;
}

.project-two {
    background:
        linear-gradient(135deg,
            rgba(109, 40, 217, 0.35),
            #09050f) !important;
}

.project-three {
    background:
        radial-gradient(circle at 70% 30%,
            rgba(167, 139, 250, 0.3),
            #09050f 70%) !important;
}

.project-image span {
    -webkit-text-stroke: 1px #a78bfa !important;
}

.project-arrow {
    color: #a78bfa !important;
}

.services {
    min-height: 100vh;
    padding: 140px 8%;
    background:
        radial-gradient(circle at 85% 25%,
            rgba(139, 92, 246, 0.22),
            transparent 40%),
        linear-gradient(135deg,
            #1a0d2b,
            #10071a) !important;
    position: relative;
    overflow: hidden;
}

.services .section-label {
    color: #a78bfa !important;
    border-bottom-color: var(--border) !important;
}

.services-header {
    position: relative;
    z-index: 2;
}

.services-header h2 span {
    color: transparent !important;
    -webkit-text-stroke: 2px #a78bfa !important;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.services-header p {
    color: #b8a9c9 !important;
}

.services-list {
    border-top: 1px solid var(--border) !important;
}

.service {
    border-bottom: 1px solid var(--border) !important;
    transition: all .4s ease;
}

.service:hover {
    background: rgba(139, 92, 246, 0.08) !important;
    box-shadow: inset 5px 0 0 var(--purple);
}

.service-number {
    color: #a78bfa !important;
}

.service h3 {
    color: #ffffff;
}

.service p {
    color: #b8a9c9 !important;
}

.service-icon {
    color: #a78bfa;
}

.contact {
    min-height: 90vh;
    padding: 140px 8% 80px;
    background:
        radial-gradient(circle at 75% 35%,
            rgba(139, 92, 246, 0.25),
            transparent 42%),
        linear-gradient(135deg,
            #12091f,
            #24103d,
            #0d0615) !important;
    position: relative;
    overflow: hidden;
}

.contact .section-label {
    color: #a78bfa !important;
    border-bottom-color: var(--border) !important;
}

.contact-small {
    color: #b8a9c9 !important;
}

.contact h2 span {
    color: transparent !important;
    -webkit-text-stroke: 2px #a78bfa !important;
    text-shadow: 0 0 35px rgba(139, 92, 246, 0.25);
}

.contact-email {
    color: #ffffff !important;
    border-bottom-color: #8b5cf6 !important;
    transition: all .3s ease;
}

.contact-email:hover {
    color: #a78bfa !important;
    border-bottom-color: #a78bfa !important;
}

.contact-links {
    border-top-color: var(--border) !important;
}

.contact-links a {
    color: #b8a9c9 !important;
}

.contact-links a:hover {
    color: #a78bfa !important;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 8%;
    border-top: 1px solid var(--border);
    background: #090510 !important;
    color: #8f829d;
    font-size: 9px;
    letter-spacing: 1px;
}

.footer p {
    color: #8f829d;
}

.back-top {
    color: #a78bfa !important;
    text-decoration: none;
    transition: color .3s ease;
}

.back-top:hover {
    color: #ffffff !important;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-three img {
    object-fit: contain;
    background: #0d0615;
}

@media (max-width: 768px) {
    .navbar nav.active {
        background: #12091f;
        border: 1px solid var(--border);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        min-width: 180px;
    }

    .navbar nav.active a {
        color: #ffffff;
    }
}

.project-card {
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image img {
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.03);
}

section {
    animation: sectionReveal 1s ease both;
}

@keyframes sectionReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service {
    display: grid;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.service:hover h3 {
    color: var(--purple-light);
}

.service:hover .service-icon {
    transform: translate(5px, -5px);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service {
    display: grid;
    grid-template-columns: 50px 1fr 30px;
    align-items: center;
    gap: 20px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.contact-email {
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -1px;
}

.about-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.about-links .about-link {
    margin-top: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--purple-light);
}

.logo span {
    color: var(--purple-light);
}

.logo img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--purple-light);
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.45);
}

/* CONTACT FORM */

.contact-form {
    max-width: 700px;
    margin-top: 60px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--purple-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8f829d;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--purple-light);
}

.form-button {
    margin-top: 10px;
    padding: 16px 28px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid var(--purple-light);
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.35s ease;
}

.form-button:hover {
    background: var(--purple);
    border-color: var(--purple);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.35);
    transform: translateY(-3px);
}

/* THEME TOGGLE */

.theme-btn {
    width: 38px;
    height: 38px;
    margin-left: 25px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.08);
    color: var(--purple-light);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: var(--purple);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
    transform: rotate(20deg);
}

/* LIGHT MODE */

body.light-mode {
    --bg: #ded9e5;
    --bg-light: #e7e3eb;
    --text: #17121f;
    --muted: #625a6d;

    --purple: #7c3aed;
    --purple-light: #6d28d9;
    --purple-dark: #5b21b6;

    --border: rgba(109, 40, 217, 0.2);

    background: var(--bg);
    color: var(--text);
}

body.light-mode .navbar {
    background: rgba(245, 243, 248, 0.8);
}

body.light-mode .navbar nav a {
    color: #17121f;
}

body.light-mode .menu-btn span {
    background: #17121f;
}

body.light-mode .hero {
    background:
        radial-gradient(circle at 75% 35%,
            rgba(139, 92, 246, 0.18),
            transparent 45%),
        linear-gradient(135deg,
            #f5f3f8,
            #eee8f7,
            #ffffff);
}

body.light-mode .hero h1 {
    color: #17121f;
}

body.light-mode .hero-description {
    color: #625a6d;
}

body.light-mode .about {
    background:
        radial-gradient(circle at 85% 30%,
            rgba(139, 92, 246, 0.12),
            transparent 40%),
        linear-gradient(135deg,
            #ffffff,
            #f5f3f8);
}

body.light-mode .about-text p,
body.light-mode .work-header p,
body.light-mode .services-header p,
body.light-mode .service p {
    color: #625a6d;
}

body.light-mode .work {
    background:
        radial-gradient(circle at 15% 20%,
            rgba(139, 92, 246, 0.12),
            transparent 40%),
        linear-gradient(135deg,
            #f5f3f8,
            #ffffff) !important;
}

body.light-mode .services {
    background:
        radial-gradient(circle at 85% 25%,
            rgba(139, 92, 246, 0.12),
            transparent 40%),
        linear-gradient(135deg,
            #ffffff,
            #f5f3f8) !important;
}

body.light-mode .service h3 {
    color: #17121f;
}

body.light-mode .contact {
    background:
        radial-gradient(circle at 75% 35%,
            rgba(139, 92, 246, 0.12),
            transparent 42%),
        linear-gradient(135deg,
            #f5f3f8,
            #ffffff) !important;
}

body.light-mode .contact-email {
    color: #17121f !important;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    color: #17121f;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: #8f829d;
}

body.light-mode .footer {
    background: #eeeaf3 !important;
    color: #625a6d;
}

body.light-mode .footer p {
    color: #625a6d;
}

body.light-mode .theme-btn {
    background: rgba(109, 40, 217, 0.08);
}

/* LIGHT MODE TEXT FIX */

body.light-mode {
    color: #17121f;
}

/* Navbar */
body.light-mode .logo span {
    color: #6d28d9;
}

body.light-mode .navbar nav a {
    color: #17121f !important;
}

/* Hero */
body.light-mode .hero h1 {
    color: #17121f !important;
}

body.light-mode .hero-small {
    color: #6d28d9 !important;
}

body.light-mode .hero-description {
    color: #625a6d !important;
}

/* About */
body.light-mode .about h2 {
    color: #17121f !important;
}

body.light-mode .about h2 span {
    color: transparent !important;
    -webkit-text-stroke: 2px #6d28d9 !important;
}

body.light-mode .about-text p {
    color: #625a6d !important;
}

body.light-mode .about-link {
    color: #6d28d9 !important;
}

/* Work */
body.light-mode .work-header h2 {
    color: #17121f !important;
}

body.light-mode .work-header h2 span {
    color: transparent !important;
    -webkit-text-stroke: 2px #6d28d9 !important;
}

body.light-mode .work-header p {
    color: #625a6d !important;
}

body.light-mode .project-details h3 {
    color: #17121f !important;
}

body.light-mode .project-details p {
    color: #625a6d !important;
}

body.light-mode .project-number {
    color: #6d28d9 !important;
}

body.light-mode .project-arrow {
    color: #6d28d9 !important;
}

/* Services */
body.light-mode .services-header h2 {
    color: #17121f !important;
}

body.light-mode .services-header h2 span {
    color: transparent !important;
    -webkit-text-stroke: 2px #6d28d9 !important;
}

body.light-mode .services-header p {
    color: #625a6d !important;
}

body.light-mode .service h3 {
    color: #17121f !important;
}

body.light-mode .service p {
    color: #625a6d !important;
}

body.light-mode .service-number,
body.light-mode .service-icon {
    color: #6d28d9 !important;
}

/* Contact */
body.light-mode .contact-small {
    color: #625a6d !important;
}

body.light-mode .contact h2 {
    color: #17121f !important;
}

body.light-mode .contact h2 span {
    color: transparent !important;
    -webkit-text-stroke: 2px #6d28d9 !important;
}

body.light-mode .contact-email {
    color: #17121f !important;
}

body.light-mode .contact-links a {
    color: #625a6d !important;
}

body.light-mode .contact-links a:hover {
    color: #6d28d9 !important;
}

/* Contact form */
body.light-mode .form-group label {
    color: #6d28d9 !important;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    color: #17121f !important;
    border-bottom-color: rgba(109, 40, 217, 0.25);
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
    border-bottom-color: #6d28d9;
}

body.light-mode .form-button {
    color: #17121f;
    border-color: #6d28d9;
}

body.light-mode .form-button:hover {
    color: #ffffff;
}

/* Footer */
body.light-mode .footer {
    color: #625a6d !important;
}

body.light-mode .footer p {
    color: #625a6d !important;
}

body.light-mode .back-top {
    color: #6d28d9 !important;
}

body.light-mode .hero-button {
    color: #17121f !important;
    border-color: #6d28d9;
}

body.light-mode .hero-button:hover {
    color: #17121f !important;
    background: rgba(139, 92, 246, 0.15);
    border-color: #6d28d9;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.25);
}

/* SCROLL PROGRESS */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--purple-light);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* MOBILE MENU LIGHT MODE FIX */

@media (max-width: 768px) {
    body.light-mode .navbar nav.active {
        background: #ffffff !important;
        border-color: rgba(109, 40, 217, 0.2);
    }

    body.light-mode .navbar nav.active a {
        color: #17121f !important;
        text-shadow: 0 0 12px rgba(109, 40, 217, 0.35);
    }

    body.light-mode .navbar nav.active a:hover {
        color: #6d28d9 !important;
        text-shadow: 0 0 15px rgba(109, 40, 217, 0.65);
    }
}

/* LOGO PURPLE BORDER */

.logo {
    padding: 6px 12px 6px 6px;
    border: 1px solid var(--purple-light);
    border-radius: 30px;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
}

/* LIGHT MODE NAVBAR LINE */

body.light-mode .navbar {
    border-bottom: 1px solid #6d28d9 !important;
    box-shadow: 0 1px 12px rgba(109, 40, 217, 0.18);
}

.logo img {
    border-color: var(--purple-light);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
}

@media (max-width: 768px) {
    .navbar nav.active {
        border-radius: 12px;
        padding: 28px 30px;
    }

    .navbar nav.active a {
        padding: 5px 0;
    }
}

@media (max-width: 768px) {
    .navbar nav.active {
        animation: mobileMenuIn 0.25s ease forwards;
    }
}

@keyframes mobileMenuIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* THEME BUTTON INSIDE NAV */

@media (max-width: 768px) {
    .navbar nav.active .theme-btn {
        display: block;
        margin: 5px 0 0;
        width: 36px;
        height: 36px;
    }
}

.navbar nav .theme-btn {
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .navbar nav .theme-btn {
        margin-left: 5px;
    }
}

@media (max-width: 768px) {
    .navbar nav.active .theme-btn {
        border-color: var(--purple-light);
        color: var(--purple-light);
        background: rgba(139, 92, 246, 0.08);
        box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
    }

    .navbar nav.active .theme-btn:hover {
        background: var(--purple);
        color: #ffffff;
        box-shadow: 0 0 18px rgba(139, 92, 246, 0.45);
    }
}

/* PROJECT CARD REVEAL */

.project-card {
    opacity: 0;
    transform: translateY(30px);
    animation: projectReveal 0.8s ease forwards;
}

.project-card:nth-child(1) {
    animation-delay: 0.15s;
}

.project-card:nth-child(2) {
    animation-delay: 0.3s;
}

.project-card:nth-child(3) {
    animation-delay: 0.45s;
}

@keyframes projectReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECTION LABEL HOVER */

.section-label {
    transition: all 0.3s ease;
}

.section-label:hover {
    color: var(--purple-light);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.45);
}

/* LIGHT MODE SECTION LABEL HOVER */

body.light-mode .section-label:hover {
    color: #6d28d9 !important;
    text-shadow: 0 0 15px rgba(109, 40, 217, 0.5);
}

/* CIRCULAR SECTION NUMBERS */

.section-label span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--purple-light);
    border-radius: 50%;
    color: var(--purple-light);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

/* LIGHT MODE */

body.light-mode .section-label span:first-child {
    border-color: #6d28d9 !important;
    color: #6d28d9 !important;
    background: rgba(109, 40, 217, 0.06);
    box-shadow: 0 0 10px rgba(109, 40, 217, 0.18);
}

/* SECTION NUMBER HOVER */

.section-label span:first-child {
    transition: all 0.3s ease;
}

.section-label span:first-child:hover {
    background: var(--purple);
    border-color: var(--purple-light);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.45);
    transform: scale(1.08);
}

body.light-mode .section-label span:first-child:hover {
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
    color: #ffffff !important;
    box-shadow: 0 0 18px rgba(109, 40, 217, 0.4);
}

/* LOGO HOVER GLOW */

.logo:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.logo:hover img {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.55);
}

/* SERVICE HOVER EFFECT */

.service {
    position: relative;
    overflow: hidden;
}

.service::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--purple-light);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
    transition: width 0.4s ease;
}

.service:hover::before {
    width: 100%;
}

/* SERVICE ICON HOVER */

.service-icon {
    transition: all 0.3s ease;
}

.service:hover .service-icon {
    color: var(--purple-light);
    transform: translate(6px, -6px) scale(1.15);
    text-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

/* PROJECT IMAGE HOVER */

.project-image {
    overflow: hidden;
}

.project-card:hover .project-image {
    border-color: var(--purple-light) !important;
    box-shadow:
        inset 0 0 80px rgba(139, 92, 246, 0.18),
        0 0 25px rgba(139, 92, 246, 0.15) !important;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

/* AVAILABILITY STATUS */

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--purple-light);
    background: rgba(139, 92, 246, 0.06);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.12);
}

.availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
    animation: availabilityPulse 1.8s ease-in-out infinite;
}

@keyframes availabilityPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.8);
    }
}

.availability {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.availability:hover {
    border-color: var(--purple-light);
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}
.loader {
    position: fixed;
    inset: 0;
    background: #12091f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loader-text {
    color: var(--purple-light);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 6px;
}
.loader-text {
    animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}
.loader {
    transition: opacity 0.5s ease;
}
.loader-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 7px 18px 7px 7px;
    border: 1px solid var(--purple-light);
    border-radius: 40px;

    box-shadow:
        0 0 15px rgba(139, 92, 246, 0.35),
        0 0 35px rgba(139, 92, 246, 0.18);
}

.loader-brand img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--purple-light);

    box-shadow:
        0 0 12px rgba(139, 92, 246, 0.5),
        0 0 25px rgba(139, 92, 246, 0.3);
}

.loader-brand span {
    color: var(--purple-light);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;

    text-shadow:
        0 0 10px rgba(167, 139, 250, 0.7),
        0 0 25px rgba(139, 92, 246, 0.4);
}
.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: 10%;
    right: 5%;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.18);
    filter: blur(100px);
    animation: heroGlow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-40px, 30px) scale(1.15);
        opacity: 1;
    }
}
.hero-small,
.hero-description,
.hero-button,
.availability {
    opacity: 0;
    animation: heroFadeUp 0.8s ease forwards;
}

.hero-small {
    animation-delay: 0.1s;
}

.availability {
    animation-delay: 0.25s;
}

.hero-description {
    animation-delay: 0.65s;
}

.hero-button {
    animation-delay: 0.8s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(0.5);
        opacity: 0.4;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}
.hero-button {
    transition: all 0.35s ease;
}

.hero-button:hover {
    transform: translateY(-4px);
    background: var(--purple);
    border-color: var(--purple-light);
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.35),
        0 0 40px rgba(139, 92, 246, 0.15);
}
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 8%;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 75% 35%, rgba(139, 92, 246, 0.35), transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(109, 40, 217, 0.30), transparent 40%),
        linear-gradient(135deg, #12091f, #24103d, #10071a);
}

.error-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.error-number {
    display: block;
    margin-bottom: 20px;
    color: var(--purple-light);
    font-size: clamp(90px, 18vw, 220px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -8px;
    text-shadow:
        0 0 25px rgba(139, 92, 246, 0.45),
        0 0 60px rgba(139, 92, 246, 0.2);
}

.error-content h1 {
    color: #ffffff;
    font-size: clamp(40px, 7vw, 90px);
    line-height: 0.9;
    letter-spacing: -3px;
}

.error-content h1 span {
    color: transparent;
    -webkit-text-stroke: 2px var(--purple-light);
}

.error-content p {
    margin-top: 30px;
    color: var(--muted);
    font-size: 14px;
}

.error-button {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 28px;
    border: 1px solid var(--purple-light);
    color: #ffffff;
    background: rgba(139, 92, 246, 0.08);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.35s ease;
}

.error-button:hover {
    background: var(--purple);
    border-color: var(--purple-light);
    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.35),
        0 0 40px rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
}
body.light-mode .error-page {
    background:
        radial-gradient(circle at 75% 35%, rgba(109, 40, 217, 0.12), transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(109, 40, 217, 0.10), transparent 40%),
        linear-gradient(135deg, #ded9e5, #e7e3eb, #d8d1e2);
}

body.light-mode .error-content h1 {
    color: #17121f;
}

body.light-mode .error-content h1 span {
    color: transparent;
    -webkit-text-stroke: 2px #6d28d9;
}

body.light-mode .error-content p {
    color: #625a6d;
}

body.light-mode .error-button {
    color: #17121f;
    border-color: #6d28d9;
    background: rgba(109, 40, 217, 0.06);
}

body.light-mode .error-button:hover {
    color: #ffffff;
    background: #6d28d9;
    border-color: #6d28d9;
}