@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* --- Lighter Premium Palette --- */
    --primary: #1E293B;
    /* Slightly lighter professional slate */
    --navy: #253A52;
    /* Lighter navy for better clarity */
    --secondary: #475569;
    /* Soft muted blue */
    --accent: #F1F5F9;
    /* Very light blue-grey */
    --glow: #D4AF37;
    --bg-light: #FFFFFF;
    /* Pure white for maximum readability */
    --bg-soft: #F8FAFC;
    /* Crisp light-grey/blue background */
    --text-main: #0F172A;
    /* Deepest blue for crystal clear reading */
    --text-muted: #4B5563;
    /* Lighter muted text */
    --white: #FFFFFF;

    /* --- Refined Effects --- */
    --transition-smooth: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-hover: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 15px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 40px 80px rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --blur: blur(15px);
    /* --- Luxury Scroll Animation Variables --- */
    --beige-luxury: #FDFBF7;
    --beige-muted: #F5F2EA;
    --luxury-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    --card-width: 400px;
    --card-height: 550px;
}


@keyframes meshGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-3d {
    opacity: 0;
    transform: perspective(1000px) rotateX(15deg) translateY(30px);
    transition: var(--transition-smooth);
}

.reveal-3d.active {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

.reveal-bounce {
    opacity: 0;
    transform: scale(0.6) translateY(100px);
    transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.reveal-bounce.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Glassmorphism & Premium Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.glass-hover {
    transition: var(--transition-smooth);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
    border-color: var(--glow);
}

/* Staggered Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Parallax Movement */
.parallax-bg {
    transform: translateY(calc(var(--scroll-y, 0) * 0.1px));
}




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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}

h1,
.logo {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

a,
button {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-hover);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}


/* --- Premium Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

nav.scrolled {
    height: 110px;
    background: var(--glass);
    backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.nav-brand-center {
    grid-column: 2;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: center;
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    font-size: 2.8rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 1001;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

nav.scrolled .mobile-toggle {
    color: var(--primary);
}

@media (max-width: 900px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
    }
}

.logo-new {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    flex-shrink: 1;
    min-width: 0;
}

.logo-icon-wrapper {
    width: 110px;
    height: 110px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
    border-radius: 50%;
    overflow: hidden; /* This 'cuts' the image through its round edge */
}

/* Stable logo size - no zooming effects on scroll */

.nav-logo-icon-new {
    width: 320%; /* Zooms in to fill the circular frame with the actual logo mark */
    height: 320%;
    object-fit: contain;
    filter: contrast(1.05);
    transition: var(--transition-smooth);
}

.logo-text-stack {
    display: flex;
    flex-direction: column;
    line-height: 0.8;
    margin-top: 2px;
}

.logo-line-top {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2vw + 0.5rem, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    gap: 0.8rem;
    white-space: nowrap;
}

.logo-line-bottom {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2vw + 0.5rem, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Removed nav.scrolled logo text resizing */

.logo-insight {
    color: var(--glow);
}

.logo-pathways,
.logo-consulting {
    color: var(--primary);
    transition: var(--transition-smooth);
}

nav.scrolled .logo-pathways,
nav.scrolled .logo-consulting {
    color: var(--primary);
}

@media (max-width: 1024px) {
    nav {
        height: 85px;
    }
    nav.scrolled {
        height: 75px;
    }
    .mobile-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 1rem;
        font-size: 2.2rem;
    }
    .nav-links {
        display: none;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 2.5rem;
        box-shadow: var(--shadow-premium);
        border-top: 1px solid var(--glass-border);
    }
    .nav-links.open li {
        margin: 1.2rem 0;
        width: 100%;
        text-align: center;
    }
    .nav-links.open a {
        color: var(--primary) !important;
        font-size: 1.3rem;
        font-weight: 600;
        display: block;
        width: 100%;
    }
    
    /* Icon Swap for Mobile Menu */
    .mobile-toggle.active i::before {
        content: "\f00d"; /* Font Awesome 'X' icon */
    }
    
    .logo-new {
        gap: 0.6rem;
    }
    .logo-icon-wrapper {
        width: 55px;
        height: 55px;
    }
    .nav-logo-icon-new {
        transform: none; /* No zooming on mobile */
        clip-path: circle(50%); /* Restored to remove white rectangle on mobile */
    }
    .logo-line-top, .logo-line-bottom {
        font-size: 1.1rem;
    }
    .logo-line-top {
        gap: 0.4rem;
    }
}

