/* ==========================================================================
   Base / tokens
   ========================================================================== */
:root {
    --blue-950: #020b3a;
    --black-900: #000000;
    --blue-900: #07185f;
    --blue-800: #0d2783;
    --neutral-white: #F8FAFF;
    --faded-white: whitesmoke;
    --accent: #4f7dff;
    --accent-strong: #345ef5;
    --accent-yellow: #f1da52;
    --white: #fff;
    --text-900: #141530;
    --text-black: #000;
    --text-700: #2f365f;
    --text-500: #5a628c;
    --neutral-200: #A5AEC0;
    --neutral-600: #434A56;
    --radius-lg: 28px;
    --shadow-md: 0 4px 40px rgba(15, 35, 95, .12);
    --shadow-md2: 0 18px 40px rgba(15, 35, 95, .12);
    font: 600 1rem/1.2 "Manrope", system-ui, sans-serif;
}



* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-900);
    background: #f3f5ff;
    overflow-x: hidden;
}

p {
    line-height: 1.6;
    font-weight: 400;
    color: var(--neutral-600);

}



img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1640px, 90vw);
    margin: 0 auto
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    z-index: 999;
}

.skip-link:focus {
    left: 1rem;
    transform: translateY(1rem);
}

/* Small utility for tiny caps line */
.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ===========================
   Hover Animated Gradient Border
   =========================== */
.gradient-border {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
    /* keep the glow inside the element */
    transition: box-shadow 0.4s ease;
}

/* invisible until hover */
.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 4px;
    /* thickness of the glowing border */
    border-radius: inherit;
    background: linear-gradient(60deg,
            #ffffff,
            #00c6ff,
            #9909f9,
            #00c6ff,
            #ffffff);
    background-size: 200% 200%;
    animation: moveBorder 2s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;

    /* make only the stroke visible */
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* when hovering over the element */
.gradient-border:hover::before {
    opacity: 1;
}

.gradient-border:hover {
    box-shadow: 0 0 20px rgba(79, 125, 255, 0.35);
}

/* gradient animation motion */
@keyframes moveBorder {
    0% {
        background-position: 0% 50%;
    }

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

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

/* ==========================================================================
   Header (minimal styles to match the mock's top bar)
   ========================================================================== */
.logo {
    display: block;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.25s ease-out;
    cursor: pointer;
}

/* ==========================================================
   SITE HEADER — Desktop + Mobile (with Hamburger Menu)
   ========================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    padding: 1rem 0;
    background: linear-gradient(180deg,
            rgba(5, 12, 44, 0.85) 0%,
            rgba(5, 12, 44, 0) 100%);
    backdrop-filter: saturate(120%) blur(6px);
    border-bottom: rgb(219, 219, 219) 0.5px solid;
}

/* Logo */
.header-logo {
    height: auto;
    width: 200px;
    display: block;
    transition: transform 0.25s ease-out;
}

/* Header container */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 10px;
}

/* Brand */
.brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

/* Nav links */
.main-nav ul {
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    position: relative;
    padding: 0.25rem 0.1rem;
    transition: color 0.3s ease;
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 2px;
    background: #fff;
}

/* FAQ Nav (on FAQ page only) */
.faq-nav a.is-active::after,
.faq-nav a:hover::after {
    height: 4px;
    background: #053B9E;
}

/* Call-to-action button */
.header-cta {
    color: #0b1a58;
    background: #fff;
    border-radius: 5px;
    padding: 0.55rem 1.1rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font: 600 1rem/1.2 "Manrope", system-ui, sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
}

.header-cta:hover {
    background: #f1da52;
    color: #053B9E;
}



/* ==========================================================================
   HERO (two-row grid: row 1 = title + copy, row 2 = full-bleed image)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    z-index: 1;
    padding: clamp(6.5rem, 13vw, 8.5rem) 0 3.5rem;
    padding-top: 96px;
    color: #fff;
    background: radial-gradient(1000px 600px at 8% 8%,
            rgba(79, 125, 255, 0.35) 0%,
            rgba(79, 125, 255, 0) 70%),
        linear-gradient(135deg,
            var(--blue-950) 0%,
            var(--blue-800) 60%,
            var(--accent-strong) 100%);
    overflow: hidden;
}

.hero::after {
    /* Soft glow bottom-right */
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    right: -160px;
    bottom: -160px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

/* HERO grid: enforce two clean columns */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    /* 👈 top row fills space, bottom fits image */
    grid-template-areas:
        "title copy"
        "image image";
    align-items: center;
    gap: 2rem;
    height: 80vh;
    padding-top: 7vh;
}

