/* Navigation Bar */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    background-color: rgba(41, 83, 52, 0.95) !important;
    /* #295334 at 95% for solid look */
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 100px;
    z-index: 1000;
    padding: 0.75rem 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1) sepia(1) hue-rotate(30deg) saturate(20%) brightness(1.2);
    /* Tint slightly cream */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-warm);
    letter-spacing: 0.02em;
    font-size: 1.1rem;
    position: relative;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

/* Base line under hover */
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-accent-3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s var(--ease-spring);
}

.nav-link:hover {
    color: var(--color-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Special Retreats Link */
.nav-link-retreats {
    color: var(--color-accent-3);
    /* Gold/Yellow */
    font-weight: 700;
}

.nav-link-retreats:hover {
    color: var(--color-accent-4);
}

.nav-link-retreats::after {
    display: none;
    /* No underline for this special link */
}


/* Nav Dropdown Desktop & Base */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(41, 83, 52, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 20px;
    padding: 1rem 0;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
    pointer-events: none;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-link {
    padding: 0.75rem 1.5rem;
    color: var(--color-warm);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.dropdown-link:hover {
    color: var(--color-base);
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-link.active {
    color: var(--color-accent-3);
}

.nav-dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger small {
    font-size: 0.95em;
    text-transform: lowercase;
    transition: color 0.3s;
}

.dropdown-icon {
    margin-left: 6px;
    width: 10px;
    height: 6px;
    opacity: 0.8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.dropdown-menu {
    will-change: opacity, transform;
}

.nav-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}


/* Mobile Dropdown Adjustments */
@media (max-width: 992px) {
    .nav-dropdown {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        max-width: none;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        padding: 0;
        margin: 0;
        box-shadow: none;
        background-color: transparent !important;
        backdrop-filter: none !important;
        overflow: hidden;
        transition: all 0.4s ease;
        pointer-events: none;
        transform: translateY(-10px);
    }

    .nav-dropdown.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 0.5rem 0;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links .dropdown-link {
        font-size: 1.4rem;
        padding: 0.75rem 0;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--color-warm);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0px;
}

.mobile-menu-btn span:nth-child(2) {
    top: 11px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 22px;
}

.mobile-menu-btn.open span:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-btn.open span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Offerings Accordion */
.offerings-section {
    padding: 5rem 0;
    background-color: #F9F4E3;
}

.offerings-accordion {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offering-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pill-shaped buttons with drop shadow */
.offering-pill {
    background-color: #FFD141;
    border: 2px solid #3A5A40;
    border-radius: 50px;
    padding: 0.55rem 2.25rem;
    width: 220px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: #3A5A40;
    /* Drop shadow as per spec */
    box-shadow: 0 6px 16px rgba(58, 90, 64, 0.18), 0 2px 4px rgba(58, 90, 64, 0.10);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    letter-spacing: 0.03em;
}

.offering-pill:hover,
.offering-item.active .offering-pill {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(58, 90, 64, 0.22), 0 4px 8px rgba(58, 90, 64, 0.12);
    background-color: #FFD141;
}

/* Fluid / butter-smooth accordion expand */
.offering-content {
    max-height: 0;
    overflow: hidden;
    /* Transition: Height, Opacity, and Margin with cubic-bezier */
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        margin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    width: 100%;
    margin-bottom: 0;
}

.offering-item.active .offering-content {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 1rem;
}

.offering-content-inner {
    padding: 2rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon size: 32x32px as per spec */
.offering-icon {
    width: auto;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1.1rem;
}

/* New: 24px icons inside Hero Nav Pills */
.theme-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Space between 24px icon and text */
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.theme-btn-outline img {
    height: 24px;
    /* Icon height constraint */
    width: auto;
    flex-shrink: 0;
    /* Prevents icon from shrinking on narrow screens */
}

/* Program name: Merriweather, Bold, 24px, centered */
.offering-content h3 {
    color: #3A5A40;
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-align: center;
}

/* Tagline: sans-serif, all-caps, high tracking */
.offering-subtitle {
    color: #3A5A40;
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
}

/* Description: serif, elegant */
.offering-desc {
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: 1rem;
    max-width: 600px;
    opacity: 1;
    line-height: 1.6;
}

/* Dashed connector: 66px fixed height */
.offering-connector {
    height: 66px;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashed-line {
    width: 1px;
    height: 100%;
    border-left: 1px dashed rgba(58, 90, 64, 0.45);
}

/* ─── Learn More wrapper — consistent 100px above / 60px below ─────────── */
.lm-cta-wrapper {
    margin-top: 100px;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Fixed 100px gap from Reach pill to Learn More in both open/closed states */
.offerings-learn-more {
    margin-top: 100px;
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════
   EVENTS MANAGEMENT STRUCTURE (CMS READY)
   ═══════════════════════════════════════════════════════ */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    /* Centers all child cards horizontally */
    width: 100%;
}

/* Event Card Landscape */
.event-card-landscape {
    background-color: #534631;
    /* Brown background as requested */
    border-radius: 24px;
    padding: 4rem;
    color: var(--color-base);
    box-shadow: 0 20px 40px rgba(83, 70, 49, 0.2);
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1050px;
    /* Constrain width for perfect visual centering */
    margin: 0 auto;
    /* Explicitly center the card */
    box-sizing: border-box;
}

.event-card-landscape::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 221, 105, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.event-card-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align instead of center */
    text-align: left;
}

.event-card-right {
    display: flex;
    flex-direction: column;
}

/* Event Top Icon */
.event-icon-wrapper {
    margin-bottom: 1.5rem;
}

.event-top-icon {
    width: 50px;
    height: 50px;
    display: block;
    object-fit: contain;
}

.event-card-tag {
    display: inline-block;
    background-color: rgba(255, 221, 105, 0.15);
    color: #FFDD69;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.event-card-title {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-base);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-align: left;
}

.event-card-title::after {
    display: none;
}

.event-card-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: rgba(239, 238, 231, 0.8);
    margin-bottom: 2.5rem;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-family: 'Merriweather', serif;
    font-size: 16px;
    line-height: 1.5;
    color: #FFDD69;
    text-align: left;
}

.meta-icon {
    flex-shrink: 0;
    display: inline-flex;
    margin-top: 2px;
}

.event-desc p {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(239, 238, 231, 0.9);
    margin-bottom: 1.5rem;
    text-align: left;
}

.event-desc p:last-child {
    margin-bottom: 2.5rem;
}

.lm-event {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #534631;
    background-color: #FFDD69;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 16px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    align-self: flex-start;
}

.lm-event:hover {
    background-color: #f5cb42;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 221, 105, 0.3);
}

.lm-event .lm-icon {
    display: inline-flex;
    transition: transform 0.3s;
}

.lm-event:hover .lm-icon {
    transform: translate(3px, -3px);
}

@media (max-width: 992px) {
    .event-card-landscape {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem;
    }

    .event-meta {
        padding-bottom: 2.5rem;
        border-bottom: 1px solid rgba(239, 238, 231, 0.15);
    }
}

@media (max-width: 768px) {
    .event-card-landscape {
        padding: 2.5rem var(--mobile-gutter);
        border-radius: 20px; /* slightly tighter on mobile */
    }

    .event-card-title {
        font-size: 26px;
    }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
app-footer {
    display: block;
    background-color: var(--color-dark);
}

.footer {
    background-color: var(--color-dark);
    color: var(--color-base);
    padding: 4rem 0 0;
    margin-top: auto;
    margin-bottom: 0 !important;
}




/* Suppress global heading rules inside footer */
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6 {
    font-size: inherit;
    line-height: inherit;
    margin-bottom: 0;
    text-align: left;
    letter-spacing: inherit;
}

.footer h4::after,
.footer h3::after,
.footer h2::after,
.footer h1::after {
    display: none;
}

/* Suppress global paragraph centering inside footer */
.footer p {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.02em;
    text-align: left;
    color: rgba(239, 238, 231, 0.75);
    margin-bottom: 0;
}

/* ── Footer top grid: 3 unequal cols ── */
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

/* ── Col 1 Brand ── */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    align-self: flex-start;
}

.footer-brand-desc {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.02em;
    color: rgba(239, 238, 231, 0.75);
    max-width: 320px;
}

/* Reference links (NEP + SDGs) in accent colour */
.footer-ref-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.footer-ref-links li a {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.28px;
    color: #FFDD69;
    text-decoration: none;
    transition: opacity 0.25s;
}

.footer-ref-links li a:hover {
    opacity: 0.75;
}

/* ── Col 2 Explore ── */
.footer-heading {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0.02em;
    color: var(--color-base);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-contact .footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-nav ul li a {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.28px;
    color: #FFDD69;
    text-decoration: none;
    transition: opacity 0.25s;
}

.footer-nav ul li a:hover {
    opacity: 0.75;
}

/* ── Col 3 Contact ── */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Contact heading uses same margin-bottom as base .footer-heading — no override needed */
.footer-contact .footer-heading {
    margin-bottom: 1.5rem;
}

/* Space between contact-list and button, button and socials */
.footer-contact-list {
    margin-bottom: 1.25rem;
}

.footer-btn-message {
    margin-bottom: 1.25rem;
}

.footer-contact-list li a {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.02em;
    color: rgba(239, 238, 231, 0.85);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-contact-list li a:hover {
    color: var(--color-accent-3);
}

/* Send a message — yellow pill button */
.footer-btn-message {
    display: inline-block;
    background-color: var(--color-accent-3);
    color: var(--color-dark) !important;
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: 0.02em;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.25s, transform 0.25s;
    align-self: flex-start;
}

.footer-btn-message:hover {
    background-color: #e5b935;
    transform: translateY(-2px);
}

/* Social icons row */
.footer-socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(239, 238, 231, 0.3);
    color: rgba(239, 238, 231, 0.85);
    text-decoration: none;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
    flex-shrink: 0;
}

.footer-social-icon:hover {
    background-color: var(--color-accent-3);
    border-color: var(--color-accent-3);
    color: #453E33;
}

/* ── Footer bottom bar ── */
.footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(239, 238, 231, 0.12);
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}


.footer-partner-credit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-partner-logo {
    max-height: 20px;
    width: auto;
    opacity: 0.9;
}


.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a,
.footer-bottom-copy {
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.02em;
    color: rgba(239, 238, 231, 0.55);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-bottom-links a:hover {
    color: var(--color-accent-3);
}


@media (max-width: 992px) {
    .navbar {
        top: 1rem;
        /* Padding-top handles safe area top, others handle gutters */
        width: calc(100% - (var(--mobile-gutter) * 2));
        padding: 0.75rem 1.25rem;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        /* Safe Area awareness for the pill */
        margin-top: var(--safe-area-top);
    }

    .container {
        padding: 0;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: auto;
        /* Push to the right */
    }

    .nav-links {
        position: fixed;
        display: flex;
        top: calc(85px + var(--safe-area-top));
        right: var(--mobile-gutter);
        width: calc(100% - (var(--mobile-gutter) * 2));
        max-width: 320px;
        height: auto;
        max-height: calc(100vh - 120px - var(--safe-area-top) - var(--safe-area-bottom));
        overflow-y: auto;
        border-radius: 24px;
        /* Replicate Desktop Glass Effect with more premium blur */
        background-color: rgba(41, 83, 52, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 1.5rem;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        z-index: 999;

        visibility: hidden;
        opacity: 0;
        transform: translateY(-15px) scale(0.98);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }

    .nav-links.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav-links .nav-link {
        color: var(--color-warm);
        font-size: 1.15rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        /* slight separation */
        display: block;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-links .nav-link:last-child {
        border-bottom: none;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links .nav-link:hover {
        color: var(--color-accent-3);
    }

    .nav-link::after {
        display: none;
    }
}

/* ── Footer Desktop Refinements ── */
@media (min-width: 992px) {

    /* 1. Alignment: Standardize margin-bottom for unified start height */
    .footer-nav .footer-heading,
    .footer-contact .footer-heading {
        margin-bottom: 2rem !important;
        /* Increased for modern, cleaner look */
    }

    /* 2. Alignment & Breathing Room: Sync line-heights to ensure pixel-perfect horizontal alignment 
       of the first items in adjacent columns (Mission & Values vs Email) */
    .footer-nav ul li a,
    .footer-contact-list li,
    .footer-contact-list li a {
        line-height: 28px !important;
        /* Increased for breathing room and consistent alignment */
    }

    /* 3. Link Spacing: Increase vertical gap for a more premium, modern design system */
    .footer-nav ul,
    .footer-contact-list {
        gap: 0.85rem !important;
    }
}

/* ── Footer mobile ── */
@media (max-width: 768px) {
    .footer {
        /* Adhere to the app-like gutter on mobile */
        padding: 0 var(--mobile-gutter);
        margin-bottom: 0 !important;
    }


    .footer-brand {
        padding-top: 40px;
    }

    .footer-heading {
        margin-bottom: 50px !important;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-bottom-left {
        width: 100%;
    }

    .footer-bottom-links {
        gap: 1rem;
    }
}