/* ==========================================================================
   Zebra Foundation — "Reviews" wall + CTA footer
   Layout inspired by an editorial testimonial wall / CTA footer pattern,
   rebuilt with the site's own palette (premium.css variables).
   ========================================================================== */

/* ---------- Reviews ---------- */
.zf-reviews {
    background: #FBFCFE;
    padding: 120px 0;
    overflow: hidden;
}

.zf-reviews__head {
    max-width: 46rem;
    margin: 0 auto 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.zf-reviews__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--z-ink, #14263F);
}

.zf-reviews__title::after { display: none; }

.zf-reviews__lead {
    margin: 0;
    max-width: 40rem;
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(20, 38, 63, 0.64);
}

.zf-reviews__wall {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 72rem;
    max-height: 720px;
    margin: 0 auto;
    padding: 0 16px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}

.zf-reviews__col {
    width: 100%;
    max-width: 24rem;
}

.zf-reviews__col--md { display: none; }

.zf-reviews__track {
    display: flex;
    flex-direction: column;
    animation: zf-reviews-up var(--zf-speed, 14s) linear infinite;
    will-change: transform;
}

.zf-reviews__wall:hover .zf-reviews__track { animation-play-state: paused; }

.zf-reviews__group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
}

@keyframes zf-reviews-up {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

.zf-review {
    flex-shrink: 0;
    margin: 0;
    padding: 32px;
    background: #fff;
    border: 1px solid rgba(11, 36, 71, 0.10);
    border-radius: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
}

.zf-review__stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
    color: var(--z-teal, #51BE78);
    font-size: 0.8rem;
}

.zf-review__stars .is-off { color: rgba(11, 36, 71, 0.15); }

.zf-review__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(20, 38, 63, 0.75);
}

.zf-review__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.zf-review__avatar {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(81, 190, 120, 0.14);
    color: var(--z-teal-deep, #2E8B50);
    font-size: 0.75rem;
    font-weight: 700;
}

.zf-review__avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.zf-review__name {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--z-ink, #14263F);
}

.zf-review__role {
    font-size: 0.875rem;
    color: rgba(20, 38, 63, 0.55);
}

@media (min-width: 768px) {
    .zf-reviews__col--md { display: block; }
}

@media (max-width: 767px) {
    .zf-reviews { padding: 88px 0; }
    .zf-review { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .zf-reviews__track { animation: none; }
    .zf-reviews__wall { max-height: none; -webkit-mask-image: none; mask-image: none; }
    .zf-reviews__group[aria-hidden="true"] { display: none; }
}

/* ---------- CTA footer ---------- */
footer.zf-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
    border-radius: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 0 0;
    background: #0D0D0D;
    color: #fff;
}

footer.zf-footer::before { display: none; }

/* Footer photo that stays still while the page scrolls (works on phones too).
   The photo is position:fixed and clipped to the footer with clip-path,
   because iOS ignores background-attachment:fixed. Layers: photo < dark fade < grid. */
.zf-footer__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    clip-path: inset(0 round clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px) 0 0);
}

.zf-footer__photo {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('assets/images/footer-campus-selfie.jpg') center 35% / cover no-repeat;
    pointer-events: none;
}

.zf-footer__bg::before {
    /* dark fade, moves with the footer so the links stay readable */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.82) 62%, #0D0D0D 78%);
}