/* Title column */
.hero-title {
    grid-area: title;
    margin: 0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: clamp(3rem, 8vw, 6rem);
    /* limit growth */
    line-height: 1.1;
    max-width: 95%;
    /* prevent overflow */
    word-break: break-word;
    white-space: nowrap;
    /* ensure wrapping if needed */
}

/* Copy column */

#vancoop-hero-title {
    display: flex;
    justify-content: center;
    gap: 0.25em;
    perspective: 800px;
}

#vancoop-hero-title .letter {
    display: inline-block;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transform-origin: center;
    transition: transform 0.2s ease;
    user-select: none;
    will-change: transform;
}

.hero-copy {
    grid-area: copy;
    max-width: 45rem;
    /* keeps it readable */
    justify-self: end;
    /* pushes it to the right grid edge */
    text-align: left;
    /* aligns the text itself to the right */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}


.hero-copy p {
    margin: 0 0 0 1.25rem;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    color: var(--faded-white)
}

.wht-hglgt {
    color: #fff;
}

/* Hero action buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}



/* Buttons used in hero */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 999px; */
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 16px 30px rgba(79, 125, 255, .28);
}

.btn.primary:hover {
    background: var(--accent-strong);
}

.btn.ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Image row (spans width, rounded corners, subtle shadow) */
.hero-media {
    grid-area: image;
    margin: 0;
}

.hero-media img {
    width: 100%;
    height: 659px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 30px 60px rgba(3, 13, 60, 0.35);
}

/* ==========================================================================
   BRANDS SECTION
   ========================================================================== */
.brands {
    padding: 1rem 0 4.5rem 0rem;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
}

#brands-overview {
    position: relative;
    z-index: 2;
    /* slides over hero */
    background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);

}

.section-header {
    margin: 0;
    padding: 0;
}

.section-header h1 {
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-900);
    margin-bottom: 0;
    letter-spacing: 0.2rem;

}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-700);
    margin-top: 0.5rem;
    letter-spacing: 0.05rem;
}


/* Grid layout */
.brand-grid {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
}

/* Base card */
.brand-card {
    position: relative;
    border-radius: 0 0 10px 10px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(28, 63, 160, 0.1);
    border-bottom: 1px solid rgba(28, 63, 160, 0.123);
    display: flex;
    flex-direction: column;
    width: 615px;
    height: 450px;
    flex: 0.5;
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: flex 0.1s ease-in !important;
}

.brand-card:hover {
    box-shadow: var(--shadow-md2);
    transform: translateY(-2px);
    transition: box-shadow 0.2s ease, transform 0.3s ease;
}

/* Panel styles */

.brand-card.active {
    flex: 3;
}

.brand-card.active .brand-bar {
    height: 0;
}

.brand-card.active {
    border-radius: 5px;
}

.brand-card.expanded .card-inner {
    grid-template-columns: 50% 50%;
}


/* Executive color bar */
.brand-card .brand-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
}

.brand-card .bar-red {
    background: #b71c1c;
}

/* Vans */
.brand-card .bar-ink {
    background: #1f2530;
}

/* Cars */
.brand-card .bar-blue {
    background: #0d47a1;
}

/* Water */

/* Inner layout */
.card-inner {
    padding: 1.6rem;
    display: grid;
    grid-template-columns: 100%;
    gap: 0.9rem;
    transition: grid-template-columns 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.card-inner-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
}


.card-inner-expands {
    margin-top: 64px;
}


.card-inner-expands h4 {
    margin-top: 0rem;
}



.card-inner h3 {
    margin: 0 0 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.card-inner p {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--text-black);
    line-height: 1.5;
    letter-spacing: 0.5px;
    word-spacing: 1px;
    font: Public Sans, sans-serif;
}

.card-media {
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    align-self: center;
    margin-top: 40px;
    align-items: flex-start;
    background-color: transparent;
    border: none;
}

.card-media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    max-width: 460px;
}



/* Links */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.3s ease, transform 0.3s ease;
}

.arrow-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.arrow-link:hover,
.arrow-link:focus-visible {
    color: var(--accent-strong);
}

.arrow-link:hover::after,
.arrow-link:focus-visible::after {
    transform: translateX(4px);
}

/* ==========================================================================
ABOUT US PAGE
========================================================================== */


/* --------------------------------------------------------------------------
   SECTION: About Section (Container)
-------------------------------------------------------------------------- */
.about-section {
    padding: 4rem 2rem;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    font: 600 1rem/1.2 "Manrope", system-ui, sans-serif;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 266px;
    height: 135px;
    margin-top: 2rem;
    background: url('../public/Ornament 80.svg') no-repeat center/contain;
}

