/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-color: #111;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.3);
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1.2;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.3);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-bold { font-weight: 600; }
.logo-light { font-weight: 300; font-size: 0.7rem; letter-spacing: 3px; }

.nav-links a {
    font-family: 'Josefin Sans', sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    margin: 0 1vw;
    font-weight: 400;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* --- UPDATED: Logo Styling --- */
.logo-img {
    height: 58px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    filter: brightness(200%) grayscale(100%);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    /* REPLACE THE URL BELOW WITH YOUR ACTUAL IMAGE PATH */
    background: url('./img/FITOUT.webp') center center/cover no-repeat;
    display: flex;
    align-items: center;

    /* NEW: Curved corners at the bottom */
    border-bottom-left-radius: 60px; /* Adjust the pixel value to make the curve sharper or softer */
    border-bottom-right-radius: 60px;
    
    /* NEW: Crucial to ensure the overlay and background image respect the curves */
    overflow: hidden; 
    
    /* NEW: Adds a subtle shadow under the curve to separate it from the next section */
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient to ensure text readability exactly like your screenshot */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 20vh;
    padding-bottom: 10vh;
}

.hero-text-main {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-text-main h2 {
    font-style: italic;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.hero-brand-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-brand-logo {
    height: 95px;
    width: auto;
    object-fit: contain;
    opacity: 0.55;
    filter: brightness(200%) grayscale(100%);
    transition: opacity 0.3s ease;
}

.hero-brand-logo:hover {
    opacity: 0.9;
}

.hero-description {
    max-width: 450px;
    text-align: left;
    /* Hide initially for GSAP animation */
    opacity: 0;
    transform: translateY(30px);
}

.hero-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}


/* ==========================================
   PRELOADER - Premium & Architectural
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505; /* Deep, deep black */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#preloader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits behind the logo and text */
}

.preloader-content {
    position: relative;
    z-index: 2; /* Sits above the 3D scene */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    pointer-events: none; /* Essential so mouse interactions hit the canvas */
}

.preloader-logo {
    height: 50px; /* Adjust height based on your logo proportions */
    width: auto;
    filter: brightness(200%) grayscale(100%);
    opacity: 0; /* Hidden initially for GSAP fade-in */
}

.progress-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0; /* Hidden initially for GSAP fade-in */
}

.progress-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.progress-bar {
    width: 150px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #ffffff;
}


/* ==========================================
   SECTION 2: INTRO / ABOUT
   ========================================== */
.intro-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-color: #111; /* Matches the base theme */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10vh 5vw;
    /* Keeps the floating images from breaking the page width */
    overflow: hidden; 
}

.intro-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 2; /* Sits above the images */
}

.intro-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 2.8vw, 3rem); /* Reduced from 4vw/4rem */
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* We hide the lines initially so GSAP can animate them in */
.intro-heading .line {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
}

.intro-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1vw, 1rem); /* Reduced for elegance */
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px; /* Reduced from 700px to force elegant line breaks */
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
}

/* Floating Images Styling */
.floating-img {
    position: absolute;
    width: clamp(150px, 12vw, 220px); /* Reduced width slightly */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* 4. Refined Positioning - Pushed further to the outer edges */
.img-left {
    top: 20%; /* Pushed slightly higher */
    left: 6%; /* Pushed further left (was 12%) */
}

.img-right {
    bottom: 20%; /* Pushed slightly lower */
    right: 6%; /* Pushed further right (was 12%) */
}


/* --- FLEXBOX ACCORDION LAYOUT --- */

.brands-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.brands-header h2 span {
    font-style: italic;
}

.brands-grid {
    display: flex; /* Changed from grid to flex */
    gap: 1.5rem;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
}

/* --- CARD STYLING --- */
.brand-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    cursor: pointer;
    
    /* The magic accordion transition */
    flex: 1; /* Inactive state width */
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    
    opacity: 0; /* For GSAP entrance */
    transform: translateY(40px);
}

.brand-card.active {
    flex: 2.5; /* Expanded state width */
}

.card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-card:hover .card-bg {
    transform: scale(1.05); 
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}


/* --- GLASSMORPHISM LOGO BOX --- */
.card-logo-box {
    position: relative;
    z-index: 3;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    /* Tighter padding to hug the logo better */
    padding: 0.8rem 1.5rem; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
    /* Forcing a much larger footprint to combat built-in image transparency */
    width: 150px; 
    height: 60px; 
    object-fit: cover; /* Ensures the logo scales up to fill this space without stretching */
}

/* --- CARD CONTENT --- */
.card-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}

.card-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap; /* Keeps titles looking clean */
}

.card-text h3 span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
}

