/* ==========================================================================
   Harsh Apex Premium Design System (LYNX-Aligned)
   Theme: Space Luxury Dark (#0a051b) with Gold Highlights
   ========================================================================== */

/* --- Custom Property Tokens --- */
:root {
    --bg-color: #0a051b;
    --section-alt-bg: #060312;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #1a1532;
    
    /* Card Tokens */
    --card-bg: #120d2b;
    --card-border: #1d1740;
    --card-border-hover: #d4af37;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 16px 40px rgba(212, 175, 55, 0.15);
    --card-text-main: #ffffff;
    --card-text-muted: #a0a0a0;
    
    /* Navigation & Overlays */
    --nav-bg: rgba(10, 5, 27, 0.85);
    --menu-overlay: rgba(10, 5, 27, 0.98);
    --invert-btn-text: #0a051b;
    --modal-bg: #120d2b;
    
    /* Highlights & Gradients */
    --highlight-color: rgba(212, 175, 55, 0.20);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --text-gold: #d4af37;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #aa7c11 100%);

    /* Glass Tokens */
    --glass-bg: rgba(18, 13, 43, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(212, 175, 55, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --glass-shadow-hover: 0 20px 48px 0 rgba(212, 175, 55, 0.12);
    --glass-inner-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color .4s ease, color .4s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: clamp(80px, 10vw, 120px) 0;
    scroll-margin-top: 80px;
    transition: background-color .4s ease;
}

.section-alt {
    background-color: var(--section-alt-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* --- Preloader Reveal Animation --- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .4s ease, visibility .4s ease;
}

.preloader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
}

.preloader-gif {
    width: clamp(90px, 15vw, 130px); /* Preferred luxury preloader size */
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.75);
    animation: preloaderGifReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

.preloader-text {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: .12em;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
}

@keyframes preloaderGifReveal {
    0% {
        opacity: 0;
        transform: scale(0.75) translateY(15px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.preloader-row {
    display: flex;
    gap: 0.35em;
    justify-content: center;
    align-items: center;
}

.preloader-word {
    display: flex;
    gap: 0.05em;
}

.preloader-word.gold {
    color: var(--text-gold);
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: scale(0.3) translateY(20px);
    filter: blur(4px);
    background: linear-gradient(120deg, #94a3b8 35%, #ffffff 50%, #94a3b8 65%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 100% 0;
    animation: letterReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-word.gold .letter {
    background: linear-gradient(120deg, #aa7c11 35%, #fffde6 50%, #aa7c11 65%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 100% 0;
}

/* Word 1 (HARSH) sequential delays */
.preloader-row:nth-child(1) .preloader-word:nth-child(1) .letter:nth-child(1) { animation-delay: .15s; }
.preloader-row:nth-child(1) .preloader-word:nth-child(1) .letter:nth-child(2) { animation-delay: .2s; }
.preloader-row:nth-child(1) .preloader-word:nth-child(1) .letter:nth-child(3) { animation-delay: .25s; }
.preloader-row:nth-child(1) .preloader-word:nth-child(1) .letter:nth-child(4) { animation-delay: .3s; }
.preloader-row:nth-child(1) .preloader-word:nth-child(1) .letter:nth-child(5) { animation-delay: .35s; }

/* Word 2 (APEX) sequential delays */
.preloader-row:nth-child(1) .preloader-word:nth-child(2) .letter:nth-child(1) { animation-delay: .42s; }
.preloader-row:nth-child(1) .preloader-word:nth-child(2) .letter:nth-child(2) { animation-delay: .47s; }
.preloader-row:nth-child(1) .preloader-word:nth-child(2) .letter:nth-child(3) { animation-delay: .52s; }
.preloader-row:nth-child(1) .preloader-word:nth-child(2) .letter:nth-child(4) { animation-delay: .57s; }

/* Word 3 (SOLUTIONS) sequential delays */
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(1) { animation-delay: .64s; }
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(2) { animation-delay: .69s; }
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(3) { animation-delay: .74s; }
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(4) { animation-delay: .79s; }
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(5) { animation-delay: .84s; }
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(6) { animation-delay: .89s; }
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(7) { animation-delay: .94s; }
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(8) { animation-delay: .99s; }
.preloader-row:nth-child(2) .preloader-word:nth-child(1) .letter:nth-child(9) { animation-delay: 1.04s; }

@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
        filter: blur(4px);
        background-position: 100% 0;
    }
    40% {
        opacity: 1;
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
        background-position: -100% 0;
    }
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.15;
    letter-spacing: -.03em;
}

h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-intro {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: clamp(40px, 5vw, 60px);
    transition: color .4s ease;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Sticky Header --- */
nav {
    padding: 12px 5%; /* Adjusted padding to balance the larger logo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background .4s ease, border-bottom .4s ease, padding .4s ease;
}

nav.scrolled {
    padding: 8px 5%; /* Tight scrolled layout */
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 800;
    font-size: 1.8rem; /* Scaled up brand typography to match 170px logo */
    letter-spacing: .05em;
    text-decoration: none;
    color: var(--text-main);
    z-index: 1001;
    font-family: 'Space Grotesk', sans-serif;
    transition: transform 0.3s ease, font-size 0.4s ease;
}

nav.scrolled .logo {
    font-size: 1.3rem; /* Compact brand typography when scrolled */
    gap: 10px;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 170px; /* Base height enlarged to 170px */
    width: auto;
    object-fit: contain;
    transition: height 0.4s ease;
}

nav.scrolled .logo-img {
    height: 52px; /* Smoothly scales down to 52px on scroll */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: .95rem;
    transition: color .2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.theme-toggle, .hamburger {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background .2s ease;
    z-index: 1001;
}

.theme-toggle:hover, .hamburger:hover {
    background: rgba(255, 255, 255, 0.05);
}

.theme-toggle svg, .hamburger svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.hamburger {
    display: none;
}

/* --- Hero Layout --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.16; /* Increased transparency for premium feel */
    pointer-events: none;
    transition: opacity .4s ease, filter .4s ease;
    animation: heroVideoDrift 45s ease-in-out infinite;
}


#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.background-glow-radial {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85vw;
    height: 85vh;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(10, 5, 27, 0) 70%);
    pointer-events: none;
    z-index: -2;
    filter: blur(20px);
    animation: radialGlowDrift 25s ease-in-out infinite;
}


/* --- Premium Background Drift Animations --- */
@keyframes heroVideoDrift {
    0% {
        transform: scale(1) translate(0, 0);
    }
    33% {
        transform: scale(1.04) translate(1.5%, -1%);
    }
    66% {
        transform: scale(1.02) translate(-1%, 1.5%);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

@keyframes radialGlowDrift {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(-46%, -53%) scale(1.15);
        opacity: 1;
    }
    50% {
        transform: translate(-53%, -47%) scale(0.95);
        opacity: 0.7;
    }
    75% {
        transform: translate(-47%, -46%) scale(1.08);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-label {
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.hero-headline-wrapper {
    display: block;
    text-align: left;
    margin-bottom: 40px;
    width: fit-content;
    max-width: 100%;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    text-align: center;
}

.highlight {
    position: relative;
    color: var(--text-main);
    white-space: nowrap;
    z-index: 1;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8%;
    left: -4px;
    right: -4px;
    height: 30%;
    background: var(--highlight-color);
    z-index: -1;
    border-radius: 2px;
    transform: skewX(-6deg);
}

.hero p.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.typed-cursor {
    color: var(--text-gold);
    animation: blinkCursor 0.8s infinite;
    margin-left: 2px;
}

@keyframes blinkCursor {
    50% { opacity: 0; }
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.hero-subtext {
    font-size: .875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Pill Button Systems --- */
.btn {
    display: inline-block;
    background: var(--text-main);
    color: var(--invert-btn-text);
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.125rem;
    transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
    border: 1px solid var(--text-main);
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
    opacity: .95;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.whatsapp-icon {
    stroke-width: 2px;
}

.contact-support {
    display: block;
    margin-top: 16px;
    font-size: .875rem;
    color: var(--text-muted);
}

/* --- Why Us Section & Milestones --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.why-card {
    background: var(--card-bg);
    padding: clamp(40px, 5vw, 50px);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--card-border-hover);
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--card-text-main);
}

.why-card p {
    color: var(--card-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Metrics Row */
.metrics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0;
    margin-top: 60px;
    background: rgba(10, 25, 47, 0.25);
    border-radius: 12px;
}


.metric-item {
    text-align: center;
    position: relative;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}


.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-gold);
    line-height: 1;
    font-family: 'Space Grotesk', sans-serif;
}

.metric-plus {
    font-size: 2.2rem;
    color: #00f0ff;
    font-weight: 700;
    margin-left: 4px;
}


.metric-label {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00f0ff;
    margin-top: 12px;
    font-weight: 600;
}


/* --- Core Capabilities Section --- */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.capability-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px 36px 36px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.capability-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--card-border-hover);
}

.capability-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f0ff;
    margin-bottom: 8px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}


.capability-icon-wrapper svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--card-text-main);
    line-height: 1.3;
}

.capability-card p {
    font-size: 0.9rem;
    color: var(--card-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Most Popular Badge for Services */
.card-popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--invert-btn-text);
    background: var(--gradient-gold);
    padding: 5px 10px;
    border-radius: 100px;
    text-transform: uppercase;
}

.highlight-cyan {
    color: #00f0ff;
    position: relative;
    z-index: 1;
    display: inline-block;
}


/* --- Web Packages Section --- */
.packages-section {
    position: relative;
    overflow: hidden;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.package-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--glass-inner-shadow), var(--glass-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s ease, 
                box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-8px) rotateX(4deg) rotateY(-4deg);
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-inner-shadow), var(--glass-shadow-hover);
}

.glass-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 19px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.6s ease;
}


.package-card:hover .glass-reflection {
    transform: scale(1.02) translate(10px, 10px);
}

.card-inner-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1;
    transform: translateZ(20px);
}