.zf-footer__bg::after {
    /* grid-of-squares texture */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(75% 65% at 50% 25%, #000 0%, transparent 80%);
            mask-image: radial-gradient(75% 65% at 50% 25%, #000 0%, transparent 80%);
}

.zf-cta__title,
.zf-cta__text,
.zf-cta__stats strong,
.zf-cta__stats span {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.zf-footer__wrap {
    width: min(100% - 40px, 1272px);
    margin: 0 auto;
    padding: clamp(72px, 10vw, 136px) 0 0;
}

/* CTA */
.zf-cta {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.zf-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    padding: 8px 16px 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.zf-cta__dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #51BE78;
}

.zf-cta__dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid #51BE78;
    animation: zf-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes zf-ping {
    0%   { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.8); opacity: 0; }
}

.zf-cta__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4.4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: #fff;
    text-wrap: balance;
}

.zf-cta__title::after { display: none; }

.zf-cta__title span {
    background: linear-gradient(100deg, #8FE0AB 0%, #51BE78 45%, #C6F0D3 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

.zf-cta__text {
    max-width: 600px;
    margin: clamp(18px, 2vw, 24px) auto 0;
    font-size: clamp(1rem, 1.4vw, 1.175rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    text-wrap: pretty;
}

.zf-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(28px, 4vw, 40px);
}

.zf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s var(--z-ease, ease);
}

.zf-btn i { font-size: 0.85em; transition: transform .3s var(--z-ease, ease); }
.zf-btn:hover { transform: translateY(-2px); }
.zf-btn:hover i { transform: translateX(3px); }
.zf-btn:active { transform: translateY(0); }
.zf-btn:focus-visible { outline: 3px solid rgba(143, 224, 171, 0.6); outline-offset: 3px; }

.zf-btn--accent {
    background: var(--z-teal, #51BE78);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(81, 190, 120, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.zf-btn--accent:hover { background: #5CCB85; color: #fff; box-shadow: 0 16px 36px -12px rgba(81, 190, 120, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); }

.zf-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
}
.zf-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--z-navy, #0B2447); }

.zf-cta__stats {
    display: flex;
    justify-content: center;
    margin: clamp(40px, 6vw, 64px) auto 0;
    padding: 0;
    list-style: none;
}

.zf-cta__stats li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 clamp(20px, 4vw, 44px);
}

.zf-cta__stats li + li { border-left: 1px solid rgba(255, 255, 255, 0.14); }

.zf-cta__stats strong {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}

.zf-cta__stats span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer panel */
.zf-panel {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.6fr;
    gap: 40px;
    margin-top: clamp(64px, 9vw, 112px);
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(6, 24, 48, 0.50);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
            backdrop-filter: blur(14px) saturate(120%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px -20px rgba(0, 0, 0, 0.5);
}

.zf-panel__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.zf-panel__logo img {
    width: 44px;
    height: 44px;
    padding: 4px;
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
}

.zf-panel__brand p,
.zf-panel__news p {
    margin: 16px 0 0;
    max-width: 320px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

.zf-social { display: flex; gap: 10px; margin-top: 24px; }

.zf-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.zf-social a:hover {
    background: var(--z-teal, #51BE78);
    border-color: var(--z-teal, #51BE78);
    color: #fff;
    transform: translateY(-2px);
}

.zf-panel__heading {
    margin: 0 0 18px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.zf-panel__heading::after { display: none; }

.zf-panel__col ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zf-panel__col a {
    position: relative;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color .2s ease;
}

.zf-panel__col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: #8FE0AB;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--z-ease, ease);
}

.zf-panel__col a:hover { color: #fff; }
.zf-panel__col a:hover::after { transform: scaleX(1); }

.zf-panel__news p { margin-top: 0; }

footer.zf-footer .newsletter-form {
    display: flex;
    flex-direction: row;          /* override legacy g.css column layout */
    align-items: center;
    width: 100%;
    max-width: 440px;
    gap: 6px;
    margin: 18px 0 0;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    transition: border-color .2s ease, box-shadow .2s ease;
}

footer.zf-footer .newsletter-form:focus-within {
    border-color: rgba(143, 224, 171, 0.7);
    box-shadow: 0 0 0 4px rgba(143, 224, 171, 0.12);
}

footer.zf-footer .newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 0.9375rem;
    box-shadow: none;
}

footer.zf-footer .newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
footer.zf-footer .newsletter-form input:focus { outline: none; }

footer.zf-footer .newsletter-form button {
    flex-shrink: 0;
    width: auto;
    height: 44px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--z-teal, #51BE78);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease;
}

footer.zf-footer .newsletter-form button:hover { background: #5CCB85; }

footer.zf-footer .newsletter-msg { padding-left: 16px; }

footer.zf-footer .newsletter-form button i { margin-left: 8px; font-size: 0.8em; }

/* Phones: stacked field + full-width button instead of a cramped pill */
@media (max-width: 479px) {
    footer.zf-footer .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        max-width: none;
        gap: 10px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    footer.zf-footer .newsletter-form:focus-within { box-shadow: none; }

    footer.zf-footer .newsletter-form input {
        flex: none;               /* flex:1 would collapse height in column mode */
        width: 100%;
        height: 50px;
        padding: 0 18px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06);
        font-size: 16px;          /* prevents iOS zoom on focus */
        transition: border-color .2s ease, box-shadow .2s ease;
    }

    footer.zf-footer .newsletter-form input:focus {
        border-color: rgba(143, 224, 171, 0.7);
        box-shadow: 0 0 0 4px rgba(143, 224, 171, 0.12);
    }

    footer.zf-footer .newsletter-form button {
        width: 100%;
        height: 50px;
        margin: 0;
        padding: 0 20px;
        border-radius: 14px;
        font-size: 1rem;
    }

    footer.zf-footer .newsletter-msg { padding-left: 0; text-align: left; }
}

/* Bottom bar */
.zf-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding: 28px 0 32px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
}

.zf-bottom p { margin: 0; }

.zf-bottom a { color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: color .2s ease; }
.zf-bottom a:hover { color: #8FE0AB; }

.zf-bottom__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zf-bottom__contact li { display: inline-flex; align-items: center; gap: 8px; }
.zf-bottom__contact i { color: #8FE0AB; font-size: 0.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .zf-panel { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .zf-panel__brand p, .zf-panel__news p { max-width: none; }
}

@media (max-width: 767px) {
    .zf-footer__wrap { width: min(100% - 32px, 1272px); }
    .zf-cta__actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-left: auto; margin-right: auto; }
    .zf-btn { width: 100%; }
    .zf-cta__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
    .zf-cta__stats li { padding: 0 8px; }
    .zf-cta__stats span { font-size: 0.75rem; line-height: 1.35; }
    .zf-panel { grid-template-columns: 1fr 1fr; gap: 36px 24px; border-radius: 20px; }
    .zf-panel__brand, .zf-panel__news { grid-column: 1 / -1; }
    .zf-bottom { flex-direction: column; align-items: flex-start; }
    .zf-bottom__contact { flex-direction: column; }
}

@media (max-width: 380px) {
    .zf-cta__eyebrow { letter-spacing: 0.1em; font-size: 0.6875rem; }
}

@media (prefers-reduced-motion: reduce) {
    .zf-cta__dot::after { animation: none; }
    .zf-btn, .zf-btn i, .zf-social a { transition: none; }
}

/* ==========================================================================
   Stats band ("social proof"): outlined boxes on a muted photo
   ========================================================================== */
.zf-stats {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 24px;
    color: #fff;
    font-family: 'Raleway', sans-serif;
}

.zf-stats__bg {
    position: absolute;
    inset: -8px;
    z-index: -1;
    background: url('https://images.pexels.com/photos/8106556/pexels-photo-8106556.jpeg?auto=compress&cs=tinysrgb&w=1920') center 40% / cover no-repeat;
    filter: grayscale(0.9) brightness(0.92) contrast(0.85);
}

.zf-stats__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(140, 142, 148, 0.42);   /* misty grey haze */
}

.zf-stats__row {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1380px;
    margin: 0 auto;
}

.zf-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 232px;
    min-height: 168px;
    padding: 20px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    text-align: center;
    transition: border-color .3s ease, background-color .3s ease;
}

.zf-stat:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
}

.zf-stat__num {
    font-size: 3.25rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.02em;
    font-variant-numeric: lining-nums tabular-nums;   /* Raleway defaults to old-style figures */
}

.zf-stat__label {
    max-width: 170px;
    min-height: 2.9em;            /* reserve 2 lines so all numbers align */
    margin-top: 14px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
}

.zf-stats__line {
    flex: 1 1 0;
    max-width: 64px;
    min-width: 24px;
    height: 1px;
    margin: 0 clamp(24px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.4);
}

/* Tablet: 2 x 2 grid, connectors hidden */
@media (max-width: 991px) {
    .zf-stats { padding: 56px 20px; }
    .zf-stats__row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 232px));
        justify-content: center;
        gap: 24px;
    }
    .zf-stats__line { display: none; }
    .zf-stat { width: auto; }
}

/* Phone */
@media (max-width: 480px) {
    .zf-stats { padding: 44px 16px; }
    .zf-stats__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .zf-stat { min-height: 136px; padding: 16px 8px; }
    .zf-stat__num { font-size: 2.25rem; }
    .zf-stat__label { margin-top: 10px; font-size: 0.75rem; }
}
@media (max-width: 360px) {
    .zf-stat__num { font-size: 1.75rem; letter-spacing: 0; }
}
/* ==========================================================================
   Study Destinations — explorer (numbered country list + showcase panel)
   ========================================================================== */
.zf-dest {
    position: relative;
    padding: clamp(80px, 9vw, 120px) 0;
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(81, 190, 120, 0.08) 0%, transparent 70%),
        #F6F8FB;
    overflow: hidden;
}

.zf-dest__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 24px 64px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.zf-dest__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--z-teal, #51BE78);
}

.zf-dest__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--z-ink, #14263F);
}

.zf-dest__title::after { display: none; }

.zf-dest__intro {
    margin: 0;
    max-width: 520px;
    justify-self: end;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--z-slate, #51617A);
}

