/* ==================================================================== */
/* 0. GLOBAL & RESET STYLES - LOCAL FONT LOADING */
/* ==================================================================== */

/* Regular (400) */
@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* SemiBold (600) */
@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold (700) */
@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold (800) */
@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Black/Heavy (900) */
@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Italic - Required if you use italic style anywhere, e.g., in .s3-quote */
@font-face {
    font-family: "Montserrat";
    src: url("fonts/Montserrat-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    /* Important: Set to italic */
    font-display: swap;
}
/* ======== START: ADD THIS CODE ======== */
/* --- 0.5. SPLASH SCREEN LOADER --- */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Use vh to ensure full viewport height */
    background-color: #fbfbfb; /* The background color from meetteam.html */
    z-index: 9999; /* Make sure it's on top of everything */
    display: flex;
    align-items: center;
    justify-content: center;

    /* This transition animates the "slide up" effect */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateY(0);
}

#splash-screen video {
    width: 90%; /* Responsive width */
    max-width: 600px; /* Max size on large screens */
    height: auto;
}

/* This class will be added by JavaScript to hide the screen */
#splash-screen.hidden {
    transform: translateY(-100%); /* Slides the screen up */
}

/* This class will be added by JS to prevent scrolling */
body.splash-active {
    overflow: hidden;
}
/* ======== END: ADD THIS CODE ======== */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    font-size: 130%; /* This makes 1rem = 17px */
}
body,
html {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    box-sizing: content-box;
    scroll-behavior: smooth;
}

/* Base styles for scroll-based animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================================================== */
/* 0.5. STANDARDIZED BUTTONS (NEW) */
/* ==================================================================== */
.btn {
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 2.5rem;
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out,
        border-color 0.3s ease-in-out, color 0.3s ease-in-out,
        padding 0.3s ease-in-out, font-size 0.3s ease-in-out;
}

.btn:hover {
    transform: scale(1.03);
}

/* Dark blue button for light backgrounds */
.btn-primary {
    background-color: #2c5d9f;
    color: white;
}

.btn-primary:hover {
    background-color: #1a3e73;
}

/* Specific styling for the hero CTA button (larger) */
#hero-cta-button {
    height: 3rem;
    width: 100%;
    max-width: 400px;
    margin-top: 2rem;
    font-size: 1rem;
    /* Transition added to base .btn */
}

/* Light blue button for light backgrounds */
.btn-secondary {
    background-color: #55b3e3;
    color: white;
}

.btn-secondary:hover {
    background-color: #429bc9;
}

/* White outline button for dark backgrounds (like Section 9) */
.btn-outline {
    background-color: transparent;
    color: white;
    border: 3px solid white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background-color: white;
    color: #2c5d9f;
    border-color: white;
}

/* ==================================================================== */
/* 1. HEADER / NAVBAR (SECTION-0) */
/* ==================================================================== */
#section-0 {
    height: 15vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #fffefe;
    padding: 0 5%;
    /* REMOVED margin-top and margin-bottom */
    align-items: center;
    position: sticky; /* CHANGED */
    top: 0; /* ADDED */
    z-index: 999; /* CHANGED - To stay above page content */
    font-family: "Montserrat", sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* ADDED */
}

#logo-img {
    width: auto;
    max-width: 200px;
    object-fit: contain;
    height: 80%;
}

#main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Nav Links (hidden by default) */
#nav-links {
    display: none;
    /* REVERTED: Hides the menu and its content instantly */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* "Open" state for the mobile menu */
#nav-links.is-open {
    display: flex;
    /* REVERTED: Shows the menu instantly */
    flex-direction: column;
    position: absolute;
    top: 10vh;
    left: 0;
    width: 100%;
    height: 90vh;
    background-color: #fffefe;
    align-items: center;
    padding-top: 3rem;
    gap: 2rem;
    /* Removed all max-height, opacity, and transition properties */
}

#nav-links.is-open a {
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
}

/* Language Switcher Dropdown */
#lang-container {
    position: relative;
}

#lang-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    color: #333;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    width: 100%;
}

#lang-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    position: absolute;
    top: 120%;
    right: 0;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 150px;
    z-index: 100;
}

#lang-list.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#lang-list li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    transition: background-color 0.2s ease-out;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#lang-list li a:hover {
    background-color: #f5f5f5;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: fill;
    border-radius: 3px;
}

/* Burger Menu Button (Visible by default on mobile) */
#burger-menu {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    padding: 0;
    /* ADD THIS LINE for smooth rotation */
    transition: transform 0.3s ease-in-out;
}

/* ADD this new rule for the 'X' state */
#burger-menu.is-active {
    transform: rotate(90deg);
}

/* ======== START: ADDED DROPDOWN STYLES ======== */
.nav-item-dropdown {
    position: relative; /* Context for the dropdown menu */
}

