/* ============================================
           CUSTOM FONTS
           ============================================ */
@font-face {
    font-family: gil;
    src: url('../fonts/gilroy/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: urb;
    src: url('../fonts/urbanist/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
           ROOT COLOR & TYPOGRAPHY VARIABLES
           ============================================ */
:root {
    /* Colors */
    --dark: #032D42;
    --dark-light: #064463;
    --dark-surface: rgba(3, 45, 66, 0.92);
    --accent: #62D84E;
    --accent-glow: rgba(98, 216, 78, 0.25);
    --light: #FFFFFF;
    --light-70: rgba(255, 255, 255, 0.7);
    --light-50: rgba(255, 255, 255, 0.5);
    --light-15: rgba(255, 255, 255, 0.15);
    --light-08: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-display: gil;
    --font-body: urb;

    /* Layout */
    --nav-height: 80px;
    --nav-height-scrolled: 60px;
    --container-pad: clamp(1.5rem, 4vw, 4rem);

    /* Easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);

    /* Original color palette */
    --rose: #E11D48;
    --rose-light: #FFF1F2;
    --rose-border: #FECDD3;
    --sky: #0284C7;
    --sky-light: #F0F9FF;
    --sky-border: #BAE6FD;
    --violet: #7C3AED;
    --violet-light: #F5F3FF;
    --violet-border: #DDD6FE;
    --emerald: #059669;
    --emerald-light: #ECFDF5;
    --emerald-border: #A7F3D0;
    --amber: #D97706;
    --amber-light: #FFFBEB;
    --amber-border: #FDE68A;
    --coral: #EA580C;
    --coral-light: #FFF7ED;
    --coral-border: #FED7AA;
    --pink: #DB2777;
    --pink-light: #FDF2F8;
    --pink-border: #FBCFE8;
    --teal: #0D9488;
    --teal-light: #F0FDFA;
    --teal-border: #99F6E4;
    --ink: #1d1d1f;
    --muted: #6e6e73;
    --faint: #f2f2f7;
    --white: #ffffff;
    --sprint-bg: #0D2B25;
}

/* SPIN ANIMATION HELPERS */
.spin-num {
    display: inline-block;
    transform-style: preserve-3d
}

.spin-wrap {
    display: inline-block;
    perspective: 600px
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


/* ── Overlay ─── */
.main-preloader-overlay {
    position: fixed;
    inset: 0;
    background: #080a10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 44px;
    z-index: 10000;
    overflow: hidden;
}

/* ── Dot grid bg ─── */
.main-preloader-bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 74, 173, 0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: main-preloader-bg-fade 0.8s ease forwards;
}

@keyframes main-preloader-bg-fade {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

/* ── Corner brackets ─── */
.main-preloader-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    animation: main-preloader-corner-in 0.6s ease both
}

.main-preloader-corner--tl {
    top: 28px;
    left: 28px;
    border-top: 1.5px solid rgba(74, 143, 255, 0.5);
    border-left: 1.5px solid rgba(74, 143, 255, 0.5);
    animation-delay: 0.1s
}

.main-preloader-corner--tr {
    top: 28px;
    right: 28px;
    border-top: 1.5px solid rgba(74, 143, 255, 0.5);
    border-right: 1.5px solid rgba(74, 143, 255, 0.5);
    animation-delay: 0.2s
}

.main-preloader-corner--bl {
    bottom: 28px;
    left: 28px;
    border-bottom: 1.5px solid rgba(74, 143, 255, 0.5);
    border-left: 1.5px solid rgba(74, 143, 255, 0.5);
    animation-delay: 0.15s
}

.main-preloader-corner--br {
    bottom: 28px;
    right: 28px;
    border-bottom: 1.5px solid rgba(74, 143, 255, 0.5);
    border-right: 1.5px solid rgba(74, 143, 255, 0.5);
    animation-delay: 0.25s
}

@keyframes main-preloader-corner-in {
    0% {
        opacity: 0;
        transform: scale(0.4)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

/* ── Icon scene ─── */
.main-preloader-scene {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
}

/* Glow behind icon */
.main-preloader-glow-ring {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(0, 74, 173, 0.13);
    animation: main-preloader-glow-breathe 2.6s ease-in-out infinite;
}

@keyframes main-preloader-glow-breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7
    }

    50% {
        transform: scale(1.18);
        opacity: 1
    }
}

/* Orbit ring */
.main-preloader-orbit {
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 1px solid rgba(0, 74, 173, 0.25);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: main-preloader-orbit-spin 4s linear infinite;
}

.main-preloader-orbit-visible {
    opacity: 1
}

@keyframes main-preloader-orbit-spin {
    to {
        transform: rotate(360deg)
    }
}

.main-preloader-orbit-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    top: -3.5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Icon wrapper + idle float */
.main-preloader-icon-wrap {
    position: relative;
    width: 100px;
    height: 102px;
    animation: main-preloader-float 3s ease-in-out 1.6s infinite;
}

@keyframes main-preloader-float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

.main-preloader-icon-svg {
    width: 100%;
    height: 100%;
    overflow: visible
}

/* Blue top triangle — falls from above with spring */
.main-preloader-path-top {
    animation: main-preloader-top-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both,
        main-preloader-top-shimmer 3s ease-in-out 1.6s infinite;
}

@keyframes main-preloader-top-in {
    0% {
        opacity: 0;
        transform: translateY(-55px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes main-preloader-top-shimmer {

    0%,
    100% {
        filter: brightness(1)
    }

    50% {
        filter: brightness(1.45)
    }
}

/* Grey left — slides from left */
.main-preloader-path-left {
    animation: main-preloader-left-in 0.65s cubic-bezier(0.34, 1.4, 0.64, 1) 0.55s both,
        main-preloader-grey-shimmer 3s ease-in-out 1.9s infinite;
}

@keyframes main-preloader-left-in {
    0% {
        opacity: 0;
        transform: translateX(-44px) skewX(6deg)
    }

    100% {
        opacity: 1;
        transform: translateX(0) skewX(0deg)
    }
}

/* Grey right — slides from right */
.main-preloader-path-right {
    animation: main-preloader-right-in 0.65s cubic-bezier(0.34, 1.4, 0.64, 1) 0.65s both,
        main-preloader-grey-shimmer 3s ease-in-out 2.1s infinite;
}

@keyframes main-preloader-right-in {
    0% {
        opacity: 0;
        transform: translateX(44px) skewX(-6deg)
    }

    100% {
        opacity: 1;
        transform: translateX(0) skewX(0deg)
    }
}

@keyframes main-preloader-grey-shimmer {

    0%,
    100% {
        filter: brightness(1)
    }

    50% {
        filter: brightness(1.28)
    }
}

/* Scan line */
.main-preloader-scan {
    position: absolute;
    top: 0;
    left: -8%;
    width: 116%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(74, 143, 255, 0.8), transparent);
    animation: main-preloader-scan-sweep 2.2s ease-in-out 1.4s infinite;
    pointer-events: none;
}

@keyframes main-preloader-scan-sweep {
    0% {
        top: -4%;
        opacity: 0
    }

    8% {
        opacity: 1
    }

    92% {
        opacity: 1
    }

    100% {
        top: 108%;
        opacity: 0
    }
}

/* ── Brand ─── */
.main-preloader-brand {
    text-align: center;
    animation: main-preloader-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

@keyframes main-preloader-rise {
    0% {
        opacity: 0;
        transform: translateY(14px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.main-preloader-brand-name {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    animation: main-preloader-letters-open 0.85s ease 0.7s both;
    font-family: gil;

}

@keyframes main-preloader-letters-open {
    0% {
        letter-spacing: 0;
        opacity: 0
    }

    100% {
        letter-spacing: 6px;
        opacity: 1
    }
}

.main-preloader-brand-rule {
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--accent));
    margin: 8px auto;
    animation: main-preloader-rule-grow 0.8s ease 1s forwards;
}

@keyframes main-preloader-rule-grow {
    to {
        width: 170px
    }
}

.main-preloader-brand-sub {
    font-size: 10px;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #f2f2f2;
    font-family: urb;
    animation: main-preloader-letters-open 0.9s ease 0.9s both;
}

/* ── Progress ─── */
.main-preloader-progress-wrap {
    width: 200px;
    animation: main-preloader-rise 0.7s ease 0.9s both;
}

.main-preloader-progress-track {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    overflow: hidden;
}

.main-preloader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #0078d4);
    border-radius: 2px;
    transition: width 0.06s linear;
}

.main-preloader-progress-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
}

.main-preloader-progress-status {
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
}

.main-preloader-progress-pct {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

/* ── Exit ─── */
.main-preloader-overlay.main-preloader-exit {
    animation: main-preloader-exit-wipe 0.75s cubic-bezier(0.7, 0, 1, 1) forwards;
}

@keyframes main-preloader-exit-wipe {
    0% {
        clip-path: inset(0 0 0 0);
        opacity: 1
    }

    100% {
        clip-path: inset(0 50% 0 50%);
        opacity: 0
    }
}

.home-whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 0.5%;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    /* WhatsApp Green */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    /* Ensure it stays above everything */
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.home-whatsapp-fixed:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    /* Darker WhatsApp Green */
}

/* Optional: Pulse effect to grab attention */
.home-whatsapp-fixed::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}


.home-mail-link {
    position: fixed;
    bottom: 105px;
    /* Positioned 15px above the WhatsApp button */
    right: 0.5%;
    width: 50px;
    height: 50px;
    background-color: #0078d4;
    /* Professional Mail Blue */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    color: #ffffff;
}

.home-mail-link:hover {
    transform: scale(1.1);
    background-color: #005a9e;
    /* Darker blue */
}

.home-mail-svg {
    width: 28px;
    height: 28px;
}

/* Pulse effect for Mail button */
.home-mail-link::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0078d4;
    opacity: 0.5;
    z-index: -1;
    animation: mail-pulse 2s infinite;
}

@keyframes mail-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}



.home-phone-sticky {
    position: fixed;
    bottom: 180px;
    right: 0.5%;
    width: 50px;
    height: 50px;
    background-color: #ff6b00;
    /* Vibrant Orange */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    color: #ffffff;
}

.home-phone-sticky:hover {
    transform: scale(1.1);
    background-color: #cc5500;
    /* Dark Orange */
}

.home-phone-svg {
    width: 28px;
    height: 28px;
}

/* Pulse effect */
.home-phone-sticky::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #ff6b00;
    opacity: 0.5;
    z-index: -1;
    animation: phone-pulse 2s infinite;
}

@keyframes phone-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* padding: 0 var(--container-pad); */
    z-index: 9999;
    transition: padding 0.6s var(--ease-out-expo);
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #ffffffc4; */
    background-color: #000;
    /* backdrop-filter: blur(20px); */
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* When scrolled — outer shell adds top padding so container floats */
/* .navbar.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
} */

/* Inner container — morphs into a floating pill on scroll */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    max-width: 1400px;
    width: 100%;
    /* margin: 10px; */
    padding: 0 20px;
    border-radius: 0;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.6s var(--ease-out-expo);
    /* border-radius: 24px; */
}