/* Dynamic Text Reveal */
.text-reveal {
    display: grid;
    grid-template-rows: 0fr; /* Collapsed state */
    transition: grid-template-rows 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-card.active .text-reveal {
    grid-template-rows: 1fr; /* Expanded state */
}

.text-reveal p {
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 90%;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s; /* Delayed fade in */
}

.brand-card.active .text-reveal p {
    opacity: 1;
    padding-top: 0.5rem;
}

/* --- DYNAMIC MORPHING BUTTON --- */
.expand-btn {
    background: #ffffff;
    color: #111;
    text-decoration: none;
    border-radius: 50px;
    height: 45px;
    width: 45px; /* Circle state */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Anchors the arrow to the right edge */
    position: relative; /* Required for absolute positioning of the text */
    overflow: hidden;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
}

.brand-card.active .expand-btn {
    width: 150px; /* Pill state */
}

.btn-text {
    position: absolute; /* Takes text out of the layout flow so it doesn't push the arrow */
    left: 20px;
    opacity: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 500;
    transition: opacity 0.4s ease 0.1s; /* Subtle fade-in delay */
}

.brand-card.active .btn-text {
    opacity: 1;
}

.btn-icon {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #111; /* Absolute black to ensure visibility */
    flex-shrink: 0;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .brands-grid {
        flex-direction: column; /* Stack vertically on mobile */
        height: auto;
    }
    .brand-card {
        height: 150px; /* Narrow strips initially */
    }
    .brand-card.active {
        height: 400px; /* Expanded card is taller */
        flex: auto;
    }
}


/* ==========================================
   SECTION 4: WHY US
   ========================================== */
.why-us-section {
    position: relative;
    width: 100vw;
    margin-top: 15vh; /* Adds a generous, elegant gap between the sections */
    z-index: 10;
}

/* --- FIXED BACKGROUND LOGIC --- */
.why-us-bg-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.bg-sticky {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.why-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

/* --- CONTENT LAYOUT --- */
.why-us-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

/* --- LEFT: STICKY TITLE --- */
.why-us-left {
    width: 40%;
    position: sticky;
    top: 0;
    height: 100vh; /* Takes up full screen height */
    display: flex;
    align-items: flex-end; /* Pushes text to the bottom as in your video */
    padding-bottom: 15vh;
}

.why-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    opacity: 0; /* For GSAP */
    transform: translateX(-20px);
}

.why-subtitle .line {
    width: 40px;
    height: 1px;
    background-color: #ffffff;
}

.why-subtitle p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

.why-title-wrapper h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    opacity: 0; /* For GSAP */
    transform: translateY(30px);
}

/* --- RIGHT: SCROLLING CARDS --- */
.why-us-right {
    width: 45%;
    padding-top: 50vh; /* Delays the first card so it comes up from below */
    padding-bottom: 20vh;
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Space between cards */
}

.why-card {
    background: #fcfcfc; /* Elegant off-white */
    border-radius: 24px;
    padding: 4rem 3.5rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.card-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #111;
    margin-bottom: 1.5rem;
}

.why-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
    color: #444;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 900px) {
    .why-us-container {
        flex-direction: column;
    }
    .why-us-left {
        width: 100%;
        height: auto;
        position: relative;
        padding-top: 15vh;
        padding-bottom: 5vh;
    }
    .why-us-right {
        width: 100%;
        padding-top: 5vh;
    }
    .why-bg-overlay {
        background: rgba(0,0,0,0.6); /* Darker on mobile for readability */
    }
}



/* ==========================================
   SECTION 5: AREAS OF EXPERTISE (STACKED)
   ========================================== */
.expertise-section {
    width: 100vw;
    height: 100vh;
    background-color: #222222;
    overflow: hidden;
    position: relative; /* Acts as the anchor for the absolute slides */
}

.expertise-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #222222; /* Ensures the slide below is hidden when this one covers it */
    
    /* Adds a premium drop shadow so it visibly overlaps the previous slide */
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.6); 
    will-change: transform;
}

/* (Keep your existing .slide-content, .slide-header, and .slide-visual CSS exactly the same!) */
/* --- LEFT SIDE: CONTENT --- */
.slide-content {
    width: 45%;
    padding-left: 8vw;
    padding-right: 2vw;
    position: relative;
    z-index: 2;
}

.slide-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 2rem;
}

.vertical-line {
    width: 2px;
    height: 45px;
    background-color: #6a8c96; /* Muted teal accent color */
}

.slide-header h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
    margin-top: 2px;
}

.title-divider {
    width: 80px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem;
}

.slide-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3vw, 3rem);
    color: #aebbc1;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-style: italic;
}

.slide-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #b5b5b5;
    font-weight: 300;
    max-width: 90%;
}

/* --- RIGHT SIDE: DIAGONAL VISUAL --- */
.slide-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%; /* Covers right side and overlaps to the middle */
    height: 100%;
    z-index: 1;
    background-color: #6a8c96; /* This creates the teal accent line */
    /* Diagonal cut from 30% across the top to 0% at the bottom */
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    transform: translateZ(0); /* Force GPU rendering */
}

.slide-visual img {
    width: calc(100% - 15px); /* Shrink slightly to reveal the teal background underneath */
    margin-left: 15px; /* Shift right */
    height: 100%;
    object-fit: cover;
    /* Apply the exact same diagonal cut to the image */
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}



/* ==========================================
   SECTION 6: PROJECTS CTA
   ========================================== */
.projects-cta-section {
    width: 100vw;
    padding: 15vh 5vw 10vh 5vw;
    background-color: #111;
    display: flex;
    justify-content: center;
}