/* --- Premium Modern Hero Section (Apple/Tesla Style) --- */
.hero-premium {
    min-height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.2)), url('assets/images/hero-bg.jpg') center/cover no-repeat scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 1920px;
    background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 4rem 2rem;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-split {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

/* Left Side Content */
.hero-content-main {
    display: contents; /* Allow children to be siblings of the logo for ordering */
}

.brand-name-premium {
    font-family: 'Playfair Display', serif;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    order: 1;
    opacity: 0;
    animation: 
        fadeUpIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards,
        shineStreak 6s linear infinite 0.8s; /* Start shine after entry */
}

@keyframes fadeUpIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Shine Animation - Refined to be subtle and golden */
.shine-effect {
    background: linear-gradient(
        to right,
        var(--primary) 0%,
        var(--primary) 42%,
        #D4AF37 50%, /* Golden streak */
        var(--primary) 58%,
        var(--primary) 100%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}

@keyframes shineStreak {
    to {
        background-position: 200% center;
    }
}

.bounce-subtle {
    animation: bounceInPremium 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceInPremium {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero-headline-premium {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    text-transform: none;
    order: 2;
    width: 100%;
    text-align: center;
    opacity: 0;
    animation: fadeUpIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.2s;
}

.hero-description-premium {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
    order: 3;
    text-align: center;
    opacity: 0;
    animation: fadeUpIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.4s;
}

.btn-premium-rounded {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary);
    color: var(--white) !important;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
    opacity: 0;
    order: 5;
    animation: 
        scaleInPremium 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.6s,
        buttonBounce 3s ease-in-out infinite 2s; /* Subtle bounce added */
}

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

@keyframes scaleInPremium {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.btn-premium-rounded:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
    background: var(--navy);
}

/* Right Side Visual */
.hero-visual-main {
    order: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-circle-premium {
    position: relative;
    width: 320px;
    height: 320px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo-img-premium {
    width: 100%;
    height: 100%;
    z-index: 2;
    object-fit: cover;
    mix-blend-mode: multiply; /* Removes the white background from the video animation */
    clip-path: circle(40%); /* Crops exactly to the logo's edge */
    filter: contrast(1.1); /* Slightly sharpen the logo after blending */
}

.logo-glow-soft {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    z-index: 1;
}

.float-subtle {
    animation: floatUpDown 8s ease-in-out infinite;
}

.brand-wrapper {
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-cta-wrapper {
    order: 5;
    width: 100%;
    display: flex;
    justify-content: center;
}

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

@media (max-width: 1024px) {
    .hero-container {
        padding: 4rem 3rem;
    }
    
    .brand-name-premium {
        font-size: 3.5rem;
    }
    
    .logo-circle-premium {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-split {
        gap: 1rem;
    }
    
    .brand-name-premium {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }

    .hero-headline-premium {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description-premium {
        font-size: 1rem;
        max-width: 95%;
        margin-bottom: 1.5rem;
    }

    .hero-container {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }
    
    .logo-circle-premium {
        width: 250px;
        height: 250px;
        margin: 0.5rem auto 1.5rem; /* Center and move closer to content */
    }
    
    .hero-premium {
        padding-top: 100px;
    }
}

.logo-accent {
    color: var(--glow);
    position: relative;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    align-items: center;
    flex-shrink: 0;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    transition: var(--transition-hover);
}

nav.scrolled .nav-links a {
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

nav.scrolled .nav-links a:hover,
nav.scrolled .nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--glow);
    transition: var(--transition-hover);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.nav-cta::after {
    display: none !important;
}

/* --- Mobile Toggle (Hamburger) --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

nav.scrolled .mobile-toggle .bar {
    background: var(--primary);
}


.mobile-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        /* Slightly wider for ease of use */
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        /* Light Premium Glass */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
        transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        border-left: 1px solid rgba(212, 175, 55, 0.15);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.4rem;
        color: var(--primary) !important;
        /* Force dark text for light menu */
        font-family: 'Playfair Display', serif;
        font-weight: 500;
        letter-spacing: 0.05em;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--glow) !important;
    }

    .nav-cta {
        margin-top: 1rem;
        width: auto;
        background: none !important;
        color: var(--primary) !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
}

/* --- Premium Footer --- */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem; /* More space between icon and text */
    width: fit-content;
    text-decoration: none;
    overflow: visible; /* Ensure text is never clipped */
}

.footer-brand .logo-accent {
    color: var(--glow);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-copyright-brand {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 1.5rem;
    margin-bottom: 0 !important;
    font-family: 'Inter', sans-serif;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: var(--transition-hover);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
    background: var(--glow);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.link-group h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-group a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    transition: var(--transition-hover);
}

.link-group a:hover {
    color: var(--glow);
    transform: translateX(4px);
}

.footer-bottom {
    padding: 2.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom p:first-child {
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
    }
}

/* --- Light Subpage Hero --- */
.subpage-hero.light-hero {
    background: #0F172A; /* Dark base for better image visibility */
    padding: 180px 0 120px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.subpage-hero.light-hero .container {
    position: relative;
    z-index: 2;
}

.subpage-hero.light-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.subpage-hero.light-hero p {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.8);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

.subpage-hero.light-hero .section-badge {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .subpage-hero.light-hero {
        padding: 120px 0 80px;
    }

    .subpage-hero.light-hero h1 {
        font-size: 2.6rem;
        letter-spacing: 0.05em;
    }

    .subpage-hero.light-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

.hero-bg-media-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.45;
    filter: blur(2px);
    pointer-events: none;
}

.hero-bg-media-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-bg-media-light img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Floating Animation --- */
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.5; }
}

/* --- Light Hero (New Design) --- */
.hero.light-hero {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-light) 100%);
    min-height: 100vh;
    padding-top: 250px;
    padding-bottom: 80px;
    color: #0F172A;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-background-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%233b82f6" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,213.3C672,224,768,224,864,208C960,192,1056,160,1152,149.3C1248,139,1344,149,1392,154.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.6;
}

.hero-container-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 2rem;
    /* Reduced for mobile/tablet */
    margin-top: auto;
}

@media (max-width: 768px) {
    .hero-container-split {
        flex-direction: row;
        /* Force side-by-side as requested */
        padding: 0 1rem;
        gap: 1rem;
    }
}
    margin-top: auto;
}

.hero-content-left {
    flex: 1.5;
    /* Give more space to text on mobile */
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-content-left {
        max-width: 65%;
    }
}

.hero-content-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10%;
}

.hero-logo-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: transparent;
}

@media (max-width: 768px) {
    .hero-logo-wrapper {
        width: 20vw;
        /* Exactly 20% of viewport width as requested */
        height: 20vw;
        min-width: 80px;
        /* Ensures it doesn't get too tiny on very small phones */
    }
}

.hero-brand-label {
    display: block;
    font-size: 5.2rem;
    font-weight: 700;
    color: #1E293B;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.0;
    text-align: left;
    letter-spacing: 0.05em;
}

.hero-title-light {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .hero-brand-label {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-brand-label {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
}

.hero-logo-video {
    width: 160%;
    height: 160%;
    object-fit: cover;
    mix-blend-mode: multiply;
    /* This makes the white parts of the logo take on the background color */
    filter: contrast(1.2) brightness(1.02) saturate(1.1);
    /* Fine-tuned to make the BG disappear completely */
    border: none;
    outline: none;
}



@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-title-light {
    font-size: 3.4rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.01em;
}

.hero-description-light {
    font-size: 1.25rem;
    color: #64748B;
    margin-bottom: 3.5rem;
    max-width: 580px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-logo-circle {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 50%;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    animation: floatLogo 6s ease-in-out infinite;
}

.btn-navy {
    background: var(--primary);
    color: var(--white) !important;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition-hover);
    box-shadow: 0 10px 25px rgba(30, 41, 59, 0.2);
}

.btn-navy:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 41, 59, 0.3);
    background: #0F172A;
}