/* .navbar.scrolled .nav-container {
    height: var(--nav-height-scrolled);
    padding: 0 2rem;
    border-radius: 100px;
    background: var(--dark-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-color: var(--light-08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 var(--light-08);
} */

/* Hide on scroll-down */
.navbar.nav-hidden {
    transform: translateY(-120%);
    transition: transform 0.5s var(--ease-in-out-quart);
}


/* ─── LOGO ─── */
.nav-logo {
    font-family: var(--font-display);
    font-size: 2.4rem;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
    width: 15%;
}

.logo-aven {
    color: var(--light);
}

.logo-core {
    color: var(--accent);
}


/* ─── NAV LINKS (Desktop) ─── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1.2rem;
    font-family: var(--font-body);
    font-size: 1.rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #ffffff;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link-inner {
    position: relative;
    display: inline-block;
}

/* Accent dot that grows on hover */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%) scale(0);
    transition: transform 0.4s var(--ease-out-expo),
        width 0.4s var(--ease-out-expo),
        border-radius 0.4s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::before {
    transform: translateX(-50%) scale(1);
    width: 20px;
    height: 3px;
    border-radius: 2px;
}

/* Active state */
.nav-link.active {
    color: var(--accent);
}

.nav-link.active::before {
    transform: translateX(-50%) scale(1);
    width: 20px;
    height: 3px;
    border-radius: 2px;
}


