/* --- GLOBAL RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f6f6f6;
    color: #000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: visible; /* Or just delete this line entirely */
}

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

/* Fix for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Change this in your style.css */
.reveal {
    /* Remove opacity: 0; */
    /* Remove transform: translateY(30px); */
    visibility: hidden; /* This keeps them from flickering before JS loads */
}

/* Add this to your style.css */
#projects-anchor {
    scroll-margin-top: 100px; /* Adjust this value based on your navbar's height */
}

/* --- TRANSITION & INTRO --- */
.transition-wipe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh; /* Dynamic height for mobile */
    background-color: #000;
    
    /* This ensures it sits on top of the navbar */
    z-index: 99999 !important; 
    
    pointer-events: none;
    display: block;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    z-index: 10000;
}

.brand-name {
    overflow: hidden; /* This creates the masking effect */
    padding: 20px;
}

/* --- 1. INTRO & LOGO BASE --- */
.intro-text-wrapper {
    display: flex;
    align-items: baseline; 
    justify-content: center;
    position: relative;
    width: 100%;
}

.letter {
    display: inline-block;
    font-size: clamp(2.5rem, 12vw, 5rem); /* Increased min-size for mobile visibility */
    font-weight: 300;
    color: #fff;
    transform: translateY(100%); 
    opacity: 0;
}

.reg-symbol {
    font-size: 0.25em; 
    margin-left: 0.05em;
    opacity: 0; 
    transform: translateY(-1.2em); 
    font-weight: 400;
    vertical-align: top;
}

/* Only apply the "tightening" fix on mobile devices */
@media (max-width: 768px) {
    .intro-text-wrapper .reg-symbol {
        margin-left: -0.10em; /* Pulls it in specifically on mobile */
        display: inline-block;
        transform: translateY(-0.1em); /* Keeps it aligned with the top of the 'a' */
    }

    /* Keeps all the letters and the symbol on one line without gaps */
    .intro-text-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0; 
    }
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-link:hover {
    opacity: 0.7;
    cursor: pointer;
}

/* --- 2. MAIN CONTENT WRAPPER --- */
.content {
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    min-height: 100vh;
    background-color: #f6f6f6;
    color: #000;
    overflow-x: hidden;
}

/* --- 3. NAVIGATION & MENU ICON --- */
.navbar {
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 1000; 
    width: 100%;
    height: 80px; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 80px; 
    background-color: #f6f6f6; 
    box-sizing: border-box;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -1px;
    flex: 0 0 auto;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links a sup, 
.cart-count {
    color: #999 !important; 
    font-size: 0.65rem;
    font-weight: 500;
    margin-left: 2px;
}

.menu-icon {
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 35px;
    height: 30px;
    cursor: pointer;
    z-index: 10001; 
    position: relative;
}

.menu-icon .line {
    width: 25px;
    height: 2px;
    background-color: #000;
    display: block;
    transition: 0.3s ease;
}

/* --- 4. HERO SECTION --- */
.hero-section {
    padding: 20px;
    padding-top: 100px; 
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    background-color: #000;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-overlay-text {
    position: absolute;
    top: 16%;
    left: 5%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 11rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin: 0;
    display: inline-flex;
    align-items: flex-start;
    color: #ffffff !important;
}

.hero-title span {
    font-size: 0.25em;
    vertical-align: 1.4em;
    margin-left: -0.05em;
    color: #ffffff !important;
}

.hero-subtitle {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    margin-top: -0.1em; 
    color: #ffffff !important;
    align-self: flex-end; 
}

.hero-services-list {
    position: absolute;
    top: 16%;
    right: 5%;
    color: #fff;
    z-index: 10;
}

.hero-services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-services-list li {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 2;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.hero-bottom-text {
    position: absolute;
    bottom: 60px;
    left: 60px;
    max-width: 600px;
    z-index: 10;
}

.hero-bottom-text p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-bottom-text .muted-phrase {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

/* --- 5. LOGOS SECTION --- */
.home-logos-section {
    width: 100%;
    padding: 80px 0; 
    background-color: #f6f6f6;
}

.home-logos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 20px; 
}

.home-logos-card {
    background-color: #ffffff;
    flex: 1;
    aspect-ratio: 1.1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    padding: 20px;
    transition: transform 0.4s ease;
}

.home-logos-img {
    width: 100%;
    height: auto;
    max-height: 110px;
    object-fit: contain; 
}

/* --- 6. MOBILE FIXES (THE OVERRIDE) --- */
@media (max-width: 992px) {
    .navbar {
        padding: 0 20px !important;
        height: 70px !important;
    }

    .nav-links { 
        display: none !important; 
    }

    .menu-icon {
        display: flex !important;
    }

    .hero-section {
        padding: 10px !important;
        padding-top: 80px !important; 
        height: 100vh !important;
    }

    .video-container {
        border-radius: 24px !important;
    }

    .hero-overlay-text {
        top: 10% !important;
        left: 25px !important;
    }

    .hero-title {
        font-size: 14vw !important;
    }

    .hero-subtitle {
        align-self: flex-start !important;
        margin-top: 5px !important;
    }

    .hero-services-list {
        display: none !important;
    }

    .hero-bottom-text {
        left: 25px !important;
        bottom: 40px !important;
        width: 85% !important;
    }

    .home-logos-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        margin: 0 10px !important;
    }
}

/* --- FULL SCREEN MOBILE MENU (REFINED) --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f6f6f6;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    /* Pushes links to the center and footer to the bottom */
    justify-content: space-between; 
    align-items: center;
    padding: 100px 0 40px 0; 
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    box-sizing: border-box;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 12px; 
    text-align: center;
    margin-top: auto; /* Centers the link block vertically */
    margin-bottom: auto;
}

.mobile-menu-links a {
    font-size: 2.2rem; /* Scaled down to prevent overlap on mobile */
    font-weight: 700;
    text-decoration: none;
    color: #000;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* THE X CLOSE BUTTON */
.menu-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 20001;
}

.menu-close-btn .line {
    width: 30px;
    height: 2px;
    background-color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
}

.menu-close-btn .line:first-child { 
    transform: translate(-50%, -50%) rotate(45deg); 
}

.menu-close-btn .line:last-child { 
    transform: translate(-50%, -50%) rotate(-45deg); 
}

/* FOOTER IN MENU */
.menu-footer {
    text-align: center;
    width: 100%;
    padding-top: 20px;
}

.menu-footer p {
    margin: 5px 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.menu-email {
    font-size: 1.3rem; 
    color: #000;
    text-decoration: none;
    border-bottom: 1.5px solid #000;
    display: inline-block;
    margin: 10px 0;
    font-weight: 600;
}

.legal-links {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.75rem;
}

.menu-copyright {
    font-size: 0.7rem !important;
    opacity: 0.5;
    margin-top: 10px !important;
}

/* --- PROJECTS TITLE SECTION --- */
.home-projects-section {
    width: 100%;
    background-color: #f6f6f6;
    padding: 120px 60px; 
}

.projects-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
}

.projects-count {
    font-size: 1.1rem;
    font-weight: 500;
    color: #888;
    flex: 1;
}

.projects-main {
    flex: 2;
    text-align: left;
}

.projects-title {
    font-size: 8rem; 
    font-weight: 700;
    letter-spacing: -4px;
    line-height: 0.9;
    color: #000;
}

.projects-year {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: -1px;
    color: #000;
}

.projects-description {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    color: #666;
    max-width: 350px;
    margin-top: 80px;
}

/* --- PROJECTS GRID SECTION --- */
.projects-grid-container {
    width: 100%;
    padding: 0 20px 80px 20px;
    background-color: #f6f6f6;
}

.projects-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
    max-width: 1600px;
    margin: 0 auto;
}

.projects-grid-card {
    background: transparent;
    display: flex;
    text-decoration: none;
    flex-direction: column;
    gap: 4px;
}

.projects-grid-header {
    background: #fff;
    padding: 18px 25px;
    border-radius: 15px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.projects-grid-title {
    font-weight: 520;
    font-size: 1.1rem;
    color: #000;
    letter-spacing: -0.5px;
}

.projects-grid-title span {
    color: #aaa;
    font-weight: 500;
    font-size: 0.8rem;
    margin-left: 5px;
}

.projects-grid-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #eee;
    transition: background-color 0.3s ease;
}

.projects-grid-image-box {
    background: #fff;
    padding: 7px; 
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.projects-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px; 
    display: block;
    transition: all 0.5s ease;
}

