@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@1,6..72,400;1,6..72,500;1,6..72,600;1,6..72,700&display=swap');

/* ==========================================================================
   TYPOGRAPHY (GRU.SPACE FONTS)
   ========================================================================== */
@font-face {
    font-family: 'Overused Grotesk';
    src: url('https://cdn.prod.website-files.com/69523705e6ef6f1b4fbf357d/6952544c2eb48cc583bd0384_OverusedGrotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Overused Grotesk';
    src: url('https://cdn.prod.website-files.com/69523705e6ef6f1b4fbf357d/6952544c27b8e0f645cc250e_OverusedGrotesk-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --clr-bg: #000000;
    --clr-surface: rgba(255, 255, 255, 0.03);
    --clr-surface-border: rgba(255, 255, 255, 0.08);
    --clr-text-primary: hsl(0, 0%, 100%);
    --clr-text-secondary: rgba(255, 255, 255, 0.7);
    --clr-text-muted: hsl(0, 0%, 55%);
    
    /* Brand Accent Colors */
    --clr-accent: hsl(224, 100%, 60%);
    --clr-accent-glow: rgba(59, 130, 246, 0.4);
    
    /* Typography */
    --ff-primary: 'Overused Grotesk', sans-serif;
    --ff-accent: 'Overused Grotesk', sans-serif;
    --ff-display: 'Newsreader', serif;
    
    /* Layout */
    --header-height: 70px;
    --max-width: 1280px;
    
    /* Transition */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--clr-bg);
}

body {
    font-family: var(--ff-primary);
    background-color: var(--clr-bg);
    color: var(--clr-text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul[role="list"] {
    list-style: none;
}

/* Screen Reader Only Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   BUTTONS & INTERACTIVES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-cta {
    background-color: var(--clr-text-primary);
    color: var(--clr-bg);
    border: none;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 8px 20px;
    border-radius: 50px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-cta:hover {
    background-color: #f5f5f5;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1000px;
    height: auto;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: rgba(30, 30, 35, 0.45);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: none;
    border-radius: 100px;
}



.header-container {
    width: 100%;
    height: 56px;
    padding: 0 8px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-img {
    opacity: 0.85;
}

/* Primary Navigation */
.primary-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: var(--ff-accent);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--clr-text-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--clr-text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-only-cta {
    display: none;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/Landingpage.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.06);
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Avoid tiny 1px sub-pixel line gaps */
    left: 0;
    width: 100%;
    height: 350px; /* Taller height for smoother distance fade */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.12) 20%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.65) 68%,
        rgba(0, 0, 0, 0.88) 88%,
        #000000 100%
    );
    pointer-events: none;
    z-index: 3;
}

.hero-container {
    position: relative;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: var(--header-height) 2rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 4;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-family: var(--ff-primary);
    font-size: 8.0rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 0, 0, 0.2);
}

.hero-title .serif-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-style: italic;
}

.hero-actions {
    margin-top: 0.5rem;
}

.btn-hero-cta {
    background-color: var(--clr-text-primary);
    color: #000000;
    font-family: var(--ff-accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    gap: 0.7rem;
}

.btn-hero-cta:hover {
    background-color: #f5f5f5;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.hero-arrow {
    width: 18px;
    height: 18px;
    color: currentColor;
    transform: rotate(90deg);
}

/* Removed Bottom Partners Info as requested */

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4.5rem;
    margin: 40px auto 0;
    width: 100%;
    max-width: 900px;
    padding: 24px 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.hero-stat-number {
    font-family: var(--ff-primary);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    letter-spacing: -0.01em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.hero-stat-label {
    font-family: var(--ff-accent);
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .hero-stats {
        display: none;
    }
}

/* ==========================================================================
   INTRO SECTION (L'INTELLIGENCE ORGANIQUE)
   ========================================================================== */
.intro-section {
    position: relative;
    width: 100%;
    background-color: var(--clr-bg);
}

.intro-track {
    height: 450vh; /* Scroll track height to control animation scroll length */
}

.intro-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-bg);
    padding: 2rem;
}

