/* =========================================================
   Cricket Tournament Portal — Main Stylesheet
   Government-style design system
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
    --navy:        #0a2240;
    --navy-dark:   #061830;
    --navy-light:  #14365f;
    --saffron:     #ff9933;
    --saffron-dark:#e07d15;
    --green:       #138808;
    --white:       #ffffff;
    --off-white:   #f5f7fa;
    --grey-100:    #eef1f5;
    --grey-200:    #dde3ea;
    --grey-400:    #9aa5b1;
    --grey-600:    #5a6672;
    --grey-800:    #2b3440;
    --text:        #1f2933;
    --text-muted:  #5a6672;

    --radius-sm:   4px;
    --radius:      8px;
    --radius-lg:   14px;

    --shadow-sm:   0 1px 2px rgba(10,34,64,.08);
    --shadow:      0 4px 14px rgba(10,34,64,.10);
    --shadow-lg:   0 10px 30px rgba(10,34,64,.14);

    --container:   1180px;
    --header-h:    76px;

    --font-body:   "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head:   "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --t-fast:      .2s ease;
    --t:           .3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.25;
    margin: 0 0 .6rem;
    font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

p { margin: 0 0 1rem; }

a { color: var(--navy); text-decoration: none; transition: color var(--t-fast); }
a:hover, a:focus { color: var(--saffron-dark); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 10px 16px;
    z-index: 9999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--saffron);
    outline-offset: 2px;
}

/* ---------- Utility Bar ---------- */
.utility-bar {
    background: var(--navy-dark);
    color: #cfd8e3;
    font-size: .82rem;
    padding: 6px 0;
}
.utility-bar a { color: #cfd8e3; }
.utility-bar a:hover { color: var(--saffron); }
.utility-bar i { margin-right: 4px; color: var(--saffron); }

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--t), padding var(--t);
}
.site-header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}
.brand:hover { color: var(--navy); }

.logo-box {
    width: 52px; height: 52px;
    background: var(--navy);
    border-radius: 50%;
    display: grid; place-items: center;
    overflow: hidden;
    border: 2px solid var(--saffron);
}
.logo-box img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.brand-tagline { font-size: .74rem; color: var(--text-muted); }

/* Navigation */
.primary-nav ul {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    gap: 4px;
}
.primary-nav a {
    display: block;
    padding: 10px 16px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--navy);
    border-radius: var(--radius-sm);
    position: relative;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 2px;
    background: var(--saffron);
    transform: scaleX(0);
    transition: transform var(--t);
}
.primary-nav a:hover::after,
.primary-nav a.active::after { transform: scaleX(1); }
.primary-nav a.active { color: var(--saffron-dark); }

/* Hamburger */
.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t-fast);
    text-decoration: none;
    line-height: 1.2;
}
.btn-primary {
    background: var(--navy);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--navy-light);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-accent {
    background: var(--saffron);
    color: var(--navy-dark);
}
.btn-accent:hover, .btn-accent:focus {
    background: var(--saffron-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-primary {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-primary:hover {
    background: var(--navy);
    color: #fff;
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--navy);
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--off-white); }

.section-head { margin-bottom: 44px; }
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--saffron-dark);
    margin-bottom: 6px;
}
.divider {
    width: 64px; height: 3px;
    background: var(--saffron);
    margin: 10px auto 0;
    border-radius: 2px;
}
.divider-left { margin: 10px 0 22px; }
.section-sub { color: var(--text-muted); margin-top: 8px; }
.lead { font-size: 1.08rem; color: var(--text); }

/* ---------- Hero Slider ---------- */
.hero-slider {
    position: relative;
    height: clamp(420px, 72vh, 640px);
    overflow: hidden;
    background: var(--navy-dark);
}
.slides { position: relative; height: 100%; }
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    display: flex;
    align-items: center;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }

.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6,24,48,.88) 0%, rgba(6,24,48,.62) 55%, rgba(6,24,48,.35) 100%);
}
.slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 720px;
}
.slide-badge {
    display: inline-block;
    background: var(--saffron);
    color: var(--navy-dark);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.slide h1 {
    color: #fff;
    margin-bottom: 14px;
    font-size: clamp(1.8rem, 4vw, 3rem);
}
.slide p {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    max-width: 600px;
    margin-bottom: 22px;
    opacity: .95;
}
.slide .btn { margin-right: 8px; }

/* Slide content animation */
.slide.active .slide-content > * {
    animation: fadeUp .8s ease both;
}
.slide.active .slide-content > *:nth-child(1) { animation-delay: .15s; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .3s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .45s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: .6s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Slider controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.45);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background var(--t-fast);
    display: grid; place-items: center;
}
.slider-arrow:hover { background: var(--saffron); color: var(--navy-dark); border-color: var(--saffron); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
    position: absolute;
    bottom: 22px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: all var(--t-fast);
    padding: 0;
}
.dot.active { background: var(--saffron); border-color: var(--saffron); }