@media (max-width: 1024px) {
    .hero-container-split {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content-left {
        max-width: 100%;
    }

    .hero-content-right {
        justify-content: center;
        padding-right: 0;
    }

    .hero-logo-circle {
        max-width: 350px;
    }

    .hero-title-light {
        font-size: 3.5rem;
    }
}

.hero-logo-large {
    width: 320px;
    height: auto;
    filter: brightness(0.2);
    /* Default dark for light theme */
    transition: var(--transition-smooth);
}

.hero-logo-light {
    filter: brightness(0) invert(1);
    /* Pure white for dark theme */
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.hero-text-centered {
    max-width: 1000px;
}

.hero-title {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.04em;
    position: relative;
    display: inline-block;
    background: linear-gradient(to bottom, #FFFFFF, #E2E8F0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
}

.watermark-text {
    font-family: 'Playfair Display', serif;
    font-size: 30rem;
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .hero-logo-large {
        width: 250px;
    }

    .watermark-text {
        font-size: 15rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem !important;
    }

    .hero-description {
        font-size: 1.1rem !important;
    }
}


.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(15, 23, 42, 0.05);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.hero-title {
    font-size: 5.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.04em;
    position: relative;
    display: inline-block;
    background: linear-gradient(to bottom, #0F172A, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-badge {
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.4rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
}



/* 3D Light Sweep Effect */
.hero-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.6) 50%,
            transparent 60%,
            transparent 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;

    animation: sweep 6s infinite linear;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-title::after {
        display: none !important;
    }

    .hero-tagline {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.6 !important;
    }

    .btn-premium {
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem !important;
        width: auto !important;
        max-width: 100%;
        justify-content: center;
    }
}


@keyframes sweep {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hero-tagline {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3.5rem;
    max-width: 700px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-description span {
    color: var(--primary);
    font-weight: 600;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
    transition: var(--transition-hover);
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
    background: #1e293b;
}

.btn-premium i {
    transition: transform 0.3s ease;
}

.btn-premium:hover i {
    transform: translateX(5px);
}


/* --- Sections --- */
section {
    padding: 10rem 0;
}

.section-header {
    margin-bottom: 5rem;
    max-width: 800px;
}

.section-header-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
}


.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--glow);
    margin-bottom: 1rem;
}

/* --- Premium CTA Section --- */
.cta-premium {
    position: relative;
    padding: 12rem 0;
    background: var(--primary);
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.cta-premium h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-premium p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .cta-premium {
        padding: 8rem 0;
    }
    .cta-premium h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .cta-premium {
        padding: 6rem 1.5rem;
    }
    .cta-premium h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    .cta-premium p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    .cta-premium .btn-premium {
        width: auto;
        display: inline-flex;
        margin: 0 auto;
        justify-content: center;
        padding: 1.2rem 2.5rem;
    }
}

/* --- Responsive CTA Layouts --- */
.cta-section {
    padding: 10rem 0;
    background: var(--bg-soft);
}

.cta-card {
    background: var(--primary);
    padding: 6rem 4rem;
    border-radius: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.2);
}

.cta-card h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 6rem 0;
    }
    .cta-card {
        padding: 4rem 2rem;
        border-radius: 30px;
    }
    .cta-card h2 {
        font-size: 2rem;
    }
    .cta-card p {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }
    .cta-card .btn-premium {
        width: auto;
        display: inline-flex;
        margin: 0 auto;
        justify-content: center;
    }
}

/* --- Premium Scroll Services Section --- */
.premium-services-wrapper {
    position: relative;
    height: 450vh;
    /* Scroll runway */
    background-color: var(--beige-luxury);
    overflow: visible;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 2rem;
}

.sticky-container .section-header {
    position: absolute;
    top: 6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
}

.service-stack-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    height: 80vh;
    /* Controlled area for the stack */
    display: flex;
    justify-content: center;
    align-items: center;
}

.luxury-card {
    width: var(--card-width);
    height: var(--card-height);
    background: var(--white);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--luxury-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: absolute;
    /* Stacked on top of each other */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Base centering */
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    will-change: transform, opacity, filter;
    transition: transform 0.1s linear, opacity 0.1s linear, filter 0.1s linear;
}

/* Stacking Order: 1st card on top */
.luxury-card:nth-child(1) {
    z-index: 10;
}

.luxury-card:nth-child(2) {
    z-index: 9;
}

.luxury-card:nth-child(3) {
    z-index: 8;
}

.luxury-card:nth-child(4) {
    z-index: 7;
}

.luxury-card:nth-child(5) {
    z-index: 6;
}

.luxury-card:nth-child(6) {
    z-index: 5;
}

.luxury-card[data-side="left"] {
    transform: translate(-150%, 0) rotate(-10deg);
    filter: blur(10px);
    opacity: 0;
}

.luxury-card[data-side="right"] {
    transform: translate(150%, 0) rotate(10deg);
    filter: blur(10px);
    opacity: 0;
}


.luxury-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.luxury-card h3 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0;
}

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

.luxury-card .card-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--glow);
    opacity: 0.2;
}