.nav-dropdown-toggle {
    /* Style the button to look exactly like the nav links */
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease-out;
}

.nav-dropdown-toggle:hover {
    color: #2c5d9f;
}

.nav-arrow {
    font-size: 0.6rem;
    transform: translateY(1px);
    transition: transform 0.2s ease-out;
}

/* Rotate arrow when open (for mobile) */
.nav-dropdown-toggle[aria-expanded="true"] .nav-arrow {
    transform: translateY(1px) rotate(180deg);
}

.nav-dropdown-menu {
    display: none; /* Hidden by default */
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease-out;
}

.nav-dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: #2c5d9f; /* Match link hover color */
}

/* --- Desktop Dropdown (Hover) --- */
@media (min-width: 768px) {
    .nav-item-dropdown {
        /* This adds an invisible "bridge" to keep the hover state active */
        padding-bottom: 0rem;
    }
    .nav-dropdown-toggle {
        font-size: 1rem; /* Reset for desktop */
    }

    .nav-dropdown-menu {
        position: absolute; /* Position it under the button */
        top: 100%;
        left: 0;
        margin-top: 0.5rem; /* Space from button */
        z-index: 1000;
    }
    .nav-dropdown-menu::before {
        content: "";
        position: absolute;
        bottom: 100%; /* Sits on the top edge of the menu */
        left: 0;
        right: 0;
        height: 0.5rem; /* Spans the full height of the margin-top gap */
        background-color: transparent; /* It's invisible */
    }

    /* Show on hover */
    .nav-item-dropdown:hover .nav-dropdown-menu {
        display: block;
    }

    /* Rotate arrow on hover */
    .nav-item-dropdown:hover .nav-arrow {
        transform: translateY(1px) rotate(180deg);
    }
}

/* --- Mobile Dropdown (Click) --- */
@media (max-width: 767px) {
    .nav-dropdown-toggle {
        font-size: 1.5rem; /* Match other mobile links */
        width: 100%;
        justify-content: center; /* Center text */
    }

    .nav-dropdown-menu {
        position: static; /* Stack it in the mobile menu flow */
        background: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
        padding: 0.5rem 0 0 0;
        text-align: center;
    }

    /* We use JS to toggle this class on mobile */
    .nav-item-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu li a {
        font-size: 1.2rem;
        padding: 0.75rem 1rem;
        color: #555;
    }
}
/* ======== END: ADDED DROPDOWN STYLES ======== */
/* --- Media Queries for SECTION-0 --- */
@media (min-width: 768px) {
    /* Desktop Nav */
    #main-nav {
        gap: 2rem;
    }

    #nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        height: auto;
        width: auto;
        background-color: transparent;
        padding-top: 0;
        gap: 2rem;
        order: 1;
    }

    #nav-links.is-open {
        padding-top: 0;
        /* Reset for desktop */
    }

    #nav-links a {
        font-size: 0.75rem;
        transition: color 0.2s ease-out;
        text-decoration: none;
        color: #333;
        font-weight: 600;
        font-family: "Montserrat", sans-serif;
        display: flex;
        align-items: center;
    }
    .nav-dropdown-toggle {
        font-size: 0.75rem; /* Match tablet link size */
    }
    #nav-links a:hover {
        color: #2c5d9f;
    }

    #lang-container {
        order: 2;
    }

    #lang-toggle {
        font-size: 1rem;
    }

    #burger-menu {
        display: none;
        order: 3;
    }

    #logo-img {
        /* Set a fixed maximum size that looks good on desktop/tablet */
        height: 100%;
    }
}

@media (min-width: 1024px) {
    #logo-img {
        height: 150%;
    }

    /* UPDATED: Larger buttons on desktop */
    .btn {
        font-size: 1.1rem;
        padding: 1rem 3rem;
    }
    #nav-links a {
        font-size: 1.1rem; /* Increases size from 1rem */
    }
    /* UPDATED: Larger hero button on desktop */
    #hero-cta-button {
        height: 3.5rem;
        font-size: 1.1rem;
    }

    .btn-outline {
        font-size: 1.1rem; /* Already large, ensure consistency */
        padding: 1rem 3rem;
    }
    .nav-dropdown-toggle {
        font-size: 1.1rem; /* Makes button font size match links */
    }
}

/* ==================================================================== */
/* 2. HERO (SECTION-1) */
/* ==================================================================== */
#section-1 {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 0px solid black;
    align-items: center;
    justify-content: end;
    /* FIX: Changed from font-family: Montserrat; to font-family: 'Montserrat', sans-serif; */
    font-family: "Montserrat", sans-serif;
    background-image: url(assets/bg.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#hero-main {
    height: 100%;
    width: 90%;
    /* border: 1px solid blue; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero-content {
    text-align: center;
    /* border: 1px solid red; */
}

