﻿/* Sleek Modern Design for Acme English - Pastel American Flag Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Calibri', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
}

/* Pastel American Flag Color Palette */
:root {
    --pastel-blue: #6EC6FF;
    --pastel-red: #FF8A80;
    --pastel-white: #FFFFFF;
    --dark-blue: #1E3A5F;
    --accent-red: #E57373;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px 0; /* Top and bottom padding = 10px */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: block;
}

.logo img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 28px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

/* SVG icons — mobile drawer only (hidden on desktop) */
.nav-ico {
    display: none;
    flex-shrink: 0;
    line-height: 1;
    background: none;
    box-shadow: none;
    border: none;
}

.nav-ico img,
.nav-ico svg {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.nav-label {
    display: inline;
}

/* Temporarily hide menu items (e.g. Tests) — remove class to show again */
.nav-item-hidden {
    display: none !important;
}

/* Mobile-only drawer header (hidden on desktop) */
.nav-drawer-header {
    display: none !important;
}

.nav-backdrop {
    display: none;
}

/* Login / Sign Up always on the navbar bar */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-menu a:hover {
    color: var(--pastel-blue);
}

/* Special Login & Apply buttons (bar + desktop) */
.nav-actions .login-link,
.nav-menu .login-link {
    color: var(--dark-blue);
    border: 2px solid var(--pastel-blue);
    padding: 8px 18px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-actions .login-link:hover,
.nav-menu .login-link:hover {
    background-color: var(--pastel-blue);
    color: white;
    border-color: var(--pastel-blue);
}

.nav-actions .apply-link,
.nav-menu .apply-link {
    background: linear-gradient(135deg, var(--pastel-red), #ff6b6b);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 138, 128, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-actions .apply-link:hover,
.nav-menu .apply-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 138, 128, 0.5);
}

/* Dropdowns */
.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    border-radius: 10px;
    padding: 8px 0;
    top: 100%;
    left: 0;
    z-index: 1001;
    border: 1px solid #eee;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    color: #444;
}

.dropdown-menu li a:hover {
    background-color: #f0f7ff;
    color: var(--pastel-blue);
}

/* Remove bullets from all dropdown submenus (desktop + mobile) */
.dropdown-menu,
.dropdown-menu ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

/* Submenu Separators (Desktop) */
.dropdown-menu .separator {
    height: 1px;
    background-color: #e0e0e0;
    margin: 6px 15px;
}

/* Normal arrows for dropdowns */
.arrow {
    font-size: 0.75em;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown.open .arrow {
    transform: rotate(180deg);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: transparent;
    position: relative;
    z-index: 1102;
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: rgba(110, 198, 255, 0.15);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--dark-blue);
    border-radius: 2px;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease,
                background-color 0.2s ease;
    transform-origin: center;
}

.hamburger.active span {
    background-color: var(--dark-blue);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
    touch-action: none;
}

/* Hero with Slider (video backgrounds) */
.hero {
    height: 30vh; /* Slightly reduced height */
    min-height: 480px;
    position: relative;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Match gradient bottom / next section (#f8f9fa ≈ near white) */
    background-color: #fafafa;
}

/* Stacked full-bleed videos behind content */
.hero-videos {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-color: #0f2744;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.85s ease-in-out;
    pointer-events: none;
}

.hero-video.active {
    opacity: 1;
    z-index: 1;
}

/* Fixed gradient overlay — never fades with slides */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(rgba(80, 80, 80, 0.1), rgba(250, 250, 250, 1));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    text-align: center;
    color: #222;
    box-sizing: border-box;
    /* Space below h2 center for <p> line (half h2 line + gap + p line) */
    --hero-p-below-center: 2.75rem;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        transition: none;
    }
}

/* Full hero for absolute text + lower stack */
.slider-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    margin: 0;
    z-index: 2;
    pointer-events: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
}