/* Scroll Progress Indicator */
.scroll-progress-wrap {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.progress-dot.active {
    background: var(--glow);
    transform: scale(2);
}

@media (max-width: 1024px) {
    .service-pair {
        flex-direction: column;
        gap: 1rem;
    }

    .luxury-card {
        width: 90vw;
        max-width: 380px;
        height: auto;
        min-height: 450px;
        padding: 2rem;
        gap: 1rem;
    }

    .luxury-card h3 {
        font-size: 1.6rem;
    }

    .luxury-card p {
        font-size: 1rem;
    }

    .service-stack-group {
        height: 70vh;
        top: 55%;
    }

    .premium-services-wrapper {
        height: 600vh;
    }

    .sticky-container .section-header {
        top: 3rem;
    }

    .sticky-container .section-header h2 {
        font-size: 2rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    min-height: 420px;
    height: auto;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
    overflow: visible;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    z-index: 1;
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--glow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    cursor: pointer;
}

.luxury-card:hover {
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Arrow icon inside Who We Support cards */
.wws-card-arrow i {
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition-hover);
}


.service-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95);
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Fallback mesh gradients if images aren't available */
.bg-mesh-1 {
    background: radial-gradient(at 0% 0%, #e0f2fe 0%, #f8fafc 100%);
    opacity: 0.6;
}

.bg-mesh-2 {
    background: radial-gradient(at 100% 0%, #fef3c7 0%, #f8fafc 100%);
    opacity: 0.6;
}

.bg-mesh-3 {
    background: radial-gradient(at 0% 100%, #dcfce7 0%, #f8fafc 100%);
    opacity: 0.6;
}

.bg-mesh-4 {
    background: radial-gradient(at 100% 100%, #ede9fe 0%, #f8fafc 100%);
    opacity: 0.6;
}

.bg-mesh-5 {
    background: radial-gradient(at 50% 50%, #f1f5f9 0%, #e2e8f0 100%);
    opacity: 0.6;
}

.bg-mesh-6 {
    background: radial-gradient(at 20% 80%, #ffedd5 0%, #f8fafc 100%);
    opacity: 0.6;
}

.service-card:hover .card-image-bg img,
.service-card:hover .card-image-bg {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 0;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    align-self: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 100%;
}

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

    .service-card {
        min-height: auto;
        padding: 2rem;
    }
}

/* Staggered Delays for Grid Cards */
.services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.services-grid .service-card:nth-child(5) {
    transition-delay: 0.5s;
}

.services-grid .service-card:nth-child(6) {
    transition-delay: 0.6s;
}



/* --- Services Page Grid & Cards --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: auto;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

/* --- Specialty Sections --- */
.light-bg {
    background-color: var(--white);
}

.dark-bg {
    background-color: var(--neutral-dark);
    color: white;
}

.dark-bg h2,
.dark-bg p {
    color: white;
}

/* --- Community Impact --- */
.bg-soft {
    background-color: var(--bg-soft);
}

/* ====================================
   WHO WE SUPPORT — Premium 3D Section
   ==================================== */
.wws-section {
    position: relative;
    padding: 12rem 0;
    overflow: hidden;
    perspective: 1200px;
}

/* --- Background Image + Overlay --- */
.wws-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.wws-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) saturate(0.8);
    transform: scale(1.08);
    transition: transform 15s linear;
    animation: wwsBgDrift 30s infinite alternate ease-in-out;
}

@keyframes wwsBgDrift {
    0% {
        transform: scale(1.08) translate(0, 0);
    }

    100% {
        transform: scale(1.12) translate(-20px, -10px);
    }
}

.wws-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(253, 249, 240, 0.92) 0%,
            rgba(245, 240, 228, 0.88) 30%,
            rgba(255, 255, 255, 0.85) 60%,
            rgba(252, 248, 237, 0.90) 100%);
    z-index: 1;
}

/* --- Floating Particles --- */
.wws-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.wws-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.6) 0%, rgba(212, 175, 55, 0) 70%);
    animation: wwsFloat linear infinite;
}

.wp1 {
    width: 6px;
    height: 6px;
    top: 85%;
    left: 8%;
    animation-duration: 14s;
}

.wp2 {
    width: 4px;
    height: 4px;
    top: 15%;
    left: 75%;
    animation-duration: 18s;
    animation-delay: -3s;
}

.wp3 {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 40%;
    animation-duration: 22s;
    animation-delay: -7s;
}

.wp4 {
    width: 3px;
    height: 3px;
    top: 30%;
    left: 90%;
    animation-duration: 16s;
    animation-delay: -2s;
}

.wp5 {
    width: 5px;
    height: 5px;
    top: 90%;
    left: 55%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.wp6 {
    width: 7px;
    height: 7px;
    top: 10%;
    left: 20%;
    animation-duration: 24s;
    animation-delay: -10s;
}

.wp7 {
    width: 4px;
    height: 4px;
    top: 50%;
    left: 65%;
    animation-duration: 17s;
    animation-delay: -4s;
}

.wp8 {
    width: 5px;
    height: 5px;
    top: 70%;
    left: 15%;
    animation-duration: 21s;
    animation-delay: -8s;
}

@keyframes wwsFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    50% {
        transform: translateY(-40vh) translateX(30px) scale(1.2);
        opacity: 0.6;
    }

    85% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-90vh) translateX(-20px) scale(0.8);
        opacity: 0;
    }
}

/* --- Section Header Override for this section --- */
.wws-section .section-header h2 {
    background: linear-gradient(135deg, #0F172A 0%, #334155 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4rem;
}

.wws-section .section-header p {
    color: #475569;
    font-size: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Cards Grid --- */
.wws-marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 2.5rem 0;
    margin-top: 2rem;
}

.wws-marquee-track {
    display: flex;
    width: max-content;
    animation: scrollContinuous 40s linear infinite;
}

.wws-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollContinuous {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.wws-grid {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
    margin-top: 0;
}

/* --- Individual Card --- */
.wws-card {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0.45) 100%);
    backdrop-filter: blur(25px) saturate(1.4);
    -webkit-backdrop-filter: blur(25px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition:
        transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.4s ease;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.wws-card:hover {
    transform: translateY(-12px) scale(1.03) rotateX(2deg) rotateY(-2deg);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(212, 175, 55, 0.35);
}

.wws-card:active {
    transform: translateY(-6px) scale(0.99);
    transition-duration: 0.1s;
}

/* Card inner glow on hover */
.wws-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.wws-card:hover .wws-card-glow {
    opacity: 1;
}

/* Ripple effect container */
.wws-ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    pointer-events: none;
    z-index: 1;
}

.wws-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.25);
    transform: scale(0);
    animation: wwsRipple 0.7s ease-out forwards;
    pointer-events: none;
}