.package-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-gold);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    text-transform: uppercase;
}

.package-badge.popular {
    background: var(--gradient-gold);
    color: var(--invert-btn-text);
    border: none;
    font-weight: 800;
}

.package-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--card-text-main);
    line-height: 1.2;
}

.package-desc {
    font-size: 0.92rem;
    color: var(--card-text-muted);
    line-height: 1.6;
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px dashed var(--card-border);
    padding-top: 20px;
    margin-top: 10px;
}

.package-features li {
    font-size: 0.88rem;
    color: var(--card-text-muted);
    position: relative;
    padding-left: 24px;
    line-height: 1.4;
}

.package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-gold);
    font-weight: 700;
}

/* --- Selected Work Grid --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
}

.portfolio-item {
    cursor: pointer;
}

.portfolio-image-wrapper {
    aspect-ratio: 16/10;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
    background: #000;
}

.portfolio-item:hover .portfolio-image-wrapper {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--card-border-hover);
}

.portfolio-item:hover .portfolio-preview {
    transform: scale(1.04);
}

.portfolio-title {
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-main);
}

.portfolio-category {
    font-size: .9rem;
    color: var(--text-muted);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.trust-line {
    display: block;
    font-size: .875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: clamp(40px, 5vw, 60px);
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: softPulse 3s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes softPulse {
    0% {
        box-shadow: 0 0 4px rgba(16, 185, 129, 0.3);
        transform: scale(0.95);
    }
    50% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.7), 0 0 0 4px rgba(16, 185, 129, 0.1);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 4px rgba(16, 185, 129, 0.3);
        transform: scale(0.95);
    }
}

/* --- Our Creed --- */
.creed-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.creed-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-gold);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.creed-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 24px;
}