.slide-copy {
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.hero .slide h2,
.hero .slide p {
    color: #555;
    text-shadow: 0 0 0.5px #333;
}

/* Big title: exact vertical center of the hero */
.hero .slide h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(920px, calc(100% - 40px));
    margin: 0;
    padding: 0;
    font-size: 2.15rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.06em;
    font-variant: small-caps;
    -webkit-font-feature-settings: "smcp";
    font-feature-settings: "smcp";
    text-transform: none;
    text-align: center;
    box-sizing: border-box;
}

/* Subtitle directly under the centered title */
.hero .slide p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    /* half of h2 (~1.3rem) + small gap */
    margin: 1.45rem 0 0;
    padding: 0 20px;
    width: min(700px, calc(100% - 40px));
    font-size: 1.15rem;
    line-height: 1.4;
    opacity: 1;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

/*
 * Lower band: from under <p> to bottom of hero.
 * Two equal flex spacers → same gap from <p> to buttons and buttons to dots.
 */
.hero-lower {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + var(--hero-p-below-center));
    bottom: 16px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding: 0 16px;
    pointer-events: none;
}

.hero-vspacer {
    flex: 1 1 0;
    min-height: 8px;
    width: 100%;
    pointer-events: none;
}

.hero-cta-wrap {
    flex: 0 0 auto;
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 16px;
    pointer-events: auto;
}

.hero-cta-wrap .cta-button {
    position: relative;
    z-index: 4;
    display: inline-block;
    margin: 0;
}

/* Secondary CTA next to Sign Up */
.hero-cta-wrap .cta-button-alt {
    background: linear-gradient(135deg, var(--pastel-blue), #4A90D9);
    box-shadow: 0 6px 20px rgba(110, 198, 255, 0.4);
}

.hero-cta-wrap .cta-button-alt:hover {
    box-shadow: 0 10px 30px rgba(110, 198, 255, 0.5);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: 3;
    flex: 0 0 auto;
    margin: 0;
    pointer-events: auto;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: rgba(34, 34, 34, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background-color: #222;
    border: 2px solid #222;
    transform: scale(1.15);
}

@media (max-width: 560px) {
    .hero .slide h2 {
        font-size: 1.75rem;
    }
    .hero .slide p {
        font-size: 1.02rem;
        margin-top: 1.25rem;
    }
    .hero-content {
        --hero-p-below-center: 2.45rem;
    }
    .hero-cta-wrap .cta-button {
        padding: 13px 22px !important;
        font-size: 0.98rem;
    }
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 50px;
    color: var(--dark-blue);
    position: relative;
    margin-bottom: 40px;
}

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--pastel-blue), var(--pastel-red));
    margin: 18px auto;
    border-radius: 2px;
}

.section-subtitle {
    margin-bottom: 40px !important;
    padding: 0 20% !important;
    text-align: center;
}

.columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.column {
    background: white;
    padding: 38px 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border-top: 5px solid var(--pastel-blue);
}

.column:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.column h3 {
    font-size: 1.55rem;
    margin-bottom: 18px;
    color: var(--dark-blue);
}

.column p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--pastel-blue), #4A90D9);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(110, 198, 255, 0.3);
}

/* Bigger Apply Now button on billboard */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--pastel-red), #ff6b6b);
    color: white !important;
    padding: 16px 42px !important;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 138, 128, 0.4);
    transition: all 0.3s ease;
    z-index: 3;
    position: inherit;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 138, 128, 0.5);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(110, 198, 255, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--pastel-blue);
    padding: 11px 28px;
    text-decoration: none;
    border: 2px solid var(--pastel-blue);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--pastel-blue);
    color: white;
}

/* Footer — three equal columns: Contact | Legal | Quick Links */
.footer {
    background-color: var(--dark-blue);
    color: #e0e7f0;
    padding: 65px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px 40px;
    box-sizing: border-box;
}

.footer-col {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
}

/* Uniform column headers */
.footer-col > h4 {
    color: var(--pastel-blue);
    margin: 0 0 20px;
    padding: 0;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
    font-family: inherit;
}

.footer .contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: #c5d4e8;
}