@keyframes wwsRipple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Card inner content */
.wws-card-inner {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.wws-icon-wrap {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.wws-card:hover .wws-icon-wrap {
    transform: scale(1.12) rotate(5deg);
    background: var(--primary);
    color: var(--glow);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.wws-card-inner h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

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

.wws-card-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-top: 0.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.9rem;
}

.wws-card:hover .wws-card-arrow {
    background: var(--primary);
    color: var(--white);
    transform: translateX(5px) scale(1.1);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

/* --- Detail Panel (Slide-in from right) --- */
.wws-detail-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    height: 100vh;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(253, 249, 240, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    padding: 4rem 2.5rem;
    border-left: 1px solid rgba(212, 175, 55, 0.15);
}

.wws-detail-panel.open {
    transform: translateX(0);
}

.wws-detail-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.wws-detail-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.wws-detail-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

.wws-detail-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

/* Detail panel content styling */
.wws-detail-content .detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--glow);
    margin-bottom: 2rem;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
    animation: detailIconPop 0.5s 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes detailIconPop {
    from {
        transform: scale(0.5) rotate(-10deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.wws-detail-content h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: detailSlideUp 0.5s 0.35s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.wws-detail-content .detail-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: detailSlideUp 0.5s 0.4s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.wws-detail-content .detail-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: detailSlideUp 0.5s 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.wws-detail-content .detail-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(15, 23, 42, 0.02);
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
}

.wws-detail-content .detail-feature:hover {
    background: var(--white);
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    border-color: rgba(212, 175, 55, 0.2);
}

.wws-detail-content .detail-feature i {
    color: var(--glow);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.wws-detail-content .detail-feature span {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    font-weight: 500;
}

.wws-detail-content .detail-cta {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
    text-decoration: none;
    animation: detailSlideUp 0.5s 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.wws-detail-content .detail-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.25);
    background: #1e293b;
}

.wws-detail-content .detail-cta i {
    transition: transform 0.3s ease;
}

.wws-detail-content .detail-cta:hover i {
    transform: translateX(4px);
}

@keyframes detailSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .wws-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .wws-section .section-header h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .wws-section {
        padding: 8rem 0;
    }

    .wws-marquee-container {
        width: 100%;
        margin-left: 0;
        overflow: hidden;
        padding: 2rem 0;
        cursor: grab;
        display: block !important;
    }

    .wws-marquee-container:active {
        cursor: grabbing;
    }

    .wws-marquee-container::-webkit-scrollbar {
        display: none;
    }

    .wws-marquee-track {
        display: flex !important;
        width: max-content !important;
        animation: scrollContinuous 30s linear infinite !important; /* Re-enabled animation for mobile */
        flex-wrap: nowrap !important;
    }

    #wws-grid-clone {
        display: flex !important;
    }

    .wws-grid {
        display: flex !important;
        gap: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    .wws-card {
        width: 260px !important; /* Slightly narrower for better iPhone fit */
        min-height: 380px !important; /* Ensure enough height for all content */
        flex-shrink: 0 !important;
        transform: none !important;
    }

    .wws-card-inner {
        padding: 1.8rem 1.2rem; /* Reduced padding to fit more content */
        gap: 0.7rem;
    }

    .wws-icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .wws-card-inner h3 {
        font-size: 1.15rem !important;
        white-space: normal !important;
        line-height: 1.3;
    }

    .wws-card-desc {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }

    .wws-detail-panel {
        width: 100%;
        padding: 3rem 2rem;
    }

    .wws-section .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .wws-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Core Focus --- */
.core-focus {
    position: relative;
    background: linear-gradient(135deg, #fdfbf7 0%, #ffffff 100%);
    overflow: hidden;
    padding: 12rem 0;
}

.focus-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-illustration {
    position: absolute;
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%) blur(5px);
    opacity: 0.05;
    animation: driftIllustrations 25s infinite alternate ease-in-out;
}

.illus-data {
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.illus-community {
    bottom: -15%;
    right: -5%;
    animation-delay: -5s;
    width: 700px;
    height: 700px;
}

.illus-systems {
    top: 35%;
    left: 35%;
    animation-delay: -10s;
    width: 500px;
    height: 500px;
}

@keyframes driftIllustrations {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(60px, 40px) scale(1.05) rotate(5deg);
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    animation: floatParticle 15s infinite linear;
}

.p1 {
    top: 80%;
    left: 10%;
    animation-duration: 12s;
}

.p2 {
    top: 20%;
    left: 80%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.p3 {
    top: 50%;
    left: 50%;
    animation-duration: 22s;
    animation-delay: 4s;
}

.p4 {
    top: 10%;
    left: 30%;
    animation-duration: 15s;
    animation-delay: 1s;
    width: 6px;
    height: 6px;
}

.p5 {
    top: 90%;
    left: 90%;
    animation-duration: 20s;
    animation-delay: 3s;
}

.p6 {
    top: 60%;
    left: 20%;
    animation-duration: 25s;
    animation-delay: 5s;
    width: 3px;
    height: 3px;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 0.3;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-200px) scale(0.5);
        opacity: 0;
    }
}

.relative-z {
    position: relative;
    z-index: 2;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    perspective: 1500px;
}

@media (max-width: 1100px) {
    .focus-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .focus-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        justify-items: center;
    }

    .focus-card {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: 450px !important;
        padding: 2rem 1.5rem !important;
    }

    .focus-content {
        padding: 0 !important;
    }

    .focus-content h3 {
        font-size: 1.8rem !important;
        /* Smaller titles on mobile */
    }

    .focus-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .outcome-section {
        padding-top: 1.5rem !important;
        margin-top: auto !important;
    }

    .outcome-text {
        font-size: 1.1rem !important;
    }

    .icon-pill {
        margin-bottom: 2rem !important;
    }
}

.focus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 520px;
    background: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3.5rem 2rem;
    box-shadow: var(--shadow-premium);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transform-style: preserve-3d;
}

.focus-card.active,
.reveal-up.active.focus-card,
.reveal-bounce.active.focus-card {
    opacity: 1 !important;
    visibility: visible !important;
}

.focus-card .focus-content,
.focus-card .focus-content * {
    color: #FFFFFF !important;
}

.card-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

.card-bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(0.4);
    /* Moody dark base for light text */
    transform: scale(1.1);
    opacity: 0.9;
    /* High visibility of AI art */
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease;
}

.focus-card:hover .card-bg-layer img {
    transform: scale(1.2);
    filter: blur(0px) brightness(0.5);
    /* Sharpen on interaction */
}

/* Premium Dark Glassmorphism Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg,
            rgba(1, 15, 30, 0.85) 0%,
            rgba(1, 15, 30, 0.45) 50%,
            rgba(1, 15, 30, 0.92) 100%);
    /* Deep navy glass effect */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.focus-content {
    position: relative;
    z-index: 3;
    padding: 1rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    flex: 1;
}

.focus-content h3 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.focus-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Service Card Icon Pill Style */
.icon-pill {
    width: 80px;
    height: 44px;
    background: #ffffff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 4;
}

.icon-pill i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Outcome Section */
.outcome-section {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    margin-top: auto;
}

.outcome-label {
    font-weight: 700;
    color: var(--glow);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
}

.outcome-text {
    color: #ffffff;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1.4;
}

.focus-list {
    list-style: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
}

.focus-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.focus-list i {
    color: #d4af37;
    /* Consistent gold iconography */
    font-size: 0.9rem;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Flip & Bounce Animation */
@keyframes focusFlipBounce {
    0% {
        transform: translateY(100px) rotateY(180deg) scale(0.8);
        opacity: 0;
    }

    40% {
        transform: translateY(-40px) rotateY(-20deg) scale(1.1);
        opacity: 1;
    }

    70% {
        transform: translateY(15px) rotateY(10deg) scale(0.98);
        opacity: 1;
    }

    100% {
        transform: translateY(0) rotateY(0) scale(1);
        opacity: 1;
    }
}

.focus-card.active-flip {
    animation: focusFlipBounce 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.focus-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.4);
}

.focus-card:hover .card-glow {
    opacity: 1;
}

.focus-number {
    position: relative;
    z-index: 2;
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Libre Baskerville', serif;
    line-height: 1;
    margin-top: -0.5rem;

    /* Vibrant Gold Gradient */
    background: linear-gradient(135deg, #d4af37 0%, #fef9c3 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
    /* Full opacity for the numbers */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    animation: none;
    /* Removing the soft pulse for absolute stability */
}

@keyframes numberGlow {
    0% {
        filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2));
        opacity: 0.5;
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
        opacity: 0.8;
    }
}