.projects-grid-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.projects-grid-logo-overlay img {
    max-width: 110px; 
    max-height: 110px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.projects-grid-card:hover .projects-grid-img {
    filter: blur(3px);
}

.projects-grid-card:hover .projects-grid-logo-overlay img {
    transform: scale(1.1);
}

.projects-grid-card:hover .dot.red { background-color: #ff5f57; }
.projects-grid-card:hover .dot.yellow { background-color: #ffbd2e; }
.projects-grid-card:hover .dot.green { background-color: #28c840; }

/* --- FINAL PRECISION PROJECT HERO --- */
.project-hero-container {
    padding: 180px 60px 100px 60px;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-areas: 
        "title title"
        "label text";
    grid-template-columns: 0.8fr 1.2fr; 
    align-items: start; 
}

.project-main-title {
    grid-area: title;
    font-size: 10rem;
    font-weight: 600; 
    letter-spacing: -0.06em;
    line-height: 0.8;
    margin-bottom: 70px; 
}

.intro-label {
    grid-area: label;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-description-text {
    grid-area: text;
    max-width: 580px; 
    font-size: 1.2rem; 
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000;
    justify-self: end;
}

.plus-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid #000;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}



/* --- THE FINAL STUDIO TABLE FIX --- */
.project-info-table {
    grid-column: 1 / span 2; 
    width: 100%;
    border-top: 1px solid #e0e0e0;
    margin-top: 80px; 
}

.info-row {
    display: grid; 
    grid-template-columns: 0.8fr 1.2fr; 
    padding: 25px 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
}

.info-label {
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.95rem;
    color: #888;
    font-weight: 400;
}

.info-value {
    font-size: 1.1rem;
    color: #000;
    font-weight: 500;
    text-align: right;
}

/* --- CENTERED LOGO --- */
.centered-logo-wrapper {
    display: flex;
    justify-content: center;
    /* REDUCE the first number (top padding) to bring logo closer to table */
    padding: 20px 0 100px 0; 
    width: 100%;
    background-color: #f6f6f6;
}

.centered-hero-logo {
    max-width: 150px;
    height: auto;
}

.project-gallery {
    width: 100%;
    padding: 0 60px 100px 60px;
}

.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.gallery-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 40px;
    display: block;
}

.stacked-img {
    width: 100%;
    max-width: 1200px; /* Fixed maximum width for the images */
    height: auto;
    aspect-ratio: 16 / 9; /* Set your preferred fixed ratio (e.g., 4/5 or 16/9) */
    object-fit: cover; /* Ensures image fills the fixed size without stretching */
    border-radius: 40px; /* Matching your existing gallery border radius */
    display: block;
}

/* --- PROJECTS MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    /* 1. Projects Title Section */
    .home-projects-section {
        padding: 60px 20px;
    }

    .projects-layout {
        flex-direction: column;
        gap: 20px;
    }

    .projects-title {
        font-size: 15vw; /* Fluid scaling for mobile */
        letter-spacing: -2px;
    }

    .projects-year {
        font-size: 1.8rem;
    }

    .projects-description {
        margin-top: 30px;
        max-width: 100%;
        font-size: 1.1rem;
    }

    /* 2. Projects Grid */
    .projects-grid-container {
        padding: 0 15px 60px 15px;
    }

    .projects-grid-wrapper {
        grid-template-columns: 1fr; /* Stack cards vertically */
        gap: 20px;
    }

    .projects-grid-header {
        padding: 15px 20px;
    }

    /* 3. Project Hero (Individual Project Page) */
    .project-hero-container {
        padding: 120px 20px 60px 20px;
        grid-template-areas: 
            "title"
            "label"
            "text";
        grid-template-columns: 1fr;
    }

    .project-main-title {
        font-size: 18vw; /* Large but contained */
        margin-bottom: 40px;
    }

    .project-description-text {
        justify-self: start;
        margin-top: 20px;
        font-size: 1.1rem;
    }

    /* 4. Project Info Table */
    .info-row {
        grid-template-columns: 1fr; /* Stack label and value */
        gap: 8px;
        padding: 20px 0;
    }

    .info-label {
        grid-column: 1;
        font-size: 0.85rem;
    }

    .info-value {
        text-align: left; /* Better for vertical reading */
        font-size: 1rem;
    }

    /* 5. Gallery & Stacked Images */
    .project-gallery {
        padding: 0 15px 60px 15px;
    }

    .gallery-container {
        grid-template-columns: 1fr; /* Stack gallery images */
        gap: 15px;
    }

    .gallery-img, .stacked-img {
        border-radius: 20px; /* Softer corners for smaller screens */
    }
}

/* --- STACKED ROUNDED GALLERY --- */
.project-stacked-gallery {
    width: 100%;
    padding: 0 60px 100px 60px; /* Matching your existing gallery padding */
    background-color: #f6f6f6;
}
/* --- CHALLENGES SECTION (Wide Fabrica Proportions) --- */
.challenges-section {
    padding: 140px 60px; /* Slightly more vertical breathing room */
    background-color: #f6f6f6;
    width: 100%;
}

.challenges-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    /* This creates a wide span for the text while keeping the label far left */
    grid-template-columns: 1fr 2fr; 
    align-items: start;
}

.challenges-label-wrapper {
    grid-column: 1;
    display: flex;
    align-items: center;
}

.challenges-text-content {
    grid-column: 2; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Increased width to use up the empty right space */
    max-width: 900px; 
}

.challenge-main-text {
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: #000;
    margin-bottom: 40px;
    /* Ensures the main header uses the full available width */
    width: 100%; 
}

.challenge-list {
    list-style: none;
    margin-bottom: 50px;
}

.challenge-list li {
    font-size: 1.15rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 14px;
    line-height: 1.5;
    display: flex;
    gap: 12px;
    letter-spacing: -0.01em;
}

.challenge-list li::before {
    content: "—";
    color: #000;
    flex-shrink: 0;
}

/* --- REFINED LIVE BUTTON --- */
.live-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.live-project-btn:hover {
    transform: scale(1.03);
}

/* --- PROJECT VIDEO SECTION --- */
.project-video-section {
    width: 100%;
    /* Update this to match your gallery/stacked-gallery padding exactly */
    padding: 0 60px 100px 60px; 
    background-color: #f6f6f6;
}

.video-wrapper {
    width: 100%;
    /* max-width matches the gallery-container and next-projects-grid */
    max-width: 1600px; 
    aspect-ratio: 16 / 9; 
    margin: 0 auto;
    overflow: hidden; 
    border-radius: 40px; /* Changed from 20px to 40px to match .gallery-img and .stack-img */
    background-color: #000;
}

/* Ensure the asset fills the newly padded wrapper */
.project-video-asset {
    width: 100%;
    height: 100%; 
    display: block;
    object-fit: cover; 
    image-rendering: -webkit-optimize-contrast; 
    image-rendering: crisp-edges;
}

.gallery-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between the rounded images */
    align-items: center;
}

/* --- VERTICAL GALLERY SECTION (Uniform Size) --- */
.vertical-gallery {
    width: 100%;
    padding: 0 60px 100px 60px;
    background-color: #f6f6f6;
}

.gallery-stack {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Slightly more gap for a cleaner look */
}

.stack-img {
    width: 100%;
    /* This forces all images to be the same height relative to width */
    aspect-ratio: 16 / 9; 
    
    /* This ensures the image fills the space without stretching */
    object-fit: cover; 
    
    /* Positions the image focus to the center */
    object-position: center; 
    
    border-radius: 40px;
    display: block;
}

/* --- CHALLENGES & GALLERY MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    /* 1. Global Padding Reset for Sections */
    .project-stacked-gallery,
    .challenges-section,
    .project-video-section,
    .vertical-gallery {
        padding: 60px 20px !important; /* Drastically reduce side padding */
    }

    /* 2. Challenges Section Layout */
    .challenges-container {
        grid-template-columns: 1fr; /* Stack label and text */
        gap: 30px;
    }

    .challenges-text-content {
        max-width: 100%; /* Allow text to fill screen width */
    }

    .challenge-main-text {
        font-size: 1.5rem; /* Scale down from 1.9rem */
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .challenge-list li {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    /* 3. Video and Gallery Border Radius */
    .video-wrapper,
    .stack-img,
    .gallery-img,
    .stacked-img {
        border-radius: 24px !important; /* Match your mobile hero corner radius */
    }

    /* 4. Aspect Ratio Adjustments */
    .video-wrapper,
    .stack-img {
        aspect-ratio: 4 / 3; /* Taller aspect ratio is better for mobile viewing */
    }

    /* 5. Live Button */
    .live-project-btn {
        width: 100%; /* Full width button is easier to tap on mobile */
        justify-content: center;
        padding: 16px 22px;
    }
}

/* This targets the specific container from your HTML snippet */
.gallery-stack-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px; /* This creates the large vertical breathing space */
    align-items: center;
}

/* --- FINAL THOUGHTS SECTION --- */
.final-thoughts-section {
    padding: 140px 60px;
    background-color: #f6f6f6;
    width: 100%;
}

.final-thoughts-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr; 
    align-items: start;
}

/* Label styling with the Plus Icon */
.final-thoughts-label-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.final-thoughts-content {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Matching the wide text span from your screenshot */
    max-width: 900px; 
}

.final-main-text {
    font-size: 2.2rem; /* Adjusted for impact */
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: #000;
    margin-bottom: 35px;
}

.final-sub-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: #888; 
    line-height: 1.4;
    max-width: 650px; 
}

/* Plus Icon for Final Thoughts */
.final-thoughts-label-wrapper .plus-circle-icon {
    width: 24px;
    height: 24px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.final-thoughts-label-wrapper .plus-symbol {
    color: #fff;
    font-size: 1rem;
    line-height: 0;
}

/* --- NEXT PROJECTS SECTION FIX --- */

.next-projects-header {
    max-width: 1600px;
    margin: 0 auto 60px auto;
}

.next-projects-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    /* Force exactly 2 columns even if content is large */
    grid-template-columns: repeat(2, 1fr); 
    /* This matches the gap from your home page grid */
    gap: 30px; 
}

.next-projects-grid .projects-grid-card {
        width: 100% !important; /* Force cards to take full width */
        max-width: none;
    }

/* Ensure images don't stretch the container */
.next-projects-grid .projects-grid-img {
    width: 100%;
    height: auto;
    display: block;
}

.small-brand-label {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
    text-transform: lowercase;
    display: flex; /* Keeps the symbol on the same line */
    align-items: flex-start;
}

/* --- FINAL THOUGHTS & NEXT PROJECTS MOBILE --- */
@media (max-width: 992px) {
    /* 1. Final Thoughts Section */
    .final-thoughts-section {
        padding: 60px 20px !important;
    }

    .final-thoughts-container {
        grid-template-columns: 1fr; /* Stack label and content */
        gap: 20px;
    }

    .final-thoughts-content {
        grid-column: 1; /* Reset from grid-column: 2 */
        max-width: 100%;
    }

    .final-main-text {
        font-size: 1.6rem; /* Scaled down from 2.2rem */
        letter-spacing: -0.8px;
        line-height: 1.2;
    }

    /* 2. Next Projects Grid */
    .next-projects-section {
        padding: 60px 20px !important; /* Reduce side padding so cards have room */
    }

    .next-projects-grid {
        display: flex;
        flex-direction: column; /* Stack cards vertically */
        gap: 40px; /* Give breathing room between projects */
        width: 100%;
    }

    /* 3. Spacing Fixes */
    .gallery-stack-container {
        gap: 40px; /* Reduce massive vertical gap */
    }
    
    .next-projects-header {
        margin-bottom: 30px;
    }
}