#hero-subheading {
    width: 100;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 4rem;
}

#hero-heading {
    width: 100%;
    font-size: 2rem;
    color: #333;
    font-weight: 800;
}

#hero-description {
    width: 100%;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    line-height: 1.5rem;
}

/* REMOVED: .hero-cta-button styles now handled by .btn and .btn-primary */

#model-img {
    width: 50%;
    object-fit: contain;
    /* border: 1px solid black; */
}

#break-title-1 {
    display: inline;
    /* Visible on mobile */
}

#break-title-2 {
    display: none;
    /* Hidden on mobile */
}

/* --- Media Queries for SECTION-1 --- */
@media (min-width: 768px) {
    #section-1 {
        flex-direction: row;
        align-items: end;
        justify-content: end;
    }

    #hero-main {
        max-width: none;
        width: 100%;
        padding-left: 6%;
    }

    #hero-content {
        text-align: left;
    }

    #hero-heading {
        font-size: 2.2rem;
    }

    #model-img {
        max-width: 533px;
        width: 40%;
    }

    #break-title-1 {
        display: none;
    }

    #break-title-2 {
        display: inline;
    }
}

@media (min-width: 1024px) {
    #hero-main {
        max-width: 1100px;
    }

    #hero-subheading {
        font-size: 1.4rem;
    }

    #hero-heading {
        font-size: 3rem;
    }

    #hero-description {
        font-size: 1.4rem;
        line-height: 2rem;
    }
}



/* ==================================================================== */
/* 4. ABOUT (SECTION-3) */
/* ==================================================================== */
#section-3 {
    
    width: 100%;
    background-color: white;
    margin-top: -1px;
    z-index: 100;
    position: relative;
    padding: 6rem 0;
    color: #333;
    font-family: "Montserrat", sans-serif;
}

.s3-container {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    max-width: 600px;
}

.s3-profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.s3-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
}

.s3-quote {
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    margin: 1.5rem 0;
    padding: 0 2rem;
    border: none;
}

.s3-quote::before,
.s3-quote::after {
    font-family: "Times New Roman", serif;
    font-size: 5rem;
    font-style: normal;
    font-weight: 900;
    color: white;
    opacity: 0.3;
    position: absolute;
    line-height: 1;
    display: none;
}

.s3-quote::before {
    content: "“";
    left: -0.5rem;
    top: -0.5rem;
}

.s3-quote::after {
    content: "”";
    right: -0.5rem;
    bottom: -1.5rem;
}

.s3-description {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    margin: 1rem 0;
}

/* REMOVED: .s3-button styles now handled by .btn and .btn-secondary */
/* (Base .btn class handles margin-top) */
.s3-container .btn {
    margin-top: 1.5rem;
}

/* --- Media Queries for SECTION-3 --- */
@media (min-width: 768px) {
    .s3-container {
        max-width: 700px;
    }

    .s3-title {
        font-size: 4rem;
    }

    .s3-description {
        font-size: 1.1rem;
    }

    #section-2 {
        margin-top: -7vw;
    }
}
@media (min-width: 1024px) {
    #nav-links a {
        font-size: 1.1rem; /* Increases size from 1rem */
    }

    /* ======== START: ADD THIS CODE ======== */
    /* --- Section 3: 2-Column Layout --- */
    .s3-container {
        max-width: 1000px; /* Widen the container */
        flex-direction: row; /* Change to side-by-side */
        align-items: center; /* Vertically center content */
        text-align: left; /* Align text to the left */
        gap: 4rem; /* Add space between image and text */
    }

    .s3-profile-img {
        flex-shrink: 0; /* Prevent image from shrinking */
        width: 300px;
        height: 300px;
        margin-bottom: 0; /* Remove mobile margin */
    }

    .s3-text-wrapper {
        flex: 1; /* Allow text to take remaining space */
    }

    .s3-quote {
        padding: 0; /* Remove horizontal padding */
        margin-left: 1.5rem; /* Indent the quote text */
    }

    .s3-quote::before {
        left: -1.5rem; /* Position quote mark to the left */
    }
    .s3-quote::after {
        display: none; /* Hide the closing quote mark */
    }
    /* ======== END: ADD THIS CODE ======== */
}
/* UPDATED: Larger buttons on desktop */

/* ==================================================================== */
/* 5. PLACEHOLDER (SECTION-4) */
/* ==================================================================== */
#section-4 {
    background-color: #ffffff;
    width: 100%;
    position: relative;
    z-index: 40;
}

/* ======== START: ADD NEW SECTION 4 STYLES ======== */

/* --- 4a. Artistry Section (White) --- */
#section-4-artistry {
    padding: 6rem 1.5rem;
    background-color: #ffffff; /* White background */
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