/* Animate checkmarks smoothly sequentially when card becomes active */
.focus-card.active-flip .focus-list li:nth-child(1) i {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateX(0);
}

.focus-card.active-flip .focus-list li:nth-child(2) i {
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateX(0);
}

.focus-card.active-flip .focus-list li:nth-child(3) i {
    transition-delay: 1.0s;
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .focus-card {
        flex-direction: column;
        gap: 1.5rem;
    }

    .focus-number {
        font-size: 3rem;
        margin-top: 0;
    }
}

/* --- Why Us --- */
.bg-primary {
    background-color: var(--primary);
}

.why-us {
    position: relative;
    overflow: hidden;
    padding: 10rem 0;
}

.why-us::after {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 400%;
    height: 400%;
    background: linear-gradient(135deg,
            transparent 35%,
            rgba(255, 255, 255, 0.1) 45%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.1) 55%,
            transparent 65%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transform: translate(-30%, -30%);
    transition: opacity 0.5s ease;
}

.why-us.active::after {
    opacity: 1;
    animation: lightStrike 3s cubic-bezier(0.2, 0.8, 0.2, 1) 1.5s forwards;
}

@keyframes lightStrike {
    0% {
        transform: translate(-20%, -20%) rotate(0deg);
    }

    100% {
        transform: translate(20%, 20%) rotate(0deg);
    }
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .why-us {
        padding: 5rem 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        margin-bottom: 3.5rem;
    }

    .feature-text {
        text-align: center;
    }

    .feature-text h3 {
        font-size: 1.5rem;
    }

    .feature-text p {
        font-size: 1.05rem;
        max-width: 450px;
        margin: 0 auto;
        opacity: 0.8;
    }

    .why-content p {
        margin-bottom: 2rem !important;
        font-size: 1.1rem !important;
    }

    .why-content h2 {
        font-size: 2.2rem !important;
        margin-bottom: 1rem !important;
    }
}


.feature-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glow);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: rgba(255, 255, 255, 0.6);
}

.why-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-image-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

@media (max-width: 900px) {
    .why-visual {
        height: auto;
        padding: 2rem 0;
        order: 2;
    }

    .advantage-image-card {
        height: 250px;
        transform: none !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }

    .advantage-image-overlay {
        display: none;
        /* Remove dark overlay for better visibility on small screens */
    }
}



.advantage-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease;
}

.advantage-image-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.5);
}

.advantage-image-card:hover img {
    transform: scale(1.05);
}

.advantage-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.4), transparent);
    pointer-events: none;
}

.advantage-image-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Libre Baskerville', serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- CTA Section --- */
.cta-section {
    padding-bottom: 5rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #1E293B 100%);
    padding: 6rem;
    border-radius: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .cta-card {
        padding: 4rem 1.5rem;
    }

    .cta-card h2 {
        font-size: 2.2rem;
    }

    .cta-card p {
        font-size: 1.1rem;
    }
}


.cta-card p {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    background: var(--white);
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--bg-soft);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-brand p {
    margin: 2rem 0;
    color: var(--text-muted);
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-hover);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 6rem;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.link-group ul li {
    margin-bottom: 1rem;
}