.cta-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 60vh;
    min-height: 500px;
    border-radius: 40px;
    overflow: hidden;
    /* Force GPU rendering to prevent lag with the video */
    transform: translateZ(0); 
    will-change: transform;
}

.cta-video-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.cta-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Dark gradient on the left to make text pop, fading to transparent on the right */
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5rem;
    max-width: 600px;
}

.cta-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 4vw, 4.5rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.cta-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 80%;
}

/* Elegant Pill Button */
.cta-explore-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
}

.cta-explore-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.cta-btn-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    margin-right: 1rem;
}

.cta-btn-icon {
    background: #ffffff;
    color: #111;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

/* ==========================================
   SECTION 7: FOOTER
   ========================================== */
.site-footer {
    background-color: #111;
    color: #ffffff;
    padding: 5vh 5vw;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    /* Gave the locations column (1.2fr) slightly more space so the address fits nicely */
    grid-template-columns: 2fr 0.8fr 1.2fr 1fr; 
    gap: 3rem; /* Increased gap slightly for elegance */
    margin-bottom: 8vh;
}

.footer-logo {
    height: 70px;
    width: auto;
    filter: brightness(200%) grayscale(100%);
    margin-bottom: 15px;
}

.footer-col h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.8;
}

.footer-links a:hover {
    color: #ffffff;
}

address {
    font-style: normal;
}

.footer-brands {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.footer-brand-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.3s ease;
    filter: brightness(200%) grayscale(100%);
}

.footer-brand-logo:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5vh;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo-large {
    height: 60px; /* Adjust based on your logo */
    opacity: 0.75; /* Elegant subtle look */
    filter: brightness(200%) grayscale(100%);
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .cta-container {
        border-radius: 20px;
    }
    .cta-content {
        padding-left: 2rem;
    }
}

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

/* --- Mobile Menu Base (Hidden on Desktop) --- */
.mobile-menu-btn {
    display: none; /* Hidden by default */
}

.mobile-menu-overlay {
    display: none; /* Hidden by default */
}

/* ==========================================
   MASTER MOBILE RESPONSIVENESS (Max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
    
    /* --- Header / Nav --- */
    /* Hides the main links to prevent bleeding. We can build a hamburger menu next if you need it! */
    .nav-links, .nav-actions {
        display: none; 
    }
    .logo-img { height: 48px; }

    /* --- Hero Section --- */
    h1 { font-size: 2.8rem; }
    h2 { font-size: 1.8rem; }
    .hero-content { padding-top: 15vh; }
    .hero-description p { font-size: 0.85rem; }
    .hero-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .hero-brand-logos { gap: 1.5rem; order: 2; }
    .hero-description { order: 1; }
    .hero-brand-logo { height: 65px; }

    /* --- About / Intro Section --- */
    .intro-section { padding: 10vh 5vw; }
    .intro-heading { font-size: 2rem; margin-bottom: 1.5rem; }
    /* Hide or reposition floating images so they don't block text */
    .floating-img { width: 100px; opacity: 0.3 !important; } 
    .img-left { top: 10%; left: 0; }
    .img-right { bottom: 10%; right: 0; }