.creed-author {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: normal;
    font-weight: 600;
}

/* --- Client Reviews Grid --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.review-stars {
    color: var(--text-gold);
    font-size: 1rem;
    margin-bottom: 20px;
}

.review-comment {
    font-size: 0.92rem;
    color: var(--card-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.review-author {
    border-top: 1px solid var(--card-border);
    padding-top: 18px;
}

.author-name {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--card-text-main);
}

.author-position {
    display: block;
    font-size: 0.78rem;
    color: var(--card-text-muted);
    margin-top: 2px;
}

.eval-cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.eval-cta-wrapper p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* --- Interactive Evaluation Popup Modal --- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .4s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 90vw;
    max-width: 480px;
    background: var(--modal-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), var(--card-shadow-hover);
    z-index: 10001;
    border: 1px solid var(--border-color);
    transform: scale(0.97);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--card-text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10002;
    transition: color .2s ease;
}

.modal-close-btn:hover {
    color: var(--text-gold);
}

.modal-content {
    padding: 36px;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--card-text-main);
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--card-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--card-text-main);
    border-radius: 6px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.88rem;
    transition: border-color .2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--text-gold);
    background-color: rgba(255, 255, 255, 0.04);
}

.stars-selector {
    display: flex;
    gap: 6px;
}

.star-btn {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: color .2s ease;
}

.star-btn.active, .star-btn:hover {
    color: var(--text-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.modal-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--text-gold);
    color: var(--text-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.success-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.success-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Project Preview Modal with Iframe --- */
.project-modal-container {
    width: 95vw;
    max-width: 1300px;
    height: 85vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.project-modal-container .modal-body {
    flex: 1;
    position: relative;
    background: #fafafa;
}

#modalIframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
    z-index: 1;
    display: block;
}