/* ─── NAV RIGHT ─── */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
    flex-shrink: 0;
}


/* ─── CTA BUTTON ─── */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--dark);
    /* background: var(--accent); */
    background: var(--accent);
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

.nav-cta-text {
    position: relative;
    z-index: 1;
}

.nav-cta-icon {
    position: relative;
    z-index: 1;
    display: flex;
    font-size: 1.1rem;
    transition: transform 0.3s var(--ease-out-expo);
}

/* Hover fill sweep */
.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--light);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.nav-cta:hover::before {
    transform: scaleX(1);
}

.nav-cta:hover {
    box-shadow: 0 4px 24px var(--accent-glow);
    color: #000;
}

.nav-cta:hover .nav-cta-icon {
    transform: translate(2px, -2px);
}


/* ─── HAMBURGER ─── */
.nav-hamburger {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #000;
    border: 1px solid var(--accent);
    transition: border-color 0.3s ease,
        background-color 0.3s ease;
    z-index: 1001;
}

.nav-hamburger:hover {
    border-color: var(--accent);
    background-color: rgba(98, 216, 78, 0.08);
}

.hamburger-wrap {
    width: 42px;
    height: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-line {
    display: block;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: transform 0.5s var(--ease-out-expo),
        width 0.5s var(--ease-out-expo),
        opacity 0.3s ease;
    transform-origin: center;
}

/* Second line is shorter — trendy asymmetric detail */
.hamburger-line:last-child {
    width: 60%;
    margin-left: auto;
}

/* Active X state */
.nav-hamburger.active .hamburger-line:first-child {
    transform: translateY(5px) rotate(45deg);
}

.nav-hamburger.active .hamburger-line:last-child {
    width: 100%;
    transform: translateY(-5px) rotate(-45deg);
}


/* =============================================
   FULL-SCREEN MENU OVERLAY
   ============================================= */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    pointer-events: none;
    visibility: hidden;
}

.menu-overlay.active {
    pointer-events: all;
    visibility: visible;
}

/* Background layer */
.menu-overlay-bg {
    position: absolute;
    inset: 0;
    background: var(--dark);
    transform: scaleY(0);
    transform-origin: top;
}

/* Content wrapper */
.menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-height) + 3rem) var(--container-pad) 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Menu links list */
.menu-links {
    display: flex;
    flex-direction: column;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--light-08);
    position: relative;
    overflow: hidden;
    opacity: 0;
    text-decoration: none;
    transform: translateY(60px);
}

.menu-link:first-child {
    border-top: 1px solid var(--light-08);
}

.menu-link-index {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: 0.12em;
    min-width: 30px;
}

.menu-link-text {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--light);
    letter-spacing: 0.02em;
    transition: color 0.4s ease,
        transform 0.5s var(--ease-out-expo);
}

.menu-link-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0;
    transform: translate(-20px, 20px);
    transition: opacity 0.4s ease,
        transform 0.5s var(--ease-out-expo);
}

/* Hover effects */
.menu-link:hover .menu-link-text {
    color: var(--accent);
    transform: translateX(20px);
}

.menu-link:hover .menu-link-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Accent line reveal on hover */
.menu-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

.menu-link:hover::after {
    transform: scaleX(1);
}


/* ─── MENU FOOTER ─── */
.menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 2rem;
    opacity: 0;
}

.menu-socials {
    display: flex;
    gap: 1.5rem;
}

.menu-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--light-15);
    font-size: 1.15rem;
    color: var(--light-70);
    transition: color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        transform 0.4s var(--ease-out-expo);
}

.menu-social:hover {
    color: var(--dark);
    border-color: var(--accent);
    background-color: var(--accent);
    transform: translateY(-3px);
}

.menu-email {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--light-50);
    letter-spacing: 0.05em;
}


@media(max-width: 768px) {
    .nav-logo {
        width: 40%;
    }

    .nav-hamburger {
        display: flex;
        /* 🔥 THIS WAS MISSING */
    }

    .nav-links {
        display: none;
        /* optional: hide desktop links */
    }

    .nav-cta {
        display: none;
    }
}






/* ============================================
           MAIN SERVICE SECTION - SCOPED STYLES
           All classes prefixed with 'main-service-'
           ============================================ */

.main-service-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
    font-family: var(--font-body);
    box-sizing: border-box;
}

/* ================= HERO SECTION ================= */

.main-service-hero {
    position: relative;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    padding: 200px 100px 50px 100px;
    overflow: hidden;
}


/* BACKGROUND GLOW */
.main-service-hero-gradient {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    filter: blur(80px);
    z-index: 0;
}

/* GRID */
.main-service-hero-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 0;
}