.s4-artistry-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1000px;
}

.s4-artistry-title {
    /* Re-using philosophy title style */
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 3rem 0;
    color: #2c5d9f; /* Your brand blue */
}

.s4-artistry-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 2rem;
}

.s4-artistry-card {
    display: block;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s4-artistry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.s4-artistry-card img {
    width: 100%;
    max-width: 300px; /* Constrain image size */
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.s4-artistry-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 1rem 0;
}

.s4-artistry-card p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* --- 4b. Comfort Section (Blue) --- */
#section-4-comfort {
    padding: 6rem 1.5rem;
    background-color: #2c5d9f; /* Your brand blue */
    color: white;
    text-align: center;
    font-family: "Montserrat", sans-serif;
}

.s4-comfort-container {
    width: 90%;
    margin: 0 auto;
    max-width: 800px;
}

.s4-comfort-container h2 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
}

.s4-comfort-container p {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
    opacity: 0.9;
    margin: 0;
}
@media (min-width: 768px) {
    /* ======== START: ADD THIS CODE ======== */
    /* --- Section 4: Artistry Grid --- */
    .s4-artistry-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet+ */
    }

    .s4-artistry-title {
        font-size: 2.5rem;
    }

    .s4-comfort-container h2 {
        font-size: 2.5rem;
    }
    /* ======== END: ADD THIS CODE ======== */
}

/* ======== END: ADD NEW SECTION 4 STYLES ======== */
/* ==================================================================== */
/* 6. PHILOSOPHY (SECTION-5) */
/* ==================================================================== */
#section-5 {
    background-color: #ffffff;
    padding: 6rem 0;
    position: relative;
    z-index: 50;
    font-family: "Montserrat", sans-serif;
    color: #333;
    text-align: center;
}

.s5-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s5-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    /* Reduced margin for intro */
    color: #333;
}

/* NEW: Intro paragraph styling */
.s5-intro {
    display: none;
    /* Hidden on mobile */
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.7;
    color: #555;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.s5-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: single column */
    gap: 3rem;
    width: 100%;
}

.s5-feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s5-icon-container {
    margin-bottom: 1.5rem;
}

.s5-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.s5-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.s5-description {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 300px;
}

/* --- Media Queries for SECTION-5 --- */
@media (min-width: 768px) {
    .s5-title {
        font-size: 2.5rem;
    }

    /* NEW: Show intro text on tablet+ */
    .s5-intro {
        display: block;
        margin-top: 2rem; /* UPDATED: Added margin-top */
    }

    .s5-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on tablet+ */
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .s5-title {
        font-size: 2.8rem;
    }

    .s5-subtitle {
        font-size: 1.4rem;
    }

    .s5-description {
        font-size: 1.1rem;
    }
}

/* ==================================================================== */
/* 7. SERVICES (SECTION-6) */
/* ==================================================================== */
#section-6 {
    background: #f9f9f9;
    background-image: linear-gradient(to bottom, #ffffff, #f9f9f9);
    padding: 6rem 0;
    position: relative;
    z-index: 40;
    font-family: "Montserrat", sans-serif;
    color: #333;
    text-align: center;
}

.s6-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s6-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 3rem 0;
    color: #333;
}

/* Service Grid & Cards */
.s6-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: single column */
    gap: 1.5rem;
    width: 100%;
}

.s6-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: none;
    text-align: left;
    font-family: "Montserrat", sans-serif;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.s6-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.s6-card:hover .s6-card-arrow {
    transform: translateX(5px);
}

.s6-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.s6-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.s6-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.s6-card-desc {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    color: #555;
    margin: 0;
    flex-grow: 1;
}

.s6-card-arrow {
    width: 24px;
    height: 24px;
    color: #2c5d9f;
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    transition: transform 0.3s ease-out;
}

/* FAQ Accordion */
.s6-faq-container {
    width: 100%;
    max-width: 800px;
    margin-top: 3rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.s6-faq-item {
    border-bottom: 1px solid #eee;
}

.s6-faq-item:last-child {
    border-bottom: none;
}

.s6-faq-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    font-family: "Montserrat", sans-serif;
}

.s6-faq-toggle:hover {
    background-color: #f9f9f9;
}

.s6-faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Create the Plus/Minus icon */
.s6-faq-icon::before,
.s6-faq-icon::after {
    content: "";
    position: absolute;
    background-color: #2c5d9f;
    transition: transform 0.3s ease-out;
}