.link-group ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--bg-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.meet-dev-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--glow);
    font-weight: 600;
    font-family: 'Libre Baskerville', serif;
    letter-spacing: 0.5px;
    transition: var(--transition-hover);
    text-decoration: none;
}

.meet-dev-link span {
    font-size: 0.95rem;
}

.meet-dev-link i {
    color: var(--glow);
    font-size: 1.5rem;
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.1));
    transition: var(--transition-hover);
}

.meet-dev-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.meet-dev-link:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

/* --- Mobile Navigation --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    transition: var(--transition-hover);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2.5rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .why-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

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

    .footer-links {
        gap: 3rem;
    }

    .cta-card {
        padding: 3rem;
    }
}

/* --- How We Work Section Redesign --- */
.hww-section {
    position: relative;
    padding: 10rem 0;
    background: var(--bg-light);
    overflow: hidden;
}

.hww-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hww-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: hwwFloat 20s infinite alternate ease-in-out;
}

.hww-blob.b1 {
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.05);
    top: -150px;
    left: -150px;
}

.hww-blob.b2 {
    width: 600px;
    height: 600px;
    background: rgba(15, 23, 42, 0.03);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

@keyframes hwwFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}

.hww-wrapper {
    position: relative;
    margin-top: 4rem;
}

.hww-connector {
    position: absolute;
    top: 40px;
    /* Aligns visually with the center of icons */
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.4) 50%, transparent 100%);
    z-index: 0;
}

.hww-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hww-card {
    background: #0F172A;
    /* Fallback for dark theme */
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 24px;
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    overflow: hidden;
}

.hww-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.hww-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.hww-card:hover .hww-glow {
    opacity: 1;
}

.hww-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--bg-soft);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin: 0 auto 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.5s ease;
}

.hww-card:hover .hww-icon-wrap {
    transform: scale(1.1);
    background: var(--primary);
    color: var(--glow);
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
}

/* --- About Us Page Layout --- */
.about-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-light) 100%);
    text-align: center;
}

.about-feature-card {
    background: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border-color: rgba(212, 175, 55, 0.3);
}

.about-feature-card:hover .about-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.about-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- Resources Page Layout --- */
.resources-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-light) 100%);
    text-align: center;
}

.resources-section {
    padding: 3rem 0 8rem;
    background: var(--bg-light);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.resource-card {
    position: relative;
    border-radius: 24px;
    background: var(--white);
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.04);
    z-index: 1;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
}

.rc-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.rc-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
    opacity: 0.8;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    transform: scale(1.05);
}

.resource-card:hover .rc-bg img {
    transform: scale(1.15);
    filter: blur(1px);
}

.rc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.98) 100%);
    transition: all 0.5s ease;
}

.resource-card:hover .rc-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.rc-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rc-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.resource-card:hover .rc-icon {
    transform: scale(1.15) rotate(5deg);
    background: var(--glow);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.rc-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.rc-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .resource-card {
        padding: 2.5rem 1.5rem !important;
        min-height: 380px !important;
    }

    .rc-content {
        padding: 1.5rem !important;
        width: 100%;
    }

    .rc-content h3 {
        font-size: 1.6rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .rc-content p {
        font-size: 1rem !important;
    }
}

/* --- Contact Page Layout --- */
.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-light) 100%);
    text-align: center;
}

.contact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border-color: rgba(212, 175, 55, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    background: var(--primary);
    color: var(--glow);
    transform: scale(1.1);
}

.contact-form-premium .form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
}

.contact-form-premium .form-group input,
.contact-form-premium .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--bg-soft);
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-form-premium .form-group input:focus,
.contact-form-premium .form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- Services Page Additional Features --- */
.support-item-pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem 2.2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    display: flex;
    align-items: center;
    color: var(--white);
}

.support-item-pill i {
    margin-right: 12px;
    color: var(--glow);
    font-size: 1.2rem;
}

.support-item-pill:hover {
    transform: translateY(-5px);
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.support-item-pill:hover i {
    color: var(--primary);
}

.hww-card.active .hww-icon-wrap i {
    animation: hwwBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes hwwBounce {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hww-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

@media (max-width: 1024px) {
    .hww-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hww-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        justify-items: center;
    }

    .hww-card {
        max-width: 380px;
        width: 100%;
        margin: 0 auto;
    }

    .hww-connector {
        display: none;
    }
}

/* --- Who We Support Section (Premium 3D & Detail Panel) --- */
.wws-section {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfbf7 0%, #f5e6d3 100%);
}

.wws-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.wws-bg-img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: center;
    opacity: 0.08;
    filter: blur(8px);
    transition: transform 0.1s linear;
}

.wws-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(245, 230, 211, 0.4) 100%);
}

/* Floating Particles */
.wws-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.wws-particle {
    position: absolute;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatVertical 15s infinite ease-in-out;
}

@keyframes floatVertical {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -40px);
    }
}

.wp1 {
    width: 10px;
    height: 10px;
    top: 20%;
    left: 10%;
    animation-duration: 12s;
}

.wp2 {
    width: 15px;
    height: 15px;
    top: 40%;
    left: 80%;
    animation-duration: 18s;
    animation-delay: -2s;
}

.wp3 {
    width: 8px;
    height: 8px;
    top: 70%;
    left: 20%;
    animation-duration: 14s;
    animation-delay: -5s;
}

.wp4 {
    width: 20px;
    height: 20px;
    top: 15%;
    left: 60%;
    animation-duration: 20s;
    animation-delay: -7s;
}

/* Grid & Cards (Marquee) */
.wws-marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 3rem 0;
    margin-top: 5rem;
    position: relative;
    /* Smooth manual scrolling on mobile */
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1024px) {
    .wws-marquee-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
    }
    
    .wws-marquee-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Edge */
    }
}

.wws-marquee-track {
    display: flex;
    width: max-content;
    animation: scrollContinuous 40s linear infinite;
}

@media (max-width: 1024px) {
    .wws-marquee-track {
        animation: none; /* Disable CSS animation on mobile to allow JS control and manual swipe */
    }
}