.iframe-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border-top-color: var(--text-gold);
    animation: spin 1s ease-in-out infinite;
    z-index: 0;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- RFQ Form & Acquisition Layout --- */
.contact {
    text-align: center;
}

.cta-whatsapp-wrapper {
    margin-bottom: 60px;
}

.contact-form-container {
    max-width: 760px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: clamp(30px, 6vw, 60px);
    box-shadow: var(--card-shadow);
    text-align: left;
    position: relative;
}

.form-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--card-text-main);
    border-bottom: 1px dashed var(--card-border);
    padding-bottom: 16px;
}

.rfq-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23d4af37' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 0;
}

/* --- Site Footer --- */
.footer {
    padding: 80px 0 32px;
    background-color: var(--section-alt-bg);
    border-top: 1px solid var(--border-color);
}

.footer-brand .logo-img {
    height: 48px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-gold);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links-list a:hover {
    color: var(--text-main);
}

/* Glowing Email Button */
.btn-email-glow {
    display: inline-block;
    background: #0070f3;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    border: none;
    letter-spacing: 0.05em;
    box-shadow: 0 0 20px rgba(0, 112, 243, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    width: fit-content;
}

.btn-email-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 112, 243, 0.7);
    background: #0080ff;
}


.footer-bottom {
    font-size: .875rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
}

.footer-link {
    color: var(--text-gold);
    text-decoration: none;
    transition: text-shadow .3s ease;
}

.footer-link:hover {
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

/* --- Scroll Reveal Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Responsive Viewport Settings
   ========================================================================== */

@media (max-width: 992px) {
    .capabilities-grid, .portfolio-grid, .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.15rem; /* Compact mobile typography */
        gap: 8px;
        white-space: nowrap; /* Prevent brand text from wrapping */
    }

    nav.scrolled .logo {
        font-size: 1.05rem;
    }

    .logo-img {
        height: 52px; /* Smaller mobile footprint */
    }

    nav.scrolled .logo-img {
        height: 40px; /* Shrinks smoothly on scroll */
    }

    /* Menu Overlay Active states */
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--menu-overlay);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-main);
        font-weight: 600;
    }

    .hamburger.active .line-1 { transform: translateY(6px) rotate(45deg); }
    .hamburger.active .line-2 { opacity: 0; }
    .hamburger.active .line-3 { transform: translateY(-6px) rotate(-45deg); }
    
    .hamburger svg line {
        transition: all .3s ease;
        transform-origin: center;
    }

    /* Headline & Typography */
    .hero-headline-wrapper {
        display: flex;
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .hero h1 {
        text-align: center;
    }

    /* Grids to mobile sliders */
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 30px 0;
    }

    .metric-number {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .metric-plus {
        font-size: clamp(1.0rem, 3.5vw, 1.4rem);
    }

    .metric-label {
        font-size: clamp(0.5rem, 1.8vw, 0.65rem);
        margin-top: 6px;
    }

    /* Continuous Horizontal Marquees / Swipe Sliders for Capabilities, Reviews, Projects, and Packages */
    .capabilities-grid, .reviews-grid, .portfolio-grid, .packages-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding: 24px 0 !important;
        gap: 20px;
        scroll-behavior: smooth;
        scrollbar-width: none;
        margin: 0 -5%;
        padding-left: 5% !important;
        padding-right: 5% !important;
    }

    .capabilities-grid::-webkit-scrollbar, .reviews-grid::-webkit-scrollbar, .portfolio-grid::-webkit-scrollbar, .packages-grid::-webkit-scrollbar {
        display: none;
    }

    .capability-card, .review-card, .portfolio-item, .package-card {
        flex: 0 0 82% !important;
        width: 82% !important;
        scroll-snap-align: center;
        max-width: 320px;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease !important;
        opacity: 0.45;
        transform: scale(0.94);
    }
    
    /* Active Centered Card Zoom Animation */
    .capability-card.active-slide, .review-card.active-slide, .portfolio-item.active-slide, .package-card.active-slide {
        opacity: 1;
        transform: scale(1.02);
        border-color: var(--text-gold) !important;
        box-shadow: var(--card-shadow-hover);
    }
    
    .portfolio-item {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .portfolio-item.active-slide .portfolio-image-wrapper {
        border-color: var(--text-gold) !important;
    }

    .portfolio-image-wrapper {
        aspect-ratio: 4/3;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-links-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 24px;
    }
}