/* Horizontal bar */
.s6-faq-icon::before {
    width: 100%;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical bar */
.s6-faq-icon::after {
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Animation: Rotate vertical bar to create a minus */
.s6-faq-toggle[aria-expanded="true"] .s6-faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.s6-faq-panel {
    padding: 0 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: #555;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

/* JS will set max-height to scrollHeight. This handles padding. */
.s6-faq-toggle[aria-expanded="true"] + .s6-faq-panel {
    padding-bottom: 1.5rem;
}

.s6-faq-panel p {
    margin: 0;
    padding: 0;
}

/* REMOVED: .s6-cta-button styles now handled by .btn and .btn-secondary */
/* (Added inline style in HTML to restore margin-top) */

/* --- Media Queries for SECTION-6 --- */
@media (min-width: 768px) {
    .s6-title {
        font-size: 2.5rem;
    }

    .s6-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .s6-title {
        font-size: 2.8rem;
    }

    /* UPDATED: Changed from 3 to 2 columns for better sizing */
    .s6-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on desktop */
        max-width: 900px; /* Constrain grid width */
        gap: 2rem;
    }
}

/* ==================================================================== */
/* 8. TRANSFORMATIONS (SECTION-7) */
/* ==================================================================== */
/* ==================================================================== */
/* 7. TRANSFORMATIONS (SECTION-7) - REBUILT AS GRID */
/* ==================================================================== */
#section-7 {
    background-color: #f7f5f2;
    padding: 6rem 1.5rem; /* Includes padding fix */
    position: relative;
    z-index: 30;
    font-family: "Montserrat", sans-serif;
    color: #333;
    text-align: center;
}

.s7-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Text Content */
.s7-text-content {
    max-width: 700px;
    margin-bottom: 3rem;
}

.s7-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #333; /* Title color is dark */
}

.s7-description {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    color: #555;
}

/* --- New 2x2 Grid Layout --- */
.s7-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.s7-slide-caption {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-top: 1rem;
    text-align: left;
    padding-left: 0.25rem;
}

/* --- Before & After Slider (Restored) --- */
.s7-ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: ew-resize;
    user-select: none;
}

.s7-ba-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.7);
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.s7-ba-slider.is-dragging::before {
    opacity: 0;
}

.s7-ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.s7-ba-img-after-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.s7-ba-img.s7-ba-img-after {
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s7-ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: white;
    transform: translateX(-2px);
    pointer-events: none;
    z-index: 10;
}

.s7-ba-handle-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
}

.s7-ba-handle-icon::before,
.s7-ba-handle-icon::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 8px 6px 0;
    border-color: transparent #2c5d9f transparent transparent;
}

.s7-ba-handle-icon::before {
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #2c5d9f;
}

/* --- Media Queries for SECTION-7 --- */
@media (min-width: 768px) {
    .s7-title {
        font-size: 2.5rem;
    }

    .s7-description {
        font-size: 1.1rem;
    }

    .s7-grid-container {
        gap: 2rem; /* More gap on larger screens */
    }
}

@media (min-width: 1024px) {
    .s7-title {
        font-size: 2.8rem;
    }
}
/* ======== END: NEW GRID STYLES FOR SECTION 7 ======== */

/* ==================================================================== */
/* 9. FAQ / CTA (SECTION-8) */
/* ==================================================================== */
#section-8 {
    background-color: #ffffff;
    padding: 6rem 0;
    position: relative;
    z-index: 20;
    font-family: "Montserrat", sans-serif;
    color: #333;
    text-align: center;
}

.s8-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.s8-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 3rem 0;
    color: #333;
}

/* Reuses .s6-faq-container, .s6-faq-item, etc. styles. */

/* --- Media Queries for SECTION-8 --- */
@media (min-width: 768px) {
    .s8-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .s8-title {
        font-size: 2.8rem;
    }
}

/* ==================================================================== */
/* 10. TRUST & VALUE BAR (SECTION-9) */
/* ==================================================================== */
#section-9 {
    background-image: url("assets/value-bg.webp");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 1.5rem;
    position: relative;
    text-align: center;
    color: white;
    font-family: "Montserrat", sans-serif;
    z-index: 20;
    overflow: hidden;
}

.s9-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 93, 159, 0.75);
    z-index: 1;
}

.s9-container {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
}

.s9-kicker {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.s9-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 3rem 0;
    color: white;
}

.s9-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: Single column stack */
    gap: 3rem;
    margin-bottom: 3rem;
}

.s9-stat-item {
    padding: 0 1rem;
}

.s9-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.s9-stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* REMOVED: .s9-cta-button styles now handled by .btn and .btn-outline */

/* --- Media Queries for SECTION-9 --- */
@media (min-width: 768px) {
    .s9-title {
        font-size: 2.5rem;
    }

    .s9-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Tablet+: 3 columns */
        gap: 2rem;
    }

    .s9-stat-number {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .s9-title {
        font-size: 2.8rem;
    }
}