/* 1. THE NAVBAR SYMBOL (Always visible, stays in place) */
.nav-logo .reg-symbol {
    opacity: 1 !important;
    display: inline-block;
    font-size: 0.7rem;
    vertical-align: super;
    margin-left: 2px;
    transform: none !important; /* Prevents it from being pushed down */
    color: inherit;
}

/* 2. THE INTRO OVERLAY SYMBOL (Fades and flows with the letters) */
.brand-name .reg-symbol {
    opacity: 0;
    display: inline-block;
    font-size: 1.9rem; /* Larger for the big intro splash */
    margin-left: 5px;
    color: #fff; /* Usually white for the intro splash screen */
    /* This allows your GSAP/JS to move it from below */
}



.reg-symbol {
    font-size: 0.55em; /* Smaller, more subtle ® symbol */
    vertical-align: super;
    margin-left: 1px;
}

.next-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Aligns button with the baseline of the text */
    width: 100%;
    padding-bottom: 10px;
}

.next-title {
    font-size: 8rem;
    font-weight: 700;
    letter-spacing: -6px;
    line-height: 0.85;
    color: #000;
    margin: 0;
}

.all-projects-btn {
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px; /* Slight lift so it's not touching the floor of the grid */
}

.all-projects-btn .dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* --- GLOBAL REFINEMENT --- */
.section-padding {
    padding: 100px 60px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* --- NEXT PROJECTS GRID FIX --- */
/* This ensures 2-per-row and proper side spacing */
.next-projects-section {
    padding: 100px 60px;
    background-color: #f6f6f6;
}

.next-projects-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* FORCES 2 COLUMNS */
    gap: 30px;
}

/* --- LET'S TALK VIDEO CONTAINER --- */
.lets-talk-section {
    padding: 0 60px 80px 60px; 
    background-color: #f6f6f6;
    width: 100%;
    position: relative;
    box-sizing: border-box; /* Ensures padding doesn't break the width */
}

.talk-video-wrapper {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 90vh;
    border-radius: 40px; 
    overflow: hidden;
    background-color: #000; 
    margin-top: 40px;
}

.talk-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

/* --- CONTENT LAYOUT --- */
.talk-content-overlay {
    position: relative;
    z-index: 10;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1.3fr; 
    gap: 80px;
    align-items: start;
    min-height: 90vh;
}

/* --- LEFT SIDE: THE FORM CARD --- */
.contact-card {
    background: #fff;
    padding: 45px;
    border-radius: 30px;
    color: #000;
    max-width: 480px;
}

.form-brand-label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-transform: lowercase;
}

.contact-card h3 {
    font-size: 2.2rem;
    font-weight: 700; 
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #000;
}

/* "in mind?" - exact same thickness as "Have a project" */
.contact-card h3 span {
    color: #888; 
    font-weight: 700; 
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.send-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-footer-policy {
    margin-top: 25px;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.4;
}

.form-footer-policy a {
    color: #000;
    text-decoration: underline;
}

/* --- RIGHT SIDE: THE TEXT SIDE --- */
.talk-text-side {
    color: #fff;
    padding-top: 20px;
}

.talk-big-title {
    font-size: 9rem;
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -6px;
    margin-bottom: 40px;
}

/* Muted period per screenshot */
.talk-text-side h2 span {
    color: rgba(255, 255, 255, 0.4);
}

.talk-subtitle {
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.2;
    max-width: 600px;
    margin-bottom: 80px;
    opacity: 0.95;
}

/* --- FEATURES GRID & ICONS --- */
.talk-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Changed to dark for light bg */
    padding-top: 40px;
}

/* --- FOOTER & CONTACT MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    /* 1. Next Projects Title Fix */
    .next-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }

    .next-title {
        font-size: 15vw; /* Scale title to fit phone screen */
        letter-spacing: -2px;
    }

    /* --- THE MISSING FIX --- */
    .next-projects-grid {
        grid-template-columns: 1fr !important; /* Forces cards to stack 1-per-row */
        gap: 30px !important;
    }

    .next-projects-grid .projects-grid-card {
        width: 100% !important; /* Ensures the card uses the full screen width */
    }

    .next-projects-grid .projects-grid-image-box {
        aspect-ratio: 16 / 10; /* Keeps images consistent on mobile */
    }

    .all-projects-btn {
        width: 100%; /* Make button easier to tap on mobile */
        justify-content: center;
    }
    /* 2. Let's Talk Video Section */
    .lets-talk-section {
        padding: 0 15px 40px 15px !important;
    }

    .talk-video-wrapper {
        min-height: auto; /* Allow content to dictate height */
        border-radius: 24px;
    }

    .talk-content-overlay {
        grid-template-columns: 1fr; /* Stack form on top of text */
        padding: 40px 20px;
        gap: 40px;
    }

    /* 3. The Contact Card (Form) */
    .contact-card {
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .contact-card h3 {
        font-size: 1.8rem;
    }

    /* 4. The Big Text Side */
    .talk-text-side {
        order: -1; /* Pushes the "Let's Talk" text ABOVE the form on mobile */
        padding-top: 0;
    }

    .talk-big-title {
        font-size: 18vw;
        letter-spacing: -2px;
        margin-bottom: 20px;
    }

    .talk-subtitle {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    /* 5. Features Grid */
    .talk-features-grid {
        grid-template-columns: 1fr; /* Stack features in one column */
        gap: 25px;
    }

    /* Global padding fix for mobile */
    .section-padding, .next-projects-section {
        padding: 60px 20px !important;
    }
}

/* WHY CHOOSE US SECTION */

.capabilities-header-section {
    width: 100%;
    padding: 120px 60px 80px 60px;
    background-color: #f6f6f6;
}

.cap-header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.feature-icon {
    width: 20px;   
    height: 20px;  
    flex-shrink: 0;
    object-fit: contain; 
    display: block;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f6f6f6; /* Fixed: Black text for light bg */
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #f6f6f6; /* Fixed: Muted black text */
}

/* --- WHY CHOOSE US (CAPABILITIES) SECTION --- */
.capabilities-section {
    width: 100%;
    padding: 140px 0;
    background-color: #f6f6f6;
    color: #000; /* Force base text to black */
}

/* Standardized 1600px Container */
.capabilities-section .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.capabilities-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* FIX: The Label Colors (Force Black) */
.capabilities-section .small-label-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.capabilities-section .plus-circle-small {
    width: 20px;
    height: 20px;
    background: #000 !important; /* Force Black Circle */
    color: #fff !important;      /* Force White Plus */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.capabilities-section .small-label-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000 !important; /* FORCE BLACK TEXT */
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Header Grid */
.cap-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    width: 100%;
}

.cap-title {
    grid-column: 2;
    width: 100%; 
    font-size: clamp(3rem, 6vw, 5rem); /* Bigger impact */
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: #000;
    margin: 0;
}

.cap-title .muted-line { color: #999; }

/* Main Grid Layout */
.cap-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr; 
    gap: 80px;
    align-items: start;
}

/* IMAGE BOX: VERTICAL IMPACT */
.cap-image-box {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 800px; /* BIG VERTICAL HEIGHT */
    cursor: pointer;
}

.cap-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.8s ease, transform 1s ease;
}

/* HOVER REVEAL */
.cap-overlay {
    position: absolute;
    inset: 0;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0,0,0,0);
    transition: background 0.6s ease;
    z-index: 5;
}

.overlay-plus {
    align-self: flex-end;
    width: 45px; height: 45px;
    background: #000; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.overlay-text {
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 400px;
}

.lets-talk-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    background: #fff; /* White button on dark hover overlay */
    color: #000;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.btn-dot { width: 8px; height: 8px; background: #000; border-radius: 50%; }

/* HOVER TRIGGERS */
.cap-image-box:hover .cap-main-img { filter: blur(20px); transform: scale(1.08); }
.cap-image-box:hover .cap-overlay { background: rgba(0, 0, 0, 0.3); }
.cap-image-box:hover .overlay-content { opacity: 1; transform: translateY(0); }
.cap-image-box:hover .overlay-plus { transform: rotate(90deg); }

/* STATS CARDS */
.cap-content-box { display: flex; flex-direction: column; gap: 50px; height: 100%; }
.cap-description { font-size: 1.5rem; line-height: 1.4; color: #333; max-width: 650px; margin-bottom: 20px; }
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns for laptop */
    gap: 30px; /* This creates the gap between the boxes */
    margin-top: auto;
}

/* If you are using columns instead of a direct grid for stacking */
.stat-column {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Vertical gap between top and bottom boxes in a column */
}