.about-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
    text-align: left;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    box-sizing: border-box;
}


/* --------------------------------------------------------------------------
   SECTION: Vertical Dropdown Tabs (Mission / Vision / Journey)
-------------------------------------------------------------------------- */
.vertical-dropdown {
    display: flex;
    flex-direction: row;
    gap: 0;
    height: 400px;
    width: 320px;
}

.dropdown-item {
    flex: 1;
    display: flex;
}

.dropdown-header {
    width: 100%;
    height: 100%;
    padding: 16px;
    border: none;
    border-left: 1px solid #e0e0e0;
    background: #fff;
    color: var(--black-900);
    font-size: 1em;
    font-weight: 600;
    text-align: start;
    display: flex;
    align-items: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.dropdown-item:hover .dropdown-header {
    border-bottom-color: #b5d6f8;
    color: #053B9E;
    background-color: #e0efff;
}

.dropdown-item.active .dropdown-header {
    border-bottom-color: #0052a3;
    color: #053B9E;
    background-color: #b5d6f8;
}

.dropdown-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 2rem;
    opacity: 0.85;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0) contrast(100%);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.dropdown-title {
    white-space: nowrap;
}


/* --------------------------------------------------------------------------
   SECTION: Blue Objectives Card (Tab Content Area)
-------------------------------------------------------------------------- */
.dropdown-card {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    flex: 1 1 600px;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    margin: 0 auto;
    overflow: hidden;
}

.about-image {
    display: flex;
    width: 300px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.objectives-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.objectives-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.objectives-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}


/* --------------------------------------------------------------------------
   SECTION: Team Section
-------------------------------------------------------------------------- */
.team {
    padding: 3rem 2rem;
    width: min(1440px, 90vw);
    margin: 0 auto;
}

.team h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
    margin-left: 0;
    color: #07185f;
}

.team-cards {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem;
}

.card {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 420px;
    height: 340px;
    max-width: 100%;
    border: 2px solid #A3C0F5;
    transition: all 0.3s ease;
}

.card:hover {
    border: transparent 2px solid;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card h3 {
    margin-top: 0.5rem;
    font-size: 1.4rem;
    color: var(--blue-950);
}

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

.card img {
    width: 100%;
    border-radius: 10px;
}

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

.social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   SECTION: Animations
-------------------------------------------------------------------------- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

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

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


/* ==========================================================================
 CONTACT US PAGE
 ========================================================================== */


/* --------------------------------------------------------------------------
   SECTION: Hero Contact
-------------------------------------------------------------------------- */
.hero-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hero-content {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-content p {
    text-align: center;
    font-size: 40px;
    color: var(--neutral-white);
}

.hero-images {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin: 0 20px;
}

/* --------------------------------------------------------------------------
   SECTION: Contact Form
-------------------------------------------------------------------------- */
.hero-form {
    width: 750px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-form h1 {
    text-align: center;
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c5aa0, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-form p {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   SECTION: Form Fields
-------------------------------------------------------------------------- */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --------------------------------------------------------------------------
   SECTION: Submit Button
-------------------------------------------------------------------------- */
.submit-btn {
    width: 100%;
    background-color: #053B9E;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(44, 90, 160, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 90, 160, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}


/* --------------------------------------------------------------------------
   SECTION: Map Section
-------------------------------------------------------------------------- */
.map-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    margin: 2rem 2rem;
}

.map-container {
    text-align: center;
}

.map-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* ===== Utilities ===== */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

/* ==========================================
   Horizontal Brand Section
   ========================================== */
#hor-scroll-brands {
    display: flex;
    overflow: hidden;
}

#hor-scroll-brands .horizontal-content {
    height: 100vh;
    width: 100vw;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 700;
    color: #fff;
}





#hor-scroll-brands .horizontal-content {
    height: calc(100vh - 64px);
    /* account for tab height */
    /* visually push content below the bar */
    /* box-sizing: border-box; */
}

/* =======================
   Horizontal Tabs Final Behavior
   ======================= */
.hor-tabs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.hor-tabs.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Tab buttons */
.hor-tab {
    flex: 1 1 33.333%;
    height: 100%;
    border: none;
    background: transparent;
    color: #000;
    font: 600 1rem/1.2 "Manrope", system-ui, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Active states — each tab color handled in JS */
.hor-tab.is-active {
    color: #fff;
}

/* Optional: make hover subtle (visible only after section active) */
.hor-tabs.visible .hor-tab:hover:not(.is-active) {
    opacity: 0.8;
}

/* =======================
   Horizontal Scroll Sections
   ======================= */
#hor-scroll-brands .horizontal-content {
    flex-shrink: 0;
    width: 100vw;
    height: 100vh;
    /* to clear tab bar */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background-color 0.4s ease;
}

/* Fallback section backgrounds */
#hor-scroll-brands .horizontal-content.van {
    background: #CFDFFC;
}

#hor-scroll-brands .horizontal-content.car {
    background: #3a3f52;
}

