/* ==========================================================
   Vancoop Homepage — Responsive Styles (No Footer)
   ========================================================== */


/* ==========================================================
   1️⃣ HEADER RESPONSIVENESS
   ========================================================== */

/* ---------- Tablets & Small Desktops (≤992px) ---------- */
@media (max-width: 992px) {

    .site-header {
        position: relative;
        background: linear-gradient(180deg, #07185f 0%, #020b3a 100%);
        padding: 0.75rem 0;
        border-bottom: none;
        z-index: 1000;
    }

    /* Header row */
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1.25rem;
        min-height: 64px;
        position: relative;
        /* for dropdown positioning */
        z-index: 1001;
    }

    /* Logo scaling */
    .header-logo {
        width: 150px;
        transition: width 0.3s ease;
    }

    /* Hamburger icon */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        z-index: 1002;
    }

    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background: #fff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Hamburger active (X) state */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    /* Hide CTA button */
    .header-cta {
        display: none;
    }

    /* Dropdown menu */
    .main-nav {
        position: absolute;
        top: 100%;
        /* directly below header bar */
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #07185f 0%, #020b3a 100%);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        z-index: 1000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .main-nav a {
        color: #fff;
        font-size: 1.05rem;
        font-weight: 600;
    }

    .hero {
        position: relative;
        z-index: 1;
    }
}

/* ---------- Small Phones (≤576px) ---------- */
@media (max-width: 576px) {
    .nav-container {
        padding: 0 1rem;
        min-height: 60px;
    }

    .header-logo {
        width: 130px;
    }

    .menu-toggle {
        width: 26px;
        height: 18px;
    }

    .main-nav {
        padding: 1.5rem 0;
    }

    .main-nav a {
        font-size: 1rem;
    }
}



/* ==========================================================
   2️⃣ HERO SECTION RESPONSIVENESS
   ========================================================== */

/* ----------  Small Desktops (≤1440px) ---------- */
@media (max-width: 3440px) {

    .hero-grid {
        gap: 2rem;
        height: auto;
        padding-top: 0;
    }



    .hero-copy p {
        font-size: 1.45rem;
    }

    .hero-media img {
        height: 580px;
    }
}

@media (max-width: 2440px) {

    .hero-grid {
        gap: 2rem;
        height: auto;
        padding-top: 7vh;
    }

    .hero-copy p {
        font-size: 1.45rem;
    }

    .hero-media img {
        height: 840px;

    }
}

@media (max-width: 1640px) {

    .hero-grid {
        gap: 2rem;
        height: auto;
        padding-top: 7vh;
    }



    .hero-copy p {
        font-size: 1.25rem;
    }

    .hero-media img {
        height: 750px;

    }
}

@media (max-width: 1440px) {

    .hero-grid {
        gap: 2rem;
        height: auto;
    }



    .hero-copy p {
        font-size: 0.9rem;
    }

    .hero-media img {
        height: 650px;

        /* --- IGNORE --- */
    }
}


@media (max-width: 1200px) {

    .hero-grid {
        gap: 2rem;
        height: auto;
    }

    .hero-copy {
        max-width: 47rem;
    }

    .hero-copy p {
        font-size: 0.85rem;
    }

    .hero-media img {
        height: 600px;
    }
}

/* ---------- Tablets (≤992px) ---------- */
@media (max-width: 992px) {

    .hero {
        padding: 6rem 0 4rem;
        height: auto;
        text-align: center;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "copy"
            "image";
        row-gap: 2rem;
        justify-items: center;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    /* Center and resize title properly */
    .hero-title {
        font-size: 6rem;
        text-align: center;
        margin: 0 auto;
        letter-spacing: 0.12em;
        line-height: 1.1;
    }

    /* Center the animated letters if using #vancoop-hero-title */
    #vancoop-hero-title {
        justify-content: center;
    }

    /* Reset desktop right alignment on hero-copy */
    .hero-copy {
        text-align: center;
        justify-self: center;
        align-self: center;
        margin: 0 auto;
        max-width: 85%;
    }

    .hero-copy p {
        text-align: center;
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
    }

    /* Make image centered and smaller for tablets */
    .hero-media {
        justify-self: center;
        align-self: center;
    }

    .hero-media img {
        height: 370px;
        border-radius: 16px;
        object-fit: cover;
        object-position: center;
    }
}

/* ---------- Large Phones / Small Tablets (≤768px) ---------- */
@media (max-width: 768px) {

    .hero {
        padding: 4.5rem 0 3rem;
    }



    #vancoop-hero-title {
        font-size: 4.5rem;
        justify-content: center;
    }


    .hero-copy p {
        font-size: 1rem;
    }

    .hero-media img {
        height: 500px;
    }


}