/* --- Brands Accordion --- */
    .brands-grid {
        flex-direction: column; 
        height: auto;
        min-height: auto;
        max-height: none;
        gap: 2rem; /* Give space between stacked cards */
    }
    
    .brand-card {
        flex: none;
        height: auto;
        min-height: 420px; /* Increased height to comfortably fit logo, text, and button */
        padding: 1.5rem;
    }
    
    .brand-card.active { 
        flex: none; 
    }

    /* Shrink the logo box for mobile */
    .card-logo-box {
        padding: 0.8rem 1.2rem;
    }
    
    .brand-logo {
        height: 40px; /* Scaled down from desktop */
        width: auto;
    }

    /* Stack the text and button vertically on mobile */
    .card-bottom {
        flex-direction: column;
        align-items: flex-start; /* Align everything to the left */
        gap: 1.5rem;
    }

    .card-text {
        width: 100%;
    }

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

    /* Ensure paragraph is fully visible */
    .text-reveal { 
        grid-template-rows: 1fr; 
    }
    
    .text-reveal p { 
        opacity: 1; 
        padding-top: 0.5rem; 
        max-width: 100%; 
    }

    /* Make button full-width and properly contained */
    .expand-btn { 
        width: 100%; 
        border-radius: 50px; 
        justify-content: space-between; 
        padding-right: 0.5rem; /* Tweak padding for the arrow circle */
    }
    
    .btn-text { 
        opacity: 1; 
        position: relative; 
        left: 0; 
    }

    /* Darken the overlay slightly on mobile to ensure the text is readable */
    .card-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.95) 100%);
    }
    
    /* Un-stick the left side so it flows naturally */
    .why-us-left {
        width: 100%;
        height: auto;
        position: relative;
        padding-top: 10vh;
        padding-bottom: 5vh;
        align-items: flex-start;
    }
    .why-title-wrapper h2 { font-size: 4rem; }
    
    /* Make cards stack directly under the title */
    .why-us-right {
        width: 100%;
        padding-top: 0;
        padding-bottom: 10vh;
        gap: 1.5rem;
    }
    .why-card { padding: 2rem 1.5rem; }

    /* --- Sectors We Serve --- */
    .sectors-section {
        height: auto; /* Remove 100vh restriction */
        padding: 10vh 0;
    }
    .sectors-track {
        flex-direction: column; /* Stack vertically instead of horizontal */
        width: 100%;
        padding: 0 5vw;
        gap: 3rem;
    }
    .sectors-intro { width: 100%; padding-right: 0; margin-bottom: 1rem; }
    .sectors-heading { font-size: 3rem; }
    .sector-card { width: 100%; }
    .sector-img-wrapper { aspect-ratio: 4/3; }

    /* --- Projects CTA & Footer --- */
    .projects-cta-section { padding: 10vh 5vw; }
    .cta-container { height: auto; min-height: 400px; border-radius: 24px; }
    .cta-content { padding: 2rem; max-width: 100%; }
    .cta-title { font-size: 2.5rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 4vh; }

    /* --- Mobile Menu Toggle Button --- */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1001; /* Must sit above the overlay */
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Hamburger to 'X' Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* --- Mobile Fullscreen Overlay --- */
    .mobile-menu-overlay {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px); /* Premium glassy effect */
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        /* Hidden state */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    /* --- Mobile Navigation Links --- */
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .mobile-nav-links a {
        font-family: 'Josefin Sans', sans-serif;
        font-size: 1.6rem;
        letter-spacing: 4px;
        font-weight: 200;
        color: #ffffff;
        text-decoration: none;
        
        /* Slide-up reveal state */
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    /* Add a slight delay to each link for a staggering entrance effect */
    .mobile-menu-overlay.active .mobile-nav-links a {
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-menu-overlay.active .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu-overlay.active .mobile-nav-links a:nth-child(2) { transition-delay: 0.15s; }
    .mobile-menu-overlay.active .mobile-nav-links a:nth-child(3) { transition-delay: 0.2s; }
    .mobile-menu-overlay.active .mobile-nav-links a:nth-child(4) { transition-delay: 0.25s; }
    .mobile-menu-overlay.active .mobile-nav-links a:nth-child(5) { transition-delay: 0.3s; }
    .mobile-menu-overlay.active .mobile-nav-links a:nth-child(6) { transition-delay: 0.35s; }
    .mobile-menu-overlay.active .mobile-nav-links a:nth-child(7) { transition-delay: 0.4s; }

    .mobile-nav-actions {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease 0.5s;
    }

    .mobile-menu-overlay.active .mobile-nav-actions {
        opacity: 1;
        transform: translateY(0);
    }

    /* --- Expertise Mobile Override --- */
    .expertise-section {
        height: auto;
        padding-bottom: 10vh;
        overflow: visible;
    }
    
    .expertise-slide {
        position: relative; /* Resets from absolute positioning */
        height: auto;
        flex-direction: column-reverse; 
        box-shadow: none; /* Remove overlap shadow on mobile */
        margin-bottom: 4rem; /* Adds space between stacked mobile slides */
    }
    
    .slide-visual {
        position: relative;
        width: 100%;
        height: 40vh;
        clip-path: none; 
        background: none;
    }
    
    .slide-visual img {
        width: 100%;
        margin-left: 0;
        clip-path: none;
    }
    
    .slide-content {
        width: 100%;
        padding: 3rem 5vw 0 5vw;
    }


    /* --- Why Choose Us Mobile Override --- */
    .why-choose-section {
        padding: 10vh 5vw;
        height: auto;
    }
    .why-choose-container {
        flex-direction: column;
        gap: 3rem;
    }
    .why-choose-titles {
        width: 100%;
        align-items: center; /* Center everything on mobile */
        order: -1; /* Puts the title/logo at the top */
    }
    .section-title-right {
        align-items: center;
        margin-bottom: 2rem;
    }
    .embossed-logo {
        align-items: center;
    }
    .why-cards-grid {
        width: 100%;
        grid-template-columns: 1fr; /* Single column */
    }
    .center-card {
        width: 100%;
    }
    /* Move the spotlight to the center for mobile */
    .spotlight {
        right: 20%;
        width: 100vw;
    }


    /* --- Social Contribution Mobile --- */
    .social-section {
        padding: 10vh 5vw;
    }
    .social-title {
        align-items: center; /* Center the title on mobile */
        margin-bottom: 3rem;
    }
    .social-grid {
        grid-template-columns: 1fr; /* Stack into a single column */
        gap: 4rem;
    }
    /* Move accents inward slightly so they don't bleed off small screens */
    .left-accent { left: -10px; top: -10px; }
    .right-accent { right: -10px; top: -10px; }
    .social-text p {
        font-size: 0.9rem;
    }

    
}




/* ==========================================
   SECTION 2.5: HISTORY / TIMELINE
   ========================================== */
.history-section {
    background-color: #0a0a0a; /* Slightly darker than #111 for depth */
    width: 100vw;
    padding: 15vh 5vw;
    position: relative;
    overflow: hidden;
}

.history-header {
    text-align: center;
    margin-bottom: 10vh;
}

.history-header h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    color: #ffffff;
    letter-spacing: 8px;
    font-weight: 200;
}