.footer .contact-item a,
.footer .footer-col a {
    color: #c5d4e8;
    text-decoration: none;
    transition: color 0.25s ease;
    font-size: 1rem;
    line-height: 1.5;
}

.footer .contact-item a:hover,
.footer .footer-col a:hover {
    color: #ffffff;
}

.footer .footer-legal ul,
.footer .quick-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .footer-legal li,
.footer .quick-links li {
    margin: 0 0 12px;
    padding: 0;
}

.footer .footer-legal li:last-child,
.footer .quick-links li:last-child {
    margin-bottom: 0;
}

.icon {
    font-family: Webdings, 'Segoe UI Symbol', sans-serif;
    font-size: 1.35rem;
    width: 28px;
    color: var(--pastel-blue);
}

.footer-icon {
    width: 16px;
    height: 16px;
    margin-top: 5px;
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.95rem;
    color: #a8b8d0;
}

/* Tablet / phone: stack columns, center all content */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col > h4 {
        text-align: center;
        width: 100%;
    }

    .footer .contact-info {
        align-items: center;
        width: 100%;
    }

    /* Icons above each contact line */
    .footer .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .footer .footer-icon {
        margin-top: 0;
        margin-bottom: 0;
        width: 20px;
        height: 20px;
    }

    .footer .footer-legal ul,
    .footer .quick-links ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer .footer-legal li,
    .footer .quick-links li {
        text-align: center;
        width: 100%;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* ========== Mobile navigation (sleek drawer) ========== */
@media (max-width: 992px) {
    .navbar {
        padding: 8px 0;
    }

    .nav-container {
        gap: 8px;
    }

    .logo img {
        height: 44px;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    /* Login / Sign Up stay on the bar (compact, like desktop style) */
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        flex-shrink: 0;
    }

    .nav-actions .login-link {
        padding: 6px 12px !important;
        font-size: 0.88rem;
        border-width: 1.5px;
    }

    .nav-actions .apply-link {
        padding: 7px 14px !important;
        font-size: 0.88rem;
        box-shadow: 0 3px 10px rgba(255, 138, 128, 0.35);
    }

    .nav-actions .apply-link:hover {
        transform: none;
    }

    /* Frosted backdrop */
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(15, 39, 68, 0.45);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.32s ease, visibility 0.32s ease;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Right-side drawer panel */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: min(88vw, 360px);
        height: 100%;
        height: 100dvh;
        margin: 0;
        padding: 0 0 calc(28px + env(safe-area-inset-bottom, 0px));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        list-style: none;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1100;
        background:
            linear-gradient(165deg, #f0f7ff 0%, #ffffff 38%, #fafbfd 100%);
        box-shadow: -18px 0 48px rgba(30, 58, 95, 0.18);
        border-left: 1px solid rgba(168, 213, 255, 0.45);
        transform: translate3d(104%, 0, 0);
        transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
        overscroll-behavior: contain;
    }

    .nav-menu.active {
        transform: translate3d(0, 0, 0);
    }

    /* White drawer header with main logo */
    .nav-drawer-header {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: 14px 18px;
        margin: 0 0 10px;
        background: #ffffff;
        color: inherit;
        border-bottom: 1px solid #e8eef5;
        position: sticky;
        top: 0;
        z-index: 2;
        box-shadow: 0 4px 16px rgba(30, 58, 95, 0.06);
    }

    .nav-drawer-logo {
        display: flex !important;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        width: auto !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .nav-drawer-logo:hover,
    .nav-drawer-logo:active {
        background: transparent !important;
        transform: none !important;
    }

    .nav-drawer-logo img {
        height: 42px;
        width: auto;
        display: block;
    }

    .nav-menu > li {
        width: 100%;
        text-align: left;
        padding: 0 14px;
    }

    .nav-menu > li.nav-drawer-header {
        padding: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    /* Primary + nested links — flex row, vertical centering, consistent icon gutter */
    .nav-menu a {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        width: 100%;
        padding: 13px 14px !important;
        margin: 2px 0;
        font-size: 1.05rem;
        font-weight: 500;
        color: #1e3a5f;
        border-radius: 14px;
        text-align: left;
        line-height: 1.3;
        transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a:focus-visible {
        background: rgba(110, 198, 255, 0.18);
        color: var(--dark-blue);
        outline: none;
    }

    .nav-menu > li > a:active {
        transform: scale(0.985);
    }

    /* SVG icons — fixed column so labels line up; no chip background */
    .nav-ico {
        display: inline-flex;
        flex: 0 0 28px;
        align-items: center;
        justify-content: center;
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        height: 28px;
        margin: 0;
        padding: 0;
        border-radius: 0;
        font-size: inherit;
        background: none !important;
        box-shadow: none !important;
        border: none !important;
        line-height: 0;
        vertical-align: middle;
    }

    .nav-ico img,
    .nav-ico svg {
        width: 24px;
        height: 24px;
        display: block;
        margin: 0;
        object-fit: contain;
        flex-shrink: 0;
    }

    .nav-label {
        flex: 1 1 auto;
        min-width: 0;
        line-height: 1.3;
        display: flex;
        align-items: center;
    }

    .nav-menu .arrow {
        margin-left: auto;
        margin-right: 2px;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(30, 58, 95, 0.06);
        font-size: 0.7rem;
        color: #5a6f88;
        transition: transform 0.3s ease, background 0.2s ease;
    }

    .dropdown.open > a .arrow {
        transform: rotate(180deg);
        background: rgba(110, 198, 255, 0.35);
        color: var(--dark-blue);
    }

    .dropdown.open > a.dropdown-toggle {
        background: rgba(110, 198, 255, 0.16);
        font-weight: 600;
    }

    /* Accordion submenus */
    .dropdown .dropdown-menu {
        position: static !important;
        display: block !important;
        max-height: 0;
        overflow: hidden;
        box-shadow: none !important;
        border: none !important;
        border-radius: 14px;
        margin: 0 0 4px 0;
        padding: 0 !important;
        min-width: 0;
        width: 100%;
        background: transparent;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.3s ease,
                    background 0.25s ease;
    }

    .dropdown.open .dropdown-menu {
        max-height: 520px;
        padding: 4px 0 8px !important;
        background: rgba(255, 255, 255, 0.65);
        box-shadow: inset 0 0 0 1px rgba(168, 213, 255, 0.35) !important;
    }

    .dropdown-menu li {
        display: block;
        width: 100%;
    }

    /* Submenu: same icon column + gap as top-level so text aligns under parent labels */
    .dropdown-menu li a {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        padding: 11px 12px 11px 28px !important; /* indent under parent, then icon + gap + text */
        font-size: 0.95rem;
        font-weight: 500;
        color: #3d5166;
        gap: 14px; /* match top-level space between SVG and text */
        border-radius: 12px;
        margin: 1px 6px;
        width: auto;
        line-height: 1.3;
        box-sizing: border-box;
    }

    .dropdown-menu li a:hover,
    .dropdown-menu li a:focus-visible {
        background: #f0f7ff;
        color: var(--dark-blue);
    }

    .dropdown-menu .nav-ico {
        display: inline-flex !important;
        flex: 0 0 28px;
        align-items: center;
        justify-content: center;
        width: 28px;
        min-width: 28px;
        max-width: 28px;
        height: 28px;
        background: none !important;
        box-shadow: none !important;
        border: none !important;
        line-height: 0;
    }

    .dropdown-menu .nav-ico img,
    .dropdown-menu .nav-ico svg {
        width: 22px;
        height: 22px;
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }

    .dropdown-menu .nav-label {
        display: flex;
        align-items: center;
        line-height: 1.3;
    }

    .dropdown-menu .separator {
        display: block;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d5e6f5 20%, #d5e6f5 80%, transparent);
        margin: 8px 20px;
    }

    .nav-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .columns {
        grid-template-columns: 1fr;
    }
}