/* ==================================================================== */
/* 11. FOOTER (MAIN-FOOTER) */
/* ==================================================================== */
#main-footer {
    background-color: white;
    /* Your brand blue */
    color: #333;
    font-family: "Montserrat", sans-serif;
    padding: 3rem 1.5rem 0;
    z-index: 10;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile: single column stack */
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.2rem 0;
    color: #333;
    /* Accent blue for headings */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Branding Column */
#footer-logo {
    width: auto;
    max-width: 180px;
    /* Logo size in footer */
    height: auto;
    object-fit: contain;
    /* Makes the logo white for contrast */
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0;
    opacity: 0.8;
}

/* Navigation Column */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s, color 0.2s;
}

.footer-nav ul li a:hover {
    color: #333;
    opacity: 1;
}

/* Contact Column */
.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0.5rem 0;
    opacity: 0.9;
}

.contact-label {
    font-weight: 600;
    min-width: 60px;
    display: inline-block;
}

.footer-contact a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #333;
}

/* Language Column - Reusing main styles for a cleaner look */
#footer-lang-container {
    position: relative;
    text-align: left;
    /* Ensure the button aligns left on mobile */
}

#footer-lang-toggle {
    /* Replicate header button but ensure white text */
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: #333;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

#footer-lang-toggle:hover {
    border-color: white;
}

/* Reusing lang-list styles for the dropdown, but overriding position */
#footer-lang-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    position: absolute;
    bottom: 120%;
    z-index: 1000;
    right: 0;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 150px;
}

#footer-lang-list li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    /* Key change: Black text inside the dropdown */
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    transition: background-color 0.2s ease-out;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#footer-lang-list li a:hover {
    background-color: #f5f5f5;
}

#footer-lang-list.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    opacity: 0.7;
    gap: 0.5rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #333;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-bottom a:hover {
    opacity: 1;
}

/* --- Media Queries for FOOTER --- */
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1.5fr 2fr 1.5fr;
        /* 4 columns for tablet+ */
    }

    .footer-col {
        text-align: left;
    }

    .footer-branding {
        padding-right: 2rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    #footer-lang-container {
        text-align: right;
        /* Align switcher to the right of its column */
    }

    #footer-lang-list {
        right: 0;
        /* Keep aligned to the right edge */
        left: auto;
    }
}

/* ==================================================================== */
/* 12. MODAL (POPUP) */
/* ==================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}

.modal-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    position: fixed;
    top: 0;
    /* Mobile: full screen */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1001;
    overflow-y: auto;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    pointer-events: none;
}

.modal-container.is-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    font-weight: 300;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.modal-close-btn:hover {
    color: #333;
}

#modal-content-area {
    padding: 5rem 1.5rem 2rem 1.5rem;
    font-family: "Montserrat", sans-serif;
}

#modal-content-area h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    margin: 0 0 1.5rem 0;
}

#modal-content-area img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

/* UPDATED: Modal text styling for new p, ul, strong tags */
#modal-content-area p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

#modal-content-area ul {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

#modal-content-area li {
    margin-bottom: 0.5rem;
}

#modal-content-area strong {
    font-weight: 700;
    color: #333;
}

/* Modal CTA (now uses standardized .btn class) */
#modal-content-area .btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

/* --- Media Queries for MODAL --- */
@media (min-width: 768px) {
    .modal-container {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.95);
        width: 90%;
        max-width: 1200px;
        height: auto;
        max-height: 90vh;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .modal-container.is-visible {
        transform: translate(-50%, -50%) scale(1);
    }

    #modal-content-area {
        padding: 2.5rem 3rem;
    }

    #modal-content-area h2 {
        font-size: 2.2rem;
    }

    #modal-content-area .btn {
        width: auto;
    }
}

/* ==================================================================== */
/* 13. ANIMATIONS (GLOBAL UTILITY) */
/* ==================================================================== */

/* Typing animation */
#animating-word {
    color: #2c5d9f;
    min-width: 1px;
    display: inline-block;
}

#period {
    color: #2c5d9f;
    animation: blink 1s infinite;
    font-weight: 800;
    font-size: 2rem;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* On-load fade-up animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero-subheading,
#hero-heading,
#hero-description,
#hero-cta-button,
#model-img {
    opacity: 0;
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

/* Staggered load animations */
#hero-subheading {
    animation-delay: 0.2s;
}

#hero-heading {
    animation-delay: 0.4s;
}

#model-img {
    animation-delay: 0.4s;
}

#hero-description {
    animation-delay: 0.6s;
}

#hero-cta-button {
    animation-delay: 0.8s;
}

/* Staggered scroll animations (using the .is-visible class) */
.s3-profile-img.is-visible {
    transition-delay: 0.2s;
}

.s3-title.is-visible {
    transition-delay: 0.3s;
}

.s3-quote.is-visible {
    transition-delay: 0.4s;
}

.s3-description.is-visible {
    transition-delay: 0.5s;
}