/* --- TIMELINE CONTAINER --- */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5vh 0;
}

/* Background static line */
.timeline-line-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* Dynamic Glowing progress line */
.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0%; /* JS controls this */
    background: #ffffff;
    box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.5);
    z-index: 2;
}

/* --- TIMELINE ITEMS --- */
.timeline-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15vh;
    z-index: 3;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.right {
    flex-direction: row-reverse;
}

/* The Year Node */
.timeline-node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.timeline-node .node-inner {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.5s ease;
}

/* Glowing state added via JS when scrolled over */
.timeline-item.active .timeline-node {
    border-color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    background: #111;
}

.timeline-item.active .node-inner {
    color: #ffffff;
    font-size: 1.6rem;
}

/* The Content Cards */
.timeline-content {
    width: 42%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    opacity: 0; /* Hidden for GSAP reveal */
}

.timeline-item.left .timeline-content { transform: translateX(-50px); }
.timeline-item.right .timeline-content { transform: translateX(50px); }

/* Paragraph Styling */
.content-block {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 2rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.content-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.content-block p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 0;
    font-weight: 300;
}


/* --- AMBIENT BACKGROUND & GRID --- */
.history-grid-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Creates a very subtle, futuristic grid pattern */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px; /* Size of the grid squares */
    z-index: 0;
    pointer-events: none;
    /* Fades the grid out at the top and bottom so it blends seamlessly */
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Floating Blurred Orbs */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px); /* Creates that smooth, smoke-like light */
    z-index: 0;
    pointer-events: none;
    animation: floatGlow 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.glow-1 {
    width: 40vw; height: 40vw;
    background: rgba(255, 255, 255, 0.08); /* Soft white/silver */
    top: -10%; left: -10%;
}

.glow-2 {
    width: 35vw; height: 35vw;
    background: rgba(150, 150, 150, 0.05); /* Faint gray */
    bottom: 20%; right: -10%;
    animation-delay: -5s; /* Offsets the animation so they don't move together */
}

.glow-3 {
    width: 50vw; height: 50vw;
    background: rgba(200, 200, 200, 0.04);
    top: 40%; left: 30%;
    animation-delay: -12s;
}

/* Slow, elegant floating animation */
@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 10%) scale(1.1); }
    100% { transform: translate(-5%, -5%) scale(0.9); }
}

.history-header, .timeline-container {
    position: relative;
    z-index: 10; /* Ensures content sits above the new ambient background */
}


/* ==========================================
   SECTION 6: WHY CHOOSE US
   ========================================== */
.why-choose-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-color: #1a1a1a; /* Rich, dark studio wall color */
    padding: 15vh 5vw;
    display: flex;
    align-items: center;
    overflow: hidden;
    perspective: 1000px; /* Required for the 3D card flip animation */
}

/* --- THE SPOTLIGHT --- */
.spotlight {
    position: absolute;
    top: -20%;
    right: 15%;
    width: 60vw;
    height: 150vh;
    /* Creates a beautiful, soft volumetric light cone */
    background: radial-gradient(ellipse at top center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 1;
    opacity: 0; /* Hidden initially for GSAP reveal */
}

.why-choose-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

/* --- LEFT SIDE: CARDS GRID --- */
.why-cards-grid {
    width: 50%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.why-feature-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    /* Hide for GSAP 3D Reveal */
    opacity: 0;
    transform: rotateX(-30deg) translateY(30px);
}

.center-card {
    grid-column: 1 / -1; /* Spans across both columns */
    justify-self: center;
    width: 70%;
}

.feature-header {
    background-color: #6a8c96;
    color: #ffffff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.why-feature-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #a0a0a0;
    font-weight: 300;
    text-align: center;
}

/* --- RIGHT SIDE: TITLES & 3D LOGO --- */
.why-choose-titles {
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aligns to the right */
}

.section-title-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.vertical-line-right {
    width: 2px;
    height: 40px;
    background-color: #6a8c96;
    margin-bottom: 1rem;
}

.section-title-right h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 4px;
    font-weight: 300;
}

/* The CSS 3D Embossed Trick */
.embossed-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Matches the background color to blend in */
    color: #1a1a1a; 
    /* The magic: Highlights on top/left, shadows on bottom/right */
    text-shadow: 
        1px 1px 2px rgba(255, 255, 255, 0.1), 
        -1px -1px 2px rgba(0, 0, 0, 0.8),
        10px 10px 20px rgba(0, 0, 0, 0.5);
    opacity: 0; /* Hidden for GSAP */
}

.embossed-ideal {
    font-family: 'Inter', sans-serif;
    font-size: clamp(4rem, 6vw, 7rem);
    font-weight: 300;
    letter-spacing: 10px;
    line-height: 1;
}

.embossed-innovations {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 6px;
    margin-left: 5px;
}


/* ==========================================
   SECTION 7: SOCIAL CONTRIBUTION
   ========================================== */