/* ---------- Mobile (≤576px) ---------- */
@media (max-width: 576px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .hero {
        padding: 0;
    }

    #vancoop-hero-title {
        font-size: 3.25rem;
        justify-content: center;
    }

    .hero-copy {
        max-width: 95%;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }



    .hero-media img {
        height: 540px;
    }

}


/* ==========================================================
   3️⃣ BRANDS SECTION — Full Styles + Responsiveness
   ========================================================== */

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

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

.section-header {
    margin: 0;
    padding: 0;
    text-align: left;
}

.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;
}

/* ---------- Brand 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;
    cursor: pointer;
    transition: flex 0.1s ease-in, box-shadow 0.3s ease, transform 0.3s ease;
}

.brand-card:hover {
    box-shadow: var(--shadow-md2);
    transform: translateY(-2px);
}

/* ---------- Expanded / Active State ---------- */
.brand-card.active {
    flex: 3;
    border-radius: 5px;
}

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

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

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

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

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

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

/* ---------- Card 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;
    font-size: 1.25rem;
    color: var(--text-900);
    font-weight: 700;
}

.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;
}

/* ---------- Card Media ---------- */
.card-media {
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
    align-self: center;
    margin-top: 40px;
}

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

/* ---------- Arrow Link ---------- */
.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);
}

/* ==========================================================
   Mobile Intro Text (Visible only when layout stacks)
   ========================================================== */
.brands .mobile-intro {
    display: none;
    max-width: 700px;
    margin: 1rem auto 0;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-700);
}

/* ==========================================================
   Mobile Brand Summary (inside each card)
   ========================================================== */
.mobile-brand-summary {
    display: none;
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-700);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */

/* ---------- Large Tablets / Small Desktops (≤1200px) ---------- */
@media (max-width: 1200px) {
    .brands {
        padding: 2rem 0 4rem;
    }

    .section-header h1 {
        font-size: 4rem;
    }

    .section-header p {
        font-size: 1.1rem;
        margin: 0 auto;
    }

    .brand-grid {
        gap: 2rem;
    }

    .brand-card {
        width: 100%;
        height: auto;
        height: 450px;
    }

    .card-inner {
        padding: 1.5rem;
    }

    .card-media img {
        height: 320px;
        border-radius: 12px;
    }

    .card-inner-expands p {
        font-size: .8rem;
    }
}

/* ---------- Tablets (≤992px) ---------- */
@media (max-width: 992px) {

    .brands {
        padding: 2.5rem 0 4rem;
    }

    .section-header {
        text-align: center;
    }

    .section-header h1 {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }

    .section-header p {
        text-align: center;
        font-size: 1.1rem;
        color: var(--text-700);
        max-width: 85%;
        margin: 0 auto;
    }

    /* Show mobile intro paragraph */
    .brands .mobile-intro {
        display: block;
    }

    /* Stack cards vertically */
    .brand-grid {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        margin-top: 2rem;
    }

    /* Disable expand/click behavior */
    .brand-card {
        width: 90%;
        height: auto;
        pointer-events: none;
        transition: none !important;
    }

    .card-media img {
        max-width: none;
    }

    .brand-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }

    .brand-card.active,
    .brand-card.expanded {
        flex: unset;
    }

    .brand-card .card-inner {
        grid-template-columns: 100% !important;
    }

    .card-inner {
        padding: 1.5rem;
    }

    .card-inner h3 {
        font-size: 1.25rem;
    }

    .card-inner p {
        font-size: 0.95rem;
    }

    .card-media img {
        height: 280px;
        border-radius: 12px;
    }

    /* Show mobile summaries, hide expanded */
    .mobile-brand-summary {
        display: block;

    }

    .mobile-brand-summary p {
        display: flex;
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .card-inner-expands {
        display: none !important;
    }
}

/* ---------- Large Phones / Small Tablets (≤768px) ---------- */
@media (max-width: 768px) {

    .brands {
        padding: 2rem 0 3.5rem;
    }

    .section-header h1 {
        font-size: 2.4rem;
    }

    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .brand-grid {
        gap: 2rem;
        margin-top: 2rem;
    }

    .brand-card {
        width: 95%;
        pointer-events: none;
    }

    .card-inner {
        padding: 1.2rem;
    }

    .card-inner h3 {
        font-size: 1.2rem;
    }

    .card-inner p {
        font-size: 0.9rem;
    }

    .card-media img {
        height: 240px;
        border-radius: 10px;
    }
}

