:root {
    --site-bg: color-mix(in srgb, var(--brand-primary, #1d4ed8) 8%, #f6f7fb);
    --site-white: #ffffff;
    --site-ink: var(--brand-secondary, #111827);
    --site-muted: color-mix(in srgb, var(--site-ink) 52%, #ffffff);
    --site-line: color-mix(in srgb, var(--brand-primary, #1d4ed8) 18%, #ffffff);
    --site-red: var(--brand-highlight, #e1252b);
    --site-red-dark: color-mix(in srgb, var(--site-red) 76%, #000000);
    --site-blue: var(--brand-primary, #1d4ed8);
    --site-black: color-mix(in srgb, var(--site-ink) 88%, #000000);
    --site-shadow: 0 30px 80px rgba(16, 24, 40, 0.12);
    --site-shadow-soft: 0 18px 44px rgba(16, 24, 40, 0.08);
    --site-radius-lg: 30px;
    --site-radius-md: 22px;
}

body {
    background:
        radial-gradient(950px 540px at 9% -5%, color-mix(in srgb, var(--site-blue) 20%, transparent) 0%, transparent 65%),
        radial-gradient(700px 380px at 92% 10%, color-mix(in srgb, var(--site-red) 16%, transparent) 0%, transparent 70%),
        linear-gradient(180deg, #ffffff 0%, var(--site-bg) 100%);
}

.landing-wrap {
    width: min(1180px, calc(100% - 30px));
    margin: 0 auto;
}

.landing-card {
    background: color-mix(in srgb, #ffffff 86%, var(--site-blue) 14%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--site-radius-lg);
    box-shadow: var(--site-shadow-soft);
    backdrop-filter: blur(8px);
}

.section {
    padding: 62px 0;
}

.section-tight {
    padding-top: 18px;
}

.hero-section {
    padding-top: 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
    gap: 52px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--site-line);
    background: color-mix(in srgb, var(--site-blue) 8%, #ffffff);
    color: var(--site-blue);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    font-weight: 900;
    color: var(--site-ink);
    margin: 0 0 16px;
    max-width: 11ch;
}

.hero-title .accent,
.section-head .accent {
    color: var(--site-red);
}

.hero-text {
    color: var(--site-muted);
    line-height: 1.8;
    margin: 0 0 24px;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-main,
.btn-dark,
.btn-light,
.sticky-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    border: 0;
    cursor: pointer;
}

.btn-main:hover,
.btn-dark:hover,
.btn-light:hover,
.sticky-apply:hover {
    transform: translateY(-2px);
}

.btn-main {
    padding: 13px 22px;
    background: linear-gradient(135deg, var(--site-red), color-mix(in srgb, var(--site-red) 65%, #ff9f8b));
    color: #fff;
    box-shadow: 0 18px 38px color-mix(in srgb, var(--site-red) 34%, transparent);
}

.btn-dark {
    padding: 13px 22px;
    background: linear-gradient(140deg, var(--site-black), color-mix(in srgb, var(--site-black) 78%, #334155));
    color: #fff;
}

.btn-light {
    padding: 12px 21px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--site-ink);
    border: 1px solid var(--site-line);
}

.hero-metrics {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.hero-metrics div {
    border: 1px solid var(--site-line);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.62);
}

.hero-metrics strong {
    display: block;
    font-weight: 900;
    font-size: 1.04rem;
    color: var(--site-ink);
}

.hero-metrics span {
    color: var(--site-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.hero-media {
    position: relative;
    min-height: 470px;
    isolation: isolate;
}

.hero-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    right: 18px;
    top: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at center, color-mix(in srgb, var(--site-blue) 26%, transparent), transparent 70%);
    filter: blur(6px);
}

.hero-ring {
    width: min(430px, 100%);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 50%;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.35) 66%, transparent 75%);
    box-shadow: var(--site-shadow);
}

.hero-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid rgba(255, 255, 255, 0.94);
}

.hero-sticker {
    position: absolute;
    left: 14px;
    bottom: 22px;
    max-width: 230px;
    padding: 15px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--site-shadow-soft);
}

.hero-sticker strong {
    display: block;
    margin-bottom: 5px;
}

.hero-sticker span {
    color: var(--site-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.section-head {
    text-align: center;
    margin-bottom: 30px;
}

.section-head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.95rem, 3.5vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.section-head p {
    margin: 0 auto;
    max-width: 66ch;
    color: var(--site-muted);
    line-height: 1.76;
}

.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 38px;
    align-items: center;
}

.why-list {
    display: grid;
    gap: 16px;
}

.why-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 15px;
    padding: 18px;
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--site-line);
}

.why-num {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--site-red) 12%, #ffffff);
    color: var(--site-red);
    font-weight: 800;
}

.why-item h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
    font-weight: 800;
}

.why-item p {
    margin: 0;
    color: var(--site-muted);
    line-height: 1.72;
}

.why-image {
    position: relative;
    padding: 14px;
}

.why-image img {
    width: 100%;
    min-height: 470px;
    object-fit: cover;
    border-radius: 24px;
}

.stats-strip {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--site-shadow-soft);
}

.stats-strip strong {
    display: block;
    font-size: 1.18rem;
    margin-bottom: 3px;
}

.stats-strip span {
    color: var(--site-muted);
    font-size: 0.8rem;
    line-height: 1.34;
}

.accreditation {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 30px 34px;
}

.seal-row {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.seal {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 7px solid color-mix(in srgb, var(--site-blue) 20%, #ffffff);
    display: grid;
    place-items: center;
    text-align: center;
    font-weight: 800;
    color: var(--site-blue);
    background: #fff;
    white-space: pre-line;
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dest-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    border-radius: 22px;
}

.dest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--site-shadow);
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dest-card:hover img {
    transform: scale(1.06);
}

.dest-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72));
}

.dest-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 14px 20px;
    text-align: center;
    z-index: 1;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.events-grid,
.story-grid,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.event-card,
.story-card,
.step-card {
    padding: 24px;
}

.event-card-rich {
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #dfe4ff;
}

.event-card-media {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid #e7e9ff;
}

.event-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.event-card-rich:hover .event-card-media img {
    transform: scale(1.07);
}

.event-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 28, 0.08) 0%, rgba(9, 12, 28, 0.55) 100%);
}

.event-date-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #fff;
    color: var(--site-red);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(14, 23, 47, 0.16);
    border: 1px solid #f0f1ff;
}

.event-date-badge strong {
    display: block;
    line-height: 1;
    font-size: 1.22rem;
    font-weight: 900;
}

.event-date-badge small {
    display: block;
    margin-top: -2px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: #374151;
}

.event-card-body {
    padding: 18px 18px 20px;
}

.event-card-meta {
    margin: 0 0 8px;
    color: var(--site-red);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-card .event-card-body h3 {
    margin: 0 0 10px;
    font-size: 1.72rem;
    font-size: clamp(1.2rem, 1.25vw, 1.42rem);
    line-height: 1.3;
}

.event-card .event-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-btn {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--site-line);
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font-weight: 800;
    text-decoration: none;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.event-card-btn:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--site-red) 40%, #ffffff);
    color: var(--site-red);
}