.social-section {
    width: 100vw;
    background-color: #111; /* Transitions back to the deep black */
    padding: 15vh 5vw;
    position: relative;
    overflow: hidden;
}

.social-container {
    max-width: 1400px;
    margin: 0 auto;
}

.social-title {
    margin-bottom: 5rem;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem; /* Wide gap for an airy, elegant layout */
}

.social-card {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* --- IMAGE CONTAINER & ACCENTS --- */
.social-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.social-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    /* Hide entirely from the bottom up for GSAP reveal */
    clip-path: inset(100% 0 0 0); 
}

.social-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Scaled up initially for GSAP parallax scale-down */
    transform: scale(1.3); 
    transform-origin: center;
}

/* The Teal Bracket Accents */
.social-img-accent {
    position: absolute;
    width: 40%;
    height: 40%;
    border: 2px solid #6a8c96; /* Muted teal accent color */
    z-index: 1;
    opacity: 0; /* Hidden for GSAP */
}

/* Position the accent on the top left for the first card */
.left-accent {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
}

/* Position the accent on the top right for the second card */
.right-accent {
    top: -20px;
    right: -20px;
    border-left: none;
    border-bottom: none;
}

/* --- TEXT CONTENT --- */
.social-text {
    /* Hide for GSAP reveal */
    opacity: 0;
    transform: translateY(30px);
}

.social-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #b5b5b5;
    font-weight: 300;
}

/* ==========================================
   NEW: SERVICES OVERVIEW SECTION
   ========================================== */
.services-overview-section {
    position: relative;
    width: 100vw;
    background-color: #272727; /* Dark textured studio grey match */
    /* Subtle grid background to mimic the tiles in your screenshots */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 250px 250px;
    padding: 15vh 5vw;
    overflow: hidden;
}

.services-overview-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 5rem;
    align-items: center;
}

/* --- Left Side --- */
.services-left {
    width: 50%;
    position: relative;
}

.services-top-title {
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 3;
}

.services-top-title h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
}

.services-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1; 
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.services-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15); /* Scaled up initially for GSAP reveal */
}

/* --- Right Side --- */
.services-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-brand-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

.services-brand-ideal {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    font-weight: 300;
    letter-spacing: 15px;
    line-height: 1;
    color: #ffffff;
}

.services-brand-innovations {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 10px;
    color: #aebbc1;
    margin-left: 5px;
}

.services-desc-box {
    background-color: rgba(125, 137, 138, 0.6); /* Frosted slate/cyan match from screenshot */
    backdrop-filter: blur(12px);
    padding: 3rem;
    border-left: 3px solid #6a8c96; 
}

.services-desc-box p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 300;
}

/* ==========================================
   NEW: SERVICES DETAIL SECTIONS (Fit-Out & Furniture Detail)
   ========================================== */
.services-detail-section {
    position: relative;
    width: 100vw;
    background-color: #1a1a1a; /* Studio dark gray for detail sections */
    padding: 10vh 5vw;
    overflow: hidden;
}

.services-detail-section h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;
}

.services-detail-section p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0a0a0;
    font-weight: 300;
}

/* Stagger List Styles (for list bullets) */
.stagger-list {
    list-style: none;
    padding: 0;
}

.stagger-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #e0e0e0;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    opacity: 0; /* for GSAP reveal */
}

.stagger-list li span {
    color: #6a8c96; /* Accent color for bullets */
    font-size: 1.2rem;
}

/* --- FIT-OUT SOLUTIONS SECTION --- */
.fit-out-section {
    background-color: #1a1a1a;
}

/* Architectural Lines */
.fit-out-lines {
    position: absolute;
    top: 15%;
    left: 45vw; /* Positioned centrally between left and right side content */
    height: 70%;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.fit-out-lines .v-line {
    position: absolute;
    top: 0; left: 0; width: 1px; height: 100%;
    background: rgba(106, 140, 150, 0.2); /* Faint accent vertical line */
}

.fit-out-lines .h-line {
    position: absolute;
    bottom: 25%; left: -20vw; width: 50vw; height: 1px;
    background: rgba(255, 255, 255, 0.1); /* faint horizontal balance */
}

/* Container & Layout */
.fit-out-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Left side (Title & Image) */
.fit-out-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pushes content to bottom left */
    padding-bottom: 5vh;
}

.service-title-col {
    margin-bottom: 5rem;
}

.service-title-col h4 {
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.service-title-col h4 span {
    color: #6a8c96; /* Accent word */
}

.service-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.service-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right side (Bullet Lists) */
.fit-out-right {
    width: 55%;
    display: flex;
    gap: 3rem;
}

.service-list-block {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
}

.service-list-block h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Stagger List specific spacing adjustment on bullet span */
.service-list-block .stagger-list li span {
    font-size: 1rem;
}

/* --- FURNITURE SOLUTIONS SECTION --- */
.furniture-section {
    background-color: #111; /* transitions to deep black */
}

.furniture-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
}

/* Left side (Processes) */
.furniture-left {
    width: 45%;
    display: flex;
    flex-direction: column;
}