/* ---------- Cards ---------- */
.info-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-top: 4px solid var(--navy);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.info-card h3 { margin-bottom: 18px; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--grey-200);
    font-size: .95rem;
}
.info-list li:last-child { border-bottom: 0; }
.info-list span { color: var(--text-muted); }
.info-list strong { color: var(--navy); text-align: right; }

.check-list { list-style: none; padding: 0; margin: 0 0 16px; }
.check-list li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    align-items: flex-start;
}
.check-list i { color: var(--green); margin-top: 3px; }

/* Upcoming tournament */
.upcoming-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.upcoming-status { margin-bottom: 14px; }
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.status-open { background: #e6f7ea; color: var(--green); border: 1px solid #b8e6c2; }
.status-closed { background: #fde8e8; color: #a02020; border: 1px solid #f3c2c2; }

.upcoming-title { margin-bottom: 18px; }

.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--grey-200);
    align-items: center;
    font-size: .95rem;
}
.detail-list li:last-child { border-bottom: 0; }
.detail-list i { color: var(--saffron-dark); }
.detail-list span { color: var(--text-muted); }
.detail-list strong { color: var(--navy); }

/* Prize cards */
.prize-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    height: 100%;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.prize-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--saffron);
}
.prize-icon {
    width: 60px; height: 60px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--saffron-dark);
    font-size: 1.6rem;
    display: grid; place-items: center;
}
.prize-card h4 { margin-bottom: 6px; font-size: 1.05rem; }
.prize-amount { font-weight: 700; color: var(--navy); font-size: 1.15rem; margin-bottom: 4px; }
.prize-desc { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* Fee cards */
.fee-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-left: 4px solid var(--saffron);
    border-radius: var(--radius);
    padding: 30px;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.fee-amount { font-size: 1.8rem; font-weight: 700; color: var(--navy); margin: 10px 0 18px; }
.fee-amount span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.fee-deadline { margin-top: 18px; color: var(--text-muted); font-size: .92rem; }
.fee-deadline i { color: var(--saffron-dark); margin-right: 6px; }

.payment-steps { padding-left: 20px; margin: 0 0 18px; }
.payment-steps li { padding: 5px 0; }
.alert-note {
    display: flex;
    gap: 10px;
    background: #fff8ec;
    border: 1px solid #f4d9a6;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: .9rem;
    color: #7a5300;
}
.alert-note i { color: var(--saffron-dark); }

/* Mission & Vision */
.mv-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 34px;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t);
}
.mv-card:hover { transform: translateY(-4px); }
.mv-icon {
    width: 60px; height: 60px;
    background: var(--navy);
    color: var(--saffron);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.7rem;
    margin-bottom: 18px;
}

/* Highlight cards */
.highlight-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 26px;
    height: 100%;
    transition: transform var(--t), box-shadow var(--t);
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.highlight-card i {
    font-size: 1.8rem;
    color: var(--saffron-dark);
    margin-bottom: 12px;
    display: block;
}
.highlight-card h4 { margin-bottom: 8px; }
.highlight-card p { margin: 0; color: var(--text-muted); font-size: .94rem; }

/* Value cards */
.value-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    height: 100%;
    transition: transform var(--t), border-color var(--t);
}
.value-card:hover { transform: translateY(-4px); border-color: var(--saffron); }
.value-card i {
    font-size: 2rem;
    color: var(--navy);
    background: var(--off-white);
    width: 62px; height: 62px;
    border-radius: 50%;
    display: grid; place-items: center;
    margin: 0 auto 14px;
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* Committee */
.committee-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 26px 20px;
    text-align: center;
    height: 100%;
    transition: transform var(--t), box-shadow var(--t);
}
.committee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.committee-avatar {
    width: 74px; height: 74px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--navy);
    font-size: 2rem;
    display: grid; place-items: center;
    margin: 0 auto 14px;
    border: 2px solid var(--grey-200);
}
.committee-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.committee-role {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--saffron-dark);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
}
.committee-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* Sponsor */
.sponsor-group { text-align: center; }
.sponsor-level {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin: 28px 0 16px;
}
.sponsor-level:first-child { margin-top: 0; }
.sponsor-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}
.sponsor-box {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 18px 26px;
    min-width: 170px;
    display: grid; place-items: center;
    transition: transform var(--t), box-shadow var(--t);
}
.sponsor-box:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sponsor-box img { max-height: 60px; object-fit: contain; opacity: .85; }