/* CONTAINER */
.main-service-hero-container {
    max-width: 1400px;
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* LEFT SIDE */
.main-service-hero-left {
    flex: 1;
    max-width: 620px;
}

/* KICKER */
.main-service-hero-kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--rose);
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* TITLE */
.main-service-hero-title {
    font-size: clamp(36px, 6vw, 76px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--ink);
}

/* GRADIENT TEXT */
.main-service-highlight {
    background: linear-gradient(90deg, #e11d48, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */
.main-service-hero-description {
    font-size: 18px;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* BUTTONS */
.main-service-hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* PRIMARY BTN */
.main-service-btn-primary {
    background: linear-gradient(135deg, #e11d48, #fb7185);
    color: #fff;
    padding: 14px 34px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-service-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

/* GHOST BTN */
.main-service-btn-ghost {
    background-color: #032D42;
    padding: 14px 34px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--white);
    transition: 0.3s;
}

.main-service-btn-ghost:hover {
    background: #000;
}

/* METRICS */
.main-service-hero-metrics {
    display: flex;
    gap: 20px;
}

.main-service-metric {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 20px 26px;
    border-radius: 16px;
    min-width: 150px;
    transition: 0.3s;
}

.main-service-metric:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.main-service-metric-value {
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 6px;
}

/* COLORS */
.main-service-metric-value-1 {
    color: var(--rose);
}

.main-service-metric-value-2 {
    color: var(--violet);
}

.main-service-metric-value-3 {
    color: var(--emerald);
}

.main-service-metric-label {
    font-size: 12px;
    color: var(--muted);
}

/* RIGHT SIDE */
.main-service-hero-right {
    flex: 1;
    position: relative;
    height: 500px;
}

.main-service-hero-right img {
    width: 100%;
}

/* FLOATING CARDS */
.main-service-visual-card {
    position: absolute;
    background: var(--violet-border);
    padding: 10px 18px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    /* width: 180px; */
    transition: 0.3s;
}

/* POSITIONS */
.card-1 {
    top: 0px;
    left: 60px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 200px;
    right: 0px;
    animation: float 7s ease-in-out infinite;
}

.card-3 {
    bottom: 40px;
    left: 120px;
    animation: float 5.5s ease-in-out infinite;
}

/* CARD TEXT */
.main-service-visual-card h4 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--ink);
    margin: 0;
}

.main-service-visual-card p {
    font-size: 15px;
    color: var(--muted);
}

/* FLOAT ANIMATION */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* HOVER */
.main-service-visual-card:hover {
    transform: translateY(-8px) scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-service-hero-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .main-service-hero-left {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: fit-content;
    }

    .main-service-hero-description {
        text-align: center;
        max-width: 360px;
        line-height: 1.4;
        font-weight: 600;
    }

    .main-service-hero-actions,
    .main-service-hero-metrics {
        justify-content: center;
    }

    .main-service-hero-metrics {
        gap: 0;
    }

    .main-service-hero-right {
        height: 300px;
    }

    .card-3 {
        left: 0;
    }
}

/* ────────────────────────────────────────────
           SECTION HEADER
           ──────────────────────────────────────────── */
.main-service-section-header {
    text-align: center;
    margin-bottom: 52px;
}

.main-service-section-kicker {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    color: var(--sky);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.main-service-talent-section .main-service-section-kicker {
    color: var(--emerald);
}

.main-service-managed-section .main-service-section-kicker {
    color: var(--teal);
}

.main-service-appdev-section .main-service-section-kicker {
    color: var(--violet);
}

.main-service-section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 32px);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    line-height: 1.08;
}

.main-service-section-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: -0.01em;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ────────────────────────────────────────────
           TALENT SECTION
           ──────────────────────────────────────────── */
.main-service-talent-section {
    padding: 50px 0px 100px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAF8;
    border-bottom: 1px solid var(--faint);
}

.main-service-talent-container {
    max-width: 1300px;
    width: 100%;
}

.main-service-talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.main-service-talent-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid #F0F0F0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.main-service-talent-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.main-service-talent-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.main-service-talent-card:hover::after {
    transform: scaleX(1);
}

.main-service-talent-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.main-service-talent-card:hover .main-service-talent-dot {
    transform: scale(1.5);
}

.main-service-talent-name {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.main-service-talent-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 12px;
}