/* ---------- Mobile Phones (≤576px) ---------- */
@media (max-width: 576px) {

    .brands {
        padding: 1.5rem 0 2.5rem;
    }

    .section-header h1 {
        font-size: 2rem;
        letter-spacing: 0.1rem;
        text-align: center;
    }

    .section-header p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
    }

    .brand-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.75rem;
    }

    .brand-card {
        width: 95%;
        height: auto;
        border-radius: 10px;
    }

    .card-inner {
        padding: 1rem;
    }

    .card-inner h3 {
        font-size: 1.1rem;
    }

    .card-inner p {
        font-size: 0.9rem;
    }

    .card-media img {
        height: 200px;
        border-radius: 8px;
    }

    .arrow-link {
        font-size: 0.85rem;
    }
}

/* ==========================================================
   5️⃣ LARGE TABLETS / SMALL DESKTOPS (≤1200px)
   ========================================================== */
@media (max-width: 1200px) {
    .van-company {
        padding: 3rem 2rem;
    }

    .van-section {
        gap: 2rem;
    }

    .van-images img {
        max-width: 460px;
    }

    .van-text h2 {
        font-size: 1.8rem;
    }

    .van-text p {
        font-size: 0.95rem;
    }

    .van-tilt {
        width: 460px;
    }
}

/* ==========================================================
   6️⃣ TABLETS (≤992px)
   ========================================================== */

@media (max-width: 992px) {

    /* Stack layout vertically */
    .van-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 2rem;
    }

    /* Hide all section images for cleaner layout */
    .van-company img,
    .img-top,
    .img-tilt,
    .van-tilt {
        display: none !important;
    }

    /* Adjust container padding */
    .van-company {
        padding: 3rem 1.5rem;
        padding-top: 20%;
        margin-top: 2rem;
    }

    /* Text block formatting */
    .van-text {
        max-width: 90%;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin: 0 auto;

    }

    .van-text h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
        color: var(--blue-950);
    }

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

/* ==========================================================
   SMALL PHONES (≤576 px)
   ========================================================== */