/* Explorer layout */
.zf-dest__explorer {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Country list */
.zf-dest__tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zf-dest__tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 20px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: var(--z-ink, #14263F);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.zf-dest__tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 3px;
    background: var(--z-teal, #51BE78);
    transform: scaleY(0);
    transition: transform .35s ease;
}

.zf-dest__tab:hover { background: rgba(255, 255, 255, 0.7); }

.zf-dest__tab[aria-selected="true"] {
    background: #fff;
    border-color: var(--z-border, #E4EAF2);
    box-shadow: 0 18px 40px -22px rgba(11, 36, 71, 0.28);
}

.zf-dest__tab[aria-selected="true"]::before { transform: scaleY(1); }

.zf-dest__tab:focus-visible {
    outline: 3px solid rgba(81, 190, 120, 0.45);
    outline-offset: 2px;
}

.zf-dest__num {
    flex-shrink: 0;
    width: 38px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    font-variant-numeric: lining-nums tabular-nums;
    color: rgba(20, 38, 63, 0.3);
    transition: color .3s ease;
}

.zf-dest__tab[aria-selected="true"] .zf-dest__num { color: var(--z-teal, #51BE78); }

.zf-dest__flag {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(11, 36, 71, 0.18);
}

.zf-dest__tabtext { display: flex; flex-direction: column; min-width: 0; }

.zf-dest__name {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
}

.zf-dest__tagline {
    font-size: 0.8125rem;
    color: var(--z-slate-light, #7C8CA5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zf-dest__chev {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--z-teal, #51BE78);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .3s ease, transform .3s ease;
}

.zf-dest__tab[aria-selected="true"] .zf-dest__chev { opacity: 1; transform: translateX(0); }

/* Showcase panel */
.zf-dest__stage { position: relative; min-width: 0; }

.zf-dest__panel {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    height: 100%;
    min-height: 460px;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(11, 36, 71, 0.3);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .45s ease, transform .45s ease;
}

.zf-dest__panel.is-active { opacity: 1; transform: none; }
.zf-dest__panel[hidden] { display: none; }

.zf-dest__media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.zf-dest__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 1.2s ease;
}

.zf-dest__panel.is-active .zf-dest__media img { transform: scale(1); }

.zf-dest__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 26, 54, 0) 40%, rgba(7, 26, 54, 0.82) 100%);
}

.zf-dest__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--z-ink, #14263F);
    font-size: 0.8125rem;
    font-weight: 700;
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}

.zf-dest__badge i { color: var(--z-teal, #51BE78); }

.zf-dest__caption {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 1;
    color: #fff;
}

.zf-dest__caption span {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8FE0AB;
}

.zf-dest__caption h3 {
    margin: 6px 0 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.zf-dest__caption h3::after { display: none; }

.zf-dest__body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(24px, 3.2vw, 40px);
}

.zf-dest__desc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--z-slate, #51617A);
}

.zf-dest__facts {
    display: grid;
    gap: 14px;
    margin: 0;
}

.zf-dest__facts > div {
    padding: 14px 16px;
    border-radius: 14px;
    background: #F6F8FB;
}

.zf-dest__facts dt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--z-slate-light, #7C8CA5);
}

.zf-dest__facts dt i { color: var(--z-teal, #51BE78); }

.zf-dest__facts dd {
    margin: 0;
    font-weight: 600;
    color: var(--z-ink, #14263F);
}

.zf-dest__stats {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 4px 0;
    border-top: 1px solid var(--z-border, #E4EAF2);
    padding-top: 20px;
}

.zf-dest__stat { display: flex; flex-direction: column; gap: 6px; }
.zf-dest__stat:last-child { flex-direction: row; align-items: center; gap: 12px; }

.zf-dest__statlabel {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--z-slate-light, #7C8CA5);
}

.zf-dest__stat > strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--z-ink, #14263F);
}

.zf-dest__ring {
    --p: 90;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, #fff 78%, transparent 80% 100%),
        conic-gradient(var(--z-teal, #51BE78) calc(var(--p) * 1%), #E8EEF4 0);
}

.zf-dest__ring strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--z-ink, #14263F);
}

.zf-dest__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.zf-dest__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.zf-dest__btn:hover { transform: translateY(-2px); }
.zf-dest__btn i { font-size: 0.8em; transition: transform .25s ease; }
.zf-dest__btn:hover i { transform: translateX(3px); }

.zf-dest__btn--primary { background: var(--z-teal, #51BE78); color: #fff; }
.zf-dest__btn--primary:hover { background: var(--z-teal-dark, #3FA865); color: #fff; }

.zf-dest__btn--ghost {
    border-color: var(--z-border, #E4EAF2);
    color: var(--z-ink, #14263F);
    background: #fff;
}
.zf-dest__btn--ghost:hover { border-color: var(--z-ink, #14263F); color: var(--z-ink, #14263F); }

.zf-dest__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: clamp(32px, 4vw, 48px) 0 0;
    text-align: center;
    color: var(--z-slate, #51617A);
}

.zf-dest__note i { color: var(--z-teal, #51BE78); }
.zf-dest__note a { color: var(--z-ink, #14263F); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(81, 190, 120, 0.6); }
.zf-dest__note a:hover { color: var(--z-teal-dark, #3FA865); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .zf-dest__panel { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .zf-dest__head { grid-template-columns: 1fr; }
    .zf-dest__intro { justify-self: start; }

    .zf-dest__explorer { grid-template-columns: 1fr; gap: 18px; }

    /* list -> swipeable row of country chips */
    .zf-dest__tabs {
        flex-direction: row;
        gap: 8px;
        margin: 0 -24px;
        padding: 4px 24px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .zf-dest__tabs::-webkit-scrollbar { display: none; }

    .zf-dest__tab {
        flex: 0 0 auto;
        width: auto;
        padding: 10px 18px 10px 10px;
        border-color: var(--z-border, #E4EAF2);
        border-radius: 999px;
        background: #fff;
        scroll-snap-align: center;
    }
    .zf-dest__tab::before, .zf-dest__num, .zf-dest__tagline, .zf-dest__chev { display: none; }
    .zf-dest__tab[aria-selected="true"] {
        background: var(--z-ink, #14263F);
        border-color: var(--z-ink, #14263F);
        color: #fff;
        box-shadow: none;
    }
    .zf-dest__flag { width: 28px; height: 28px; }
    .zf-dest__name { font-size: 0.95rem; }

    .zf-dest__panel { grid-template-columns: 1fr; min-height: 0; }
    .zf-dest__media { min-height: 280px; }
}

@media (max-width: 575px) {
    .zf-dest__panel { border-radius: 22px; }
    .zf-dest__media { min-height: 230px; }
    .zf-dest__caption { left: 20px; right: 20px; bottom: 18px; }
    .zf-dest__actions { flex-direction: column; }
    .zf-dest__btn { width: 100%; }
    .zf-dest__note { flex-direction: column; gap: 6px; font-size: 0.9375rem; }
}

@media (prefers-reduced-motion: reduce) {
    .zf-dest__panel, .zf-dest__media img, .zf-dest__tab, .zf-dest__chev { transition: none; }
    .zf-dest__media img { transform: none; }
}
/* explorer refinements: side column card + compact actions */
.zf-dest__side { display: flex; flex-direction: column; gap: 18px; }

.zf-dest__help {
    margin-top: auto;
    padding: 22px;
    border-radius: 20px;
    background: var(--z-navy, #0B2447);
    background: linear-gradient(160deg, #0F2B55 0%, #0B2447 100%);
    color: rgba(255, 255, 255, 0.8);
}

.zf-dest__help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: rgba(81, 190, 120, 0.18);
    color: #8FE0AB;
}

.zf-dest__help p { margin: 0 0 14px; font-size: 0.9375rem; line-height: 1.6; }
.zf-dest__help strong { display: block; margin-bottom: 4px; color: #fff; font-size: 1.0625rem; }

.zf-dest__help a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8FE0AB;
    font-weight: 700;
    text-decoration: none;
}
.zf-dest__help a i { font-size: 0.8em; transition: transform .25s ease; }
.zf-dest__help a:hover { color: #fff; }
.zf-dest__help a:hover i { transform: translateX(3px); }

.zf-dest__panel { grid-template-columns: 0.95fr 1.05fr; }

.zf-dest__actions { flex-direction: column; align-items: stretch; gap: 12px; }
.zf-dest__actions .zf-dest__btn { width: 100%; }

.zf-dest__link {
    align-self: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--z-slate, #51617A);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(81, 190, 120, 0.5);
}
.zf-dest__link:hover { color: var(--z-ink, #14263F); }

@media (max-width: 991px) {
    .zf-dest__side { display: contents; }               /* chips row first, help card after panel */
    .zf-dest__help { order: 3; margin-top: 0; }
    .zf-dest__stage { order: 2; }
    .zf-dest__panel { grid-template-columns: 1fr; }
}
.zf-dest__tabs { position: relative; }   /* offset parent for chip-row scrolling */

@media (max-width: 575px) {
    .zf-dest__stat > strong, .zf-dest__statlabel { white-space: nowrap; }
    .zf-dest__stat:last-child { flex-direction: column; align-items: flex-end; gap: 8px; }
}
/* ==========================================================================
   Services — Strive-style intro split + card carousel (green)
   ========================================================================== */
.zf-svc {
    padding: clamp(80px, 9vw, 120px) 0;
    background: #fff;
    overflow: hidden;
}

/* Intro split */
.zf-svc__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(40px, 6vw, 88px);
    margin-bottom: clamp(56px, 7vw, 88px);
}

.zf-svc__badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(81, 190, 120, 0.1);
    color: var(--z-teal-dark, #3FA865);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.zf-svc__title {
    margin: 0 0 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--z-ink, #14263F);
}

.zf-svc__title::after { display: none; }
.zf-svc__title span { color: var(--z-teal, #51BE78); }

.zf-svc__lead {
    margin: 0 0 28px;
    max-width: 540px;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--z-slate, #51617A);
}

.zf-svc__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 6px;
    background: var(--z-teal, #51BE78);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 22px -12px rgba(81, 190, 120, 0.9);
}

.zf-svc__btn:hover { background: var(--z-teal-dark, #3FA865); color: #fff; transform: translateY(-2px); }
.zf-svc__btn i { font-size: 0.85em; transition: transform .25s ease; }
.zf-svc__btn:hover i { transform: translateX(4px); }

.zf-svc__visual {
    position: relative;
    padding: 28px 28px 28px 54px;
}

.zf-svc__visual img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 6px;
}

.zf-svc__shape {
    position: absolute;
    z-index: 0;
    background: rgba(81, 190, 120, 0.12);
}

.zf-svc__shape--circle {
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.zf-svc__shape--square {
    left: 0;
    bottom: 0;
    width: 120px;
    height: 120px;
}

/* Carousel */
.zf-svc__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 24px) / 3);
    gap: 24px;
    padding: 12px 4px 24px;
    margin: -12px -4px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    outline: none;
}

.zf-svc__track::-webkit-scrollbar { display: none; }
.zf-svc__track:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.45); outline-offset: 4px; border-radius: 16px; }

.zf-svc__card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(11, 36, 71, 0.04);
    color: var(--z-ink, #14263F);
    text-decoration: none;
    scroll-snap-align: start;
    transition: transform .35s ease, box-shadow .35s ease;
}

.zf-svc__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -18px rgba(11, 36, 71, 0.22);
    color: var(--z-ink, #14263F);
}

.zf-svc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--z-teal, #51BE78);
    color: #fff;
    font-size: 1.6rem;
    transition: transform .35s ease, background-color .35s ease;
}

.zf-svc__card:hover .zf-svc__icon { transform: rotate(-8deg) scale(1.06); background: var(--z-teal-dark, #3FA865); }

.zf-svc__name {
    margin: 0 0 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--z-ink, #14263F);
}

.zf-svc__name::after { display: none; }

.zf-svc__text {
    margin: 0 0 24px;
    font-size: 0.9875rem;
    line-height: 1.65;
    color: var(--z-slate, #51617A);
}

.zf-svc__num {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--z-teal, #51BE78);
}

.zf-svc__num::before {
    content: "";
    width: 56px;
    height: 1px;
    background: currentColor;
    transition: width .35s ease;
}

.zf-svc__card:hover .zf-svc__num::before { width: 80px; }

.zf-svc__nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.zf-svc__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--z-teal, #51BE78);
    color: #fff;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease;
}

.zf-svc__arrow:hover { background: var(--z-teal-dark, #3FA865); transform: translateY(-2px); }
.zf-svc__arrow:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.45); outline-offset: 3px; }

/* Responsive */
@media (max-width: 991px) {
    .zf-svc__intro { grid-template-columns: 1fr; }
    .zf-svc__visual { max-width: 620px; }
    .zf-svc__track { grid-auto-columns: calc((100% - 24px) / 2); }
}

@media (max-width: 575px) {
    .zf-svc__visual { padding: 18px 18px 18px 30px; }
    .zf-svc__shape--circle { width: 100px; height: 100px; }
    .zf-svc__shape--square { width: 80px; height: 80px; }
    .zf-svc__track { grid-auto-columns: 86%; gap: 16px; }
    .zf-svc__card { padding: 26px; }
    .zf-svc__nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .zf-svc__track { scroll-behavior: auto; }
    .zf-svc__card, .zf-svc__icon, .zf-svc__num::before { transition: none; }
}
/* Services: section title with accent line (Strive) */
.zf-svc__head { margin-bottom: 60px; text-align: left; }

.zf-svc__heading {
    display: flex;
    align-items: center;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--z-ink, #14263F);
}

.zf-svc__heading::after {
    content: "";
    display: inline-block;
    position: static;
    width: 120px;
    height: 1px;
    margin: 4px 10px;
    background: var(--z-teal, #51BE78);
    transform: none;
}

.zf-svc__heading::before { display: none; }

.zf-svc__sub {
    margin: 4px 0 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(20, 38, 63, 0.5);
}

@media (max-width: 575px) {
    .zf-svc__head { margin-bottom: 40px; }
    .zf-svc__heading::after { width: 72px; }
}
.zf-svc { padding-top: clamp(56px, 6vw, 80px); }   /* Strive-like space above the section title */

.zf-svc__sub { max-width: 760px; }   /* comfortable line length for the longer subtitle */

/* ==========================================================================
   Contact — Strive-style (map | info cards + form card), green
   ========================================================================== */
.zf-contact {
    padding: clamp(56px, 6vw, 80px) 0 clamp(64px, 7vw, 96px);
    background: #F4F7F4;
}

.zf-contact__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 24px;
    align-items: stretch;
}

.zf-contact__map {
    min-height: 420px;
    overflow: hidden;
    border-radius: 12px;
    background: #e9eee9;
}

.zf-contact__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.zf-contact__side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* Info cards */
.zf-contact__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.zf-contact__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: transform .3s ease, box-shadow .3s ease;
}

.zf-contact__card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -14px rgba(11, 36, 71, 0.2); }

.zf-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(81, 190, 120, 0.12);
    color: var(--z-teal, #51BE78);
    font-size: 1.15rem;
}

.zf-contact__card h3 {
    margin: 2px 0 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--z-ink, #14263F);
}

.zf-contact__card h3::after { display: none; }

.zf-contact__card p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #444;
    overflow-wrap: anywhere;
}

.zf-contact__card a { color: inherit; text-decoration: none; }
.zf-contact__card a:hover { color: var(--z-teal-dark, #3FA865); text-decoration: underline; }

/* Form card */
.zf-contact__form {
    padding: 30px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.zf-contact__form-title {
    position: relative;
    margin: 0 0 12px;
    padding-left: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--z-ink, #14263F);
}

.zf-contact__form-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px;
    background: var(--z-teal, #51BE78);
}

.zf-contact__form-title::after { display: none; }

.zf-contact__form-text {
    margin: 0 0 24px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #444;
}

.zf-contact__form form { display: grid; gap: 16px; }

.zf-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.zf-contact__form input,
.zf-contact__form select,
.zf-contact__form textarea {
    width: 100%;
    margin: 0;
    padding: 14px 20px;
    border: 1px solid rgba(68, 68, 68, 0.1);
    border-radius: 10px;
    background: #F5F4F3;
    color: var(--z-ink, #14263F);
    font: inherit;
    font-size: 0.875rem;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.zf-contact__form input,
.zf-contact__form select { height: 51px; }

.zf-contact__form select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2351617A' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; cursor: pointer; }
.zf-contact__form select:invalid { color: rgba(20, 38, 63, 0.5); }

.zf-contact__form textarea { min-height: 122px; resize: vertical; }

.zf-contact__form ::placeholder { color: rgba(20, 38, 63, 0.45); }

.zf-contact__form input:focus,
.zf-contact__form select:focus,
.zf-contact__form textarea:focus {
    outline: none;
    border-color: var(--z-teal, #51BE78);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(81, 190, 120, 0.12);
}

.zf-contact__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}

.zf-contact__submit {
    padding: 12px 28px;
    border: 0;
    border-radius: 50px;
    background: var(--z-teal, #51BE78);
    color: #fff;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 20px -12px rgba(81, 190, 120, 0.9);
}

.zf-contact__submit:hover { background: var(--z-teal-dark, #3FA865); transform: translateY(-2px); }
.zf-contact__submit:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.45); outline-offset: 3px; }

.zf-contact__social { display: flex; gap: 8px; }

.zf-contact__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F5F3F2;
    color: #282828;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.zf-contact__social a:hover { background: var(--z-teal, #51BE78); color: #fff; }

.zf-contact .form-message { margin: 0 0 16px; }

/* visually hidden labels (kept for screen readers) */
.zf-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .zf-contact__grid { grid-template-columns: 1fr; }
    .zf-contact__map { order: 2; min-height: 320px; }
    .zf-contact__map iframe { min-height: 320px; }
}

@media (max-width: 575px) {
    .zf-contact__cards { grid-template-columns: 1fr; }
    .zf-contact__row { grid-template-columns: 1fr; }
    .zf-contact__form { padding: 22px; }
    .zf-contact__actions { flex-direction: column; align-items: stretch; }
    .zf-contact__submit { width: 100%; }
    .zf-contact__social { justify-content: center; }
}

/* ==========================================================================
   Footer theme: green + white
   ========================================================================== */
/* CTA on green */
footer.zf-footer .zf-cta__eyebrow {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
footer.zf-footer .zf-cta__dot,
footer.zf-footer .zf-cta__dot::after { background: #fff; border-color: #fff; }
footer.zf-footer .zf-cta__dot::after { background: transparent; }

footer.zf-footer .zf-cta__title span {
    background: linear-gradient(100deg, #C6F0D3 0%, #8FE0AB 60%, #C6F0D3 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

footer.zf-footer .zf-cta__text { color: rgba(255, 255, 255, 0.88); }
footer.zf-footer .zf-cta__stats span { color: rgba(255, 255, 255, 0.75); }
footer.zf-footer .zf-cta__stats li + li { border-left-color: rgba(255, 255, 255, 0.25); }

footer.zf-footer .zf-btn--accent {
    background: #fff;
    color: #1C5C36;
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
}
footer.zf-footer .zf-btn--accent:hover { background: #EAF8EF; color: #1C5C36; }

footer.zf-footer .zf-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}
footer.zf-footer .zf-btn--ghost:hover { background: #fff; border-color: #fff; color: #1C5C36; }

footer.zf-footer .zf-btn:focus-visible { outline-color: rgba(255, 255, 255, 0.7); }

/* Links panel: white card */
footer.zf-footer .zf-panel {
    border-color: transparent;
    background: #fff;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.45);
    color: var(--z-ink, #14263F);
}

footer.zf-footer .zf-panel__logo { color: #1C5C36; }
footer.zf-footer .zf-panel__logo img { background: #F2FAF5; }

footer.zf-footer .zf-panel__brand p,
footer.zf-footer .zf-panel__news p { color: var(--z-slate, #51617A); }

footer.zf-footer .zf-panel__heading { color: #1C5C36; }

footer.zf-footer .zf-panel__col a { color: var(--z-ink, #14263F); }
footer.zf-footer .zf-panel__col a:hover { color: var(--z-teal-dark, #3FA865); }
footer.zf-footer .zf-panel__col a::after { background: var(--z-teal, #51BE78); }

footer.zf-footer .zf-social a {
    border-color: transparent;
    background: rgba(81, 190, 120, 0.12);
    color: #1C5C36;
}
footer.zf-footer .zf-social a:hover { background: var(--z-teal, #51BE78); color: #fff; }

/* Newsletter inside the white panel */
footer.zf-footer .newsletter-form {
    border-color: #DDE8E1;
    background: #F4F8F5;
}
footer.zf-footer .newsletter-form:focus-within {
    border-color: var(--z-teal, #51BE78);
    box-shadow: 0 0 0 4px rgba(81, 190, 120, 0.15);
}
footer.zf-footer .newsletter-form input { color: var(--z-ink, #14263F); }
footer.zf-footer .newsletter-form input::placeholder { color: rgba(20, 38, 63, 0.45); }
footer.zf-footer .newsletter-form button { background: var(--z-teal-dark, #3FA865); color: #fff; }
footer.zf-footer .newsletter-form button:hover { background: #1C5C36; }

@media (max-width: 479px) {
    footer.zf-footer .newsletter-form { background: transparent; }
    footer.zf-footer .newsletter-form input {
        border-color: #DDE8E1;
        background: #F4F8F5;
    }
}

/* Bottom bar on green */
footer.zf-footer .zf-bottom { color: rgba(255, 255, 255, 0.78); }
footer.zf-footer .zf-bottom a { color: #fff; }
footer.zf-footer .zf-bottom a:hover { color: #C6F0D3; }
footer.zf-footer .zf-bottom__contact i { color: #C6F0D3; }
footer.zf-footer .zf-cta__title span { background: none; -webkit-text-fill-color: currentColor; color: #B9F0CB; }   /* brighter, solid accent on green */

/* ==========================================================================
   Our Impact — bento mosaic (tall / normal / wide tiles) + lightbox
   ========================================================================== */
.zf-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
    grid-template-areas:
        "a a b c"
        "a a b c"
        "d e b f"
        "d e g f"
        "h h g i"
        "h h g i";
    gap: 16px;
}

.zf-gallery__item--a { grid-area: a; }
.zf-gallery__item--b { grid-area: b; }
.zf-gallery__item--c { grid-area: c; }
.zf-gallery__item--d { grid-area: d; }
.zf-gallery__item--e { grid-area: e; }
.zf-gallery__item--f { grid-area: f; }
.zf-gallery__item--g { grid-area: g; }
.zf-gallery__item--h { grid-area: h; }
.zf-gallery__item--i { grid-area: i; }

.zf-gallery__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #E9EFEA;
}

.zf-gallery__open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.zf-gallery__open img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.zf-gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 35, 22, 0) 45%, rgba(10, 35, 22, 0.72) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.zf-gallery__item figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}

.zf-gallery__zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--z-teal-dark, #3FA865);
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity .3s ease, transform .3s ease;
}

.zf-gallery__item:hover img,
.zf-gallery__open:focus-visible img { transform: scale(1.06); }

.zf-gallery__item:hover::after,
.zf-gallery__item:focus-within::after,
.zf-gallery__item:hover figcaption,
.zf-gallery__item:focus-within figcaption,
.zf-gallery__item:hover .zf-gallery__zoom,
.zf-gallery__item:focus-within .zf-gallery__zoom { opacity: 1; transform: none; }

.zf-gallery__open:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.6); outline-offset: -3px; border-radius: 16px; }

/* Lightbox */
.zf-lightbox {
    width: min(92vw, 1100px);
    max-height: 92vh;
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
}

.zf-lightbox::backdrop { background: rgba(8, 24, 15, 0.86); }

.zf-lightbox__figure { margin: 0; text-align: center; }

.zf-lightbox__figure img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
}

.zf-lightbox__figure figcaption {
    margin-top: 14px;
    color: #fff;
    font-weight: 600;
}

.zf-lightbox__close,
.zf-lightbox__nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1C5C36;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.zf-lightbox__close:hover,
.zf-lightbox__nav:hover { background: var(--z-teal, #51BE78); color: #fff; }

.zf-lightbox__close { top: -56px; right: 0; }
.zf-lightbox__nav { top: calc(40vh - 23px); }
.zf-lightbox__nav--prev { left: -64px; }
.zf-lightbox__nav--next { right: -64px; }

/* Tablet & phone: 2-column mosaic that keeps tall / wide variety */
@media (max-width: 991px) {
    .zf-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 110px;
        grid-template-areas:
            "a a"
            "a a"
            "b c"
            "b c"
            "b d"
            "e d"
            "e f"
            "g f"
            "g i"
            "g i"
            "h h"
            "h h";
        gap: 12px;
    }
    .zf-lightbox__nav--prev { left: 8px; }
    .zf-lightbox__nav--next { right: 8px; }
}

@media (max-width: 575px) {
    .zf-gallery { grid-auto-rows: 84px; gap: 10px; }
    .zf-gallery__item { border-radius: 12px; }
    .zf-gallery__item figcaption { left: 12px; right: 12px; bottom: 10px; font-size: 0.8125rem; }
    /* touch screens: always show captions */
    .zf-gallery__item::after, .zf-gallery__item figcaption { opacity: 1; transform: none; }
    .zf-gallery__zoom { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .zf-gallery__open img, .zf-gallery__item::after, .zf-gallery__item figcaption, .zf-gallery__zoom { transition: none; }
}
/* g.css resets "* { margin: 0 }", which removes the browser's auto-centering of modal dialogs */
.zf-lightbox[open] {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
}
/* Global Pathways: no blue — swap navy surfaces for the site's green */
.zf-dest__help {
    background: #1C5C36;
    background: linear-gradient(160deg, #2E8B50 0%, #1C5C36 100%);
}
.zf-dest__help-icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.zf-dest__help a { color: #C6F0D3; }

.zf-dest__media::after {
    background: linear-gradient(180deg, rgba(16, 52, 31, 0) 40%, rgba(16, 52, 31, 0.82) 100%);
}

@media (max-width: 991px) {
    .zf-dest__tab[aria-selected="true"] {
        background: var(--z-teal-dark, #3FA865);
        border-color: var(--z-teal-dark, #3FA865);
        color: #fff;
    }
}
/* Destination actions: button + link side by side */
.zf-dest__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
.zf-dest__actions .zf-dest__btn { width: auto; }
.zf-dest__link { align-self: center; white-space: nowrap; }

@media (max-width: 575px) {
    .zf-dest__actions { flex-direction: row; }
    .zf-dest__actions .zf-dest__btn { width: auto; }
}
.zf-dest__actions { flex-wrap: nowrap; gap: 16px; }
.zf-dest__actions .zf-dest__btn { padding: 0 18px; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 359px) { .zf-dest__actions { flex-wrap: wrap; } }
/* ==========================================================================
   Website Services — offer cards (featured middle) + technology strip
   ========================================================================== */
.zf-web {
    padding: clamp(56px, 6vw, 80px) 0 clamp(72px, 8vw, 104px);
    background: #fff;
}

.zf-web__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.zf-web__card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid #E6EEE9;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.zf-web__card:hover {
    transform: translateY(-6px);
    border-color: rgba(81, 190, 120, 0.45);
    box-shadow: 0 24px 44px -22px rgba(28, 92, 54, 0.35);
}

.zf-web__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.zf-web__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(81, 190, 120, 0.12);
    color: var(--z-teal-dark, #3FA865);
    font-size: 1.35rem;
}

.zf-web__num {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 300;
    font-variant-numeric: lining-nums;
    line-height: 1;
    color: rgba(20, 38, 63, 0.15);
}

.zf-web__title {
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--z-ink, #14263F);
}

.zf-web__title::after { display: none; }

.zf-web__sum {
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #EDF2EF;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--z-slate, #51617A);
}

.zf-web__list {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.zf-web__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--z-ink, #14263F);
}

.zf-web__list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(81, 190, 120, 0.15);
    color: var(--z-teal-dark, #3FA865);
    font-size: 0.6rem;
}

.zf-web__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--z-teal, #51BE78);
    border-radius: 999px;
    color: var(--z-teal-dark, #3FA865);
    font-weight: 600;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.zf-web__cta i { font-size: 0.8em; transition: transform .25s ease; }
.zf-web__cta:hover { background: var(--z-teal, #51BE78); border-color: var(--z-teal, #51BE78); color: #fff; }
.zf-web__cta:hover i { transform: translateX(4px); }
.zf-web__cta:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.45); outline-offset: 3px; }

/* Featured (middle) card */
.zf-web__card--featured {
    border-color: transparent;
    background: linear-gradient(165deg, #2E8B50 0%, #1C5C36 100%);
    box-shadow: 0 30px 60px -30px rgba(28, 92, 54, 0.65);
    color: #fff;
}

.zf-web__card--featured:hover { border-color: transparent; box-shadow: 0 34px 64px -28px rgba(28, 92, 54, 0.75); }

.zf-web__badge {
    position: absolute;
    top: 0;
    right: 28px;
    transform: translateY(-50%);
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    color: #1C5C36;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.35);
}

.zf-web__card--featured .zf-web__icon { background: rgba(255, 255, 255, 0.16); color: #fff; }
.zf-web__card--featured .zf-web__num { color: rgba(255, 255, 255, 0.25); }
.zf-web__card--featured .zf-web__title { color: #fff; }
.zf-web__card--featured .zf-web__sum { color: rgba(255, 255, 255, 0.82); border-bottom-color: rgba(255, 255, 255, 0.18); }
.zf-web__card--featured .zf-web__list li { color: #fff; }
.zf-web__card--featured .zf-web__list i { background: rgba(255, 255, 255, 0.2); color: #fff; }
.zf-web__card--featured .zf-web__cta { background: #fff; border-color: #fff; color: #1C5C36; }
.zf-web__card--featured .zf-web__cta:hover { background: #EAF8EF; border-color: #EAF8EF; color: #1C5C36; }

/* Technology strip */
.zf-web__tech {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    margin-top: 40px;
    padding: 24px 28px;
    border: 1px solid #E6EEE9;
    border-radius: 18px;
    background: #F6FAF7;
}

.zf-web__tech-text h3 {
    margin: 0 0 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--z-ink, #14263F);
}

.zf-web__tech-text h3::after { display: none; }

.zf-web__tech-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--z-slate, #51617A);
}

.zf-web__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zf-web__chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #E2EBE5;
    border-radius: 999px;
    background: #fff;
    color: var(--z-ink, #14263F);
    font-size: 0.875rem;
    font-weight: 600;
}

.zf-web__chips i { font-size: 1.05rem; color: var(--z-teal-dark, #3FA865); }

/* Responsive */
@media (max-width: 991px) {
    .zf-web__grid { grid-template-columns: 1fr 1fr; }
    .zf-web__card--featured { order: -1; grid-column: 1 / -1; }
    .zf-web__tech { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .zf-web__grid { grid-template-columns: 1fr; gap: 28px; }
    .zf-web__card { padding: 26px; }
    .zf-web__tech { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .zf-web__card, .zf-web__cta, .zf-web__cta i { transition: none; }
}
/* Footer: contact details inside the white panel */
.zf-panel__contact {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.zf-panel__contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 0.9375rem;
}

.zf-panel__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(81, 190, 120, 0.12);
    color: var(--z-teal-dark, #3FA865);
    font-size: 0.8rem;
}

.zf-panel__contact a {
    color: var(--z-ink, #14263F);
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.zf-panel__contact a:hover { color: var(--z-teal-dark, #3FA865); }

footer.zf-footer .zf-bottom__note { margin: 0; color: rgba(255, 255, 255, 0.6); }
/* ==========================================================================
   Scholarship cards (scholarships.php)
   ========================================================================== */
.scholarship-cards.zf-sch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.scholarship-card.zf-sch {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid #E6EEE9;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.scholarship-card.zf-sch:hover {
    transform: translateY(-6px);
    border-color: rgba(81, 190, 120, 0.45);
    box-shadow: 0 26px 46px -24px rgba(28, 92, 54, 0.35);
}

/* Media */
.zf-sch__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #EEF4F0;
}

.zf-sch__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.scholarship-card.zf-sch:hover .zf-sch__media > img { transform: scale(1.05); }

.zf-sch__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

.zf-sch__funding,
.zf-sch__country {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--z-ink, #14263F);
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.25);
}

.zf-sch__funding { top: 14px; left: 14px; }
.zf-sch__funding i { color: var(--z-teal-dark, #3FA865); }
.zf-sch__country { left: 14px; bottom: 14px; }
.zf-sch__country img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

.scholarship-card.zf-sch .zf-sch__save {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--z-ink, #14263F);
    cursor: pointer;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.25);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.scholarship-card.zf-sch .zf-sch__save:hover { transform: scale(1.08); color: var(--z-teal-dark, #3FA865); }
.scholarship-card.zf-sch .zf-sch__save.is-saved { background: var(--z-teal, #51BE78); color: #fff; }
.scholarship-card.zf-sch .zf-sch__save:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.6); outline-offset: 2px; }

/* Body */
.zf-sch__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.zf-sch__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.zf-sch__degree {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(81, 190, 120, 0.12);
    color: #1C5C36;
    font-size: 0.8125rem;
    font-weight: 600;
}

.zf-sch__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--z-slate, #51617A);
}

.zf-sch__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.zf-sch__status.is-open   { color: #2E8B50; }
.zf-sch__status.is-soon   { color: #B7791F; }
.zf-sch__status.is-urgent { color: #C53030; }
.zf-sch__status.is-closed { color: #718096; }
.zf-sch__status.is-urgent .zf-sch__dot { animation: zf-sch-pulse 1.6s ease-in-out infinite; }

@keyframes zf-sch-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.scholarship-card.zf-sch .zf-sch__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--z-ink, #14263F);
}

.scholarship-card.zf-sch .zf-sch__title::after { display: none; }

.zf-sch__posted {
    margin: 6px 0 0;
    font-size: 0.8125rem;
    color: var(--z-slate-light, #7C8CA5);
}

.zf-sch__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 14px 0 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--z-slate, #51617A);
}

.zf-sch__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.zf-sch__fields li {
    padding: 5px 10px;
    border: 1px solid #E2EBE5;
    border-radius: 8px;
    background: #F7FAF8;
    color: var(--z-ink, #14263F);
    font-size: 0.78rem;
    font-weight: 500;
}

.zf-sch__fields .zf-sch__more { border-style: dashed; background: transparent; color: var(--z-slate, #51617A); }

.zf-sch__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #EDF2EF;
}

.zf-sch__fact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #F6F8FA;
}

.zf-sch__fact--award { background: rgba(81, 190, 120, 0.1); }

.zf-sch__fact-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--z-slate-light, #7C8CA5);
}

.zf-sch__fact strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--z-ink, #14263F);
    white-space: nowrap;
}

.zf-sch__fact--award strong { color: #1C5C36; }

.zf-sch__apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    min-height: 48px;
    border-radius: 12px;
    background: var(--z-teal, #51BE78);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 22px -12px rgba(81, 190, 120, 0.9);
}

.zf-sch__apply i { font-size: 0.85em; transition: transform .25s ease; }
.zf-sch__apply:hover { background: var(--z-teal-dark, #3FA865); color: #fff; }
.zf-sch__apply:hover i { transform: translateX(4px); }
.zf-sch__apply:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.5); outline-offset: 3px; }

.zf-sch__apply.is-muted { background: #EEF2F5; color: var(--z-slate, #51617A); box-shadow: none; }
.zf-sch__apply.is-muted:hover { background: #E2E8EE; color: var(--z-ink, #14263F); }

.scholarship-card.zf-sch.is-closed-card .zf-sch__media > img { filter: grayscale(0.6); }

@media (max-width: 480px) {
    .scholarship-cards.zf-sch-grid { grid-template-columns: 1fr; }
    .zf-sch__body { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .scholarship-card.zf-sch, .zf-sch__media > img, .zf-sch__apply i { transition: none; }
    .zf-sch__status.is-urgent .zf-sch__dot { animation: none; }
}
/* ==========================================================================
   Scholarships page — Grandoria "Rooms" style
   ========================================================================== */
/* Page title band */
.zf-pagetitle { padding: 25px 0; background: #F1F6F3; }
.zf-pagetitle__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.zf-pagetitle__title {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--z-ink, #14263F);
}
.zf-pagetitle__title::after { display: none; }
.zf-pagetitle__crumbs { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.zf-pagetitle__crumbs li { display: flex; align-items: center; gap: 10px; color: var(--z-slate, #51617A); }
.zf-pagetitle__crumbs li + li::before { content: "/"; color: rgba(20, 38, 63, 0.3); }
.zf-pagetitle__crumbs a { color: #1C5C36; text-decoration: none; }
.zf-pagetitle__crumbs a:hover { color: var(--z-teal, #51BE78); }

/* Section spacing */
.scholarship-section.zf-schpage { padding: 50px 0 80px; }
.scholarship-section.zf-schpage > * { width: min(100% - 48px, 1272px); margin-left: auto; margin-right: auto; }

/* Filter bar */
.zf-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 16px;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(28, 92, 54, 0.1);
}
.zf-filters__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.zf-filters__field label { font-size: 0.875rem; font-weight: 600; color: var(--z-ink, #14263F); }
.zf-filters select,
.zf-filters input {
    width: 100%;
    height: 43px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid rgba(28, 92, 54, 0.2);
    border-radius: 8px;
    background: #fff;
    color: var(--z-ink, #14263F);
    font: inherit;
    font-size: 0.875rem;
    box-shadow: none;
}
.zf-filters select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2314263F' stroke-width='1.6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
.zf-filters select:focus, .zf-filters input:focus {
    outline: none;
    border-color: var(--z-teal, #51BE78);
    box-shadow: 0 0 0 4px rgba(81, 190, 120, 0.15);
}
.zf-filters__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 43px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: #1C5C36;
    color: #fff;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease;
}
.zf-filters__submit:hover { background: #2E8B50; }

/* Results line */
.zf-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 28px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
    color: var(--z-slate, #51617A);
}
.zf-results p { margin: 0; }
.zf-results strong { color: var(--z-ink, #14263F); }
.zf-results__clear { display: inline-flex; align-items: center; gap: 6px; color: #1C5C36; font-weight: 600; text-decoration: none; }
.zf-results__clear:hover { color: var(--z-teal, #51BE78); }

/* Card */
.scholarship-cards.zf-sch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }

.scholarship-card.zf-room {
    border: 0;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(28, 92, 54, 0.12);
}
.scholarship-card.zf-room:hover { border: 0; transform: translateY(-6px); box-shadow: 0 18px 40px rgba(28, 92, 54, 0.18); }
.scholarship-card.zf-room[hidden] { display: none; }

.zf-room__media { position: relative; height: 230px; overflow: hidden; background: #EEF4F0; }
.zf-room__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.scholarship-card.zf-room:hover .zf-room__media > img { transform: scale(1.06); }

.zf-room__badges { position: absolute; top: 14px; left: 14px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.zf-room__badge {
    padding: 6px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.3);
}
.zf-room__badge--funding  { background: #2E8B50; }
.zf-room__badge--is-open  { background: #51BE78; }
.zf-room__badge--is-soon  { background: #D69E2E; }
.zf-room__badge--is-urgent { background: #E53E3E; }
.zf-room__badge--is-closed { background: #718096; }

.scholarship-card.zf-room .zf-room__save {
    position: absolute; top: 12px; right: 12px; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, 0.95); color: var(--z-ink, #14263F);
    cursor: pointer; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.25);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.scholarship-card.zf-room .zf-room__save:hover { transform: scale(1.08); color: #1C5C36; }
.scholarship-card.zf-room .zf-room__save.is-saved { background: #1C5C36; color: #fff; }
.scholarship-card.zf-room .zf-room__save:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.6); outline-offset: 2px; }

.zf-room__body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px 20px; }

.zf-room__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.scholarship-card.zf-room .zf-room__title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem; font-weight: 700; line-height: 1.3;
    color: #0D1F1A;
}
.scholarship-card.zf-room .zf-room__title::after { display: none; }
.zf-room__flag { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0, 0, 0, 0.2); }

.zf-room__desc {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    margin: 0 0 16px;
    font-size: 0.9375rem; line-height: 1.6;
    color: #4A5A55;
}

.zf-room__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 22px; padding: 0; list-style: none; }
.zf-room__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: #4A5A55; }
.zf-room__meta i { font-size: 0.8rem; color: #6C8079; }

.zf-room__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 18px;
    border-top: 1px solid #EDF2EF;
}
.zf-room__price { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.zf-room__price span { font-size: 0.8125rem; color: #6C8079; }
.zf-room__price strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem; font-weight: 700; color: #1C5C36;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.zf-room__btn {
    flex-shrink: 0;
    padding: 12px 24px;
    border-radius: 8px;
    background: #1C5C36;
    color: #fff;
    font-size: 0.875rem; font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease;
}
.zf-room__btn:hover { background: #2E8B50; color: #fff; }
.zf-room__btn.is-muted { background: #EEF2F5; color: var(--z-slate, #51617A); }
.zf-room__btn.is-muted:hover { background: #E2E8EE; color: var(--z-ink, #14263F); }
.zf-room__btn:focus-visible { outline: 3px solid rgba(81, 190, 120, 0.5); outline-offset: 3px; }

/* Load more */
.zf-loadmore { margin-top: 36px; }
.zf-loadmore[hidden] { display: none; }
.zf-loadmore__btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px;
    border: 2px solid #1C5C36; border-radius: 50px;
    background: transparent; color: #1C5C36;
    font: inherit; font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.zf-loadmore__btn:hover { background: #1C5C36; color: #fff; }

/* Responsive */
@media (max-width: 1100px) {
    .zf-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .zf-filters__submit { grid-column: 1 / -1; }
    .scholarship-cards.zf-sch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .scholarship-section.zf-schpage > * { width: min(100% - 32px, 1272px); }
    .zf-filters { grid-template-columns: 1fr; padding: 20px; }
    .scholarship-cards.zf-sch-grid { grid-template-columns: 1fr; }
    .zf-room__media { height: 210px; }
    .zf-loadmore__btn { width: 100%; justify-content: center; }
}