.date-pill {
    display: inline-flex;
    border-radius: 999px;
    background: color-mix(in srgb, var(--site-red) 12%, #ffffff);
    color: var(--site-red);
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 13px;
}

.event-card h3,
.story-card h3,
.step-card h3 {
    margin: 0 0 10px;
    font-size: 1.16rem;
    font-weight: 800;
}

.event-card p,
.story-card p,
.step-card li {
    margin: 0;
    color: var(--site-muted);
    line-height: 1.72;
}

.institution-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.institution-card,
.partner-chip {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--site-line);
    border-radius: 17px;
    padding: 18px 16px;
    box-shadow: 0 9px 24px rgba(16, 24, 40, 0.06);
    text-align: center;
}

.institution-card strong {
    display: block;
    font-size: 0.94rem;
    line-height: 1.45;
}

.institution-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 18px;
}

.institution-card__media {
    min-height: 108px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), color-mix(in srgb, var(--site-blue) 4%, #ffffff));
}

.institution-card__media img {
    width: 100%;
    max-width: 170px;
    max-height: 78px;
    object-fit: contain;
}

.institution-card__media span {
    display: inline-flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--site-blue) 10%, #ffffff);
    color: var(--site-blue);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.promo-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    background: linear-gradient(132deg, var(--site-black), color-mix(in srgb, var(--site-blue) 46%, var(--site-black)));
    color: #fff;
    padding: 36px;
    overflow: hidden;
    position: relative;
}