@media (max-width: 576px) {
    .van-company {
        padding: 2rem 1rem;
    }

    .van-text h2 {
        font-size: 1.5rem;
    }

    .van-text p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* ==========================================================
   7️⃣ LARGE PHONES / SMALL TABLETS (≤768px)
   ========================================================== */
@media (max-width: 768px) {
    .van-company {
        padding: 2.5rem 1rem;
    }

    .van-section {
        gap: 2rem;
    }

    .van-text h2 {
        font-size: 1.6rem;
    }

    .van-text p {
        font-size: 0.95rem;
    }

    .van-images img {
        max-width: 360px;
        border-radius: 12px;
    }
}

/* ==========================================================
   8️⃣ MOBILE PHONES (≤576px)
   ========================================================== */
@media (max-width: 576px) {
    .van-company {
        padding: 2rem 1rem;
    }

    .van-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .van-text {
        max-width: 95%;
        text-align: center;
    }

    .van-text h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .van-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .van-images img {
        width: 100%;
        max-width: 300px;
        border-radius: 10px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

    .van-tilt {
        display: none !important;
    }
}


/* ==========================================================
   VANCOOP MOTORS  
   ========================================================== */

/* Desktop defaults remain unchanged */

/* ---------- Large Tablets (≤1200px) ---------- */
@media (max-width: 1200px) {
    .car-bento h5 {
        font-size: 1.15rem;
    }

    .box3-text h1,
    .box4-text h1 {
        font-size: 1.2rem;
    }

    .box3-text p,
    .box4-text p {
        font-size: 0.95rem;
    }
}

/* ---------- Tablets (≤992px) ---------- */
@media (max-width: 992px) {
    .car-bento h5 {
        font-size: 1.05rem;
    }

    .box3-text h1,
    .box4-text h1 {
        font-size: 1.1rem;
    }

    .box3-text p,
    .box4-text p {
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

/* ---------- Large Phones (≤768px) ---------- */
@media (max-width: 768px) {
    .car-bento h5 {
        font-size: 1rem;
        line-height: 1.3;
    }

    .box3-text h1,
    .box4-text h1 {
        font-size: 1rem;
    }

    .box3-text p,
    .box4-text p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

/* ---------- Small Phones (≤576px) ---------- */
@media (max-width: 576px) {
    .car-bento h5 {
        font-size: 0.95rem;
    }

    .box3-text h1,
    .box4-text h1 {
        font-size: 0.9rem;
    }

    .box3-text p,
    .box4-text p {
        font-size: 0.7rem;
        line-height: 1.45;
    }
}

/* ==========================================================
   VANCOOP HYDRATION — TEXT SIZE OPTIMIZATION
   ========================================================== */

/* ---------- Large Tablets (≤1200px) ---------- */
@media (max-width: 1200px) {
    .water-bento h2 {
        font-size: 1.4rem;
    }

    .water-box1 p,
    .water-box2 p {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}

/* ---------- Tablets (≤992px) ---------- */
@media (max-width: 992px) {
    .water-bento h2 {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    .water-box1 p,
    .water-box2 p {
        font-size: 0.9rem;
        line-height: 1.55;
    }
}

/* ---------- Large Phones (≤768px) ---------- */
@media (max-width: 768px) {
    .water-bento h2 {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .water-box1 p {
        font-size: 0.675rem;
        line-height: 1.5;
    }

    .water-box2 p {
        font-size: 0.575rem;
        line-height: 1.5;
    }


    .water-box1,
    .water-box2 {
        text-align: center;
    }

    .water-box1-text,
    .water-box2-text {
        align-items: center;
    }
}

/* ---------- Small Phones (≤576px) ---------- */
@media (max-width: 576px) {
    .water-bento h2 {
        font-size: 1rem;
        line-height: 1.25;
    }

    .water-box1 p {
        font-size: 0.6rem;
        line-height: 1.5;
    }

    .water-box2 p {
        font-size: 0.5rem;
        line-height: 1.5;
    }
}


/* ==========================================================================
 ABOUT US PAGE  
 Organized by breakpoint: 1200px → 1060px → 768px → 576px
 ========================================================================== */


/* --------------------------------------------------------------------------
   ≤ 1200px — Slight spacing and size adjustments
-------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .about-section {
        padding: 3.5rem 1.5rem;
    }

    .about-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .dropdown-card {
        gap: 1.5rem;
    }

    .objectives-card h3 {
        font-size: 1.6rem;
    }

    .objectives-card p {
        font-size: 0.95rem;
    }

    .team h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    .team-cards {
        justify-content: center;
    }

    .card {
        width: 360px;
        height: auto;
    }
}


/* --------------------------------------------------------------------------
   ≤ 1060px — Switch dropdown from vertical to horizontal layout
-------------------------------------------------------------------------- */
@media (max-width: 1060px) {
    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .vertical-dropdown {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        gap: 0.5rem;
    }

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

    .dropdown-header {
        writing-mode: horizontal-tb;
        transform: none;
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        text-align: center;
        border: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px;
        background: #fff;
        transition: all 0.3s ease;
    }

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

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

    .dropdown-icon {
        width: 20px;
        height: 20px;
        margin: 0 0.5rem 0 0;
        transform: rotate(0deg);
    }

    /* Content below the tabs */
    .dropdown-card {
        margin-top: 2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-bottom: 1.5rem;
        flex-shrink: 1;
    }

    .about-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }

    .objectives-card {
        text-align: center;
    }

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

    .objectives-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .about-content {
        padding: 0;
    }

    .about-section {
        padding: 2rem 1rem;
    }
}



/* --------------------------------------------------------------------------
   ≤ 768px — Tablet and large mobile adjustments
-------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1rem;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-title {
        font-size: 2rem;
    }

    .dropdown-card {
        padding: 1.5rem;
        height: fit-content;
        max-height: none;
    }

    .about-section::before {
        display: none !important;
    }

    .objectives-card {

        height: fit-content;
        max-height: none;
    }

    .objectives-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }

    .objectives-card p {
        font-size: 0.9rem;
        margin-top: 0;
    }

    .team {
        padding: 2rem 1rem;
    }

    .team h2 {
        font-size: 2rem;
        text-align: center;
    }

    .team-cards {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .card {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .about-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-bottom: 1.5rem;
        flex-shrink: 1;
    }

    .about-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
}


/* --------------------------------------------------------------------------
   ≤ 576px — Small mobile optimization
-------------------------------------------------------------------------- */
@media (max-width: 576px) {
    .about-section {
        padding: 1.5rem 1rem;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .about-section::before {
        display: none !important;
    }

    .dropdown-header {
        font-size: 0.95rem;
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        padding: 0.75rem 1rem;
    }

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

    .dropdown-card {
        padding: 1.25rem;
    }

    .objectives-card h3 {
        font-size: 1.25rem;
    }

    .objectives-card p {
        font-size: 0.9rem;
    }

    .team h2 {
        font-size: 1.75rem;
    }

    .card {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .form-group label {
        display: flex;
        text-align: flex-start;
    }
}