/* ---------- Forms ---------- */
.contact-form {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.form-label { font-weight: 600; color: var(--navy); font-size: .92rem; }
.form-label .req { color: #c0392b; }
.form-control {
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: .95rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10,34,64,.12);
}
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* Contact info */
.contact-info-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-top: 4px solid var(--navy);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.contact-info-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-info-list li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--grey-200);
}
.contact-info-list li:last-child { border-bottom: 0; }
.contact-info-list i {
    color: var(--saffron-dark);
    font-size: 1.15rem;
    margin-top: 3px;
}
.contact-info-list div { display: flex; flex-direction: column; }
.contact-info-list strong { font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-info-list a, .contact-info-list span { color: var(--text); }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--navy);
    display: grid; place-items: center;
    transition: all var(--t-fast);
}
.social-links a:hover { background: var(--navy); color: #fff; }

/* Map embed */
.map-embed h3 { margin-bottom: 16px; }
.map-placeholder {
    background: var(--off-white);
    border: 2px dashed var(--grey-200);
    border-radius: var(--radius);
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}
.map-placeholder i { font-size: 2.4rem; color: var(--navy); display: block; margin-bottom: 10px; }
.map-placeholder p { margin: 0 0 4px; font-weight: 600; color: var(--navy); }

/* ---------- Page Banner ---------- */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 70px 0;
    color: #fff;
    overflow: hidden;
}
.page-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6,24,48,.9) 0%, rgba(6,24,48,.65) 100%);
}
.page-banner-content { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: #dbe4ef; margin: 0; }
.breadcrumb {
    --bs-breadcrumb-divider-color: #9fb1c7;
    margin-bottom: 10px;
    font-size: .88rem;
}
.breadcrumb-item a { color: var(--saffron); }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: #cfd8e3; }

/* ---------- Tables ---------- */
.official-table {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0;
}
.official-table th, .official-table td { padding: 14px 18px; vertical-align: middle; }
.official-table thead th {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border: 0;
}
.official-table tbody th {
    background: var(--off-white);
    color: var(--navy);
    width: 34%;
    font-weight: 600;
}
.official-table tbody tr { border-bottom: 1px solid var(--grey-200); }
.official-table tbody tr:last-child { border-bottom: 0; }

/* ---------- Rule cards ---------- */
.rule-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-left: 4px solid var(--navy);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
}
.rule-card h3 { display: flex; align-items: center; gap: 10px; }
.rule-card i { color: var(--saffron-dark); }

/* Team slots */
.team-slot {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--navy);
    transition: border-color var(--t-fast), transform var(--t-fast);
}
.team-slot i { color: var(--saffron-dark); }
.team-slot:hover { border-color: var(--saffron); transform: translateY(-2px); }

/* FAQ accordion */
.faq-accordion .accordion-item {
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    padding: 16px 20px;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--off-white);
    color: var(--navy);
    box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(255,153,51,.3); }
.faq-accordion .accordion-body { color: var(--text-muted); }

/* CTA box */
.cta-box {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}
.cta-box h2 { color: #fff; margin-bottom: 6px; }
.cta-box p { margin: 0; color: #cfd8e3; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-dark);
    color: #b7c3d3;
    margin-top: 40px;
    position: relative;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding: 56px 16px 40px;
}
.footer-col h4, .footer-col h5 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1rem;
    letter-spacing: .03em;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-brand img {
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    width: 48px; height: 48px;
}
.footer-brand h4 { margin: 0; font-size: .95rem; color: #fff; }
.footer-tag { margin: 2px 0 0; font-size: .78rem; color: #8ea1bb; }
.footer-desc { font-size: .88rem; line-height: 1.6; }

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 9px; font-size: .9rem; }
.footer-col ul a { color: #b7c3d3; }
.footer-col ul a:hover { color: var(--saffron); }

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: .88rem;
}
.footer-contact i { color: var(--saffron); margin-top: 3px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.footer-legal a { color: #b7c3d3; }
.footer-legal a:hover { color: var(--saffron); }
.footer-legal span { margin: 0 8px; color: #4a5a72; }

/* Back to top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--saffron);
    color: var(--navy-dark);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: grid; place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--t);
    z-index: 900;
    box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--saffron-dark); color: #fff; }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .header-inner { min-height: 68px; }
    .brand-title { font-size: .92rem; }
    .brand-tagline { display: none; }
    .cta-box { padding: 30px; }
}

@media (max-width: 768px) {
    .section { padding: 56px 0; }

    .utility-bar .utility-right { display: none; }
    .utility-left { font-size: .78rem; gap: 12px !important; }

    .nav-toggle { display: flex; }

    .primary-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--grey-200);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .primary-nav.open { max-height: 340px; }
    .primary-nav ul { flex-direction: column; padding: 8px 0; gap: 0; }
    .primary-nav a { padding: 14px 20px; border-radius: 0; }
    .primary-nav a::after { display: none; }
    .primary-nav a.active { background: var(--off-white); border-left: 4px solid var(--saffron); }

    .hero-slider { height: clamp(420px, 78vh, 560px); }
    .slider-arrow { width: 40px; height: 40px; }
    .slider-arrow.prev { left: 8px; }
    .slider-arrow.next { right: 8px; }
    .slide-content { padding: 0 8px; }

    .upcoming-card { padding: 24px; }
    .cta-box { flex-direction: column; align-items: flex-start; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 16px 28px; }
    .brand-title { font-size: .82rem; }
    .logo-box { width: 44px; height: 44px; }
    .contact-form { padding: 22px; }
    .contact-info-card { padding: 22px; }
    .fee-card, .info-card, .mv-card { padding: 22px; }
    .official-table th, .official-table td { padding: 10px 12px; font-size: .88rem; }
    .official-table tbody th { width: 42%; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* Bootstrap override for accordion focus */
.btn-close:focus { box-shadow: 0 0 0 3px rgba(255,153,51,.4); }