.s3-container .btn.is-visible {
    transition-delay: 0.6s;
}

.s5-title.is-visible {
    transition-delay: 0.2s;
}

.s5-intro.is-visible {
    transition-delay: 0.3s;
    /* Stagger intro text */
}

.s5-feature-block.animate-on-scroll:nth-child(1).is-visible {
    transition-delay: 0.4s;
}

.s5-feature-block.animate-on-scroll:nth-child(2).is-visible {
    transition-delay: 0.5s;
}

.s5-feature-block.animate-on-scroll:nth-child(3).is-visible {
    transition-delay: 0.6s;
}

.s6-title.is-visible {
    transition-delay: 0.2s;
}

.s6-grid .s6-card.animate-on-scroll:nth-child(1).is-visible {
    transition-delay: 0.3s;
}

.s6-grid .s6-card.animate-on-scroll:nth-child(2).is-visible {
    transition-delay: 0.4s;
}

.s6-grid .s6-card.animate-on-scroll:nth-child(3).is-visible {
    transition-delay: 0.5s;
}

.s6-grid .s6-card.animate-on-scroll:nth-child(4).is-visible {
    transition-delay: 0.6s;
}

.s6-faq-container.is-visible {
    transition-delay: 0.4s;
}

.s6-container .btn.is-visible {
    transition-delay: 0.5s;
}

.s7-text-content.is-visible {
    transition-delay: 0.2s;
}

.s7-carousel-container.is-visible {
    transition-delay: 0.3s;
}

.s8-title.is-visible {
    transition-delay: 0.2s;
}

/* Target the faq container INSIDE section-8 */
#section-8 .s6-faq-container.is-visible {
    transition-delay: 0.3s;
}

.modal-top-section {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.modal-main-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f4f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e6eef9;
}

.modal-main-icon svg {
    width: 28px;
    height: 28px;
    color: #2c5d9f;
}

.modal-top-text {
    flex-grow: 1;
}

.modal-top-text #modal-title {
    margin: 0;
    /* Overrides default h2 margin */
    line-height: 1;
}

.modal-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* --- Main Content (2-Column Grid) --- */
.modal-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    /* Stacks on mobile */
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.modal-grid-container h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

/* "Ideal for you" List */
.modal-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    line-height: 1.5;
}

.modal-list li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #2c5d9f;
}

/* "Quality Promise" Box */
.modal-promise {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1_px solid #eee;
}

.modal-promise p {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.modal-promise .modal-flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    float: right;
    margin-left: 0.5rem;
    border: 1px solid #ddd;
}

/* --- Process Section (Horizontal Steps) --- */
.modal-process-container {
    margin-top: 1rem;
}

.modal-process-container h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.modal-process-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 columns on mobile */
    gap: 1.5rem;
}

.modal-process-step {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.modal-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f4f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.modal-step-icon svg {
    width: 22px;
    height: 22px;
    color: #2c5d9f;
}

.modal-process-step strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.modal-process-step p {
    font-size: 0.9rem;
    color: #555;
    margin: 0.25rem 0 0 0;
    line-height: 1.4;
}

/* --- Responsive Media Queries for Modal --- */

/* Tablet and up */
@media (min-width: 768px) {
    /* Make grid 2 columns */
    .modal-grid-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }

    /* Make process 4 columns */
    .modal-process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}
/* ==================================================================== */
/* 14. SERVICE PAGE TABS (services.html) */
/* ==================================================================== */

/* Style the tab buttons */
#quick-nav.service-tabs a {
    color: #555;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    /* Make the clickable area bigger */
    padding: 0.75rem 0.5rem;
}

/* Style for the ACTIVE tab button */
#quick-nav.service-tabs a.is-active {
    color: #2c5d9f;
    font-weight: 700;
    border-bottom-color: #2c5d9f;
}

/* Tab Content Panels */
.service-tab-content {
    /* This container ensures consistent height during fade */
    position: relative;
    min-height: 50vh; 
}

.service-tab-content .service-detail-section {
    /* Hide all panels by default */
    display: none;
    opacity: 0;
    
    /* Set up the fade transition */
    transition: opacity 0.4s ease-out;

    /* We remove alternating colors and borders
      since they are now "pages" not a list 
    */
    background-color: #ffffff !important; /* Force white BG */
    border-bottom: none;
}

/* The ACTIVE tab panel */
.service-tab-content .service-detail-section.is-active {
    /* Show the active panel */
    display: block;
    opacity: 1;
}
/* ==================================================================== */
/* 15. NEW "LIQUID LENS" SECTION (Homepage) */
/* ==================================================================== */