.neoform-tag {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #aebbc1;
    text-transform: uppercase;
    margin-top: 5px;
    background: rgba(10, 10, 10, 0.7);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

.furniture-interactive-lists {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.furniture-list-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.furniture-list-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.list-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.list-icon {
    font-size: 1.2rem;
    color: #ffffff;
    transition: transform 0.4s ease;
}

.furniture-list-item.active .list-icon {
    transform: rotate(90deg) scale(1.1);
    color: #6a8c96; /* Accent color for icon */
}

/* Specific styling for nested lists bullets */
.process-sublist li span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #aebbc1;
    font-family: 'Josefin Sans', sans-serif;
}

/* Nested sublist visibility control for interactive state */
.process-sublist {
    display: none;
    padding-left: 2rem;
}

.furniture-list-item.active .process-sublist {
    display: block;
}

/* --- Right Side: Pinned Product Timeline --- */
.furniture-right {
    width: 55%;
    display: flex;
    justify-content: flex-end; /* right-align the timeline content */
}

.product-timeline-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 4rem;
}

.timeline-header h4 {
    font-size: clamp(2.5rem, 4vw, 5rem);
    line-height: 1.1;
    margin-bottom: 4rem;
    font-family: 'Inter', sans-serif; /* Matched the screenshot's clean look */
    font-weight: 300;
}

.timeline-header h4 span {
    color: #6a8c96; /* Accent word */
}

/* --- FIX: Display Logo Properly --- */
.neoform-section-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    opacity: 0.8; /* Solid transparency, no blend-mode bugs */
    transform-origin: left center;
    margin-top: 1rem;
    
    /* NOTE: If your logo file is black and you need it to be white, 
       uncomment the line below: */
    /* filter: brightness(0) invert(1); */
}

@media (max-width: 768px) {
    .neoform-section-logo { 
        max-width: 250px; 
        opacity: 1;
    }
}