.stat-box-top {
    background: #fff;
    padding: 35px;
    border-radius: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-box-top .count { font-size: 4rem; font-weight: 600; letter-spacing: -4px; line-height: 0.8; }
.stat-box-top .serial { font-size: 0.9rem; color: #ccc; font-weight: 700; }

.stat-box-bottom {
    background: #fff;
    padding: 40px 35px;
    border-radius: 25px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-text-top { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.stat-text-bottom { font-size: 1rem; color: #777; line-height: 1.5; }

.logo-row { display: flex; gap: 20px; align-items: center; margin-top: 30px; }
.partner-logo { height: 35px; filter: grayscale(1); opacity: 0.5; }

@media (max-width: 1024px) {
    .cap-grid, .cap-header { grid-template-columns: 1fr; }
    .cap-title { grid-column: 1; }
    .cap-image-box { height: 600px; }
}

/* --- CAPABILITIES (WHY CHOOSE US) MOBILE --- */
@media (max-width: 992px) {
    /* 1. Section Spacing */
    .capabilities-header-section {
        padding: 60px 20px 40px 20px !important;
    }

    .capabilities-section {
        padding: 60px 0 !important;
    }

    .capabilities-container {
        gap: 40px !important;
        padding: 0 !important;
    }

    .capabilities-section .container {
        padding: 0 20px !important;
    }

   /* 1. Target the specific title and kill the inherited 180px padding */
    .cap-title, 
    .header-content-right,
    .capabilities-section .cap-header h2 {
        padding-left: 0 !important; /* This removes the 180px gap shown in your inspector */
        margin-left: 0 !important;
        flex: none !important;      /* Stops it from acting as a flex-item and shrinking */
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    /* 2. Fix the container layout to ensure it doesn't push content right */
    .cap-header {
        display: flex !important;
        flex-direction: column !important; /* Stack 'Why Choose Us' above the title */
        align-items: flex-start !important;
        padding-left: 0 !important;
    }

    /* 3. Ensure the text itself is readable and not tiny */
    .cap-title {
        font-size: 8.5vw !important; /* Scaled for mobile impact */
        line-height: 1.1 !important;
        letter-spacing: -1px !important;
        margin-top: 20px !important;
        text-align: left !important;
    }

    /* 3. Image Box Reset */
    .cap-grid {
        grid-template-columns: 1fr; /* Stack image on top of stats */
        gap: 40px;
    }

    .cap-image-box {
        height: 500px; /* Reduced from 800px for mobile */
        border-radius: 24px;
    }

    .cap-overlay {
        padding: 30px;
    }

    .overlay-text {
        font-size: 1.1rem;
        max-width: 100%;
    }

    /* 4. Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr; /* Stacks them on phone */
        gap: 25px; /* Adjust the gap slightly for smaller screens */
    }

    .stat-box-top {
        margin-bottom: 0; /* Let the grid gap handle the spacing */
    }

    .cap-description {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .stat-box-top, .stat-box-bottom {
        padding: 25px;
        min-height: auto; /* Remove fixed height for content flexibility */
    }

    .stat-box-top .count {
        font-size: 3rem;
    }

    .stat-text-top {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    /* 5. Feature List (Top Section) */
    .cap-header-container {
        flex-direction: column;
        gap: 20px;
    }

    /* 4. Fix the color contrast for mobile legibility */
    .feature-item h4, 
    .feature-item p {
        color: #fff !important; /* Change to black since your background is light gray */
    }
}

/* --- FOOTER MAIN --- */
.site-footer {
    background-color: #fff;
    padding: 100px 0 0 0; /* Changed: Remove side padding from parent */
    width: 100%;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr; 
    gap: 40px;
    padding: 0 60px 80px 60px; /* Changed: Put side padding here instead */
}

/* 1. Group the brand and phone with a small fixed gap */
.footer-brand {
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: flex-start;
    color: #000;
    margin-bottom: 8px !important; /* Fixed small gap */
}

.footer-brand .reg-symbol {
    font-size: 0.7rem;
    font-weight: 800;
    color: #000 !important;
    display: inline-block !important;
    line-height: 1;
    opacity: 1 !important;

    /* THE ADJUSTED COORDINATES */
    position: relative; 
    top: 15px;         /* INCREASED THIS: This is the line that brings it DOWN */
    margin-left: 2px;  
    vertical-align: top; /* Prevents the 'a' from jumping around */
}

/* --- FOOTER CONTACT ALIGNMENT --- */
.footer-contact {
    display: flex;
    flex-direction: column;
    height: 100%; /* Important: links height to the Navigation column */
    min-height: 160px; /* Adjust this to match the height of your Nav list */
}

/* Reset margins to let Flexbox handle the spacing */
.footer-brand, 
.footer-phone, 
.footer-email-link {
    margin: 0 !important; 
}

.footer-phone {
    font-size: 1.1rem;
    font-weight: 500;
    color: #000;
}

/* Email styling remains bold and clean */
.footer-email-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
    font-size: 1.2rem; 
    font-weight: 520;
}

/* The Black Circle - Refined Centering */
.plus-circle-icon {
    width: 30px;
    height: 30px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

/* The Plus Symbol - Perfectly Centered */
.plus-symbol {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 0; 
    display: inline-block;
    transform: translateY(-1px); 
}

/* The Sliding Underline Effect */
.email-text {
    position: relative;
    padding-bottom: 2px;
}

.email-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; 
    height: 2px;
    background-color: #000;
    transition: width 0.4s ease; 
}

/* HOVER TRIGGERS */
.footer-email-link:hover .plus-circle-icon {
    transform: rotate(90deg);
}

.footer-email-link:hover .email-text::after {
    width: 100%;
}

/* --- NAVIGATION LINKS --- */
.footer-nav-groups {
    display: flex;
    gap: 100px;
}

.nav-group h4 {
    font-size: 0.85rem;
    color: #888;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.nav-group ul {
    list-style: none;
    padding: 0;
}

.nav-group ul li {
    margin-bottom: 12px;
}

.nav-group ul li a {
    text-decoration: none;
    color: #000;
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- GIANT LOGO --- */
.footer-giant-logo {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

/* Giant Footer Logo Version */
.footer-giant-logo h2 {
    font-size: 10rem;
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -6px;
    display: inline-block;       
    align-items: baseline;
    position: relative;
    color: #000;
    margin: 0;
}

.footer-giant-logo h2 .reg-symbol {
    font-size: 3.2rem;
    font-weight: 700;
    color: #000 !important;
    line-height: 1;
    opacity: 1 !important;

    /* THIS BRINGS IT BACK AND LOCKS IT IN PLACE */
    position: absolute;   /* Takes it out of the flex flow */
    margin-left: 0px;     /* Small gap after the 'a' */
    margin-top: 45px;    /* Fine-tune the vertical height */
    display: inline-block;
}

.footer-giant-logo h3 {
    font-size: 4rem;
    font-weight: 700;
    margin-top: -10px; /* Tucked under aleena */
    letter-spacing: -2px;
    color: #000;
}

/* --- SUB-FOOTER BLACK STRIP --- */
.sub-footer {
    background-color: #000;      /* Pure black background */
    color: #fff;                 /* White text */
    padding: 20px 0;             /* Vertical spacing */
    width: 100%;                 /* Full width stretch */
    margin-top: 30px;            /* Pushes it away from the giant logo */
    font-family: sans-serif;     /* Matches your clean aesthetic */
}

.sub-footer-container {
    max-width: 1600px;           /* Adjust to match your site's max-width */
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Pushes copyright LEFT, links RIGHT */
    align-items: center;
    padding: 0 60px;             /* Matches your side margins */
}

.sub-footer-links {
    display: flex;
    gap: 30px;                   /* Space between Privacy and Terms */
}

.sub-footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}

.sub-footer-links a:hover {
    opacity: 0.6;                /* Subtle hover state */
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6); /* Muted white for "All rights reserved" */
}

/* 1. The Default Hidden State */
.form-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    z-index: 9999;
    
    /* This keeps it hidden and shifted down initially */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#popup-icon {
    font-weight: bold;
    color: #4BB543; /* Green for success */
}

/* 2. The Active State (What JS triggers) */
.form-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* --- FOOTER MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    /* 1. Stack the footer columns */
    .footer-container {
        grid-template-columns: 1fr; /* Force 1 column stack */
        gap: 60px;
        padding: 0 20px 60px 20px !important;
    }

    /* 2. Brand & Contact Alignment */
    .footer-contact {
        min-height: auto;
        gap: 15px;
        align-items: center; /* Center everything for a cleaner mobile look */
        text-align: center;
    }

    .footer-email-link {
        justify-content: center;
        font-size: 1.1rem;
    }

    /* 3. Navigation Links */
    .footer-nav-groups {
        flex-direction: column; /* Stack 'Navigation' and 'Socials' */
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    /* 4. The Giant Logo Reset */
    .footer-giant-logo {
        justify-content: center;
        text-align: center;
    }

    .footer-giant-logo h2 {
        font-size: 18vw; /* Scale fluidly with screen width */
        letter-spacing: -2px;
    }

    .footer-giant-logo h2 .reg-symbol {
        font-size: 1.2rem;
        margin-top: 15px; /* Adjusting the symbol for the smaller title */
        position: relative; /* Switch to relative so it doesn't float away */
    }

    .footer-giant-logo h3 {
        font-size: 2.5rem;
        margin-top: 0;
    }

    /* 5. Sub-Footer (Copyright Strip) */
    .sub-footer-container {
        flex-direction: column; /* Stack Copyright and Legal links */
        gap: 15px;
        padding: 0 20px;
        text-align: center;
    }

    .sub-footer-links {
        gap: 20px;
    }
}

/* --- FINAL REFINED TERMS STYLE --- */
.terms-body .terms-container {
    padding-bottom: 120px; /* Adjust this number to increase/decrease the gap */
}

.terms-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px; /* Side gutters to stop text sticking to borders */
}

.terms-hero .terms-container {
    padding-top: 160px; /* Reduced from 200px */
    padding-bottom: 60px; /* Reduced from 100px */
}

.terms-huge-title {
    font-size: 9rem; 
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.9; /* Tighter line height to prevent cutoff */
    margin-bottom: 60px;
    margin-left: -0.05em; 
}

/* This is what was missing - the parent flex container */
.terms-header-line {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
}

.meta-left {
    width: 10% !important;   /* Matches your .row-number width (10%) */
    min-width: 120px;
    flex-shrink: 0;
    margin-right: 40px;      /* Gap between date and text */
}

.meta-left .label {
    font-size: 13px;
    color: #888;
    display: block;
    margin-bottom: 5px;
}

.meta-left .date {
    font-size: 18px;
    font-weight: 500;
}

.intro-right {
    width: 80% !important;   /* Matches your .row-content width (80%) */
    flex-grow: 1;
}

.date {
    white-space: nowrap !important;
    display: block;
    font-size: 1.2rem;
}

.intro-right p {
    font-size: 1.3rem;
    line-height: 1.2;
    color: #000;
    max-width: 850px;
}

/* THE LEGAL ROWS - COMPRESSED */
.legal-row {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 40px 0; /* Reduced from 80px to fix the insane gap */
}

.row-number {
    width: 10%; /* Matches meta-left exactly */
    font-size: 18px;
    font-weight: 600;
    /* This ensures the number stays at the top-left of its box */
    display: flex;
    align-items: flex-start; 
}

.row-content {
    width: 80%; /* Matches intro-right exactly */
}

.row-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.row-content p, .row-content li {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .terms-container { padding: 0 40px; }
    .terms-huge-title { font-size: 6rem; }
    .terms-hero .terms-container { padding-top: 150px; }
}

@media (max-width: 800px) {
    .terms-header-line, .legal-row { flex-direction: column; }
    .meta-left, .intro-right, .row-number, .row-content { width: 100%; }
    .row-number { margin-bottom: 20px; }
}

/* --- SERVICES SECTION FIX --- */
.services-section {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 100px 80px;
    border-radius: 40px;
    margin: 40px 20px;
}

.services-header {
    display: flex;
    align-items: flex-start; /* Aligns label to the TOP of the section */
    margin-bottom: 80px;
    width: 100%;
}

.small-label-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px; /* Visual alignment with the top of the 'S' */
}

.plus-circle-small {
    width: 20px;
    height: 20px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.small-label-text {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #fff;
}

.services-main-title {
    font-size: clamp(4rem, 10vw, 8.5rem);
    font-weight: 700;
    margin: 0;
    padding: 0;
    letter-spacing: -0.04em;
    line-height: 0.85;
}

.services-main-title sup {
    font-size: 0.4em;
    color: rgba(255, 255, 255, 0.4); 
    margin-left: 10px;
    font-weight: 400;
    vertical-align: super;
}

/* Accordion Styling */
.service-item { border-top: 1px solid #222; }

.service-trigger { 
    display: flex; 
    align-items: center; 
    padding: 50px 0; 
    cursor: pointer; 
    position: relative; /* Anchor for the icon */
}

.service-number { width: 80px; font-size: 0.85rem; color: #555; }

.service-title { flex-grow: 1; font-size: 1.6rem; font-weight: 500; }

/* --- THE TOGGLE ICON FIX --- */
.toggle-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.icon-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff; /* Explicitly white lines */
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.icon-line.vertical {
    transform: rotate(90deg);
}

/* Transform to Minus when active */
.service-item.active .icon-line.vertical {
    transform: rotate(0deg);
    opacity: 0;
}

.service-item.active .toggle-icon {
    transform: rotate(180deg);
}

.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-item.active .service-content { max-height: 800px; }

.content-inner {
    display: flex;
    gap: 60px;
    padding: 0 0 60px 80px;
}

.service-image img {
    width: 320px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
}

.service-text { font-size: 1.15rem; color: #888; line-height: 1.5; max-width: 600px; }
.highlight { color: #fff; font-weight: 600; }

.category-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tag { padding: 8px 18px; border: 1px solid #333; border-radius: 100px; font-size: 0.85rem; color: #ccc; }

.get-started-btn {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #000;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 60px;
}

/* Responsive Stack */
@media (max-width: 991px) {
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .services-main-title { margin-right: 0; }
    .small-label-wrapper { margin-top: 0; }
    .content-inner { flex-direction: column; padding-left: 0; }
}

/* --- SERVICES SECTION MOBILE REFINEMENT --- */
@media (max-width: 992px) {
    .services-section {
        padding: 60px 20px !important; /* Reduce the huge desktop padding */
        margin: 20px 10px !important;
        border-radius: 24px !important;
    }

    /* 1. Fix the Header & Huge Title */
    .services-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-bottom: 40px !important;
    }

    .services-main-title {
        font-size: 14vw !important; /* Scale to fit phone screen width */
        line-height: 0.9 !important;
        letter-spacing: -2px !important;
        padding-left: 0 !important; /* Kill any inherited 180px padding */
    }

    /* 2. Accordion Triggers */
    .service-trigger {
        padding: 30px 0 !important;
    }

    .service-number {
        width: 40px !important; /* Shorter number column on small screens */
        font-size: 0.75rem !important;
    }

    .service-title {
        font-size: 1.3rem !important; /* Scale down heading */
    }

    /* 3. Content Expansion Fix */
    .content-inner {
        flex-direction: column !important;
        padding: 0 0 40px 0 !important; /* Remove the 80px left padding */
        gap: 30px !important;
    }

    .service-image img {
        width: 100% !important; /* Full width images in the accordion */
        height: auto !important;
    }

    .service-text {
        font-size: 1rem !important;
        max-width: 100% !important;
    }

    /* 4. Tags & Buttons */
    .category-tags {
        gap: 8px !important;
    }

    .tag {
        padding: 6px 14px !important;
        font-size: 0.75rem !important;
    }

    .get-started-btn {
        width: 100% !important; /* Full width button for easy tapping */
        text-align: center;
        padding: 15px 0 !important;
    }
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 100px 60px;
    width: 100%;
    background-color: #f6f6f6;
}

.process-header-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
}

/* --- LIGHT SECTION OVERRIDES --- */
.process-section .small-label-text {
    color: #000 !important;
}

.process-section .plus-circle-small {
    background: #000 !important;
    color: #fff !important;
}

/* --- THE MASTER ALIGNMENT SYSTEM --- */

/* Standardize the outer spacing for all sections */
.capabilities-section, 
.services-section, 
.process-section, 
.testimonials-section {
    padding-left: 80px !important;
    padding-right: 80px !important;
}

/* Standardize the header containers */
.cap-header, 
.services-header, 
.process-header-row, 
.testimonials-header-row {
    display: flex !important;
    justify-content: flex-start !important; /* Forces everything to start from the left */
    align-items: flex-start !important;
    margin-bottom: 80px;
    width: 100%;
}

/* Force the "Plus + Label" to a fixed width so the titles start at the same spot */
.small-label-wrapper {
    width: 200px; /* This is the anchor point */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- THE "NUMBER" TO PLAY WITH --- */
.cap-title, 
.services-main-title, 
.process-header-row .header-content-right, 
.testimonials-header-row .header-content-right {
    flex: 1;
    padding-left: 180px; /* <--- ADJUST THIS NUMBER to move all titles left/right */
    text-align: left !important;
    margin: 0 !important;
}

/* Ensure the paragraph in Process section stays left-aligned */
.process-description {
    text-align: left !important;
    margin-left: 0 !important;
}

.process-main-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: #000;
}

.process-main-title .muted-text {
    color: #888;
}

.process-description {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.4;
    max-width: 550px;
}

/* --- THE CARD FIX (MATCHING REFERENCE) --- */
.process-grid {
    display: grid;
    /* This replaces 1fr to allow multiple columns on larger screens while staying 1 column on mobile */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; 
    gap: 20px !important;
    width: 100%;
}

.process-card {
    background: #fff;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* grid-row-fill ensures cards in the same row stay equal height */
    height: 100%; 
    padding: 25px !important;
    box-sizing: border-box; 
    /* Safety: prevents the card from shrinking too much vertically */
    min-height: 160px; 
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
}

.card-top {
    display: flex;
    flex-direction: column; /* This forces the children to stack vertically */
    align-items: flex-start; /* Keeps everything aligned to the left */
    gap: 12px; /* Adjust this value to control the space between the title and para */
}

/* FIX: Changed to row to put icon next to text */
.card-body {
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 20px; 
}

.step-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0; /* Prevents icon from squeezing */
}

.step-title {
    font-size: 1.10rem;
    font-weight: 500;
    line-height: 1.3;
    color: #000;
    margin: 0;
    max-width: 180px; /* Helps text wrap like the reference */
}

/* Detail Elements */
.progress-dots { 
    display: flex; 
    gap: 5px; 
}

.dot { 
    width: 7px; 
    height: 7px; 
    background: #e5e5e5; 
    border-radius: 50%; 
}

.dot.active { 
    background: #000; 
}

.step-num { 
    font-size: 0.9rem; 
    color: #ccc; 
    font-weight: 600; 
    font-family: inherit;
}

/* Video Container */
.process-video-container {
    margin-top: 50px;
    width: 100%;
    height: 600px; 
    border-radius: 32px; 
    overflow: hidden;
    position: relative;
    background: #000;
}

.process-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.disclaimer-text { font-size: 0.85rem; color: #888; margin-top: 15px; text-align: center; }

/* --- PROCESS SECTION MOBILE OPTIMIZATION --- */
@media (max-width: 991px) {
    /* 1. Global Reset of the Master Alignment System */
    .capabilities-section, 
    .services-section, 
    .process-section, 
    .testimonials-section {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* 2. Header & Label Reset */
    .cap-header, 
    .services-header, 
    .process-header-row, 
    .testimonials-header-row {
        flex-direction: column !important;
        margin-bottom: 40px !important;
    }

    .small-label-wrapper {
        width: 100% !important; /* Remove the 200px anchor */
        margin-bottom: 15px;
    }

    /* 3. Title & Description Alignment */
    .cap-title, 
    .services-main-title, 
    .process-header-row .header-content-right, 
    .testimonials-header-row .header-content-right {
        padding-left: 0 !important; /* CRITICAL: Remove the 180px push */
    }

    .process-main-title {
        font-size: 14vw !important; /* Scalable title */
        line-height: 1.1 !important;
    }

    .process-description {
        max-width: 100% !important;
        font-size: 1.1rem !important;
    }

    /* 4. Grid & Card Styling */
    .process-grid {
        
    }

    .card-body {
        gap: 15px !important;
    }

    .step-icon {
        width: 48px !important;
        height: 48px !important;
    }

    /* 5. Video Container Scaling */
    .process-video-container {
        height: 300px !important; /* Much shorter height for mobile aspect ratio */
        margin-top: 30px !important;
        border-radius: 20px !important;
    }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 120px 80px;
    background-color: #f6f6f6;
    display: flex;
    justify-content: center;
}

.testimonials-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Header Styling - Pushing Content Right */
.testimonials-header-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    width: 100%;
}

.testimonials-section .small-label-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.testimonials-section .small-label-text {
    color: #000 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonials-section .plus-circle-small {
    background: #000 !important;
    color: #fff !important;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Pushes Experiences and 2026 to the right */
.header-content-right {
    margin-left: auto;
    text-align: right;
}

.exp-main-title {
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: #000;
    margin: 0;
}

.copyright-year {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    margin-top: 5px;
    color: #ddd;
}

/* --- THE GRID --- */
.testimonials-grid {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* LEFT SUMMARY CARD */
.summary-card {
    width: 300px !important;
    min-width: 300px !important;
    flex-shrink: 0;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.rating-big {
    font-size: 4rem;
    font-weight: 700;
    color: #000;
    margin-top: 0;
    line-height: 1;
}

.out-of {
    font-size: 1.2rem;
    color: #ddd;
}

/* RIGHT SUBGRID */
.testi-subgrid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.testi-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* UNIVERSAL CARD RULES */
.testi-card {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Profile Strips */
.profile-card {
    padding: 15px 20px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.profile-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.profile-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.profile-info span {
    font-size: 0.8rem;
    color: #999;
}

/* Quote Cards with Hover Expansion */
.quote-card {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    cursor: default;
    z-index: 1;
}

.quote-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    z-index: 10;
}

.card-icon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.stars-mini {
    color: #ffb400;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.plus-sign {
    font-size: 1.5rem;
    color: #ddd;
    font-weight: 300;
}

.quote-text-main {
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 500;
    color: #000;
    margin: 0;
}

/* Balance Logic */
.push-bottom { margin-top: auto; padding-top: 30px; }
.push-top { margin-bottom: auto; padding-bottom: 30px; }

/* Footer Elements */
.testi-signature-brand {
    font-weight: 600;
    font-size: 1.2rem;
}

.client-avatars {
    display: flex;
}

.client-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: -10px;
}

.leave-review-btn {
    display: block;
    background: #000;
    color: #fff !important;
    text-align: center;
    padding: 16px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* --- TESTIMONIALS RESPONSIVE FIX (COMPLETE MERGE) --- */

/* Tablet View */
@media (max-width: 1200px) {
    .testi-subgrid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* Mobile View (The Final Fix) */
@media (max-width: 992px) {
    /* 1. Spacing & Container Fixes */
    .testimonials-section {
        padding: 60px 20px !important;
    }

    .testimonials-header-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 40px !important;
    }

    /* Keeps "Experiences" on the left and readable */
    .header-content-right {
        margin-left: 0 !important;
        text-align: left !important;
        width: 100% !important;
    }

    .exp-main-title {
        font-size: 14vw !important; 
        line-height: 1 !important;
        letter-spacing: -2px !important;
    }

    /* 2. Grid & Column Logic */
    .testimonials-grid {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .summary-card {
        width: 100% !important;
        min-width: 100% !important;
        padding: 40px 30px !important;
        order: -3; /* Rating stays at the very top */
    }

    .testi-subgrid {
        display: flex !important; 
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }

    /* 3. THE RE-ORDERING KEY: Breaking out of the columns */
    .testi-column {
        display: contents !important; /* Allows individual cards to move freely */
    }

    /* MOVE HANNA TO TOP */
    /* Target via position (4th card) and image source */
    .testi-subgrid .testi-card:nth-child(4),
    .testi-card:has(img[src*="falcons"]),
    .testi-card.profile-card:nth-of-type(2) { 
        order: -2 !important; 
    }

    /* MOVE THE "ALEENA ALI" QUOTE TO BOTTOM */
    /* This ensures it doesn't float confusingly above Hanna */
    .testi-card.quote-card:nth-child(3),
    .testi-card.quote-card:has(p:contains("Aleena Ali")) {
        order: 10 !important; 
        margin-top: 10px !important;
    }

    /* 4. Card Styling Cleanup */
    .testi-card {
        border-radius: 20px !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .quote-card {
        padding: 25px !important;
        min-height: auto !important;
    }

    .quote-text-main {
        font-size: 1.1rem !important;
    }

    .quote-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* --- TESTIMONIAL STATS (Unique from Capabilities) --- */
.t-stats-wrapper {
    margin-top: 140px;
    padding-bottom: 40px;
    position: relative;
}

/* The Line - Placed below */
.t-stats-line {
    width: 0%; /* Start empty */
    height: 1px;
    background-color: #b0abab; /* Darker grey/black for contrast */
    margin-top: 80px;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1); /* This creates the 'drawing' effect */
}

/* When the section is visible, draw the line */
.testimonials-section.active .t-stats-line {
    width: 100%;
}

.t-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Aligns numbers to the baseline of the line */
}

.t-stat-item {
    flex: 1;
}

.t-stat-number-box {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}

.t-number {
    font-size: 5rem;
    font-weight: 550;
    letter-spacing: -3px;
    line-height: 0.9;
}

.t-suffix {
    font-size: 5rem;
    font-weight: 550;
    line-height: 1;
}

.t-label {
    margin-top: 20px;
    color: #666;
    font-size: 0.95rem;
}

/* --- APPROACH SECTION (Below the Line) --- */
.approach-row {
    display: grid;
    grid-template-columns: 300px 1fr; /* Matches the width of your summary-card */
    gap: 12px;
    padding-top: 60px; /* Space below the line */
    align-items: flex-start;
}

.approach-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.approach-subtext {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.4;
    max-width: 220px;
}

.approach-right {
    max-width: 850px;
}

.approach-main-title {
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.approach-main-title .muted-text {
    color: #999;
}

.approach-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.5;
    max-width: 650px;
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .approach-row {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 40px;
    }
}

/* --- TESTIMONIAL STATS & APPROACH MOBILE FIX --- */

@media (max-width: 992px) {
    /* 1. Stats Section Adjustment */
    .t-stats-wrapper {
        margin-top: 60px !important; /* Reduced from 140px */
        padding: 0 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .t-stats-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 40px !important;
    }

    .t-number, .t-suffix {
        font-size: 18vw !important; /* Scalable size to prevent overflow */
        letter-spacing: -1px !important;
    }

    .t-stats-line {
        margin-top: 40px !important;
        width: 100% !important;
        transition: width 2s ease-in-out !important;
    }

    /* 2. Approach Section Adjustment */
    .approach-row {
        grid-template-columns: 1fr !important; /* Stack columns */
        gap: 30px !important;
        padding: 40px 20px !important;
    }

    .approach-left {
        width: 100% !important;
    }

    .approach-subtext {
        max-width: 100% !important; /* Let text breathe */
        font-size: 1rem !important;
    }

    .approach-right {
        width: 100% !important;
    }

    .approach-main-title {
        font-size: 1.6rem !important; /* Scaled down for smaller screens */
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }

    .approach-description {
        font-size: 1.05rem !important;
        max-width: 100% !important;
    }
}

/* --- CASE STUDY REVEAL LAYOUT --- */
.case-study-reveal {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 12px;
    margin-top: 100px;
    align-items: stretch;
}

.case-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* --- THE BLACK CARD --- */
.main-card {
    overflow: visible !important;
    background: #000;
    border-radius: 32px;
    padding: 50px;
    color: #fff;
    position: relative;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 580px;
}

.brand-display {
    font-size: 4rem;
    font-weight: 550;
    margin: 10px 0;
    letter-spacing: -4px;
    position: relative;
    z-index: 2;
}

/* Logic for the symbol we discussed */
.brand-display::after {
    font-weight: 550;
    content: "®";
    font-size: 1.2rem;
    vertical-align: super;
    margin-left: 5px;
    letter-spacing: normal;
}

.live-site-link {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 3;
    font-size: 0.85rem;
    cursor: pointer;
    color: #fff;
}

.case-study-bottom-right {
    position: absolute;
    right: 40px;
    bottom: 40px;
    text-align: right;
    z-index: 10;
}

.case-study-bottom-right p {
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 500;
    margin-bottom: 5px;
}

.parallax-img-container {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60%; 
    z-index: 5;
    overflow: visible;

    /* THE FIX: This fades the Left (25%), the Right (90%), and the Bottom (85%) */
    /* It leaves the top (to top) open so your head stays solid while popping out */
    -webkit-mask-image: 
        linear-gradient(to right, transparent 0%, black 25%, black 90%, transparent 100%),
        linear-gradient(to top, transparent 0%, black 15%);
    mask-image: 
        linear-gradient(to right, transparent 0%, black 25%, black 90%, transparent 100%),
        linear-gradient(to top, transparent 0%, black 15%);

    -webkit-mask-composite: source-in;
    mask-composite: intersect;

    /* Allows the head to pop up but stops the image from leaking below the card */
    clip-path: inset(-500px 0px 0px 0px);
}

.scroll-parallax-img {
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: -100px; /* Adjust this to move your head up/down */
    right: 0;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    
    /* Subtle blend mode to help the dark hijab melt into the black background */
  
}

.case-study-bottom-right p, 
.we-do-it-all {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* --- THE WHITE CARDS --- */
.white-card {
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    color: #000;
    border: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

/* Visibile Circles Logic */
.performance-card .circles-bg {
    position: absolute;
    top: 50%;
    left: -180px; 
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 35%, 
                rgba(0,0,0,0.05) 35.5%, transparent 36%,
                transparent 50%, rgba(0,0,0,0.07) 50.5%, transparent 51%,
                transparent 65%, rgba(0,0,0,0.07) 65.5%, transparent 66%);
    pointer-events: none;
    z-index: 0;
}

.stat-main-number {
    font-size: 1.5rem;
    font-weight: 550;
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.graph-months {
    display: flex;
    justify-content: space-between; /* This spreads them out */
    align-items: center;
    margin-top: 10px;
    padding: 0 4px; /* Matches the slight offset of the bars */
}

.graph-months span {
    width: 14%; /* Matches the exact width of the .bar class */
    text-align: center;
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

/* Container for the avatar and name */
.user-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* This line fixes the "insanely big" image */
.user-mini img {
    width: 32px;  /* Adjust this size to your liking */
    height: 32px; /* Keep height same as width */
    border-radius: 50%; /* Makes it a circle */
    object-fit: cover; /* Prevents the image from squishing */
}

.user-mini span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.stars {
    color: #FFB800; /* Professional gold color */
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Anchoring the Conversion Rate Improvement to bottom */
.stat-sub {
    margin-top: auto;
}

.stat-label-small {
    font-size: 0.75rem;
    color: #999;
}

.stat-value-small {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
}

/* UI Details for Score/Graph */
.progress-circle-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}
.progress-circle-container svg { transform: rotate(-90deg); }
.progress-circle-container circle { fill: none; stroke-width: 12; }
.progress-circle-container .bg { stroke: #f0f0f0; }
.progress-circle-container .meter { stroke: #f5f5f5; stroke-dasharray: 283; stroke-dashoffset: 0; }
.progress-circle-container .score {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700; font-size: 1.4rem;
}

.mini-graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 80px;
    margin-top: 25px;
}
.bar {
    width: 14%;
    background: #f5f5f5;
    border-radius: 4px;
    position: relative;
    display: flex;
    justify-content: center;
}
.bar span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-size: 9px;
    font-weight: 700;
    color: #999;
    white-space: nowrap;
}
.black-bar { background: #000 !important; }
.black-bar span { color: #fff; }

.floating-plus {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 1.5rem;
    opacity: 0.8;
}

@media (max-width: 1100px) {
    .case-study-reveal { grid-template-columns: 1fr; gap: 20px; }
    .case-stats-grid { gap: 20px; }
}

/* --- CONTAINER & THEME --- */
.pricing-custom-section {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 100px 80px;
    border-radius: 40px;
    margin: 40px 20px;
    font-family: 'Inter', sans-serif;
}

.pricing-custom-section .services-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* --- INTERACTIVE TOGGLE (Per Project / Monthly) --- */
.pricing-toggle-area { margin-bottom: 60px; }
.toggle-pill {
    background: #1a1a1a;
    display: inline-flex;
    padding: 5px;
    border-radius: 100px;
}

.toggle-opt {
    padding: 10px 25px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    color: #555;
}

/* Logic for active state switching */
#billing-controller:not(:checked) ~ .pricing-container .opt-project { background: #fff; color: #000; }
#billing-controller:checked ~ .pricing-container .opt-monthly { background: #fff; color: #000; }

/* Hide monthly content by default */
.val-monthly, .per-monthly, .price-monthly, .monthly-features { display: none; }

/* Content swapping logic when master checkbox is checked */
#billing-controller:checked ~ .pricing-container .val-project,
#billing-controller:checked ~ .pricing-container .per-project,
#billing-controller:checked ~ .pricing-container .price-project,
#billing-controller:checked ~ .pricing-container .project-features { display: none; }

#billing-controller:checked ~ .pricing-container .val-monthly { display: inline; }
#billing-controller:checked ~ .pricing-container .per-monthly { display: inline; }
#billing-controller:checked ~ .pricing-container .price-monthly { display: block; }
#billing-controller:checked ~ .pricing-container .monthly-features { display: block; }

/* --- GRID & CARDS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 20px;
    margin-bottom: 100px;
}

.pricing-card {
    background: #141414;
    border-radius: 24px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- ADDON SWITCH & COLOR LOGIC --- */
.card-bottom {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.addon-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff; 
    transition: color 0.3s ease;
}

/* Changes text to muted gray when addon toggle is ON */
.ui-switch:has(.addon-checkbox:checked) ~ .addon-price {
    color: #999999;
}

/* Small Pill Switch Styling */
.ui-switch { position: relative; width: 60px; height: 32px; }
.ui-switch input { opacity: 0; width: 0; height: 0; }
.ui-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background: #ffffff; border-radius: 50px; transition: .4s;
}
.ui-slider:before {
    position: absolute; content: ""; height: 24px; width: 24px; left: 4px; bottom: 4px;
    background: #0d0d0d; border-radius: 50%; transition: .4s;
}
input:checked + .ui-slider:before { transform: translateX(28px); }

/* --- READABILITY FIX FOR PRICE LABELS --- */
.price-display { font-size: 4.5rem; font-weight: 700; letter-spacing: -3px; line-height: 1; display: flex; align-items: baseline; }
.price-display .currency { font-size: 2rem; margin-right: 5px; align-self: flex-start; margin-top: 10px; }

.price-display .period { 
    font-size: 1.1rem; 
    color: #888; /* Lightened for clear readability */
    font-weight: 500; 
    letter-spacing: 0;
    margin-left: 8px;
}

/* --- FEATURES & BUTTONS --- */
.features-ul { list-style: none; padding: 0; margin-top: 20px; }
.features-ul li { margin-bottom: 12px; color: #ccc; font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.features-ul li::before { content: "+"; color: #444; }

.main-body { display: flex; justify-content: space-between; align-items: flex-start; }
.main-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 60px; }

.meta-label { display: block; color: #555; font-size: 0.85rem; margin-bottom: 4px; }
.meta-value { font-weight: 600; font-size: 1.1rem; }

.get-started-btn {
    background: #fff; color: #000; padding: 15px 35px; border-radius: 100px;
    text-decoration: none; font-weight: 600;
}

/* --- FOOTER CONTENT --- */
.pricing-footer-content { text-align: center; max-width: 900px; margin: 0 auto; }
.footer-small-text { color: #555; margin-bottom: 20px; font-size: 0.9rem; }
.footer-headline { font-size: 1.8rem; color: #666; font-weight: 500; line-height: 1.3; }
.footer-headline .highlight { color: #fff; }

.profile-chip { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; text-align: left; }
.profile-chip img { width: 42px; height: 42px; border-radius: 50%; }
.profile-info strong { display: block; font-size: 0.95rem; }
.profile-info span { color: #555; font-size: 0.8rem; }

/* --- PRICING SECTION MOBILE OPTIMIZATION --- */
@media (max-width: 991px) {
    /* 1. Container & Spacing Refinement */
    .pricing-custom-section {
        padding: 60px 20px !important; /* Matches your other sections */
        margin: 20px 10px !important;
        border-radius: 24px !important;
    }

    /* 2. Header & Toggle */
    .pricing-toggle-area {
        text-align: center; /* Center the toggle on mobile */
        margin-bottom: 40px;
    }

    .toggle-pill {
        width: 100%; /* Make toggle easier to hit */
        justify-content: center;
    }

    .toggle-opt {
        flex: 1;
        text-align: center;
        padding: 12px 10px !important;
    }

    /* 3. Grid & Cards */
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 60px !important;
    }

    .pricing-card {
        padding: 35px 25px !important; /* Reduce massive 50px desktop padding */
    }

    /* 4. Price Readability Fix */
    .price-display {
        font-size: clamp(3rem, 12vw, 4rem) !important; /* Scales so it doesn't break */
        flex-wrap: wrap;
    }

    .price-display .currency {
        font-size: 1.5rem !important;
        margin-top: 5px !important;
    }

    /* 5. Layout Reset (Main Body & Footer) */
    .main-body {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .main-footer {
        flex-direction: column !important;
        align-items: flex-start !important; /* Align button to left */
        gap: 30px !important;
        margin-top: 40px !important;
    }

    .card-bottom {
        flex-direction: row !important; /* Reverts the desktop row-reverse */
        justify-content: space-between !important; /* Pushes switch and price to opposite ends */
        align-items: center !important;
        width: 100% !important;
        margin-top: 20px !important;
        padding-top: 20px !important;
        border-top: 1px solid #1a1a1a; /* Subtle separator for clarity */
    }

    .addon-price {
        font-size: 1.2rem !important; /* Tightens text for narrow screens */
        margin-left: auto; /* Ensures price stays right even if items grow */
    }

    .ui-switch {
        margin-right: 10px !important;
    }

    .get-started-btn {
        width: 100% !important;
        text-align: center;
        padding: 18px !important;
    }

    /* 6. Footer Content Scaling */
    .footer-headline {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
    }

    .pricing-footer-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the headline and chip */
        text-align: center;
    }

    .profile-chip {
        display: flex !important;
        flex-direction: column !important; /* Stack icon above text */
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin-top: 40px !important;
        width: auto !important;
        gap: 15px !important;
    }

    .profile-info {
        text-align: center !important;
    }

    .profile-info strong {
        font-size: 1rem !important;
    }
}

/* SHOP SECTION */
.shop-custom-section {
    background-color: #f9f9f9; /* Matches the light background of the 'Faces' section */
    padding: 100px 80px;
    font-family: 'Inter', sans-serif;
}

.shop-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Styles - Turned into a flex column to push CTA to the bottom */
/* The parent remains the same as before */
.shop-header-area { 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 100%; 
}

.top-header-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0px; /* Adjust if you want more space specifically between brand and title */
}

.shop-brand { font-weight: 700; font-size: 1.2rem; margin-bottom: 20px; color: #000; }

.shop-main-title { 
    font-size: 5rem; 
    line-height: 1; 
    font-weight: 700; 
    color: #000; 
    margin-bottom: 0; /* Let the container handle the spacing */
}
.shop-main-title .muted-text { color: #888; }

/* The CTA box now naturally sits at the bottom */
.shop-cta-box { 
    max-width: 350px; 
    margin-bottom: 10px; /* Minor adjustment for visual alignment with the last card */
}

.cta-label { font-weight: 600; margin-bottom: 8px; font-size: 1.1rem; }
.cta-subtext { color: #666; font-size: 1rem; margin-bottom: 30px; line-height: 1.5; }

.shop-now-btn {
    background: #000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 100px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.product-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #eee;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%); /* Subtle artistic touch */
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.plus-icon-small {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
}

/* Ensure the product info doesn't clash */
.product-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2); /* Improves readability */
}

/* Subtle overlay to make text pop more */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

/* New Add to Cart Button Style */
.add-to-cart-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.15); /* Glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    opacity: 0.8; /* Slightly faded until hover */
}

.add-to-cart-btn:hover {
    background: #fff;
    color: #000;
    opacity: 1;
    transform: translateY(-2px);
}

.product-info strong { display: block; font-size: 1.2rem; margin-bottom: 4px; }
.product-info span { font-size: 0.85rem; opacity: 0.8; font-weight: 500; }

/* --- SHOP SECTION MOBILE OPTIMIZATION --- */
@media (max-width: 991px) {
    /* 1. Container & Spacing Reset */
    .shop-custom-section {
        padding: 60px 20px !important;
    }

    .shop-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* 2. Header & Title Scaling */
    .shop-header-area {
        height: auto !important; /* Removes desktop vertical stretch */
    }

    .shop-main-title {
        font-size: 14vw !important; /* Scalable title prevents overflow */
        margin-bottom: 30px !important;
    }

    .shop-cta-box {
        max-width: 100% !important;
        margin-bottom: 40px !important;
    }

    /* 3. Product Grid Adjustment */
    .product-grid {
        grid-template-columns: 1fr !important; /* Stack products for full-width impact */
        gap: 20px !important;
    }

    .product-card {
        aspect-ratio: 1 / 1.1 !important; /* Better proportions for mobile scrolling */
    }

    /* 4. Interactive Elements */
    .add-to-cart-btn {
        padding: 12px 20px !important; /* Larger hit area for thumbs */
        font-size: 0.85rem !important;
        opacity: 1 !important; /* Always visible on touch screens */
    }

    .product-info strong {
        font-size: 1.4rem !important;
    }
}

.cart-count {
    font-size: 0.7rem;
    vertical-align: super;
    margin-left: 2px;
    font-weight: 600;
    color: #888; /* Matches your muted style */
}

/* Cart Panel Styles */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-items-container {
    flex-grow: 1; /* This takes up all available middle space */
    overflow-y: auto; /* Adds a scrollbar if you add many paintings */
    margin-bottom: 20px;
}

.cart-bottom-area {
    margin-top: auto; /* Double insurance it stays at the bottom */
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.side-cart {
    position: fixed;
    top: 0;
    right: -450px; /* Hidden by default */
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px;
}

.cart-upsell {
    margin-bottom: 30px;
}

/* Matching the purple-ish link color from your screenshot */
.add-selection-link {
    color: #7c4dff; 
    font-size: 0.85rem;
    text-decoration: underline;
    font-weight: 500;
}

/* This makes the background blur appear */
.cart-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}
.side-cart.active {
    right: 0 !important;
}

.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.cart-header h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.close-cart { background: none; border: none; cursor: pointer; text-decoration: underline; font-weight: 500; }

.cart-item { display: flex; gap: 20px; align-items: center; margin-bottom: 30px; }
.cart-item-img { width: 80px; height: 100px; object-fit: cover; border-radius: 10px; }
.item-name { font-weight: 600; margin-bottom: 5px; }
.item-price { color: #888; font-size: 0.9rem; }

.cart-upsell { margin-top: auto; padding-top: 30px; border-top: 1px solid #eee; }
.upsell-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: #999; margin-bottom: 15px; }
.upsell-item { display: flex; gap: 15px; align-items: center; font-size: 0.9rem; }
.upsell-item img { width: 50px; height: 50px; border-radius: 8px; }

.cart-footer { margin-top: 40px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.2rem; margin-bottom: 20px; }
.checkout-btn { width: 100%; background: #000; color: #fff; border: none; padding: 18px; border-radius: 100px; font-weight: 600; cursor: pointer; transition: transform 0.3s; }
.checkout-btn:hover { transform: scale(1.02); }

/* --- SIDE CART MOBILE OPTIMIZATION --- */
@media (max-width: 991px) {
    /* 1. Make the cart full-screen or nearly full-screen */
    .side-cart {
        width: 100% !important; /* Full width for better thumb reach */
        right: -100% !important; /* Adjust hidden position to match width */
        padding: 30px 20px !important; /* Tighten padding */
    }

    .side-cart.active {
        right: 0 !important;
    }

    /* 2. Adjust Typography for smaller screens */
    .cart-header h3 {
        font-size: 1.3rem !important;
    }

    /* 3. Optimize Item Layout */
    .cart-item {
        gap: 15px !important;
        margin-bottom: 20px !important;
    }

    .cart-item-img {
        width: 60px !important; /* Smaller thumbnails to save horizontal space */
        height: 75px !important;
    }

    .item-name {
        font-size: 0.95rem !important;
    }

    /* 4. Fix Footer & Checkout Button */
    .cart-footer {
        margin-top: 20px !important;
        padding-bottom: 20px !important; /* Extra breathing room at bottom */
    }

    .checkout-btn {
        padding: 16px !important; /* Slightly smaller for mobile height */
        font-size: 1rem !important;
    }

    /* 5. Upsell Section cleanup */
    .cart-upsell {
        padding-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .upsell-item {
        font-size: 0.85rem !important;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 5%;
    background-color: #f7f7f7; /* Light grey background from screenshot */
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
}

.faq-intro {
    flex: 1;
}

.faq-big-title {
    font-size: 8rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.05em;
}

.faq-big-title span {
    color: #111; /* Or match your brand accent color */
}

.faq-subtext {
    font-size: 1.1rem;
    color: #666;
    max-width: 300px;
    line-height: 1.6;
}

/* Accordion Styles */
.faq-accordion {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    color: #111;
}

.faq-icon {
    background: #000;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* Answer Area */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    
    /* Remove padding when closed so it doesn't "pop" */
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.faq-answer p {
    padding: 0 30px 30px;
    color: #666;
    line-height: 1.6;
}

/* 2. When the FAQ is Open */
.faq-item.active .faq-answer {
    /* Set this to a number larger than your text will ever be */
    max-height: 500px; 
    
    /* Restore padding and opacity smoothly */
    padding-top: 15px;
    padding-bottom: 20px;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(0deg); /* Turns + into x */
}

/* --- FAQ SECTION MOBILE OPTIMIZATION --- */
@media (max-width: 1024px) {
    .faq-section {
        padding: 60px 20px !important;
    }

    .faq-container { 
        flex-direction: column !important; 
        gap: 40px !important; 
    }

    .faq-big-title { 
        font-size: 18vw !important; /* Scalable font prevents overflow */
        line-height: 0.9 !important;
        letter-spacing: -3px !important;
    }

    .faq-subtext {
        max-width: 100% !important; /* Prevents text from being squashed in a tiny column */
        font-size: 1rem !important;
    }

    /* Accordion Improvements for Touch */
    .faq-question {
        padding: 20px !important; /* More space-efficient for small screens */
        font-size: 1.05rem !important;
    }

    .faq-answer p {
        padding: 0 20px 20px !important;
        font-size: 0.95rem !important;
    }
}

/* =========================================
   BLOG SECTION STYLING (FULL BLOCK)
   ========================================= */

.blog-section {
    padding: 100px 5%;
    font-family: 'Inter', sans-serif;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.blog-title-area h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.blog-title-area .muted { 
    color: #888; 
    font-weight: 700; 
}

.blog-nav-area {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 500px;
}

.blog-subtitle {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* See All Button */
.see-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.see-all-btn:hover {
    background: #222;
    transform: translateY(-2px);
}

.see-all-btn .dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

/* The Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr; 
    gap: 20px;
}

.blog-card {
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 0; 
    display: flex;
    transition: all 0.4s ease;
    background: #fff;
    overflow: visible; 
}

/* NEW: The Link Wrapper for clickable cards */
.card-link {
    text-decoration: none;
    color: inherit; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px; 
    width: 100%;
    height: 100%;
}

/* Container for the thumbnail and plus icon */
.blog-entry-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.thumb-wrapper {
    width: 65px;
    height: 85px;
    position: relative;
    z-index: 1;
}

.author-thumb {
    width: 90px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top left;
    z-index: 10;
}

.blog-card:hover .author-thumb {
    width: 160px;
    height: 180px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.blog-card:hover {
    border-color: #ddd;
}

.plus-icon {
    position: relative;
    z-index: 20; 
    transition: transform 0.4s ease;
}

.blog-card:hover .plus-icon {
    transform: rotate(90deg);
}

.blog-date { 
    font-size: 0.75rem; 
    color: #aaa; 
    display: block; 
    margin-bottom: 12px; 
}

.blog-card h3 {
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-card p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

/* Featured Large Card */
.large-card {
    background-image: url('/images/blog.png');
    background-size: cover;
    background-position: center;
    border: none;
    position: relative;
    min-height: 400px;
    padding: 35px; /* Restore padding here since there's no .card-link */
}

.feature-overlay {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent; /* Changed from linear-gradient */
    border-radius: 24px;
    color: #fff;
}

.feature-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.brand-tag { 
    font-weight: 700; 
    font-size: 1rem; 
}

.feature-title { 
    font-size: 2.5rem !important; 
    color: #fff; 
    margin: 0;
    line-height: 1.0;
    font-weight: 700;
}

/* --- BLOG SECTION MOBILE OPTIMIZATION --- */
@media (max-width: 991px) {
    /* 1. Header & Title Reset */
    .blog-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
        margin-bottom: 40px !important;
    }

    .blog-title-area h2 {
        font-size: 2.2rem !important; /* Scale title down for phones */
    }

    .blog-nav-area {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
        max-width: 100% !important;
    }

    /* 2. Grid & Card Layout */
    .blog-grid {
        grid-template-columns: 1fr !important; /* Single column for clarity */
        gap: 20px !important;
    }

    .large-card {
        grid-column: span 1 !important;
        min-height: 350px !important;
        order: -1; /* Pushes the featured big card to the top */
    }

    .blog-card {
        overflow: hidden !important; /* Prevents thumbnails from spilling out */
    }

    /* 3. Static Thumbnail for Mobile (Since no hover) */
    .author-thumb {
        width: 70px !important;
        height: 80px !important;
        position: relative !important; /* Remove absolute positioning to keep flow */
        border-radius: 8px !important;
    }

    .thumb-wrapper {
        width: auto !important;
        height: auto !important;
    }

    .feature-title {
        font-size: 1.8rem !important;
    }
}