/* --- Section Container --- */
#section-global-recognition {
    /* UPDATED: Light grey background */
    background-color: #ffffff;
    padding: 6rem 1.5rem;
    position: relative;
    /* UPDATED: Dark text for light background */
    color: #333;
    font-family: 'Inter', sans-serif; /* Use Inter font from your example */
    z-index: 20;
    overflow: hidden;
}

.global-recognition-container {
    max-width: 900px;
    margin: 0 auto;
}

/* * NEW: The Background Wrapper 
 * This has the blue gradient that the lens will blur
*/
.liquid-lens-wrapper {
  position: relative;
  /* The dark slate-blue background from your example */
  background: radial-gradient(circle at center, #7c8ba1 0%, #525f75 100%);
  border-radius: 45px;
  /* The drop shadow is on the wrapper */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden; /* This is important */
}

/* THE LIQUID LENS */
.liquid-lens {
    position: relative; /* Changed from absolute */
    
    /* 1. GRADIENT BACKGROUND (The "bulge") */
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        rgba(255, 255, 255, 0.12) 50%, 
        rgba(255, 255, 255, 0.02) 100%
    );
    
    /* 2. ENHANCED BLUR */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    
    /* 3. BORDER */
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 45px; 

    /* 4. SHADOW (Only the inset shadow remains) */
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
    
    overflow: hidden;
    /* Set min-height for content */
    min-height: 360px;
    padding: 3.5rem;
}

/* THE BOTTOM FLARE */
.liquid-lens::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    filter: blur(15px);
    pointer-events: none;
    z-index: 2;
}

/* TOP SHINE */
.liquid-lens::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.08) 0%, transparent 100%);
    border-radius: 42px 42px 0 0;
    pointer-events: none;
    z-index: 2;
}

/* --- Content Inside the Lens --- */
.lens-slide {
    position: absolute;
    top: 0;
    left: 0; /* Added */
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s ease-in-out;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 3.5rem;
    gap: 2.5rem;
    z-index: 10;
}

.lens-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.lens-slide:not(.is-active) {
    transform: scale(1.02);
    pointer-events: none;
    filter: blur(5px);
}

/* Image container inside slide */
.lens-img-container {
    flex: 0 0 42%;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    /* NO SHADOW or BORDER as requested */
}

.lens-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text content inside slide */
.lens-text-content {
    flex: 1;
    color: white; /* UPDATED: Text is white */
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lens-text-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    color: white; /* UPDATED: Text is white */
}

.lens-text-content p {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
    color: #eee; /* UPDATED: Text is light */
}

/* NAVIGATION DOTS */
.lens-dots-wrapper {
    position: absolute;
    bottom: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.lens-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: 0.4s ease;
    cursor: pointer;
    backdrop-filter: blur(2px);
}
.lens-dot.is-active {
    background: rgba(255,255,255,0.9);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(255,255,255,0.6);
}

/* Mobile Layout for Lens Content */
@media (max-width: 767px) {
    .liquid-lens {
        min-height: 520px;
        padding: 2.5rem 1.5rem;
    }
    .lens-slide {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        text-align: center;
        gap: 1.5rem;
        padding-bottom: 4rem; 
    }
    .lens-img-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
    }
    .lens-text-content h2 {
        font-size: 1.5rem;
    }
}

#section-1-video-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Ensure the video is behind the header */
    margin-top: -15vh; 
    padding-top: 15vh; /* Push content down past sticky header */
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#hero-overlay {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.45); /* Dark overlay for contrast */
    z-index: 5;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom */
}

/* NEW SLOGAN STYLE */
#hero-slogan {
    color: white;
    font-family: "Montserrat", sans-serif;
    text-align: left;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}

#hero-slogan p {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    /* Apply initial fade-in animation */
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Staggered animation for the three lines */
#hero-slogan p:nth-child(1) { animation-delay: 0.2s; }
#hero-slogan p:nth-child(2) { animation-delay: 0.4s; }
#hero-slogan p:nth-child(3) { animation-delay: 0.6s; }


/* NEW CTA Button (Uses .btn-outline from style.css) */
#hero-video-cta {
    /* Override width to be small and left-aligned */
    width: auto;
    margin-bottom: 5rem; /* Space from the bottom edge */
    align-self: flex-start; /* Ensure left alignment */
    /* Apply initial fade-in animation */
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

/* --- Media Queries for NEW Hero --- */
@media (min-width: 1024px) {
    #hero-slogan p {
        font-size: 1.6rem;
    }

    #hero-video-cta {
        /* Reset button padding to match desktop .btn-outline */
        padding: 1rem 3rem;
        font-size: 1.1rem;
        margin-bottom: 8rem;
    }
}
/* Social media icons styling */
        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }
        
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #2c5d9f;
            color: white;
            text-decoration: none;
            font-size: 1.2em;
            transition: background-color 0.3s;
        }
        
        .social-icon:hover {
            background-color: #1a3a6d;
        }