/* Blurred glowing spotlight backdrop for ultimate smoothness */
.intro-sticky-container::before {
    content: '';
    position: absolute;
    inset: -5px; /* Expanded by 5px to crop out edge artifacts/lines */
    background-image: url('assets/images/degrade rond.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
    opacity: var(--bg-opacity, 0); /* Dynamic scroll-driven opacity */
}

.static-section-title {
    position: absolute;
    bottom: 390px; /* Lowered by 50px (now 50px above step text container) */
    left: 120px;
    font-family: var(--ff-primary);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
    z-index: 20; /* Fixed above canvas inside canvas-wrapper */
    pointer-events: auto;
    /* Out state: Hide instantly and pre-blur */
    opacity: 0;
    filter: blur(15px);
    transition: none;
}

.static-section-title.active {
    /* In state: Smoothly unblur and fade in */
    opacity: 1;
    filter: blur(0px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.static-section-title .serif-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-style: italic;
}

/* Intro Content */
.intro-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    max-width: 900px;
    z-index: 10;
    /* Out state: Hide instantly and pre-blur */
    opacity: 0;
    filter: blur(15px);
    transition: none;
}

.intro-content.active {
    /* In state: Smoothly unblur and fade in */
    opacity: 1;
    filter: blur(0px);
    transition: opacity 2.8s cubic-bezier(0.16, 1, 0.3, 1), filter 2.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-title {
    font-family: var(--ff-primary);
    font-size: 3.0rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.intro-title .serif-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-style: italic;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
    .nav-list {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile header spacing and capsule size */
    .site-header {
        top: 16px;
        width: calc(100% - 32px);
        border-radius: 30px;
        height: 56px;
        overflow: hidden;
        transition: height 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    }

    /* Expand height when active */
    .site-header.mobile-active {
        border-radius: 20px;
        height: 360px;
        background: rgba(30, 30, 35, 0.45);
        backdrop-filter: blur(20px) saturate(140%);
        -webkit-backdrop-filter: blur(20px) saturate(140%);
    }
    
    .header-container {
        height: 56px;
        padding: 0 8px 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Toggle Hamburger Button display */
    .mobile-nav-toggle {
        display: block;
        margin-right: 8px;
    }

    /* Hamburger Lines */
    .hamburger {
        display: block;
        position: relative;
        width: 22px;
        height: 2px;
        background-color: var(--clr-text-primary);
        transition: var(--transition-smooth);
    }

    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 22px;
        height: 2px;
        background-color: var(--clr-text-primary);
        transition: var(--transition-smooth);
        left: 0;
    }

    .hamburger::before { top: -6px; }
    .hamburger::after { bottom: -6px; }

    /* Open State for Hamburger */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    /* Mobile Nav Dropdown inside capsule */
    .primary-navigation {
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        padding: 1.5rem 0 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .primary-navigation.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.3rem 0;
    }

    .mobile-only-cta {
        display: block;
        margin-top: 0.5rem;
    }

    .header-actions {
        display: none;
    }

    /* Intro Section Mobile Sizing */
    .intro-section {
        padding: 0;
    }
    
    .intro-container {
        padding: 50px 16px;
    }
    
    .intro-title {
        font-size: 2.0rem;
    }
    
    .intro-title br.mobile-hide {
        display: none;
    }

    /* Hero Section Mobile Sizing */
    .hero-title {
        font-size: 3.4rem;
        line-height: 0.95;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero-cta {
        padding: 8px 18px;
        font-size: 0.68rem;
    }
}

/* ==========================================================================
   SCROLL ANIMATION VIEWPORT (FULL SCREEN)
   ========================================================================== */
.canvas-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80vh;
    background: #000;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 15;
    margin-top: 0;
    border-radius: 20px 20px 0 0;
    border: none;
}

.canvas-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.12) 20%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.65) 68%,
        rgba(0, 0, 0, 0.88) 88%,
        #000000 100%
    );
    pointer-events: none;
    z-index: 18; /* Sits above the canvas but below the step-texts (z-index 20) */
}

#anim-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Scroll Progress Timeline Indicator (Right Side) */
.proc-scroll-indicator {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 550px;
    z-index: 25;
    pointer-events: auto;
}

.indicator-track {
    position: absolute;
    top: 14px;
    bottom: 14px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom,
        transparent 14px,
        white 14px,
        white calc(33.33% - 14px),
        transparent calc(33.33% - 14px),
        transparent calc(33.33% + 14px),
        white calc(33.33% + 14px),
        white calc(66.66% - 14px),
        transparent calc(66.66% - 14px),
        transparent calc(66.66% + 14px),
        white calc(66.66% + 14px),
        white calc(100% - 9px),
        transparent calc(100% - 9px)
    );
    mask-image: linear-gradient(to bottom,
        transparent 14px,
        white 14px,
        white calc(33.33% - 14px),
        transparent calc(33.33% - 14px),
        transparent calc(33.33% + 14px),
        white calc(33.33% + 14px),
        white calc(66.66% - 14px),
        transparent calc(66.66% - 14px),
        transparent calc(66.66% + 14px),
        white calc(66.66% + 14px),
        white calc(100% - 9px),
        transparent calc(100% - 9px)
    );
}