.promo-band::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    right: -110px;
    top: -150px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 68%);
}

.promo-band h2 {
    margin: 0 0 10px;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.04;
    font-weight: 900;
}

.promo-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
    max-width: 56ch;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.video-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.video-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.11), rgba(0, 0, 0, 0.73));
}

.video-inner {
    position: absolute;
    inset: 18px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.play-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.17);
    display: grid;
    place-items: center;
    margin-bottom: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.video-inner p {
    margin: 0;
    font-weight: 700;
    line-height: 1.45;
}

.visa-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.visa-story-card {
    display: grid;
    grid-template-rows: 180px 1fr;
    overflow: hidden;
}

.visa-story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visa-story-card div {
    padding: 16px;
}

.visa-story-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 800;
}

.visa-story-card p {
    margin: 0 0 8px;
    color: var(--site-muted);
    line-height: 1.62;
    font-size: 0.92rem;
}

.visa-story-card small {
    color: var(--site-blue);
    font-weight: 700;
}

.partner-marquee-wrap {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partner-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: partner-scroll 28s linear infinite;
}

.partner-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes partner-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.partner-chip {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    padding: 16px 20px;
    font-weight: 800;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.partner-chip__logo {
    height: 32px;
    max-width: 100px;
    object-fit: contain;
}

.partner-chip__name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--site-ink, #0f172a);
    opacity: 0.7;
}

/* Keep old partner-grid class so responsive rules don't error */
.partner-grid { display: contents; }

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card ul {
    margin: 0;
    padding-left: 18px;
}

.step-card li {
    margin-bottom: 10px;
}

.faq-grid {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--site-line);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-item p {
    margin: 10px 0 0;
    color: var(--site-muted);
    line-height: 1.72;
}

.final-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    background: linear-gradient(134deg, var(--site-red), color-mix(in srgb, var(--site-red-dark) 72%, #111827));
    color: #fff;
    padding: 30px;
    overflow: hidden;
}

.final-cta h3 {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    line-height: 1.06;
    font-weight: 900;
}

.final-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.68;
    max-width: 54ch;
}

.final-cta img {
    width: 182px;
    height: 182px;
    border-radius: 22px;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.14);
}

.sticky-apply {
    position: fixed;
    right: 18px;
    bottom: 96px;
    z-index: 60;
    padding: 14px 20px;
    background: var(--site-black);
    color: #fff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.home-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .section {
        padding: 52px 0;
    }

    .hero-grid,
    .why-grid,
    .accreditation,
    .promo-band,
    .final-cta {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: auto;
    }

    .institution-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .events-grid,
    .video-grid,
    .steps-grid,
    .partner-grid,
    .visa-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seal-row {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .landing-wrap {
        width: min(1180px, calc(100% - 20px));
    }

    .section {
        padding: 40px 0;
    }

    .hero-title {
        max-width: none;
    }

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

    .dest-grid,
    .events-grid,
    .institution-grid,
    .story-grid,
    .video-grid,
    .partner-grid,
    .steps-grid,
    .visa-story-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        position: static;
        margin-top: 16px;
        grid-template-columns: 1fr;
    }

    .final-cta img {
        width: 140px;
        height: 140px;
    }

    .event-card-media {
        height: 200px;
    }

    .sticky-apply {
        left: 14px;
        right: 14px;
        bottom: 86px;
    }
}