#hor-scroll-brands .horizontal-content.water {
    background: #CFDFFC;
}

.horizontal-content {
    display: flex;
    align-items: center;
    justify-content: center;

}

/* ===========================
   VAN COMPANY DESIGN
=========================== */
.van-company {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    align-self: center;
    width: min(100%, 1640px);
    height: 100%;
    padding: 0 30px;

    /* padding: 0 5% 0 5%; */
    margin-top: 64px;
}

.van-company img {
    max-width: 550px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}


.van-section {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;

    position: relative;
    transition: transform 0.4s ease-out;
    will-change: transform;
}

.who-we-are {}


.img-top {
    height: 350px;
}

.img-tilt {
    width: 534px;
    height: 360px;
    transform: rotate(-8deg);
}




.van-text {
    flex: 1 1 420px;
    color: var(--text-900);
    max-width: 646px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 0;
}

.van-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-950);


}

.van-text p {
    font-size: .875rem;
    font-weight: 400;
    color: var(--text-700);
}

.magnet-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    perspective: 600px;
}

.magnet-wrap img {
    transition: transform 0.4s ease-out;
    will-change: transform;
}

.magnet-wrap:hover img {
    transform: scale(1.04);
}

.vt-top {
    text-align: left;
    padding-right: 2rem;
    max-height: 136px;

}

.vt-top h2 {
    margin-top: -9px;
}

.vt-bottom {
    align-self: flex-end;
    text-align: left;
    padding-left: 2rem;
    margin-bottom: -10px;
}

.vt-bottom h2 {
    text-align: right;
}


/* Mirror layout for second section */
.van-images.left {
    order: 1;
}

.van-text:nth-of-type(2) {
    order: 2;
}

/* Tilted center image */
.van-tilt {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    z-index: 5;
    width: 534px;
    transition: 0.4s ease;
}

.van-tilt:hover {
    transform: translate(-50%, -50%) rotate(-8deg) scale(1.01);
}

.van-tilt img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px rgba(15, 35, 95, 0.25);
}

/* ===========================
   FIT SCREEN SCALING WRAPPER
=========================== */

.fit-screen {
    transform-origin: center center;
    transition: transform 0.4s ease;

    height: 100%;
    width: min(100%, 1640px);
    margin-left: -16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}



/* ============================
   Car Section Bento Layout
   ============================ */


.car-bento {
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1.4fr 1.2fr;
    grid-template-rows: repeat(2, 350px);
    gap: 1.25rem;
    width: min(94%, 1640px);
    height: max(100%, 830px);
    padding-top: 80px;
    align-self: center;
    margin: 0 auto;
    grid-template-areas:
        "box1 box2 box3"
        "box4 box4 box3";
    max-height: 830px;

}

.bento-box {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;

}

.bento-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* Assign areas */
.box1 {
    grid-area: box1;
    background-color: #2f3444;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}



.car-box1-img {
    display: block;
    height: 100%;
    object-fit: cover;
}

.box2 {
    grid-area: box2;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 25px 25px 25px;
}

.box2 h5 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black-900);
    margin-bottom: 1.5rem;


}


.car-box2-img {
    height: 260px;
    width: 433px;
    border-radius: 5px;
    object-fit: cover;
    position: center left;
}

.box3 {
    grid-area: box3;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
    gap: 16px;
    border-radius: 16px;
    height: 100%;
    /* Keeps consistent height with other boxes */
    overflow: hidden;
}

/* Image container */
.box3-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

/* Two equal images */
.car-box3-1-img,
.car-box3-2-img {
    flex: 1;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
    overflow: hidden;
}

/* Text container */
.box3-text {
    flex: 0 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    color: #000;
    /* padding: 0 10px 15px 10px; */
}

.box3-text h1 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

.box3-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 100;
    color: #000000;
}

.box4 {
    grid-area: box4;
    background-color: #25282D;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* remove extra padding */
    border-radius: 16px;
    overflow: hidden;
    /* keeps rounded corners clean */
}

/* Inner layout: split equally */
.box4-inner {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 20px;

}

/* Left side: Image */
.box4-inner>div:first-child {
    flex: 1 1 50%;
    height: 100%;
}