.main-service-talent-pills {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.main-service-talent-pill {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 980px;
    letter-spacing: -0.01em;
}

/* Color variants for talent cards */
.main-service-talent-card.r1 {
    background: var(--rose-light);
    border-color: var(--rose-border);
}

.main-service-talent-card.r1 .main-service-talent-dot {
    background: var(--rose);
}

.main-service-talent-card.r1::after {
    background: var(--rose);
}

.main-service-talent-card.r1 .main-service-talent-pill {
    background: #fff;
    color: #9F1239;
    border: 1px solid var(--rose-border);
}

.main-service-talent-card.r2 {
    background: var(--sky-light);
    border-color: var(--sky-border);
}

.main-service-talent-card.r2 .main-service-talent-dot {
    background: var(--sky);
}

.main-service-talent-card.r2::after {
    background: var(--sky);
}

.main-service-talent-card.r2 .main-service-talent-pill {
    background: #fff;
    color: #075985;
    border: 1px solid var(--sky-border);
}

.main-service-talent-card.r3 {
    background: var(--violet-light);
    border-color: var(--violet-border);
}

.main-service-talent-card.r3 .main-service-talent-dot {
    background: var(--violet);
}

.main-service-talent-card.r3::after {
    background: var(--violet);
}

.main-service-talent-card.r3 .main-service-talent-pill {
    background: #fff;
    color: #5B21B6;
    border: 1px solid var(--violet-border);
}

.main-service-talent-card.r4 {
    background: var(--emerald-light);
    border-color: var(--emerald-border);
}

.main-service-talent-card.r4 .main-service-talent-dot {
    background: var(--emerald);
}

.main-service-talent-card.r4::after {
    background: var(--emerald);
}

.main-service-talent-card.r4 .main-service-talent-pill {
    background: #fff;
    color: #065F46;
    border: 1px solid var(--emerald-border);
}

.main-service-talent-card.r5 {
    background: var(--coral-light);
    border-color: var(--coral-border);
}

.main-service-talent-card.r5 .main-service-talent-dot {
    background: var(--coral);
}

.main-service-talent-card.r5::after {
    background: var(--coral);
}

.main-service-talent-card.r5 .main-service-talent-pill {
    background: #fff;
    color: #9A3412;
    border: 1px solid var(--coral-border);
}

.main-service-talent-card.r6 {
    background: var(--teal-light);
    border-color: var(--teal-border);
}

.main-service-talent-card.r6 .main-service-talent-dot {
    background: var(--teal);
}

.main-service-talent-card.r6::after {
    background: var(--teal);
}

.main-service-talent-card.r6 .main-service-talent-pill {
    background: #fff;
    color: #115E59;
    border: 1px solid var(--teal-border);
}

.main-service-talent-card.r7 {
    background: var(--pink-light);
    border-color: var(--pink-border);
}

.main-service-talent-card.r7 .main-service-talent-dot {
    background: var(--pink);
}

.main-service-talent-card.r7::after {
    background: var(--pink);
}

.main-service-talent-card.r7 .main-service-talent-pill {
    background: #fff;
    color: #831843;
    border: 1px solid var(--pink-border);
}

.main-service-talent-card.r8 {
    background: var(--amber-light);
    border-color: var(--amber-border);
}

.main-service-talent-card.r8 .main-service-talent-dot {
    background: var(--amber);
}

.main-service-talent-card.r8::after {
    background: var(--amber);
}

.main-service-talent-card.r8 .main-service-talent-pill {
    background: #fff;
    color: #78350F;
    border: 1px solid var(--amber-border);
}

/* ────────────────────────────────────────────
           SPRINT CARD SECTION
           ──────────────────────────────────────────── */
.main-service-sprint-wrap {
    padding: 64px 56px;
    background: #f5f5f5;
    border-bottom: 1px solid var(--faint);
    display: flex;
    justify-content: center;
}

.main-service-sprint-card {
    background: var(--sprint-bg);
    border-radius: 24px;
    padding: 56px 64px 52px;
    max-width: 75%;
    width: 75%;
    position: relative;
    overflow: hidden;
}

.main-service-sprint-card::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.15);
    pointer-events: none;
}

.main-service-sprint-card::after {
    content: '';
    position: absolute;
    left: -40px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.08);
    pointer-events: none;
}

.main-service-sprint-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 980px;
    padding: 7px 18px;
    margin-bottom: 28px;
    animation: main-service-pulseBadge 3s ease-in-out infinite;
}