.wws-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollContinuous {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.wws-grid {
    display: flex;
    gap: 2.5rem;
    padding-right: 2.5rem;
    margin-top: 0;
    perspective: 1500px;
}

@media (max-width: 1024px) {
    .wws-grid {
        gap: 1.5rem;
        padding: 0 2rem; /* Initial padding to help centering */
    }
}

.wws-card {
    position: relative;
    width: 400px;
    height: 450px; /* Increased height to ensure content fits */
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 4rem 2rem; /* More top/bottom space */
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to prevent top clipping */
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: transform 0.1s ease-out, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

@media (max-width: 1024px) {
    .wws-card {
        scroll-snap-align: center;
        width: 75vw; /* Slightly reduced for better neighbor visibility */
        max-width: 350px;
        height: 420px;
        padding: 3rem 1.5rem;
    }
}

.wws-card:hover {
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
}

.wws-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.wws-card:hover .wws-card-glow {
    opacity: 1;
}

.wws-card-inner {
    position: relative;
    z-index: 2;
    transform: translateZ(30px);
}

.wws-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wws-icon-wrap i {
    line-height: 1;
}

.wws-card:hover .wws-icon-wrap {
    transform: translateZ(40px) scale(1.1);
    background: var(--glow);
    color: var(--primary);
}

.wws-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.wws-card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.8;
}

.wws-card-arrow {
    margin-top: 2rem;
    color: var(--glow);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s ease;
}

.wws-card:hover .wws-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Detail Panel Styling */
.wws-detail-panel {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
    padding: 6rem 4rem;
    transition: right 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .wws-detail-panel {
        width: 100%;
        right: -100%;
    }
}

.wws-detail-panel.open {
    right: 0;
}

.wws-detail-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--bg-soft);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wws-detail-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.detail-icon {
    font-size: 4rem;
    color: var(--glow);
    margin-bottom: 2rem;
}

.wws-detail-content h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.detail-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.detail-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.detail-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.detail-feature i {
    color: var(--glow);
    font-size: 1.3rem;
    margin-top: 0.2rem;
}

.detail-feature span {
    font-size: 1.1rem;
    color: var(--secondary);
}

.detail-cta {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 3rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    align-self: flex-start;
}

.detail-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    background: var(--secondary);
}

.wws-detail-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.wws-detail-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Ripples */
.wws-ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.wws-ripple {
    position: absolute;
    background: rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleEffect 0.7s ease-out;
}

.wws-ripple {
    position: absolute;
    background: rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleEffect 0.7s ease-out;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}


/* --- Shared Subpage Utilities --- */
.subpage-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-hero .container {
    max-width: 850px !important;
}

.subpage-hero h1 {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.subpage-hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 100px 0 60px;
    }

    .subpage-hero h1 {
        font-size: 2.5rem !important;
    }

    .subpage-hero p {
        font-size: 1.1rem !important;
    }
}

/* Responsive 3-Column Grid */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: stretch;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .responsive-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

/* About Section Specifics */
.about-feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-hover);
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

@media (max-width: 768px) {
    .about-feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.2rem;
    }

    .about-feature-card h3 {
        font-size: 1.4rem !important;
    }

    .about-feature-card p {
        font-size: 1rem !important;
    }
}

.about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--glow);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.about-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .about-cards-wrapper {
        gap: 2rem;
    }
}

.about-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    background: var(--primary);
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    min-height: 450px;
}

@media (max-width: 768px) {
    .about-visual {
        min-height: 350px;
        padding: 2rem 1rem;
        border-radius: 24px;
    }
    
    .about-visual h3 {
        font-size: 1.8rem !important;
    }

    .about-visual i {
        font-size: 5rem !important;
    }
}

/* Contact Page Specifics */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-premium {
    background: var(--white);
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

@media (max-width: 768px) {
    .contact-form-premium {
        padding: 2.5rem 1.5rem;
    }
}

.form-group label {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--bg-light);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-hover);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--glow);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
    .wws-card {
        width: 320px;
        height: 420px;
        padding: 3rem 1.5rem;
    }
}/* --- Support List & Pills (Services Page) --- */
.additional-support .section-header h2 {
    color: var(--white);
    letter-spacing: 0.05em;
}

.additional-support .section-header p {
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto;
    margin-right: auto;
}

.support-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}

.support-item-pill {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 3rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    min-width: 320px;
}

.support-item-pill i {
    color: #D4AF37; /* Gold to match brand */
    font-size: 1.5rem;
    flex-shrink: 0;
}

.support-item-pill:hover {
    background: rgba(30, 41, 59, 0.95);
    transform: translateY(-5px);
    border-color: var(--glow);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .additional-support {
        padding: 6rem 0 !important;
    }

    .additional-support .section-header h2 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem;
    }

    .support-list {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 1.2rem;
        padding: 0 !important;
        width: 100% !important;
        margin: 3rem 0 0 0 !important;
    }

    .support-item-pill {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 320px !important; /* Fixed width ensures perfect alignment and centering */
        max-width: 90% !important;
        margin: 0 auto !important;
        gap: 1rem;
        padding: 1.2rem 1rem;
        font-size: 0.95rem;
        line-height: 1;
        white-space: nowrap;
        border-radius: 100px;
    }

    .support-item-pill i {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        margin: 0 !important;
        color: #D4AF37;
        flex-shrink: 0;
    }

    .support-item-pill span {
        display: block;
        line-height: 1;
        text-align: left;
        margin: 0 !important;
        font-weight: 600;
        color: #FFFFFF;
    }
}

/* --- Global Fix for Ultra-Wide Desktop Layouts --- */
html, body {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

@media (min-width: 1921px) {
    .container, .hero-container {
        max-width: 2560px; /* Expands properly up to 4K without creating a massive frame */
    }
}

/* Contact Email Link */
.contact-email-link {
    display: inline-block;
    color: var(--text-muted) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email-link:hover {
    color: var(--primary) !important;
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 4px;
}