@media (hover: none) {
    .why-card:hover, .capability-card:hover, .review-card:hover {
        transform: none;
        box-shadow: var(--card-shadow);
        border-color: var(--card-border);
    }
    
    .why-card:active, .capability-card:active, .review-card:active {
        transform: scale(0.98);
        background: var(--section-alt-bg);
    }

    .portfolio-item:hover .portfolio-image-wrapper {
        transform: none;
        box-shadow: var(--card-shadow);
        border-color: var(--card-border);
    }
    
    .portfolio-item:hover .portfolio-preview {
        transform: none;
    }

    .portfolio-item:active .portfolio-image-wrapper {
        transform: scale(0.98);
        opacity: .9;
    }
}

/* --- About Section (Founder & Lead Architect) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.executive-frame {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    padding: 16px;
    box-shadow: var(--card-shadow);
    max-width: 420px;
    margin: 0 auto;
}

.frame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.frame-border-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-gold);
}

.frame-border-corner.top-left { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.frame-border-corner.top-right { top: -2px; right: -2px; border-left: 0; border-bottom: 0; }
.frame-border-corner.bottom-left { bottom: -2px; left: -2px; border-right: 0; border-top: 0; }
.frame-border-corner.bottom-right { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-gold);
    margin-bottom: 16px;
}

.body-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.meta-keys-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px dashed var(--border-color);
    padding-top: 24px;
}

.meta-key {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.key-label {
    color: var(--text-gold);
    font-weight: 700;
    min-width: 110px;
}

.key-value {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==========================================================================
   Floating WhatsApp Button Styles
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: floatBounce 4s ease-in-out infinite, pulseGlow 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    animation: pulseGlow 2s infinite; /* Stop float bounce on hover */
}

.whatsapp-float-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #090d16;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float-icon {
        width: 26px;
        height: 26px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* ==========================================================================
   Methodology Section Styles
   ========================================================================== */
.methodology-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 32px;
}

.workflow-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    cursor: pointer;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.workflow-step:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.workflow-step.active {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.2);
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-gold);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.workflow-step.active .step-num {
    background: var(--text-gold);
    color: #0a051b;
    border-color: var(--text-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.step-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.workflow-step.active .step-content h4 {
    color: var(--text-gold);
}

.step-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Workflow Visual Frame (Right side) */
.workflow-visual-frame {
    position: relative;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    padding: 16px;
    box-shadow: var(--card-shadow), 0 20px 50px rgba(0, 0, 0, 0.4);
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.workflow-image {
    position: absolute;
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.workflow-image.active {
    opacity: 1;
    pointer-events: auto;
}

.workflow-visual-frame:hover .workflow-image.active {
    transform: scale(1.03);
}

/* Floating interactive details */
.workflow-glow-dot {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 10px;
    height: 10px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00f0ff, 0 0 30px #00f0ff;
    animation: softPulse 2s infinite ease-in-out;
}

.workflow-indicator-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.workflow-indicator-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    animation: softPulse 3s infinite ease-in-out;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ==========================================================================
   Ambient Floating Color Blobs & GPU acceleration
   ========================================================================== */
.floating-color-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: -3;
    animation: backgroundHueShift 40s linear infinite;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.65;
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0) 70%);
    animation: blobFloat1 35s ease-in-out infinite alternate;
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0, 240, 255, 0) 70%);
    animation: blobFloat2 40s ease-in-out infinite alternate;
}

.blob-3 {
    top: 40%;
    left: 50%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0) 70%);
    animation: blobFloat3 45s ease-in-out infinite alternate;
}

/* GPU Acceleration for high-performance elements */
.hero-video-bg, .radial-glow-drift, .floating-whatsapp-btn, .preloader-gif, .reveal {
    will-change: transform, opacity;
}

@keyframes blobFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(10vw, 15vh) scale(1.15);
    }
    100% {
        transform: translate(-5vw, 25vh) scale(0.9);
    }
}

@keyframes blobFloat2 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }
    50% {
        transform: translate(-15vw, -10vh) scale(0.85);
    }
    100% {
        transform: translate(-5vw, -25vh) scale(1.05);
    }
}

@keyframes blobFloat3 {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) scale(0.9);
    }
    50% {
        transform: translate(-50%, -50%) translate(-12vw, 10vh) scale(1.1);
    }
    100% {
        transform: translate(-50%, -50%) translate(10vw, -15vh) scale(0.95);
    }
}

@keyframes backgroundHueShift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}