.box4-inner>div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /* clean edges that match container */
    display: block;
    border-radius: 5px;
}

/* Right side: Text */
.box4-inner>div:last-child {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    color: #fff;
    padding-left: 20px;

}

/* Title styling */
.car-box4-h5 {
    font-weight: 700;
    font-size: 1.5rem;
    /* margin-bottom: 1rem; */
    color: #fff;
    margin-top: -5px;
}

/* Paragraph styling */
.box4-inner p {
    font-size: .85rem;
    font-weight: 100;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}



/* ============================
   Water Company Bento Layout (Updated)
   ============================ */
.water-bento {
    display: grid;
    gap: 1.5rem;
    width: min(100vw, 1640px);
    margin: 0 auto;
    align-self: center;
    /* New layout */
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 320px 300px;
    grid-template-areas:
        "water-box1 water-box1"
        "water-box2 water-box3";

    padding: 0 5% 0 5%;
    position: relative;
}



.water-box {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;

    position: relative;
    overflow: visible;
}

.water-ripples {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    /* above the boxes' content */
}

/* Ripple visuals (same style as before, but appended to overlay) */
.water-ripples .ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(79, 125, 255, 0.25);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 1.2s ease-out forwards;
    will-change: transform, opacity;
}

.water-box .ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(79, 125, 255, 0.25);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 1.2s ease-out forwards;
    pointer-events: none;
    cursor: pointer;
    will-change: transform, opacity;
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }

    70% {
        transform: scale(15);
        opacity: 0.4;
    }

    100% {
        transform: scale(25);
        opacity: 0;
    }
}

.water-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* Assign areas */
.water-box1 {
    grid-area: water-box1;
    background: #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.water-box1 h2 {
    color: black;
    margin-top: 0;
}

.water-box1 p {
    font-size: .85rem;
    font-weight: 100;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.85);
    margin: 0;
}

.water-box1-text {
    flex: 1 1 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    /* padding-right: 20px; */
}

.water-box1-image {
    flex: 1 1 60%;
    height: 100%;
    padding-left: 24px;
}

.water-box1-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    object-position: center top;
    /* clean edges that match container */
    display: block;
    border-radius: 5px;
}

.water-box2 {
    grid-area: water-box2;
    background: #05307F;
    display: flex;
    flex-direction: row;
    padding: 24px;
}

.water-box2 h2 {
    color: rgb(255, 255, 255);
    margin-top: 0;
}

.water-box2 p {
    font-size: .85rem;
    font-weight: 100;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.water-box2-text {
    flex: 1 1 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    padding-left: 20px;
}

.water-box2-image {
    flex: 1 1 50%;
    height: 100%;
}

.water-box2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /* clean edges that match container */
    display: block;
    border-radius: 5px;
}




.water-box3 {
    grid-area: water-box3;
    background: rgba(79, 125, 255, 0.25);
}

.water-box3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /* clean edges that match container */
    display: block;
    border-radius: 15px;
}




/* ===== FAQ PAGE STYLES ===== */
.faq-hero {
    position: relative;
    width: 100vw;
    height: 340px;
    /* width: min(100vw, 1440px); */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 128px;
    padding: 0 5% 0 5%;
    max-height: 280px;
    /* border: rgb(182, 22, 11) solid 10px; */
}

.faq-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    align-items: center;
    max-width: 1440px;
    border-radius: 20px;

}

.faq-hero h1 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.faq-section {
    max-width: 850px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.faq-section details {
    border-bottom: 1px solid #E3E7F1;
    padding: 1rem 0;
}

.faq-section summary {
    font-weight: 600;
    font-size: 1.1rem;
    color: #111;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-section summary::after {
    content: "+";
    font-size: 1.5rem;
    color: #345ef5;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: "×";
    transform: rotate(180deg);
}

details p {
    margin-top: 0.8rem;
    font-size: 0.97rem;
    line-height: 1.6;
    color: #444;
    max-width: 750px;
}



/* legal-document */
.legal-hero {
    position: relative;
    width: 100vw;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 128px;
    padding: 0 5% 0 5%;
    max-height: 280px;
}

.legal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    align-items: center;
    max-width: 1440px;
    border-radius: 20px;
}


.legal-hero h1 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}


/* Main Content Section */
.legal-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content Area */
.legal-content-area {
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;

}



.legal-document h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    /* margin-bottom: 24px; */
    line-height: 1.3;
}

.legal-document p {
    color: #434A56;
    line-height: 1.7;
    font-size: 0.9375rem;
    margin-bottom: 20px;
}





/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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