﻿:root {
    --christ-navy: #0F1E4A;
    --christ-navy-2: #172C68;
    --christ-orange: #D98600;
    --christ-orange-dark: #B76D00;
    --ink: #182033;
    --muted: #5E6678;
    --line: #E2E7F0;
    --soft: #F5F7FB;
    --white: #FFFFFF;
    --shadow: 0 18px 45px rgba(15, 30, 74, 0.12);
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    font-family: "Heebo", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--christ-navy); text-decoration: none; }
a:hover { color: var(--christ-orange-dark); }
:focus-visible { outline: 3px solid rgba(217, 134, 0, 0.5); outline-offset: 3px; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 2000;
    padding: 10px 16px;
    background: var(--christ-orange);
    color: var(--christ-navy);
    border-radius: 8px;
    font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-navbar {
    min-height: 84px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(15, 30, 74, 0.08);
    backdrop-filter: blur(14px);
    transition: box-shadow 0.2s ease, min-height 0.2s ease;
}
.site-navbar.is-scrolled { box-shadow: 0 12px 28px rgba(15, 30, 74, 0.1); min-height: 74px; }
.navbar-brand { display: flex; align-items: center; gap: 14px; color: var(--christ-navy); font-weight: 700; line-height: 1.05; min-width: 0; }
.brand-marks { display: flex; align-items: center; gap: 10px; padding-right: 12px;/* border-right: 1px solid rgba(15, 30, 74, 0.14);*/ }
.brand-logo { display: block; object-fit: contain; }
.brand-logo-christ { width: 250px; /*height: auto; max-height: 48px; */}
.brand-logo-mozilla { width: 206px; /*height: auto; max-height: 36px; */}
.brand-title { font-size: 0.92rem; white-space: nowrap; }
.brand-title strong { font-size: 1.02rem; }
.navbar-toggler { border-color: rgba(15, 30, 74, 0.18); }
.nav-link { color: var(--christ-navy); font-weight: 700; padding: 0.75rem 0.65rem !important; position: relative; }
.nav-link::after {
    content: "";
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.45rem;
    height: 2px;
    background: var(--christ-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--christ-orange-dark); }

.btn { border-radius: 10px; font-weight: 800; padding: 0.78rem 1.05rem; }
.btn-accent { background: var(--christ-orange); border-color: var(--christ-orange); color: var(--christ-navy); box-shadow: 0 10px 24px rgba(217, 134, 0, 0.22); }
.btn-accent:hover { background: var(--christ-orange-dark); border-color: var(--christ-orange-dark); color: var(--white); }
.btn-outline-navy { border: 1px solid var(--christ-navy); color: var(--christ-navy); background: var(--white); }
.btn-outline-navy:hover { background: var(--christ-navy); color: var(--white); }
.btn-link-timeline { color: var(--christ-navy); padding-left: 0; padding-right: 0; }
.btn-disabled { background: #E8ECF3; color: #6B7280; border-color: #E8ECF3; cursor: not-allowed; }

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 104px 0 7px;
    background:
        linear-gradient(115deg, rgba(245, 247, 251, 0.98) 0%, rgba(255, 255, 255, 0.92) 54%, rgba(255, 248, 236, 0.8) 100%),
        radial-gradient(circle at 82% 22%, rgba(217, 134, 0, 0.16), transparent 24rem);
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(90deg, rgba(15, 30, 74, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(15, 30, 74, 0.11) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.hero-section .container { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--christ-orange-dark); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; font-size: 0.78rem; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--christ-orange); border-radius: 999px; }
h1, h2, h3 { color: var(--christ-navy); font-weight: 800; line-height: 1.15; letter-spacing: 0; }
h1 { font-size: clamp(2.35rem, 6vw, 2.9rem); margin: 16px 0; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
.hero-lead { font-size: 1.25rem; max-width: 660px; color: #333B4F; }
.hero-location { display: flex; gap: 12px; align-items: flex-start; color: var(--christ-navy); font-weight: 700; margin: 24px 0; }
.hero-location i { color: var(--christ-orange); margin-top: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-media { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--white); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.qr-float {
    position: absolute;
    right: 16px;
    bottom: 16px;
    border: 0;
    border-radius: 12px;
    background: var(--white);
    color: var(--christ-navy);
    padding: 12px 14px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(15, 30, 74, 0.18);
}

.section { padding: 86px 0; }
.section:nth-of-type(even) { background: var(--soft); }
.section-heading { max-width: 840px; margin: 0 auto 42px; text-align: center; }
.section-heading p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.section-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.about-block { margin-top: 72px; }
.feature-grid, .eligibility-grid, .submit-grid, .news-grid, .gallery-grid, .stats-grid { display: grid; gap: 18px; }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.feature-card, .check-card, .action-card, .news-card, .stat-card {
    background: var(--white);
    border: 1px solid rgba(15, 30, 74, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(15, 30, 74, 0.08);
}
.feature-card { display: flex; gap: 12px; align-items: center; padding: 16px; font-weight: 800; color: var(--christ-navy); }
.feature-card i, .check-card i, .stat-card i { color: var(--christ-orange); font-size: 1.45rem; }
.vision-card { margin-top: 20px; padding: 22px; border-left: 5px solid var(--christ-orange); background: #FFF7EA; border-radius: 12px; }
.vision-card span { display: block; color: var(--muted); font-weight: 700; }
.vision-card strong { color: var(--christ-navy); font-size: 1.55rem; }

.stats-band { padding: 28px 0; background: var(--christ-navy); }
.stats-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat-card { padding: 22px 18px; text-align: center; box-shadow: none; }
.stat-card strong { display: block; color: var(--christ-navy); font-size: 1.35rem; margin-top: 10px; }
.stat-card span { color: var(--muted); font-weight: 700; }

.theme-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.theme-card { grid-column: span 3; min-height: 360px; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(15, 30, 74, 0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.theme-card:nth-child(n+5) { grid-column: span 4; }
.theme-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(15, 30, 74, 0.16); }
.theme-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.theme-card__body { padding: 22px; }
.theme-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #FFF2DD; color: var(--christ-orange-dark); margin-bottom: 12px; }
.link-button { border: 0; background: transparent; color: var(--christ-orange-dark); padding: 0; font-weight: 800; }
.link-button i { margin-left: 6px; transition: transform 0.2s ease; }
.link-button:hover i { transform: translateX(4px); }

.eligibility-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.check-card { padding: 22px; min-height: 190px; }
.check-card p { margin: 14px 0 0; font-weight: 700; color: var(--christ-navy); }
.note-card { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 18px; border-radius: 12px; background: #FFF7EA; color: var(--christ-navy); }
.note-card p { margin: 0; }
.programme-timeline { display: grid; grid-template-columns: repeat(6, minmax(180px, 1fr)); gap: 16px; position: relative; }
.timeline-item { position: relative; padding: 24px 18px; background: var(--white); border: 1px solid rgba(15, 30, 74, 0.08); border-top: 4px solid var(--christ-orange); border-radius: 14px; box-shadow: var(--shadow); }
.timeline-item span { display: inline-block; color: var(--christ-orange-dark); font-weight: 800; margin-bottom: 10px; }
.timeline-item p { color: var(--muted); margin: 0; }

.submit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.action-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.badge-soft, .status-pill { display: inline-flex; width: fit-content; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: #FFF2DD; color: var(--christ-orange-dark); font-size: 0.82rem; font-weight: 800; }
.qr-button { border: 1px dashed rgba(15, 30, 74, 0.25); border-radius: 12px; background: #FAFBFE; padding: 12px; display: grid; gap: 8px; text-align: center; color: var(--christ-navy); font-weight: 800; }
.qr-button img, .modal-qr { width: 180px; margin: 0 auto; border-radius: 10px; }
.gallery-wrap { margin-top: 54px; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-card { position: relative; overflow: hidden; border: 0; border-radius: 14px; padding: 0; background: var(--christ-navy); color: var(--white); text-align: left; box-shadow: var(--shadow); }
.gallery-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: 0.78; transition: transform 0.25s ease, opacity 0.25s ease; }
.gallery-card:hover img { transform: scale(1.04); opacity: 0.95; }
.gallery-card span { position: absolute; left: 16px; bottom: 14px; right: 52px; }
.gallery-card small { display: block; }
.gallery-card i { position: absolute; right: 16px; bottom: 22px; }

.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { padding: 24px; }
.update-banner { margin-top: 36px; padding: 28px; border-radius: 16px; display: flex; justify-content: space-between; gap: 20px; align-items: center; background: var(--christ-navy); color: var(--white); }
.update-banner h3, .update-banner p { color: var(--white); margin: 0; }
.update-banner p { opacity: 0.82; margin-top: 6px; }

.contact-card { height: 100%; padding: 30px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); border: 1px solid rgba(15, 30, 74, 0.08); }
.contact-card .role { color: var(--muted); font-weight: 700; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin: 18px 0; }
.contact-line i { color: var(--christ-orange); margin-top: 5px; width: 18px; }
.map-visual { min-height: 460px; height: 100%; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #EDF3F8, #FFF7EA); position: relative; box-shadow: var(--shadow); }
.map-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(15,30,74,.14) 1px, transparent 1px), linear-gradient(rgba(15,30,74,.14) 1px, transparent 1px); background-size: 42px 42px; }
.map-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(360px, 82%); background: var(--white); padding: 28px; border-radius: 16px; box-shadow: var(--shadow); text-align: center; }
.map-pin { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--christ-orange); color: var(--christ-navy); font-size: 1.6rem; margin-bottom: 12px; }

.page-hero { padding: 138px 0 62px; background: linear-gradient(125deg, var(--christ-navy), #1B357B); color: var(--white); }
.page-hero h1, .page-hero p { color: var(--white); }
.page-hero p { max-width: 760px; font-size: 1.15rem; }

.site-footer { background: var(--christ-navy); color: rgba(255,255,255,.8); padding: 60px 0 24px; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-logos img { width: auto; /*max-width: 148px; height: 58px;*/ object-fit: contain; background: var(--white); border-radius: 10px; padding: 7px 10px; }
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--christ-orange); }
.footer-register { display: inline-block; margin: 8px 0 16px; color: var(--christ-navy) !important; background: var(--christ-orange); padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 0.92rem; }
.footer-bottom p { margin: 0; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 1020; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--christ-orange); color: var(--christ-navy); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1199px) {
    .site-navbar .btn-accent { margin: 12px 0 18px; }
    .stats-grid, .eligibility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .theme-card, .theme-card:nth-child(n+5) { grid-column: span 6; }
    .submit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .programme-timeline { overflow-x: auto; padding-bottom: 8px; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    html { scroll-padding-top: 82px; }
    .site-navbar { min-height: 74px; }
    .navbar-brand { gap: 10px; }
    .brand-marks { gap: 8px; padding-right: 9px; }
    .brand-logo-christ { width: 112px; max-height: 38px; }
    .brand-logo-mozilla { width: 92px; max-height: 28px; }
    .brand-title { display: none; }
    .hero-section { padding: 120px 0 58px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .section { padding: 64px 0; }
    .feature-grid, .stats-grid, .eligibility-grid, .submit-grid, .news-grid, .gallery-grid { grid-template-columns: 1fr; }
    .theme-grid { grid-template-columns: 1fr; }
    .theme-card, .theme-card:nth-child(n+5) { grid-column: auto; }
    .programme-timeline { display: block; overflow: visible; border-left: 3px solid var(--christ-orange); margin-left: 10px; padding-left: 22px; }
    .timeline-item { margin-bottom: 18px; }
    .timeline-item::before { content: ""; position: absolute; left: -31px; top: 24px; width: 15px; height: 15px; border-radius: 50%; background: var(--christ-orange); border: 3px solid var(--white); }
    .update-banner, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-main { grid-template-columns: 1fr; }
    .map-visual { min-height: 360px; }
}
@media (max-width: 360px) {
    .brand-logo-christ { width: 98px; }
    .brand-logo-mozilla { width: 78px; }
    .btn { padding: 0.72rem 0.85rem; }
    .contact-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