.indicator-fill {
    width: 100%;
    height: 0%;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transition: height 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.indicator-steps {
    position: relative;
    width: 28px;
    height: 100%;
    z-index: 2;
}

.ind-step {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-primary);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ind-step[data-step-index="0"] {
    top: 14px;
}

.ind-step[data-step-index="1"] {
    top: calc(14px + 0.3333 * (100% - 28px));
}

.ind-step[data-step-index="2"] {
    top: calc(14px + 0.6666 * (100% - 28px));
}

.ind-step.active {
    background: #ffffff;
    border: none;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.ind-end-dot {
    position: absolute;
    left: 50%;
    top: calc(100% - 14px);
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 3;
    transition: all 0.3s ease;
}

.ind-end-dot.active {
    background: #ffffff;
    border: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .proc-scroll-indicator {
        display: flex !important;
        flex-direction: row;
        height: 28px;
        width: 85%;
        top: auto;
        bottom: 490px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .proc-scroll-indicator .indicator-track {
        top: 50%;
        bottom: auto;
        left: 14px;
        right: 14px;
        width: auto;
        height: 2px;
        transform: translateY(-50%);
        -webkit-mask-image: linear-gradient(to right,
            transparent 14px,
            white 14px,
            white calc(33.33% - 14px),
            transparent calc(33.33% - 14px),
            transparent calc(33.33% + 14px),
            white calc(33.33% + 14px),
            white calc(66.66% - 14px),
            transparent calc(66.66% - 14px),
            transparent calc(66.66% + 14px),
            white calc(66.66% + 14px),
            white calc(100% - 9px),
            transparent calc(100% - 9px)
        );
        mask-image: linear-gradient(to right,
            transparent 14px,
            white 14px,
            white calc(33.33% - 14px),
            transparent calc(33.33% - 14px),
            transparent calc(33.33% + 14px),
            white calc(33.33% + 14px),
            white calc(66.66% - 14px),
            transparent calc(66.66% - 14px),
            transparent calc(66.66% + 14px),
            white calc(66.66% + 14px),
            white calc(100% - 9px),
            transparent calc(100% - 9px)
        );
    }
    
    .proc-scroll-indicator .indicator-steps {
        width: 100%;
        height: 28px;
    }
    
    .proc-scroll-indicator .ind-step {
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .proc-scroll-indicator .ind-step[data-step-index="0"] {
        left: 14px;
        top: 50%;
    }
    
    .proc-scroll-indicator .ind-step[data-step-index="1"] {
        left: calc(14px + 0.3333 * (100% - 28px));
        top: 50%;
    }
    
    .proc-scroll-indicator .ind-step[data-step-index="2"] {
        left: calc(14px + 0.6666 * (100% - 28px));
        top: 50%;
    }
    
    .proc-scroll-indicator .ind-end-dot {
        left: calc(100% - 14px);
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Step Text Overlays (Bottom Left) */
.step-text-container {
    position: absolute;
    bottom: 160px;
    left: 120px;
    width: 750px; /* Constant width to prevent text reflowing/warping */
    max-width: 100%;
    height: 180px;
    z-index: 20;
    pointer-events: none;
}

.step-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Out state: Hide instantly and pre-blur */
    opacity: 0;
    filter: blur(15px);
    pointer-events: none;
    transition: none;
}

.step-text.active {
    /* In state: Smoothly unblur and fade in */
    opacity: 1;
    filter: blur(0px);
    pointer-events: auto;
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-number {
    font-family: var(--ff-primary);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.step-title {
    font-family: var(--ff-primary);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-family: var(--ff-primary);
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--clr-text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-sticky-container {
        padding: 1.5rem;
    }
    
    
    .static-section-title {
        top: auto;
        bottom: 340px;
        left: 1.5rem;
        font-size: 2.5rem;
    }
    
    .step-text-container {
        bottom: 110px;
        left: 1.5rem;
        width: calc(80vw - 3rem); /* Constant width to prevent text reflowing/warping on mobile */
        max-width: none;
        height: 190px;
    }
    
    .step-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .step-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* ==========================================================================
   CARDS / SERVICES SECTION
   ========================================================================== */
.services-refont-section {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 120px;
    background-image: url('assets/images/nosservices.jpg');
    background-size: cover;
    background-position: center 32%;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services-refont-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(
        to bottom,
        #000000 0%,
        rgba(0, 0, 0, 0.88) 12%,
        rgba(0, 0, 0, 0.65) 32%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.12) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.services-title-wrapper {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.services-main-title {
    font-family: var(--ff-primary);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.services-main-title .serif-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-style: italic;
}

.services-interactive-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    z-index: 3;
    pointer-events: none;
}

.service-interactive-block {
    position: absolute;
    pointer-events: auto;
    width: 50%;
    height: 100%;
    top: 0;
    cursor: default;
}

.service-interactive-block.block-left {
    left: 0;
}

.service-interactive-block.block-right {
    right: 0;
}

.service-block-content {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 360px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.block-left .service-block-content {
    left: 5%;
    text-align: center;
}

.block-right .service-block-content {
    right: 5%;
    text-align: center;
}

.service-block-title {
    font-family: var(--ff-primary);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    margin: 0;
}

.service-block-desc {
    font-family: var(--ff-primary);
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--clr-text-secondary);
    margin: 0;
    opacity: 0;
    filter: blur(15px);
    transform: translateY(15px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.service-meta {
    margin: 15px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    filter: blur(15px);
    transform: translateY(15px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    border-radius: 50px;
    width: fit-content;
}

.service-meta-label {
    font-family: var(--ff-accent);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-meta-value {
    font-family: var(--ff-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-primary);
}

/* Hover effects */
.service-interactive-block:hover .service-block-desc {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
    pointer-events: auto;
}

.service-interactive-block:hover .service-meta {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
    pointer-events: auto;
}

.service-interactive-block:hover .service-block-content {
    transform: translateY(-50%) scale(1.01);
}

/* Responsive adjustments for services section */
@media (max-width: 992px) {
    .services-refont-section {
        height: auto;
        min-height: 100vh;
        padding: 120px 1.5rem 80px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        background-position: center center;
    }

    .services-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.9) 100%);
    }

    .services-title-wrapper {
        position: relative;
        top: -130px;
        left: 0;
        transform: none;
        margin-bottom: 50px;
        width: 100%;
    }

    .services-interactive-container {
        position: relative;
        top: -130px;
        display: flex;
        flex-direction: column;
        gap: 80px;
        width: 100%;
        max-width: 600px;
        height: auto;
        pointer-events: auto;
    }

    .service-interactive-block {
        position: relative;
        width: 100%;
        height: auto;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
    }

    .service-interactive-block.block-right {
        top: 50px !important;
    }

    .service-block-content {
        position: relative;
        top: auto;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100%;
        text-align: left !important;
    }

    .block-right .service-block-content {
        text-align: right !important;
    }

    .service-interactive-block:hover {
        transform: none !important;
    }

    .service-interactive-block .service-block-title {
        font-size: 1.8rem;
    }

    .service-interactive-block .service-block-desc {
        opacity: 1;
        filter: blur(0px);
        transform: none;
        pointer-events: auto;
        font-size: 1.05rem;
    }

    .service-interactive-block .service-meta {
        opacity: 1;
        filter: blur(0px);
        transform: none;
        pointer-events: auto;
    }

    .block-left .service-meta {
        margin: 15px 0 0 0;
    }

    .block-right .service-meta {
        margin: 15px 0 0 auto;
    }
}

@media (max-width: 768px) {
    .services-main-title {
        font-size: 2.8rem;
    }
    .service-interactive-block .service-block-desc {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}


/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-section {
    position: relative;
    width: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 1.5rem 100px;
    overflow: hidden;
}

.team-container {
    width: 98%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.team-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    gap: 1rem;
}

.team-section-title {
    font-family: var(--ff-primary);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.team-section-title .serif-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-style: italic;
}

.team-section-desc {
    font-family: var(--ff-primary);
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--clr-text-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.team-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Member Card */
.member-card {
    background: transparent;
    grid-column: span 1;
    aspect-ratio: 1 / 1;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Translucent label overlay at bottom */
.member-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(30, 30, 35, 0.45);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: none;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.member-name {
    font-family: var(--ff-primary);
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
}

.member-role {
    font-family: var(--ff-primary);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-arrow {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Member Card Hover Effect */
.member-card:hover .member-overlay {
    background: rgba(30, 30, 35, 0.65);
}

.member-card:hover .member-arrow {
    transform: translate(2px, -2px);
    color: #ffffff;
}

.member-card:hover .member-photo {
    transform: scale(1.05);
}

/* Quote Card */
.quote-card {
    background-image: url('assets/images/degrade rond3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    padding: 3.5rem 2.5rem 3rem;
    justify-content: center;
    grid-column: span 2;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 3.5rem;
    left: 3rem;
    font-family: var(--ff-display);
    font-size: 16rem;
    line-height: 0.8;
    color: #ffffff;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.quote-text {
    position: relative;
    z-index: 2;
    font-family: var(--ff-primary);
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--clr-text-primary);
    font-weight: 400;
    margin-bottom: 0;
}



/* Responsive adjustments for Team Section */
@media (max-width: 992px) {
    .team-section {
        margin-top: -100px;
        z-index: 10;
    }
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    .quote-card {
        grid-column: span 2;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 40px 1rem 80px;
    }
    
    .team-section-title {
        font-size: 2.8rem;
    }
    
    .team-section-desc {
        font-size: 1.05rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-card {
        grid-column: span 1;
        padding: 3rem 1.75rem 2.5rem;
    }
    
    .quote-icon {
        font-size: 10rem;
        top: 2.2rem;
        left: 2rem;
        color: #ffffff;
        opacity: 0.15;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .team-card {
        min-height: 420px;
    }

    .member-card {
        min-height: auto;
    }
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-section {
    position: relative;
    width: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 1.5rem 120px;
    overflow: hidden;
}

.projects-container {
    width: 98%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.projects-section-title {
    font-family: var(--ff-primary);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.projects-section-title .serif-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-style: italic;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.projects-list {
    display: flex;
    flex-direction: column;
}

.project-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.3s ease;
}

.project-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.project-item:hover .project-title {
    color: rgba(255, 255, 255, 0.9);
}

.project-item:hover .project-arrow {
    color: #ffffff;
    transform: rotate(-45deg) translate(2px, -2px);
}

.project-item.active:hover .project-arrow {
    transform: rotate(0deg) translate(2px, 0);
    color: #6ea5ce;
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.project-year {
    font-family: var(--ff-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: #6ea5ce;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.project-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.project-title {
    font-family: var(--ff-primary);
    font-size: 1.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.project-arrow {
    width: 24px;
    height: 24px;
    color: #6ea5ce;
    transform: rotate(-45deg);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.project-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.project-body-inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-desc {
    font-family: var(--ff-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--clr-text-secondary);
}

.project-result {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 6px;
    background: #131313;
    border: none;
    width: fit-content;
}

.result-number {
    font-family: var(--ff-primary);
    font-size: 1.15rem;
    font-weight: 500;
    color: #6ea5ce;
    text-shadow: 0 0 10px rgba(110, 165, 206, 0.2);
}

.result-label {
    font-family: var(--ff-accent);
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Active State Styles */
.project-item.active {
    border-color: rgba(255, 255, 255, 0.25);
}

.project-item.active .project-title {
    color: #ffffff;
}

.project-item.active .project-arrow {
    transform: rotate(0deg);
    color: #6ea5ce;
}

.project-item.active .project-body {
    grid-template-rows: 1fr;
    margin-top: 1rem;
}

/* Right Showcase Box */
.projects-showcase {
    position: sticky;
    top: 120px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.showcase-frame {
    height: 100%;
    max-height: 100%;
    width: auto;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    background: #0d0d0d;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

/* Glow effect inside frame */
.showcase-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 100px rgba(110, 165, 206, 0.15);
    pointer-events: none;
    z-index: 5;
}

.showcase-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.showcase-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Responsive adjustments for Projects Section */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .projects-showcase {
        position: static;
        max-width: 600px;
        margin: 0 auto;
        height: auto;
    }
    
    .showcase-frame {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 60px 1rem 80px;
    }
    
    .projects-section-title {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    position: relative;
    width: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 1.5rem 1.5rem;
    overflow: hidden;
}

.contact-container {
    width: 98%;
    margin: 0 auto;
}

.contact-card {
    position: relative;
    background: #131313;
    border: none;
    border-radius: 20px;
    padding: 5rem 4.5rem;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 3.5rem;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.contact-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-title {
    font-family: var(--ff-primary);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.contact-title .serif-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-style: italic;
}

.contact-desc {
    font-family: var(--ff-primary);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--clr-text-secondary);
    max-width: 480px;
}

.contact-reassurances {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reassurance-icon {
    width: 20px;
    height: 20px;
    color: #6ea5ce;
    opacity: 0.85;
}

.reassurance-item span {
    font-family: var(--ff-accent);
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-family: var(--ff-primary);
    font-size: 0.75rem;
    font-weight: 500;
    color: #6ea5ce;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.detail-value {
    font-family: var(--ff-primary);
    font-size: 1.25rem;
    color: var(--clr-text-primary);
    transition: color 0.3s ease;
}

a.detail-value:hover {
    color: #6ea5ce;
}

/* Contact Form */
.contact-form {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--ff-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
}

.form-input {
    width: 100%;
    font-family: var(--ff-primary);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    border-color: #6ea5ce;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 12px rgba(110, 165, 206, 0.15);
}

.form-textarea {
    min-height: 120px;
    resize: none;
}

.form-group-full {
    grid-column: span 2;
}

.form-group-empty {
    display: block;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba%28255,%20255,%20255,%200.7%29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.1rem;
    padding-right: 3rem;
    cursor: pointer;
}

.form-select option {
    background-color: #131313;
    color: #ffffff;
}

.btn-submit {
    background-color: var(--clr-text-primary);
    color: #000000;
    font-family: var(--ff-accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    align-self: flex-start;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.submit-arrow {
    width: 18px;
    height: 18px;
    color: currentColor;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit:hover {
    background-color: #f5f5f5;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.btn-submit:hover .submit-arrow {
    transform: translate(3px, 0);
}

/* Status Indicator */
.form-status {
    font-family: var(--ff-primary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-status.success {
    opacity: 1;
    transform: translateY(0);
    color: #34d399;
}

.form-status.error {
    opacity: 1;
    transform: translateY(0);
    color: #f87171;
}

/* Responsive adjustments for Contact Section */
@media (max-width: 992px) {
    .contact-card {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 4rem 3rem;
    }
    
    .contact-desc {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 1rem 1rem;
    }
    
    .contact-card {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }
    
    .contact-title {
        font-size: 2.8rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group-empty {
        display: none;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .btn-submit {
        width: 100%;
        padding: 14px 24px;
    }
}

/* ==========================================================================
   BANNER SECTION
   ========================================================================== */
.banner-section {
    position: relative;
    width: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem 40px;
    overflow: hidden;
}

.banner-container {
    width: 98%;
    margin: 0 auto;
}

.banner-card {
    height: 238px;
    width: 100%;
    background-color: #131313;
    background-image: url('assets/images/pied de page.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: none;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    position: relative;
    width: 100%;
    background-color: #000000;
    padding: 40px 1.5rem 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    width: 98%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: var(--ff-primary);
    font-size: 0.85rem;
    color: var(--clr-text-secondary);
}

.footer-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--ff-primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-nav-link:hover {
    color: #6ea5ce;
    transform: translateY(-2px);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--ff-primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: #6ea5ce;
    transform: translateY(-2px);
}

/* Responsive adjustments for Banner and Footer */
@media (max-width: 768px) {
    .banner-section {
        padding: 0 1rem 1rem;
    }
    
    .banner-card {
        height: 185px;
    }
    
    .site-footer {
        padding: 30px 1rem 40px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   PRELOADER SCREEN
   ========================================================================== */
body.preloader-active {
    overflow: hidden;
    height: 100vh;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.preloader.fade-out {
    transform: translateY(-100%);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.preloader-logo-reveal-wrapper {
    overflow: hidden;
    width: 600px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo-container {
    position: relative;
    width: 600px;
    height: 150px;
    transform: translateY(calc(100% + 30px));
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.reveal-active .preloader-logo-container {
    transform: translateY(0%);
}

.preloader-logo-bg {
    width: 600px !important;
    height: 150px !important;
    max-width: none !important;
    object-fit: contain;
    filter: grayscale(1) brightness(0.25);
}

.preloader-logo-fill-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; /* Dynamically animated via JS */
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-logo-fill {
    width: 600px !important; /* Must match container desktop width */
    height: 150px !important; /* Must match container desktop height */
    max-width: none !important; /* Prevent global image responsive rules from shrinking it */
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .preloader-logo-reveal-wrapper {
        width: 280px;
        height: 70px;
    }

    .preloader-logo-container {
        width: 280px;
        height: 70px;
    }
    
    .preloader-logo-bg {
        width: 280px !important;
        height: 70px !important;
    }
    
    .preloader-logo-fill {
        width: 280px !important;
        height: 70px !important;
    }
}