/* --- FIX: Timeline Centering --- */
.timeline-content-stagger {
    position: relative; /* Acts as the anchor for the vertical line */
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-progress-bar {
    position: absolute;
    top: 0;
    /* Exactly centered behind the 70px icon box (35px center - 1px half-width of the line) */
    left: 34px; 
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1; /* Puts the line behind the icons */
}

.progress-fill-furniture {
    position: absolute;
    top: 0; left: 0;
    width: 100%; 
    height: 0%; /* JS will control this */
    background: #6a8c96; /* Matches the accent color */
    box-shadow: 0 0 10px rgba(106, 140, 150, 0.5);
}

.product-item {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2; /* Ensures the item sits above the line */
}

.product-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #111; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    /* Added box-shadow to the transition for a smooth glow fade */
    transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

/* Added .active class that mirrors and enhances the hover state */
.product-item.active .product-icon-box,
.product-item:hover .product-icon-box {
    border-color: #6a8c96;
    background: rgba(106, 140, 150, 0.15);
    box-shadow: 0 0 20px rgba(106, 140, 150, 0.5); /* The cyan glow */
}

.premium-icon {
    width: 28px;
    height: 28px;
    color: #aebbc1;
    transition: color 0.4s ease, transform 0.4s ease;
}

.product-item.active .premium-icon,
.product-item:hover .premium-icon {
    color: #ffffff;
    transform: scale(1.1);
}

/* Individual Icon styles */
.icon-kitchen::before { border-radius: 50%; background: #6a8c96; }
.icon-indoor::before { border-radius: 2px; background: #9cabb0; }
.icon-outdoor::before { border-radius: 20px; background: #6a8c96; }
.icon-office::before { border-radius: 2px; background: #aebbc1; }
.icon-cabinets::before { border-radius: 2px; background: #9cabb0; }
.icon-bespoke::before { border-radius: 4px; background: #aebbc1; border: 2px solid #6a8c96; }
.icon-lighting::before { border-radius: 50%; background: #ffffff; box-shadow: 0 0 10px rgba(255,255,255,0.7); }
.icon-doors::before { border-radius: 2px; background: #ffffff; opacity: 0.8; }
.icon-accessories::before { border-radius: 4px; background: #9cabb0; }

.product-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #e0e0e0;
}

/* ==========================================
   UPDATES TO MASTER MOBILE RESPONSIVENESS (for new sections)
   ========================================== */
@media (max-width: 1024px) {
    /* Adjustments for tablets/smaller desktops */
    .services-overview-container, .fit-out-container, .furniture-container {
        flex-direction: column;
        gap: 3rem;
    }

    .services-left, .services-right, .fit-out-left, .fit-out-right, .furniture-left, .furniture-right {
        width: 100%;
    }

    .service-title-col {
        margin-bottom: 2rem;
    }

    /* Fit-out Specific updates */
    .fit-out-right {
        gap: 2rem;
    }
    .service-list-block {
        padding: 2.5rem;
    }
    .service-image-wrapper {
        width: 80%; /* Shrink image */
        aspect-ratio: 16 / 9;
    }

    /* Furniture Specific updates */
    .furniture-right {
        padding-top: 3rem;
    }
    .product-timeline-wrapper {
        padding-left: 0;
    }
    .timeline-progress-bar {
        display: none; /* Hide progress bar on small mobile screens */
    }
}

@media (max-width: 768px) {
    /* Mobile updates to services */
    .services-overview-section { padding: 10vh 5vw; }
    .fit-out-container, .furniture-container { padding: 10vh 0; }
    
    /* Hide specific architectural lines on small screens */
    .fit-out-lines, .timeline-progress-bar { display: none; } 

    /* Title size updates for mobile */
    .services-top-title h4 { font-size: 0.9rem; }
    .services-brand-ideal { font-size: clamp(3rem, 5vw, 4rem); letter-spacing: 10px;}
    .services-brand-innovations { font-size: clamp(1.2rem, 2vw, 1.8rem); letter-spacing: 6px;}

    .service-title-col h4 { font-size: 2.2rem; }
    .timeline-header h4 { font-size: 2.8rem; }

    /* Bullet List padding adjustments */
    .service-list-block {
        padding: 2rem 1.5rem;
    }

    /* Furniture Interactive List mobile updates */
    .furniture-left {
        gap: 1.5rem;
    }
    .furniture-list-item {
        padding: 2rem 1.5rem;
    }
    .furniture-list-item .list-head h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
}
    .list-icon { font-size: 1rem; }
    .process-sublist { padding-left: 1.5rem; }

    /* Furniture Product Timeline mobile updates */
    .furniture-right {
        gap: 2rem;
    }
    .timeline-header h4 {
        margin-bottom: 2rem;
    }
    .product-timeline-wrapper {
        gap: 2rem;
    }
    .timeline-content-stagger {
        gap: 2rem;
    }
    .product-item {
        gap: 15px;
    }
    .product-icon-box {
        width: 60px; height: 60px;
    }
    .product-icon {
        width: 35px; height: 35px;
    }
    .product-name {
        font-size: 0.95rem;
    }
}

.services-brand-logo {
    width: 100%;
    max-width: 350px; /* Controls how large the logo gets */
    height: auto;
    margin-bottom: 2rem;
    filter: brightness(200%) grayscale(100%); /* Keeps it clean and white */
    transform-origin: left center;
}

/* Adjust logo size for mobile */
@media (max-width: 768px) {
    .services-brand-logo {
        max-width: 250px;
    }
}

/* --- FIX: Display Logo Properly --- */
.neoform-section-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    opacity: 0.5; /* Adjust this from 0.1 to 1 to change how bright it is */
    
    /* Removed the brightness/invert filter. 
       If the logo has a black background instead of being transparent, 
       this blend mode will make the black disappear! */
    mix-blend-mode: screen; 
    
    transform-origin: left center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .neoform-section-logo { 
        max-width: 250px; 
        opacity: 0.6;
    }
}


/* --- PREMIUM SOCIAL ICONS (FOOTER) --- */
.social-icons-row {
    display: flex;
    align-items: center;
    gap: 1.2rem; /* Spacing between icons */
    margin-top: 0.5rem;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle circular background */
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.social-icon:hover {
    background-color: #6a8c96; /* Brand accent color */
    color: #ffffff;
    border-color: #6a8c96;
    transform: translateY(-4px); /* Premium lifting effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.social-icon:hover svg {
    transform: scale(1.1); /* Slight icon pop */
}

/* ==========================================
   COMPREHENSIVE MOBILE ENHANCEMENTS
   ========================================== */
@media (max-width: 768px) {

    /* --- History Timeline: Single Column (line on left) --- */
    .history-section { padding: 10vh 5vw; }
    .history-header { margin-bottom: 6vh; }

    .timeline-container { padding: 3vh 0; }

    .timeline-line-bg {
        left: 30px;
        transform: none;
    }
    .timeline-line-progress {
        left: 30px;
        transform: none;
    }

    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
        align-items: flex-start;
        padding-left: 70px;
        margin-bottom: 6vh;
    }

    .timeline-node {
        left: 30px;
        transform: translateX(-50%);
        width: 56px;
        height: 56px;
    }

    .timeline-node .node-inner {
        font-size: 0.9rem;
    }
    .timeline-item.active .node-inner {
        font-size: 1rem;
    }

    .timeline-content {
        width: 100%;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        transform: translateX(0);
    }

    /* --- Services / Fit-Out: Stack list blocks vertically --- */
    .fit-out-right {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-desc-box {
        padding: 1.5rem;
    }

    /* --- Touch Targets: 44px minimum --- */
    .expand-btn,
    .cta-btn,
    .nav-btn,
    .furniture-list-item {
        min-height: 44px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }

    /* --- Active (touch feedback) states --- */
    .expand-btn:active { transform: scale(0.97); }
    .cta-btn:active { transform: scale(0.97); }
    .sector-card:active { opacity: 0.8; }
    .furniture-list-item:active { background: rgba(255, 255, 255, 0.06); }
    .social-icon:active {
        background-color: #6a8c96;
        color: #ffffff;
        transform: scale(0.95);
    }

    /* --- Footer: Better mobile layout --- */
    .footer-brands {
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    .footer-brand-logo { height: 48px; }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-icons-row {
        justify-content: flex-start;
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
}