.main-service-sprint-badge-text {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-service-sprint-title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.main-service-sprint-title em {
    font-style: italic;
    color: var(--amber);
}

.main-service-sprint-tagline {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.main-service-sprint-description {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}

.main-service-sprint-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 20px;
    margin-bottom: 36px;
}

.main-service-sprint-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-service-sprint-check-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-service-sprint-check-dot::after {
    content: '';
    width: 9px;
    height: 9px;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.main-service-sprint-check:nth-child(1) .main-service-sprint-check-dot {
    background: rgba(56, 189, 248, 0.25);
}

.main-service-sprint-check:nth-child(1) .main-service-sprint-check-dot::after {
    background: #38BDF8;
}

.main-service-sprint-check:nth-child(2) .main-service-sprint-check-dot {
    background: rgba(56, 189, 248, 0.25);
}

.main-service-sprint-check:nth-child(2) .main-service-sprint-check-dot::after {
    background: #38BDF8;
}

.main-service-sprint-check:nth-child(3) .main-service-sprint-check-dot {
    background: rgba(167, 139, 250, 0.25);
}

.main-service-sprint-check:nth-child(3) .main-service-sprint-check-dot::after {
    background: #A78BFA;
}

.main-service-sprint-check:nth-child(4) .main-service-sprint-check-dot {
    background: rgba(245, 158, 11, 0.25);
}

.main-service-sprint-check:nth-child(4) .main-service-sprint-check-dot::after {
    background: #FCD34D;
}

.main-service-sprint-check:nth-child(5) .main-service-sprint-check-dot {
    background: rgba(253, 164, 175, 0.25);
}

.main-service-sprint-check:nth-child(5) .main-service-sprint-check-dot::after {
    background: #FDA4AF;
}

.main-service-sprint-check-text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
}

.main-service-sprint-cta {
    width: 100%;
    background: #0D9488;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    z-index: 1;
}

.main-service-sprint-cta:hover {
    background: #0a7a6e;
    transform: scale(1.01);
}

.main-service-sprint-link {
    text-align: center;
    font-family: var(--font-body);
    font-size: 17px;
    color: rgba(255, 255, 255, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 1;
    font-weight: 600;
    transition: color 0.2s;
    padding: 15px 40px;
    background-color: #228e86;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.main-service-sprint-link:hover {
    background-color: #065F46;
}

/* ────────────────────────────────────────────
           MANAGED IT SECTION
           ──────────────────────────────────────────── */
.main-service-managed-section {
    padding: 96px 56px;
    background: var(--white);
    border-bottom: 1px solid var(--faint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-service-managed-container {
    max-width: 1300px;
    width: 100%;
}

.main-service-managed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 52px;
}

.main-service-managed-card {
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid;
    transition: transform 0.3s, box-shadow 0.3s;
}

.main-service-managed-card:hover {
    transform: translateY(-4px);
}

.main-service-managed-card-1 {
    background: var(--teal-light);
    border-color: var(--teal-border);
}

.main-service-managed-card-2 {
    background: var(--violet-light);
    border-color: var(--violet-border);
}

.main-service-managed-card-1:hover {
    box-shadow: 0 16px 40px rgba(13, 148, 136, 0.12);
}

.main-service-managed-card-2:hover {
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
}

.main-service-managed-kicker {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.main-service-managed-card-1 .main-service-managed-kicker {
    color: var(--teal);
}

.main-service-managed-card-2 .main-service-managed-kicker {
    color: var(--violet);
}

.main-service-managed-icon {
    font-size: 20px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid;
    transition: transform 0.3s;
}

.main-service-managed-card:hover .main-service-managed-icon {
    transform: rotate(-6deg) scale(1.1);
}

.main-service-managed-card-1 .main-service-managed-icon {
    background: #fff;
    border-color: var(--teal-border);
}

.main-service-managed-card-2 .main-service-managed-icon {
    background: #fff;
    border-color: var(--violet-border);
}

.main-service-managed-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.main-service-managed-description {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: #3d3d3f;
    line-height: 1.8;
    margin-bottom: 20px;
}

.main-service-managed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.main-service-managed-tag {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 980px;
    letter-spacing: -0.01em;
}

.main-service-managed-card-1 .main-service-managed-tag {
    background: #fff;
    color: #115E59;
    border: 1px solid var(--teal-border);
}

.main-service-managed-card-2 .main-service-managed-tag {
    background: #fff;
    color: #5B21B6;
    border: 1px solid var(--violet-border);
}

/* ────────────────────────────────────────────
           RECRUITMENT SECTION
           ──────────────────────────────────────────── */
.main-service-recruit-section {
    background: #FAFAFA;
    border-bottom: 1px solid var(--faint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-service-recruit-container {
    max-width: 1300px;
    width: 100%;
}

.main-service-recruit-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--faint);
}

.main-service-recruit-header-left {
    padding: 64px 56px;
}

.main-service-recruit-header-kicker {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    color: var(--coral);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.main-service-recruit-header-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.main-service-recruit-header-title em {
    font-style: italic;
    color: var(--coral);
}

.main-service-recruit-header-right {
    padding: 64px 56px;
    border-left: 1px solid var(--faint);
    display: flex;
    align-items: center;
}

.main-service-recruit-header-description {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.8;
    letter-spacing: -0.01em;
}

.main-service-pipeline-wrap {
    padding: 48px 56px;
    border-bottom: 1px solid var(--faint);
    background: #FAFAFA;
}

.main-service-pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.main-service-pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.main-service-pipeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 2px solid;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.main-service-pipeline-icon:hover {
    transform: translateY(-6px);
}

.main-service-pipeline-arrow-wrap {
    display: flex;
    align-items: center;
    padding-top: 30px;
    width: 36px;
    flex-shrink: 0;
}

.main-service-pipeline-arrow-line {
    flex: 1;
    height: 2px;
}

.main-service-pipeline-arrow-head {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.main-service-pipeline-step:nth-child(1) .main-service-pipeline-icon {
    background: var(--rose-light);
    border-color: var(--rose);
}

.main-service-pipeline-step:nth-child(2) .main-service-pipeline-icon {
    background: var(--violet-light);
    border-color: var(--violet);
}

.main-service-pipeline-step:nth-child(3) .main-service-pipeline-icon {
    background: var(--amber-light);
    border-color: var(--amber);
}

.main-service-pipeline-step:nth-child(4) .main-service-pipeline-icon {
    background: var(--coral-light);
    border-color: var(--coral);
}

.main-service-pipeline-step:nth-child(5) .main-service-pipeline-icon {
    background: var(--emerald);
    border-color: var(--emerald);
    color: #fff;
    font-size: 26px;
}

.main-service-pipeline-arrow-1 .main-service-pipeline-arrow-line {
    background: var(--rose);
}

.main-service-pipeline-arrow-1 .main-service-pipeline-arrow-head {
    border-left-color: var(--rose);
}

.main-service-pipeline-arrow-2 .main-service-pipeline-arrow-line {
    background: var(--violet);
}

.main-service-pipeline-arrow-2 .main-service-pipeline-arrow-head {
    border-left-color: var(--violet);
}

.main-service-pipeline-arrow-3 .main-service-pipeline-arrow-line {
    background: var(--amber);
}

.main-service-pipeline-arrow-3 .main-service-pipeline-arrow-head {
    border-left-color: var(--amber);
}

.main-service-pipeline-arrow-4 .main-service-pipeline-arrow-line {
    background: var(--coral);
}

.main-service-pipeline-arrow-4 .main-service-pipeline-arrow-head {
    border-left-color: var(--coral);
}

.main-service-pipeline-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.main-service-pipeline-step:nth-child(1) .main-service-pipeline-label {
    color: var(--rose);
}

.main-service-pipeline-step:nth-child(2) .main-service-pipeline-label {
    color: var(--violet);
}

.main-service-pipeline-step:nth-child(3) .main-service-pipeline-label {
    color: var(--amber);
}

.main-service-pipeline-step:nth-child(4) .main-service-pipeline-label {
    color: var(--coral);
}

.main-service-pipeline-step:nth-child(5) .main-service-pipeline-label {
    color: var(--emerald);
}

.main-service-pipeline-sublabel {
    font-family: var(--font-body);
    font-size: 10px;
    color: #aaa;
    text-align: center;
}

.main-service-recruit-cards-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.main-service-recruit-card {
    padding: 36px 48px;
    background: #fff;
    border-right: 1px solid var(--faint);
    transition: background 0.3s;
}

.main-service-recruit-card:last-child {
    border-right: none;
}

.main-service-recruit-card:hover {
    background: var(--coral-light);
}

.main-service-recruit-card-tag {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.main-service-recruit-card:first-child .main-service-recruit-card-tag {
    color: var(--coral);
}

.main-service-recruit-card:last-child .main-service-recruit-card-tag {
    color: var(--emerald);
}

.main-service-recruit-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.main-service-recruit-card-description {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.78;
}

/* ────────────────────────────────────────────
           APPDEV SECTION
           ──────────────────────────────────────────── */
.main-service-appdev-section {
    padding: 80px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-bottom: 1px solid var(--faint);
}

.main-service-appdev-container {
    max-width: 1300px;
    width: 100%;
}

.main-service-appdev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.main-service-appdev-box {
    border-radius: 20px;
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s;
    cursor: default;
}

.main-service-appdev-box:hover {
    transform: translateY(-8px);
}

.main-service-appdev-box:nth-child(1) {
    background: var(--emerald-light);
    border: 1px solid var(--emerald-border);
}

.main-service-appdev-box:nth-child(2) {
    background: var(--violet-light);
    border: 1px solid var(--violet-border);
}

.main-service-appdev-box:nth-child(3) {
    background: var(--ink);
}

.main-service-appdev-box:nth-child(1):hover {
    box-shadow: 0 20px 50px rgba(5, 150, 105, 0.12);
}

.main-service-appdev-box:nth-child(2):hover {
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}

.main-service-appdev-box:nth-child(3):hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.main-service-appdev-number {
    font-family: var(--font-display);
    font-size: 88px;
    font-weight: 900;
    position: absolute;
    top: -8px;
    right: 16px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.main-service-appdev-box:nth-child(1) .main-service-appdev-number {
    color: var(--emerald);
    opacity: 0.18;
}

.main-service-appdev-box:nth-child(2) .main-service-appdev-number {
    color: var(--violet);
    opacity: 0.18;
}

.main-service-appdev-box:nth-child(3) .main-service-appdev-number {
    color: #fff;
    opacity: 0.07;
}

.main-service-appdev-kicker {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.main-service-appdev-box:nth-child(1) .main-service-appdev-kicker {
    color: var(--emerald);
}

.main-service-appdev-box:nth-child(2) .main-service-appdev-kicker {
    color: var(--violet);
}

.main-service-appdev-box:nth-child(3) .main-service-appdev-kicker {
    color: #7DD3FC;
}

.main-service-appdev-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.main-service-appdev-box:nth-child(1) .main-service-appdev-title,
.main-service-appdev-box:nth-child(2) .main-service-appdev-title {
    color: var(--ink);
}

.main-service-appdev-box:nth-child(3) .main-service-appdev-title {
    color: #fff;
}

.main-service-appdev-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.main-service-appdev-box:nth-child(1) .main-service-appdev-description,
.main-service-appdev-box:nth-child(2) .main-service-appdev-description {
    color: #4d4d4f;
}

.main-service-appdev-box:nth-child(3) .main-service-appdev-description {
    color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════════════════════════
           ANIMATIONS
           ══════════════════════════════════════════════════════════════ */

@keyframes main-service-floatDot {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(0, 0) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translate(20px, -20px) scale(1.06);
    }
}

@keyframes main-service-fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes main-service-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes main-service-scaleIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes main-service-slideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes main-service-slideRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes main-service-pulseBadge {

    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.2);
    }

    50% {
        border-color: rgba(255, 255, 255, 0.45);
    }
}

@keyframes main-service-pipePop {
    0% {
        transform: scale(1) translateY(0);
    }

    40% {
        transform: scale(1.12) translateY(-6px);
    }

    100% {
        transform: scale(1) translateY(0);
    }
}

/* Reveal classes */
.main-service-reveal {
    opacity: 0;
}

.main-service-reveal.visible {
    animation: main-service-fadeUp 0.65s ease forwards;
}

.main-service-reveal-scale {
    opacity: 0;
}

.main-service-reveal-scale.visible {
    animation: main-service-scaleIn 0.6s ease forwards;
}

.main-service-reveal-left {
    opacity: 0;
}

.main-service-reveal-left.visible {
    animation: main-service-slideLeft 0.65s ease forwards;
}

.main-service-reveal-right {
    opacity: 0;
}

.main-service-reveal-right.visible {
    animation: main-service-slideRight 0.65s ease forwards;
}

/* Stagger children */
.main-service-stagger-children>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.main-service-stagger-children.visible>*:nth-child(1) {
    opacity: 1;
    transform: none;
    transition-delay: 0.05s;
}

.main-service-stagger-children.visible>*:nth-child(2) {
    opacity: 1;
    transform: none;
    transition-delay: 0.15s;
}

.main-service-stagger-children.visible>*:nth-child(3) {
    opacity: 1;
    transform: none;
    transition-delay: 0.25s;
}

.main-service-stagger-children.visible>*:nth-child(4) {
    opacity: 1;
    transform: none;
    transition-delay: 0.35s;
}

.main-service-stagger-children.visible>*:nth-child(5) {
    opacity: 1;
    transform: none;
    transition-delay: 0.45s;
}

.main-service-stagger-children.visible>*:nth-child(6) {
    opacity: 1;
    transform: none;
    transition-delay: 0.55s;
}

.main-service-stagger-children.visible>*:nth-child(7) {
    opacity: 1;
    transform: none;
    transition-delay: 0.65s;
}

.main-service-stagger-children.visible>*:nth-child(8) {
    opacity: 1;
    transform: none;
    transition-delay: 0.75s;
}

/* Sprint inner layout */
.main-service-sprint-inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: center;
}

.main-service-sprint-left {
    position: relative;
    z-index: 1;
}

.main-service-sprint-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.main-service-sprint-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-service-sprint-stat {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.main-service-sprint-stat-value {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 900;
    color: var(--amber);
    display: block;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}

.main-service-sprint-stat-label {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ────────────────────────────────────────────
           RESPONSIVE
           ──────────────────────────────────────────── */
@media (max-width: 1024px) {

    .main-service-hero,
    .main-service-talent-section,
    .main-service-managed-section,
    .main-service-appdev-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .main-service-sprint-wrap {
        padding: 48px 32px;
    }

    .main-service-talent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-service-managed-grid,
    .main-service-appdev-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-service-recruit-header,
    .main-service-recruit-cards-wrap {
        grid-template-columns: 1fr;
    }

    .main-service-recruit-header-right {
        border-left: none;
        border-top: 1px solid var(--faint);
    }

    .main-service-recruit-header-left,
    .main-service-recruit-header-right {
        padding: 40px 32px;
    }

    .main-service-pipeline-wrap {
        padding: 40px 32px;
    }

    .main-service-recruit-card {
        padding: 28px 32px;
        border-right: none;
        border-bottom: 1px solid var(--faint);
    }

    .main-service-sprint-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .main-service-hero {
        padding: 120px 24px 72px;
    }

    .main-service-talent-section,
    .main-service-managed-section,
    .main-service-appdev-section {
        padding: 64px 24px;
    }

    .main-service-sprint-wrap {
        padding: 36px 20px;
    }

    .main-service-sprint-card {
        padding: 32px 28px;
        max-width: 100%;
        width: 100%;
    }

    .main-service-talent-grid,
    .main-service-managed-grid,
    .main-service-appdev-grid {
        grid-template-columns: 1fr;
    }

    .main-service-sprint-checks {
        grid-template-columns: 1fr;
    }

    .main-service-pipeline {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .main-service-pipeline-arrow-wrap {
        display: none;
    }
}





.main-footer-section {
    position: relative;
    width: 100%;
    /* height: 0vh; */
    /* background-color: #fff; */
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1000;
}

.main-footer-container {
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    padding: 60px 5% 0 5%;
    box-sizing: border-box;
    /* background-color: #fff; */
}

/* TOP SECTION */
.main-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}


.main-footer-inquiry {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-footer-small-tag {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
    font-family: urb;
    font-weight: 600;
    letter-spacing: 1px;
}

.main-footer-email {
    font-size: 2vw;
    font-weight: 700;
    /* color: #000000; */
    text-decoration: underline;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    font-family: gil;
    letter-spacing: 1px;
}

/* CTA CARD (The Yellow Box) */
.main-footer-cta-card {
    background-color: #032D42;
    /* Lime accent */
    color: #ffffff;
    padding: 30px;
    border-radius: 25px;
    width: 180px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    font-family: gil;
}

.main-footer-card-title {
    font-size: 24px;
    font-weight: 600;
    font-family: gil;
    text-transform: uppercase;
}

.main-footer-card-btn {
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-family: urb;
    font-weight: 600;
    transition: all 0.4s ease;
}

.main-footer-card-btn:hover {
    transform: translateY(-2px);
}

/* MIDDLE SECTION */
.main-footer-middle {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    /* margin-top: auto; */
    margin-bottom: 20px;
}

.main-footer-nav-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* flex-direction: column; */
    gap: 10px;
}

.main-footer-nav-link {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    font-family: urb;
    transition: all 0.4s ease;
}

.main-footer-nav-link:hover {
    border-bottom: 1px solid #62D84E;
    color: #62D84E;
    width: fit-content;
}

.main-footer-office-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    align-items: flex-end;
}

.main-footer-office-col a {
    text-decoration: none;
    color: #000;
    font-family: urb;
    font-weight: 500;
    font-size: 18px;
}

.main-footer-office-col a:hover {
    border-bottom: 1px solid #62D84E;
    width: fit-content;
}

.main-footer-office-label {
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: right;
    color: #000;
    font-family: urb;
}

.main-footer-office-address {
    color: #888;
    line-height: 1.5;
    text-align: right;
    font-size: 14px;
    font-family: urb;
    font-weight: 600;
    letter-spacing: 1px;
}

.main-footer-brand-wrap {
    margin-top: auto;
    padding-bottom: 30px;
}

/* GIANT BRAND TEXT */

.main-footer-giant-brand {
    font-size: 14vw;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin: 0;
    /* line-height: 0.9; */
    color: #000000;
    /* background: linear-gradient(180deg, rgba(131, 133, 136, 1) 0%, rgb(213, 215, 218) 51%, rgb(241, 241, 241) 99%); */
    /* background: linear-gradient(135deg, #0f2f3a 0%, #1f5f6b 50%, #34d399 100%); */
    background: linear-gradient(90deg, rgba(17, 80, 148, 1) 0%, rgba(70, 113, 160, 1) 34%, rgba(151, 164, 179, 1) 71%, rgba(180, 182, 186, 1) 99%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: gil;
    text-align: center;
    text-transform: uppercase;
}

/* LAVENDER BOTTOM BAR */
.main-footer-bottom-bar {
    background-color: #000000;
    /* width: 100%; */
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    margin: 0 -5.55%;
    font-size: 13px;
    font-weight: 500;
}

.footer-copy {
    font-family: urb;
    font-weight: 600;
    font-size: 15px;
}

.footer-loc {
    font-family: urb;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}

.footer-social-links {
    margin-right: 50px;
}

.footer-social-links a img {
    color: var(--heading);
    text-decoration: none;
    margin-left: 20px;
    width: 30px;
    cursor: pointer;
}



@media(max-width: 768px) {
    .main-footer-email {
        font-size: 5vw;
    }

    .main-footer-office-label {
        font-size: 13px;
    }

    .main-footer-small-tag {
        font-size: 12px;
    }

    .main-footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .footer-social-links {
        margin: 0;
    }

    /* .main-footer-container {
        padding-bottom: 5%;
    } */

    .main-footer-website-made {
        font-size: 11px;
    }

    .main-footer-office-col a {
        font-size: 15px;
    }

    .footer-loc {
        font-size: 12px;
    }
}