/* ========================================
   HILLFORT INTERNATIONAL SCHOOL
   Professional Stylesheet - Enhanced v2
   ======================================== */

/* Remove all default white space */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
}

body > * { margin-top: 0; }

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
    /* Brand Colors - UNCHANGED */
    --primary-color: #800000;
    --primary-dark: #5a0000;
    --primary-light: #a61c1c;
    --secondary-color: #d4a017;
    --secondary-dark: #b8860b;
    --accent-color: #f67575;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;

    /* Section Background Colors - clearly differentiated */
    --bg-cream: #f5ebe3;
    --bg-light: #f5ebe3;
    --bg-section-a: #ffffff;          /* White sections */
    --bg-section-b: #fdf6ef;          /* Warm cream sections */
    --bg-section-c: #f8f4f2;          /* Light pinkish */
    --bg-section-dark: #1a0000;       /* Dark sections */

    /* Typography */
    --font-display: 'Cinzel', 'Playfair Display', serif;
    --font-primary: 'Playfair Display', serif;
    --font-body: 'Nunito', 'Open Sans', sans-serif;
    --font-accent: 'Cormorant Garamond', 'Georgia', serif;
    --font-nav: 'Poppins', sans-serif;
    --font-secondary: 'Nunito', 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.13);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.18);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-normal); }
ul { list-style: none; }

/* ========================================
   GOOGLE FONTS IMPORT
   ======================================== */
/* Add to HTML head: 
   https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Nunito:wght@300;400;600;700&family=Lobster&family=Poppins:wght@400;500;600&display=swap
*/

/* ========================================
   UTILITIES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* Section Spacing */
section {
    padding: 50px 0;
    margin: 0;
}

section:first-of-type { margin-top: 0; padding-top: 0; }

/* Compact sections */
.programs-section { padding: 42px 0; }
.updates-section { padding: 42px 0; }

/* Section Headers */
.section-label {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-family: var(--font-nav);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
}

/* Section Header row */
.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 45px;
}
.section-header.text-center { display: block; text-align: center; }
.section-header .section-title { margin-top: 8px; }
.section-header p {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
    font-family: var(--font-nav);
    letter-spacing: 0.3px;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}
.btn-white:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
}

.btn-outline-white {
    background-color: transparent;
    border-color: rgba(255,255,255,0.7);
    color: white;
}
.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: white;
}

/* CTA buttons for deep-gold section */
.btn-cta-primary {
    background-color: var(--primary-dark);
    color: #f8d66d;
    border-color: var(--primary-dark);
    font-weight: 700;
}
.btn-cta-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.btn-cta-outline {
    background-color: transparent;
    border-color: var(--primary-dark);
    color: var(--primary-dark);
    font-weight: 700;
}
.btn-cta-outline:hover {
    background-color: var(--primary-dark);
    color: #f8d66d;
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-nav);
    font-weight: 600;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-nav);
    font-size: 0.9rem;
}
.btn-link:hover { color: var(--primary-light); gap: 12px; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background-color: var(--primary-dark);
    padding: 9px 0;
    font-size: 0.82rem;
    font-family: var(--font-nav);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.top-link {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.top-link:hover { color: var(--secondary-color); }
.top-link i { color: var(--secondary-color); }

.social-links { display: flex; gap: 8px; }
.social-links a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.15);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    transition: all 0.25s;
}
.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.quick-links { display: flex; gap: 8px; }
.quick-links .btn-small {
    background-color: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
}
.quick-links .btn-small:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
}
.quick-links .btn-small--admin {
    background-color: rgba(212,160,23,0.18);
    border-color: rgba(212,160,23,0.5);
    color: var(--secondary-color);
}
.quick-links .btn-small--admin:hover {
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
}

/* ========================================
   MAIN HEADER
   ======================================== */
.main-header {
    background: linear-gradient(135deg, #6b0000 0%, #800000 50%, #6b0000 100%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    border-bottom: 3px solid var(--secondary-color);
    isolation: isolate;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo {
    width: 90px;
    height: auto;
    animation: logoEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both,
               logoPulse 3.5s ease-in-out 1s infinite;
    transform-origin: center;
    filter: drop-shadow(0 2px 8px rgba(212,160,23,0.4));
}

@keyframes logoEntrance {
    from { opacity: 0; transform: scale(0.5) rotate(-15deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 2px 6px rgba(212,160,23,0.3)); }
    50%       { filter: drop-shadow(0 2px 16px rgba(212,160,23,0.7)); }
}

.logo-text h1 {
    font-family: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
    font-size: 1.1rem;
    color: white;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: capitalize;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    animation: logoTextIn 0.8s ease 0.35s both;
}

@keyframes logoTextIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.tagline {
    font-size: 0.77rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-top: 0px;
    font-family: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
    letter-spacing: 0.6px;
    font-weight: 600;
}
.tagline i { color: var(--secondary-color); margin-right: 5px; font-size: 0.65rem; }

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    position: relative;
    isolation: isolate;
}
.nav-toggle span {
    width: 26px;
    height: 2.5px;
    background-color: white;
    border-radius: 2px;
    transition: all var(--transition-normal);
    display: block;
    pointer-events: none;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* Float toggle removed — not needed with header isolation approach */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-link {
    color: rgba(255,255,255,0.92);
    font-weight: 500;
    font-family: var(--font-nav);
    font-size: 0.88rem;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    letter-spacing: 0.2px;
}
.nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.12);
}
.nav-link i { font-size: 0.68rem; }

/* Home link */
.nav-home {
    color: var(--secondary-color) !important;
    font-weight: 600;
}
.nav-home i { font-size: 0.85rem !important; color: var(--secondary-color); }
.nav-home:hover { background: rgba(212,160,23,0.15) !important; }
.active-page { color: var(--secondary-color) !important; }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: white;
    min-width: 230px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-radius: var(--radius-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 200;
    border-top: 3px solid var(--secondary-color);
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}
.dropdown-menu li a:hover {
    background-color: #fdf6ef;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 24px;
    font-weight: 600;
}

.cta-nav { margin-left: 8px; }
.cta-nav .btn { font-size: 0.85rem; padding: 10px 22px; }

/* ========================================
   HERO SLIDER  — fixed 500px height, all slides fit perfectly
   ======================================== */

/* ── OUTER WRAPPER: overflow visible so dots show ── */
.hero-slider {
    position: relative;
    overflow: visible;
    margin: 0; padding: 0;
    /* Add bottom margin to account for the dots pill overlapping below */
    margin-bottom: 0;
}

/* ── SLIDER TRACK: fixed height, clips slide content + backgrounds ── */
.slider-container {
    position: relative;
    height: 500px;
    overflow: hidden;   /* clips slides — dots are OUTSIDE this element */
    margin: 0; padding: 0;
}

/* ── ALL SLIDES: absolutely fill slider-container ── */
.slide {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease;
    overflow: hidden;
}
.slide.active {
    opacity: 1;
    visibility: visible;
}

/* ── ENTRY ANIMATIONS ── */
.slide.active .slide-label       { animation: hFadeUp   0.45s ease 0.08s both; }
.slide.active .slide-title       { animation: hFadeUp   0.5s  ease 0.18s both; }
.slide.active .slide-description { animation: hFadeUp   0.5s  ease 0.28s both; }
.slide.active .slide-buttons     { animation: hFadeUp   0.5s  ease 0.38s both; }
.slide.active .slide-stats       { animation: hFadeUp   0.5s  ease 0.45s both; }
.slide.active .slide-image       { animation: hFadeRight 0.6s ease 0.18s both; }
@keyframes hFadeUp {
    from { opacity:0; transform:translateY(18px); }
    to   { opacity:1; transform:translateY(0); }
}
@keyframes hFadeRight {
    from { opacity:0; transform:translateX(30px) scale(0.97); }
    to   { opacity:1; transform:translateX(0) scale(1); }
}

/* ── BACKGROUND IMAGE ── */
.slide-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.slide-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(100,0,0,0.45) 100%);
}

/* ── CONTAINER FILL: .slide > .container must be full height ── */
.slide > .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: stretch;
}

/* ── SLIDE CONTENT ── */
.slide-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding-bottom: 16px;
    box-sizing: border-box;
}

/* ── TWO-COLUMN GRID ── */
.slide-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    width: 100%;
}
.slide-content-inner--single {
    grid-template-columns: 1fr;
    justify-items: center;
}

/* ── TEXT COLUMN ── */
.slide-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: white;
}
.slide-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--secondary-color);
    color: var(--primary-dark);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-family: var(--font-nav);
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 7px;
    align-self: flex-start;
}
.slide-title {
    font-family: var(--font-primary);
    font-size: 1.95rem;
    line-height: 1.2;
    margin-bottom: 7px;
    color: white;
    text-shadow: 0 2px 14px rgba(0,0,0,0.4);
    word-break: break-word;
}
.slide-description {
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
    font-family: var(--font-body);
    color: white;
}
.slide-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.slide-buttons .btn-lg { padding: 10px 20px; font-size: 0.9rem; }
.slide-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 6px;
}
.stat-item {
    text-align: center;
    padding: 6px 4px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
}
.stat-item h3 { font-size: 1.1rem; color: var(--secondary-color); margin-bottom: 1px; font-family: var(--font-primary); }
.stat-item p  { font-size: 0.6rem;  opacity: 0.88; font-family: var(--font-nav); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── IMAGE COLUMN ── */
.slide-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-image img {
    width: 100%;
    max-height: 370px;
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 40px rgba(0,0,0,0.55);
    object-fit: cover;
    display: block;
}
.image-badge {
    position: absolute;
    bottom: 10px; right: 10px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    padding: 5px 10px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; gap: 5px;
    font-weight: 700; font-family: var(--font-nav);
    font-size: 0.68rem; box-shadow: var(--shadow-lg);
}
.image-badge i { font-size: 0.85rem; }

/* ── WEEK-INFO (slide 4) ── */
.week-info-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 7px 11px;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.15);
}
.week-info-item {
    display: flex; align-items: center; gap: 9px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.week-info-item:last-child { border-bottom: none; }
.week-info-item i   { font-size: 0.95rem; color: var(--secondary-color); flex-shrink: 0; }
.week-info-item h4  { margin: 0; font-size: 0.75rem; font-weight: 600; color: white; }
.week-info-item p   { margin: 0; font-size: 0.71rem; opacity: 0.82; color: white; }

/* ── POST-META (slide 5) ── */
.post-meta { display: flex; gap: 9px; margin-bottom: 7px; flex-wrap: wrap; }
.post-meta span { display: flex; align-items: center; gap: 4px; font-size: 0.74rem; opacity: 0.88; color: white; }
.post-meta i { color: var(--secondary-color); }

/* ── PHOTO GRID (slide 6) ── */
.photo-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-bottom: 9px; }
.photo-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.photo-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.3s; }
.photo-item:hover img { transform: scale(1.08); }

/* ── INSTAGRAM (slide 7) ── */
.slide-content-instagram {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-bottom: 16px;
}
.instagram-feed-slide { color: white; text-align: center; width: 100%; }
.instagram-header {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-bottom: 10px;
}
.instagram-header i  { font-size: 1.6rem; color: #E4405F; }
.instagram-header h2 { font-family: var(--font-accent); font-size: 1.25rem; margin: 0; color: white; }
.instagram-header p  { font-size: 0.76rem; opacity: 0.85; margin: 2px 0 0; color: white; }
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}
.instagram-post {
    position: relative; border-radius: var(--radius-sm);
    overflow: hidden; aspect-ratio: 1; cursor: pointer;
}
.instagram-post img { width:100%; height:100%; object-fit:cover; transition:transform 0.3s; }
.instagram-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
    gap: 8px; opacity: 0; transition: opacity 0.25s;
}
.instagram-post:hover .instagram-overlay { opacity: 1; }
.instagram-post:hover img { transform: scale(1.08); }
.instagram-overlay i    { color: white; font-size: 0.85rem; }
.instagram-overlay span { color: white; font-weight: 700; font-size: 0.75rem; }
.instagram-buttons { justify-content: center; }
.instagram-buttons .btn { font-size: 0.8rem; padding: 8px 20px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SLIDER DOTS — Definitive Fix
   ─────────────────────────────────────────────────────────
   Dots live OUTSIDE .slider-container (overflow:hidden) but
   INSIDE .hero-slider (position:relative, overflow:visible).
   They use position:absolute relative to .hero-slider and
   z-index:300 to sit above .features-section {z-index:5}.
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.slider-dots {
    position: absolute;          /* relative to .hero-slider  */
    bottom: -22px;               /* peeks below slider-container */
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;                /* above features-section z-index:5 */
    display: flex;
    justify-content: center;
    pointer-events: all;
}
.slider-dots-inner {
    display: flex;
    gap: 7px;
    align-items: center;
    background: rgba(10,10,10,0.55);
    padding: 7px 18px;
    border-radius: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.12);
}
.dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.38);
    cursor: pointer;
    transition: all 0.22s ease;
    border: 1.5px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
    display: inline-block;
}
.dot.active, .dot:hover {
    background: var(--secondary-color);
    transform: scale(1.5);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.25);
}

/* ── YOUTUBE LIVE (slide 8) ── */
.slide-content-live {
    display: flex !important;
    align-items: center;
    height: 100%;
    padding-bottom: 16px;
    box-sizing: border-box;
}
.slide-content-live .slide-content-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    height: auto;
    align-items: center;
}

/* LIVE label */
.live-label {
    background: #e00 !important;
    color: white !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,0,0,0.5); }
    50%      { box-shadow: 0 0 0 5px rgba(255,0,0,0); }
}
.live-dot {
    width: 7px; height: 7px; background: white; border-radius: 50%;
    display: inline-block; animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.15} }
.live-dot-sm {
    display: inline-block; width: 6px; height: 6px;
    background: #f00; border-radius: 50%;
    animation: blink 1.2s ease-in-out infinite;
}

/* Live status bar */
.live-status-bar {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px; padding: 5px 10px; margin-bottom: 8px;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; color: white;
    font-family: var(--font-nav); backdrop-filter: blur(8px);
}
.live-indicator { display: flex; align-items: center; gap: 5px; }

/* Watch live button */
.btn-live {
    background: linear-gradient(135deg,#c00,#f00);
    color: white; border: none;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--radius-md);
    font-weight: 700; font-family: var(--font-nav);
    font-size: 0.78rem; text-decoration: none;
    transition: all 0.2s; cursor: pointer;
    box-shadow: 0 3px 12px rgba(200,0,0,0.35);
}
.btn-live:hover {
    background: linear-gradient(135deg,#a00,#d00);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200,0,0,0.45);
    color: white;
}
.btn-live i { font-size: 0.95rem; }

/* Right column: embed + thumbnails */
.live-embed-col { display: flex; flex-direction: column; gap: 7px; }
.live-embed-wrapper { position: relative; }
.youtube-live-embed {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.55);
    background: #000;
    max-height: 196px;
}
.youtube-live-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* Offline placeholder */
.yt-offline-card {
    width: 100%; height: 100%; min-height: 100px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: linear-gradient(150deg, #1a1a1a, #2c0000);
    padding: 12px; text-align: center; color: white;
}
.yt-offline-icon {
    width: 36px; height: 36px;
    background: rgba(255,0,0,0.15);
    border: 1.5px solid rgba(255,0,0,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 6px;
}
.yt-offline-icon i { font-size: 1.1rem; color: #f00; }
.yt-offline-card h4 { font-size: 0.75rem; font-family: var(--font-nav); margin-bottom: 2px; }
.yt-offline-card p  { font-size: 0.67rem; opacity: 0.6; margin-bottom: 6px; }

/* Channel thumbnails */
.yt-channel-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.yt-thumb {
    position: relative; border-radius: 6px;
    overflow: hidden; aspect-ratio: 16/9;
    background: #111; display: block; text-decoration: none; cursor: pointer;
}
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.yt-thumb:hover img { transform: scale(1.07); }
.yt-thumb-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s;
}
.yt-thumb:hover .yt-thumb-overlay { opacity: 1; }
.yt-thumb-overlay i { color: white; font-size: 1.2rem; }
.yt-thumb-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.82));
    padding: 10px 5px 3px;
    font-size: 0.58rem; color: white;
    font-family: var(--font-nav); font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.2;
}
.live-badge { bottom: -6px !important; left: 8px !important; right: auto !important; }
.live-dot-indicator { background: #f00 !important; animation: blink 1.2s ease-in-out infinite; }

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 55px 0;
    text-align: center;
    color: white;
    border-bottom: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 {
    font-family: var(--font-primary);
    font-size: 2.6rem;
    margin-bottom: 10px;
    font-weight: 700;
}
.page-header p { font-size: 1.05rem; opacity: 0.88; margin-bottom: 15px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; opacity: 0.82; font-family: var(--font-nav); }
.breadcrumb a { color: var(--secondary-color); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.65rem; }

/* ========================================
   COMING SOON SECTION
   ======================================== */
.coming-soon-section {
    padding: var(--spacing-xl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}
.coming-soon-content { text-align: center; max-width: 800px; margin: 0 auto; }
.coming-soon-icon {
    width: 110px; height: 110px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.8rem; color: white;
    animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.coming-soon-content h2 { font-family: var(--font-primary); font-size: 2.3rem; margin-bottom: var(--spacing-sm); }
.coming-soon-content > p { font-size: 1.1rem; color: var(--text-light); margin-bottom: var(--spacing-lg); line-height: 1.8; }
.coming-soon-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-bottom: var(--spacing-lg); }
.coming-soon-features .feature-item { padding: var(--spacing-md); background: var(--bg-section-b); border-radius: var(--radius-lg); transition: transform 0.3s; }
.coming-soon-features .feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.coming-soon-features .feature-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: var(--spacing-sm); }
.coming-soon-features .feature-item h3 { font-family: var(--font-primary); font-size: 1.2rem; margin-bottom: var(--spacing-xs); }
.coming-soon-features .feature-item p { color: var(--text-light); font-size: 0.92rem; }
.coming-soon-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* No job openings */
.no-openings { text-align: center; padding: var(--spacing-xl); background: var(--bg-section-b); border-radius: var(--radius-lg); margin: var(--spacing-lg) 0; }
.no-openings i { font-size: 3.5rem; color: var(--primary-color); margin-bottom: var(--spacing-md); }
.no-openings h3 { font-family: var(--font-primary); font-size: 1.5rem; margin-bottom: var(--spacing-sm); }
.no-openings p { font-size: 1rem; color: var(--text-light); line-height: 1.8; margin-bottom: var(--spacing-md); }

/* ========================================
   FEATURES SECTION - White on colored bg
   ======================================== */
.features-section {
    background-color: var(--bg-section-a);
    padding: 0;
    margin-top: -30px;  /* reduced so dots have room */
    padding-top: 50px;  /* maintain visual overlap */
    position: relative;
    z-index: 2;         /* BELOW slider-dots z-index:300 */
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s;
    border-top: 4px solid transparent;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-top-color: var(--secondary-color);
}
.feature-icon {
    width: 75px; height: 75px;
    margin: 0 auto var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: white;
}
.feature-card h3 { font-family: var(--font-primary); font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; }

/* ========================================
   ABOUT PREVIEW - Warm cream background
   ======================================== */
.about-preview {
    background: linear-gradient(180deg, #fdf6ef 0%, #f5ebe3 100%);
    border-top: 1px solid #e8d5c4;
    border-bottom: 1px solid #e8d5c4;
    padding: 42px 0;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.two-column-layout .column-text h2 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.two-column-layout .column-text p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 12px;
    font-size: 0.92rem;
}

.column-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-height: 300px;
}
.column-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; display: block; }
.column-image:hover img { transform: scale(1.04); }

.image-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(128,0,0,0.75);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.column-image:hover .image-overlay { opacity: 1; }
.overlay-content { text-align: center; color: white; }
.overlay-content i { font-size: 2.8rem; margin-bottom: 8px; }
.overlay-content span { display: block; font-size: 0.95rem; font-weight: 600; font-family: var(--font-nav); }

.column-text { padding: 6px 0; }

.section-description { font-size: 0.92rem; color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }

.check-list { margin-bottom: 18px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 9px; font-size: 0.9rem; color: var(--text-dark); }
.check-list i { color: var(--primary-color); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.image-overlay-badge {
    position: absolute; bottom: -14px; left: 20px;
    background: var(--primary-color); color: white;
    padding: 10px 18px; border-radius: 10px;
    display: flex; align-items: center; gap: 8px;
    font-weight: 600; font-family: var(--font-nav); font-size: 0.85rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========================================
   PROGRAMS SECTION - White
   ======================================== */
.programs-section { background-color: var(--bg-section-a); }

.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.program-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.program-card.featured { border: 3px solid var(--secondary-color); }

.program-image { position: relative; height: 175px; overflow: hidden; background: #ddd; }
.program-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.program-card:hover .program-image img { transform: scale(1.08); }

.program-badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--primary-color); color: white;
    padding: 4px 12px; border-radius: 20px;
    font-weight: 700; font-size: 0.75rem; font-family: var(--font-nav);
}

.program-content { padding: 18px; }
.program-content h3 { font-family: var(--font-primary); font-size: 1.18rem; margin-bottom: 7px; }
.program-content p { color: var(--text-light); margin-bottom: 10px; line-height: 1.65; font-size: 0.88rem; }
.program-content ul { margin-bottom: 12px; }
.program-content li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 0.86rem; }
.program-content li i { color: var(--primary-color); font-size: 0.8rem; }

/* ========================================
   UPDATES/NEWS - Warm cream background
   ======================================== */
.updates-section {
    background: linear-gradient(180deg, #f5ebe3 0%, #fdf6ef 100%);
    border-top: 1px solid #e8d5c4;
    border-bottom: 1px solid #e8d5c4;
}

/* Featured Update Card */
.update-featured { margin-bottom: var(--spacing-md); }
.update-featured .update-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.update-featured .update-image { height: 100%; min-height: 190px; max-height: 220px; overflow: hidden; }
.update-featured .update-image img { width: 100%; height: 100%; object-fit: cover; }
.update-featured .update-content { padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; }

/* News Carousel */
.news-carousel-wrapper { position: relative; padding: 0; }
.news-carousel { overflow: hidden; padding: 10px 0; }
.news-carousel-track { display: flex; gap: 12px; transition: transform 0.5s ease; }

.news-thumbnail {
    min-width: 200px; max-width: 200px;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid #f0e0d0;
}
.news-thumbnail:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.thumbnail-image { position: relative; height: 115px; overflow: hidden; }
.thumbnail-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-thumbnail:hover .thumbnail-image img { transform: scale(1.08); }

.thumbnail-category {
    position: absolute; top: 8px; right: 8px;
    background: var(--primary-color); color: white;
    padding: 3px 10px; border-radius: 12px;
    font-size: 0.68rem; font-weight: 700; font-family: var(--font-nav);
    text-transform: uppercase; letter-spacing: 0.5px;
}

.thumbnail-content { padding: 10px 12px; }
.thumbnail-content h4 {
    font-family: var(--font-primary);
    font-size: 0.88rem;
    margin-bottom: 5px;
    color: var(--text-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.thumbnail-date { font-size: 0.73rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.thumbnail-date i { color: var(--primary-color); }

/* General Update Cards */
.updates-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.update-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid #f0e0d0;
}
.update-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.update-image { position: relative; height: 170px; overflow: hidden; background: #ddd; }
.update-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.update-card:hover .update-image img { transform: scale(1.05); }

.update-category {
    position: absolute; top: 10px; right: 10px;
    background: var(--primary-color); color: white;
    padding: 3px 12px; border-radius: 15px;
    font-size: 0.68rem; font-weight: 700; font-family: var(--font-nav);
    text-transform: uppercase;
}

.update-content { padding: 16px 18px; }
.update-meta { display: flex; gap: 12px; font-size: 0.77rem; color: var(--text-muted); margin-bottom: 8px; flex-wrap: wrap; }
.update-meta span { display: flex; align-items: center; gap: 5px; }
.update-content h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 6px; color: var(--text-dark); line-height: 1.4; }
.update-content p { color: var(--text-light); font-size: 0.86rem; line-height: 1.6; margin-bottom: 12px; }

/* Large card override */
.update-card.large {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.1);
}
.update-card.large .update-image { height: auto; min-height: 190px; max-height: 220px; overflow: hidden; }
.update-card.large .update-image img { width: 100%; height: 100%; object-fit: cover; }
.update-card.large .update-content { padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; }
.update-card.large h2 { font-family: var(--font-primary); font-size: 1.2rem; margin-bottom: 8px; }
.update-card.large p { color: var(--text-light); line-height: 1.7; margin-bottom: 14px; font-size: 0.88rem; }

/* ========================================
   CTA SECTION - Dark maroon
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #f5b800 0%, #e8a800 40%, #f7c520 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    color: var(--primary-dark);
    border-top: 4px solid rgba(255,255,255,0.4);
    border-bottom: 4px solid rgba(0,0,0,0.08);
}
.cta-section::before {
    content: '';
    position: absolute; top: -40%; right: -8%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
}
.cta-section::after {
    content: '';
    position: absolute; bottom: -40%; left: -8%;
    width: 400px; height: 400px;
    background: rgba(0,0,0,0.04);
    border-radius: 50%;
}
.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.cta-text { flex: 1; color: var(--primary-dark); }
.cta-text h2 { font-family: var(--font-primary); font-size: 2.4rem; margin-bottom: 10px; line-height: 1.2; color: var(--primary-dark); }
.cta-text p { font-size: 1.1rem; opacity: 0.8; color: var(--primary-dark); }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ========================================
   NEWSLETTER SECTION - Primary maroon gradient
   ======================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
    color: white;
    border-top: 4px solid rgba(255,255,255,0.1);
}

/* Index page newsletter form */
.newsletter-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.newsletter-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: var(--spacing-md);
}
.newsletter-icon {
    width: 75px; height: 75px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem; color: var(--secondary-color);
    flex-shrink: 0;
}
.newsletter-text h2 { font-family: var(--font-primary); font-size: 1.9rem; color: white; margin-bottom: 5px; }
.newsletter-text p { opacity: 0.85; }

.newsletter-form { max-width: 580px; margin: 0 auto; }
.form-group { display: flex; gap: 0; margin-bottom: var(--spacing-sm); }
.form-group input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
}
.newsletter-form .form-group .btn { border-radius: 0 10px 10px 0; padding: 15px 24px; }

.form-note { font-size: 0.82rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ========================================
   TESTIMONIALS - White
   ======================================== */
.testimonials-section { background-color: var(--bg-section-a); border-top: 1px solid var(--border-color); }
.testimonials-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

.testimonial-card {
    background: linear-gradient(135deg, #fdf6ef, #fff);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid #e8d5c4;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -10px; left: 20px;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.35;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-rating { color: var(--secondary-dark); margin-bottom: 14px; font-size: 1rem; }
.testimonial-text { font-size: 1rem; line-height: 1.85; color: var(--text-dark); margin-bottom: var(--spacing-md); font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-image { width: 55px; height: 55px; border-radius: 50%; overflow: hidden; border: 3px solid var(--secondary-color); }
.author-image img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author h4 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 3px; }
.testimonial-author p { font-size: 0.82rem; color: var(--text-muted); }

/* ========================================
   FOOTER - Light cream
   ======================================== */
.main-footer { background-color: #f9f0e6; color: var(--text-dark); border-top: 4px solid var(--primary-color); }

.footer-top { padding: var(--spacing-xl) 0; border-bottom: 2px solid #e8d5c4; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }

.footer-about { max-width: 500px; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { width: 75px; height: auto; }

.footer-description {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: var(--spacing-md);
    font-size: 0.92rem;
}

.footer-social { display: flex; gap: 10px; margin-bottom: var(--spacing-md); }
.footer-social a {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-color); color: white;
    border-radius: 50%; transition: all 0.25s;
}
.footer-social a:hover { background: var(--secondary-color); color: var(--primary-dark); transform: translateY(-3px); }

/* Footer Newsletter */
.footer-newsletter { margin-bottom: var(--spacing-md); }
.footer-newsletter h4 { font-family: var(--font-nav); font-size: 0.95rem; color: var(--text-dark); margin-bottom: 10px; font-weight: 700; }
.footer-newsletter-form { display: flex; gap: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.footer-newsletter-form input {
    flex: 1; padding: 11px 14px;
    border: 1px solid #ddd; border-right: none;
    font-size: 0.88rem; font-family: var(--font-body);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.footer-newsletter-form input:focus { outline: none; border-color: var(--primary-color); }
.footer-newsletter-form button {
    background: var(--primary-color); color: white;
    border: none; padding: 11px 18px;
    cursor: pointer; transition: background 0.25s;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.footer-newsletter-form button:hover { background: var(--primary-dark); }

/* Footer Map */
.footer-map { margin-top: var(--spacing-md); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid #ddd; }
.footer-map iframe { width: 100%; height: 175px; border: 0; display: block; }

/* Footer Columns */
.footer-column h4 {
    font-family: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
    font-size: 0.75rem;
    margin-bottom: 16px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(212, 160, 23, 0.3);
}
.footer-column h4 i {
    font-size: 0.82rem;
    color: var(--secondary-color);
    background: rgba(212, 160, 23, 0.18);
    width: 27px;
    height: 27px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(212, 160, 23, 0.3);
}

.footer-subtitle {
    margin-top: var(--spacing-md);
    padding-top: 14px;
    border-top: 1px solid #e8d5c4;
}
/* Footer subtitle h4 inherits from .footer-column h4 */

.footer-links li { margin-bottom: 2px; }
.footer-links a {
    color: var(--text-light);
    transition: all 0.2s;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.4;
    padding: 2px 0;
}
.footer-links a:hover { color: var(--primary-color); padding-left: 4px; }

.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--text-light); }
.footer-contact i { color: var(--primary-color); margin-top: 3px; }

/* Footer Bottom */
.footer-bottom { padding: 18px 0; background: var(--primary-color); }
.footer-bottom-content {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 15px; color: white; font-size: 0.82rem;
    font-family: var(--font-nav);
}
.footer-bottom-links { display: flex; gap: 14px; align-items: center; }
.footer-bottom-links a { color: rgba(255,255,255,0.85); }
.footer-bottom-links a:hover { color: var(--secondary-color); }
.footer-bottom-links span { color: rgba(255,255,255,0.35); }
.powered-by { color: rgba(255,255,255,0.8); }
.powered-by strong { color: var(--secondary-color); }

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-to-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 48px; height: 48px;
    background: var(--primary-color); color: white;
    border: none; border-radius: 50%;
    cursor: pointer; font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--secondary-color);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section { padding: 70px 0; }
.content-section.bg-light { background-color: var(--bg-section-b); }

/* ========================================
   STATS ROW
   ======================================== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; padding-top: 30px; border-top: 2px solid #eee; }
.stat-box { text-align: center; }
.stat-box h3 { font-family: var(--font-primary); font-size: 2rem; color: var(--primary-color); margin-bottom: 4px; }
.stat-box p { font-size: 0.82rem; color: var(--text-light); margin: 0; font-family: var(--font-nav); text-transform: uppercase; letter-spacing: 0.5px; }

/* ========================================
   INFO PILLS
   ======================================== */
.info-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.info-pills span {
    background: #fdf6ef;
    border: 1px solid #e8d5c4;
    color: var(--primary-color);
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 6px;
    font-family: var(--font-nav);
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute; left: 60px; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 30px; margin-bottom: 40px; position: relative; }
.timeline-item::before {
    content: '';
    position: absolute; left: 71px; top: 16px;
    width: 16px; height: 16px;
    background: var(--secondary-color);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-color);
    z-index: 1;
}
.timeline-year { text-align: right; font-family: var(--font-primary); font-size: 1.05rem; color: var(--primary-color); font-weight: 700; padding-top: 10px; }
.timeline-content { background: white; padding: 20px 24px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border-left: 4px solid var(--secondary-color); }
.timeline-content h3 { font-family: var(--font-primary); font-size: 1.1rem; margin-bottom: 8px; }
.timeline-content p { color: var(--text-light); line-height: 1.7; margin: 0; font-size: 0.92rem; }

/* ========================================
   VALUES GRID
   ======================================== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; }
.value-card {
    background: white; border-radius: 16px; padding: 32px 28px;
    text-align: center; box-shadow: 0 4px 25px rgba(0,0,0,0.07);
    transition: all 0.3s; border-top: 4px solid transparent;
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); border-top-color: var(--secondary-color); }
.value-icon { width: 68px; height: 68px; background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.55rem; color: white; }
.value-card h3 { font-family: var(--font-primary); font-size: 1.15rem; margin-bottom: 10px; }
.value-card p { color: var(--text-light); line-height: 1.75; margin: 0; font-size: 0.92rem; }

/* ========================================
   EXPLORE GRID
   ======================================== */
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.explore-card {
    background: white; border-radius: 14px; padding: 28px 18px;
    text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s; text-decoration: none; color: inherit;
    border-bottom: 4px solid transparent; display: block;
}
.explore-card:hover { transform: translateY(-6px); border-bottom-color: var(--secondary-color); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.explore-card i { font-size: 2.1rem; color: var(--primary-color); margin-bottom: 13px; display: block; }
.explore-card h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 7px; }
.explore-card p { color: var(--text-light); font-size: 0.88rem; margin: 0; }

/* ========================================
   MISSION VISION
   ======================================== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.mv-card { border-radius: 20px; padding: 42px 38px; position: relative; overflow: hidden; }
.mv-card.mission { background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); color: white; }
.mv-card.vision { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; }
.mv-icon { font-size: 2.8rem; margin-bottom: 18px; opacity: 0.88; }
.mv-card h2 { font-family: var(--font-primary); font-size: 1.7rem; margin-bottom: 14px; }
.mv-statement { font-size: 1.05rem; line-height: 1.85; font-style: italic; margin-bottom: 22px; opacity: 0.95; padding: 15px; background: rgba(255,255,255,0.1); border-radius: 10px; border-left: 4px solid var(--secondary-color); }
.mv-points { list-style: none; padding: 0; }
.mv-points li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 0.93rem; line-height: 1.6; opacity: 0.9; }
.mv-points li i { color: var(--secondary-color); margin-top: 3px; flex-shrink: 0; }

/* ========================================
   SCRIPTURE BLOCK
   ======================================== */
.scripture-block { max-width: 680px; margin: 0 auto; text-align: center; }
.scripture-block blockquote { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); color: white; padding: 48px; border-radius: 20px; position: relative; }
.scripture-block blockquote i { font-size: 2.8rem; opacity: 0.28; display: block; margin-bottom: 18px; }
.scripture-block blockquote p { font-family: var(--font-primary); font-size: 1.4rem; line-height: 1.65; margin-bottom: 18px; }
.scripture-block blockquote cite { font-size: 0.95rem; opacity: 0.78; font-style: normal; }

/* ========================================
   CONTACT LAYOUT
   ======================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 55px; align-items: start; }
.contact-details { margin: 22px 0; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-icon { width: 42px; height: 42px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.95rem; }
.contact-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; font-family: var(--font-nav); }
.contact-item p, .contact-item a { color: var(--text-light); line-height: 1.6; margin: 0; font-size: 0.92rem; }
.contact-item a:hover { color: var(--primary-color); }
.contact-social { margin-top: 18px; }
.contact-social h4 { margin-bottom: 10px; font-size: 0.9rem; font-weight: 700; font-family: var(--font-nav); }
.contact-form-card { background: white; border-radius: 20px; padding: 38px; box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.contact-form-card h2 { font-family: var(--font-primary); font-size: 1.6rem; margin-bottom: 24px; }

/* ========================================
   FORMS - Improved
   ======================================== */
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field, .form-group-half { margin-bottom: 18px; }
.form-field label, .form-group-half label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; font-family: var(--font-nav); }

.form-field input,
.form-field select,
.form-field textarea,
.form-group-half input,
.form-group-half select,
.form-group-half textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fafafa;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-group-half input:focus,
.form-group-half select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(128,0,0,0.08);
    background: white;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }

/* ========================================
   MAP CONTAINER
   ======================================== */
.map-container { background: white; border-radius: 20px; padding: 28px; box-shadow: 0 4px 25px rgba(0,0,0,0.08); }
.map-container h3 { font-family: var(--font-primary); font-size: 1.25rem; margin-bottom: 18px; }
.map-container h3 i { color: var(--primary-color); }

/* ========================================
   TEAM CARDS
   ======================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.team-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 25px rgba(0,0,0,0.07); transition: all 0.3s; border-bottom: 4px solid transparent; }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.13); border-bottom-color: var(--secondary-color); }
.team-photo { height: 215px; overflow: hidden; background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 24px; }
.team-info h3 { font-family: var(--font-primary); font-size: 1.15rem; margin-bottom: 4px; }
.team-role { color: var(--primary-color); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; font-family: var(--font-nav); }
.team-info p { color: var(--text-light); line-height: 1.65; font-size: 0.9rem; margin-bottom: 14px; }

/* ── Leadership Hierarchy Layout ── */
.leadership-tier {
    margin-bottom: 32px;
}

/* Tier rank badge */
.team-rank-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--secondary-color);
    font-family: var(--font-nav);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* TIER 1 — Hero card: full width, horizontal layout */
.team-card--hero {
    display: grid;
    grid-template-columns: 340px 1fr;
    border-radius: 24px;
    border-bottom: 5px solid var(--secondary-color);
    box-shadow: 0 8px 40px rgba(128,0,0,0.15);
}
.team-card--hero:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(128,0,0,0.2); }
.team-photo--hero {
    height: 100%;
    min-height: 320px;
    background: linear-gradient(160deg, var(--primary-dark), var(--primary-color));
}
.team-photo--hero img { width: 100%; height: 100%; object-fit: cover; }
.team-info--hero {
    padding: 42px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.team-info--hero h3 {
    font-family: var(--font-primary);
    font-size: 1.9rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}
.team-info--hero .team-role {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.team-info--hero p {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* TIER 2 — Senior card: centred, medium width, still horizontal */
.tier-2 {
    display: flex;
    justify-content: center;
}
.team-card--senior {
    display: grid;
    grid-template-columns: 240px 1fr;
    max-width: 780px;
    width: 100%;
    border-radius: 20px;
    border-bottom: 4px solid rgba(212,160,23,0.6);
    box-shadow: 0 6px 30px rgba(0,0,0,0.1);
}
.team-card--senior:hover { transform: translateY(-5px); box-shadow: 0 16px 45px rgba(0,0,0,0.14); border-bottom-color: var(--secondary-color); }
.team-photo--senior {
    height: 100%;
    min-height: 240px;
    background: linear-gradient(160deg, var(--primary-color), var(--primary-light));
}
.team-photo--senior img { width: 100%; height: 100%; object-fit: cover; }
.team-info--senior {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.team-info--senior h3 {
    font-family: var(--font-primary);
    font-size: 1.45rem;
    margin-bottom: 4px;
}
.team-info--senior .team-role { font-size: 0.82rem; margin-bottom: 12px; }
.team-info--senior p { font-size: 0.93rem; line-height: 1.7; color: var(--text-light); margin-bottom: 16px; }

/* TIER 3 — Standard cards: two columns, smaller vertical cards */
.tier-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 780px;
    margin: 0 auto;
}
.team-card--standard {
    border-radius: 16px;
    border-bottom: 3px solid rgba(212,160,23,0.35);
}
.team-card--standard:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); border-bottom-color: var(--secondary-color); }
.team-photo--standard {
    height: 180px;
    background: linear-gradient(160deg, var(--primary-light), var(--primary-color));
}
.team-photo--standard img { width: 100%; height: 100%; object-fit: cover; }
.team-card--standard .team-info { padding: 20px 22px; }
.team-card--standard .team-info h3 { font-size: 1.1rem; margin-bottom: 3px; }
.team-card--standard .team-role { font-size: 0.75rem; margin-bottom: 10px; }
.team-card--standard .team-info p { font-size: 0.87rem; line-height: 1.6; margin-bottom: 12px; }

/* Team social links */
.team-social a { width: 32px; height: 32px; background: var(--primary-color); color: white; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; text-decoration: none; transition: background 0.25s; }
.team-social a:hover { background: var(--secondary-color); color: var(--primary-dark); }

/* Read More button on team cards */
.read-more-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary-color); color: white;
    border: none; border-radius: 20px;
    padding: 8px 18px; font-size: 0.8rem; font-weight: 700;
    font-family: var(--font-nav); cursor: pointer;
    transition: all 0.22s; letter-spacing: 0.3px;
    text-decoration: none;
}
.read-more-btn:hover { background: var(--secondary-color); color: var(--primary-dark); transform: translateX(3px); }
.read-more-btn--sm { padding: 6px 14px; font-size: 0.76rem; }
.team-card--hero:hover .read-more-btn,
.team-card--senior:hover .read-more-btn,
.team-card--standard:hover .read-more-btn { background: var(--secondary-color); color: var(--primary-dark); }

/* Card cursor */
.team-card--hero, .team-card--senior, .team-card--standard { cursor: pointer; }

/* ── Leadership Profile Popup Modal ── */
.leader-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 99990;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(4px);
}
.leader-popup-overlay.active { opacity: 1; visibility: visible; }

.leader-popup {
    background: white;
    border-radius: 20px;
    max-width: 860px; width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 5px solid var(--primary-color);
}
.leader-popup-overlay.active .leader-popup { transform: scale(1) translateY(0); }

.leader-popup-close {
    position: absolute; top: 14px; right: 16px;
    background: #f0f0f0; border: none; border-radius: 50%;
    width: 34px; height: 34px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: var(--text-dark); z-index: 10;
    transition: background 0.2s;
}
.leader-popup-close:hover { background: var(--primary-color); color: white; }

.leader-popup-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 360px;
}

.leader-popup-photo {
    position: relative;
    background: linear-gradient(160deg, var(--primary-dark), var(--primary-color));
    border-radius: 15px 0 0 15px;
    overflow: hidden;
}
.leader-popup-photo img {
    width: 100%; height: 100%; min-height: 300px;
    object-fit: cover;
    display: block;
}
.leader-popup-badge {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    background: var(--secondary-color); color: var(--primary-dark);
    padding: 5px 18px; border-radius: 20px;
    font-size: 0.72rem; font-weight: 700; font-family: var(--font-nav);
    letter-spacing: 1px; text-transform: uppercase;
    white-space: nowrap;
}

.leader-popup-body {
    padding: 32px 36px;
    display: flex; flex-direction: column;
}
.leader-popup-body h2 {
    font-family: var(--font-primary); font-size: 1.75rem;
    color: var(--text-dark); margin-bottom: 4px;
}
.leader-popup-role {
    color: var(--primary-color); font-size: 0.82rem;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.2px; font-family: var(--font-nav);
    margin-bottom: 16px;
}
.leader-popup-divider {
    height: 2px; width: 50px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px; margin-bottom: 18px;
}
.leader-popup-bio p {
    font-size: 0.92rem; line-height: 1.8; color: var(--text-light);
    margin-bottom: 12px;
}
.leader-popup-bio p:last-child { margin-bottom: 20px; }

.popup-quals-title {
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-dark);
    font-family: var(--font-nav); margin-bottom: 10px;
    display: flex; align-items: center; gap: 7px;
}
.popup-quals-title i { color: var(--secondary-color); }
.popup-qual-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.86rem; color: var(--text-light);
    margin-bottom: 7px;
}
.popup-qual-item i { color: var(--primary-color); margin-top: 2px; flex-shrink: 0; }

.leader-popup-quals { margin-bottom: 20px; }
.leader-popup-contact { margin-top: auto; }
.popup-contact-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-color); color: white;
    padding: 11px 24px; border-radius: 10px;
    font-size: 0.85rem; font-weight: 700; font-family: var(--font-nav);
    text-decoration: none; transition: all 0.22s;
}
.popup-contact-btn:hover { background: var(--primary-dark); transform: translateY(-2px); color: white; }

@media (max-width: 700px) {
    .leader-popup-inner { grid-template-columns: 1fr; }
    .leader-popup-photo { border-radius: 15px 15px 0 0; min-height: 200px; }
    .leader-popup-photo img { min-height: 200px; }
    .leader-popup-body { padding: 22px 20px; }
    .leader-popup-body h2 { font-size: 1.35rem; }
}

/* Other Staff Links — below leadership hierarchy */
.other-staff-links { max-width: 780px; margin: 0 auto; }
.other-staff-heading {
    font-family: var(--font-nav);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.other-staff-heading i { color: var(--primary-color); }
.other-staff-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.staff-link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid #e8d5c4;
    border-left: 4px solid var(--primary-color);
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.staff-link-card:hover {
    border-left-color: var(--secondary-color);
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    transform: translateX(3px);
}
.staff-link-card > i:first-child {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
.staff-link-card div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.staff-link-title {
    font-family: var(--font-nav);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-dark);
}
.staff-link-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.coming-soon-tag {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--font-nav);
    letter-spacing: 0.3px;
}
.staff-link-arrow {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .other-staff-row { grid-template-columns: 1fr; }
}

/* ========================================
   APPROVAL BADGES
   ======================================== */
.approval-badges { margin-top: 22px; }
.badge-item { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; padding: 12px 16px; background: #f0f9f0; border-radius: 10px; border-left: 4px solid #27ae60; }
.badge-item i { color: #27ae60; font-size: 1.15rem; flex-shrink: 0; }
.badge-item span { font-weight: 600; color: var(--text-dark); font-size: 0.92rem; }
.accreditation-highlight { text-align: center; padding: 38px; background: white; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.1); margin-top: 18px; }
.accreditation-highlight h3 { font-family: var(--font-primary); font-size: 1.45rem; margin: 10px 0 5px; }

/* ========================================
   FACILITIES GRID
   ======================================== */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.facility-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 25px rgba(0,0,0,0.07); transition: transform 0.3s; }
.facility-card:hover { transform: translateY(-6px); }
.facility-image { height: 195px; overflow: hidden; background: #ddd; }
.facility-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.facility-card:hover .facility-image img { transform: scale(1.05); }
.facility-content { padding: 22px 24px; }
.facility-content h3 { font-family: var(--font-primary); font-size: 1.08rem; margin-bottom: 9px; }
.facility-content h3 i { color: var(--primary-color); margin-right: 6px; }
.facility-content p { color: var(--text-light); line-height: 1.72; margin: 0; font-size: 0.9rem; }

/* ========================================
   CURRICULUM COMPARE
   ======================================== */
.curriculum-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.curriculum-col { border-radius: 16px; padding: 32px; color: white; }
.curriculum-col.nigerian { background: linear-gradient(135deg, #1a6b3c, #27ae60); }
.curriculum-col.british { background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)); }
.curriculum-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.curriculum-header i { font-size: 1.9rem; }
.curriculum-header h2 { font-family: var(--font-primary); font-size: 1.35rem; }
.curriculum-col ul { list-style: none; padding: 0; }
.curriculum-col li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; font-size: 0.92rem; opacity: 0.95; line-height: 1.55; }
.curriculum-col li i { color: var(--secondary-color); margin-top: 2px; flex-shrink: 0; }

/* ========================================
   SUBJECTS GRID
   ======================================== */
.subjects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
.subject-item { background: white; border: 2px solid #ede; border-radius: 10px; padding: 15px 12px; text-align: center; transition: all 0.25s; cursor: default; }
.subject-item:hover { border-color: var(--primary-color); background: #fdf6ef; }
.subject-item i { font-size: 1.55rem; color: var(--primary-color); margin-bottom: 8px; display: block; }
.subject-item span { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); font-family: var(--font-nav); }

/* ========================================
   EYFS LEARNING AREAS
   ======================================== */
.learning-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.area-card { border-radius: 16px; padding: 28px; background: white; box-shadow: 0 4px 25px rgba(0,0,0,0.08); position: relative; }
.area-card.prime { border-top: 5px solid #e74c3c; }
.area-card.specific { border-top: 5px solid var(--primary-color); }
.area-card span { display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: white; background: #e74c3c; padding: 4px 12px; border-radius: 20px; margin-bottom: 18px; font-family: var(--font-nav); }
.area-card.specific span { background: var(--primary-color); }
.area-item { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.area-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.area-item i { color: var(--primary-color); margin-right: 8px; }
.area-item h4 { font-family: var(--font-primary); font-size: 0.98rem; margin-bottom: 4px; }
.area-item p { color: var(--text-light); font-size: 0.85rem; margin: 0; }

/* ========================================
   DAY SCHEDULE
   ======================================== */
.day-schedule { max-width: 720px; margin: 0 auto; }
.schedule-item { display: grid; grid-template-columns: 125px 1fr; gap: 0; align-items: center; margin-bottom: 10px; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.schedule-time { background: var(--primary-color); color: white; padding: 17px 14px; font-size: 0.82rem; font-weight: 700; text-align: center; font-family: var(--font-nav); }
.schedule-activity { padding: 14px 18px; }
.schedule-activity h4 { font-family: var(--font-primary); font-size: 0.97rem; margin-bottom: 4px; }
.schedule-activity h4 i { color: var(--secondary-color); margin-right: 6px; }
.schedule-activity p { color: var(--text-light); font-size: 0.85rem; margin: 0; }

/* ========================================
   WHY CHOOSE REASONS
   ======================================== */
.reasons-list { display: flex; flex-direction: column; gap: 18px; }
.reason-item { display: flex; align-items: flex-start; gap: 22px; background: white; border-radius: 16px; padding: 26px 28px; box-shadow: 0 3px 20px rgba(0,0,0,0.06); transition: all 0.3s; }
.reason-item:hover { transform: translateX(8px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.reason-number { font-family: var(--font-primary); font-size: 2.4rem; color: var(--secondary-color); line-height: 1; flex-shrink: 0; min-width: 55px; opacity: 0.65; }
.reason-content h3 { font-family: var(--font-primary); font-size: 1.12rem; margin-bottom: 8px; }
.reason-content h3 i { color: var(--primary-color); margin-right: 8px; }
.reason-content p { color: var(--text-light); line-height: 1.72; margin: 0; font-size: 0.93rem; }

/* ========================================
   ADMISSION STEPS
   ======================================== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.step-card { background: white; border-radius: 16px; padding: 32px 22px; text-align: center; box-shadow: 0 4px 25px rgba(0,0,0,0.07); transition: transform 0.3s; }
.step-card:hover { transform: translateY(-6px); }
.step-number { font-family: var(--font-primary); font-size: 2.8rem; color: var(--secondary-color); opacity: 0.28; line-height: 1; margin-bottom: 5px; }
.step-icon { width: 62px; height: 62px; background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.4rem; color: white; }
.step-card h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 10px; }
.step-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.7; }

/* ========================================
   ACCORDION
   ======================================== */
.accordion-item { background: white; border-radius: 12px; margin-bottom: 10px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.06); }
.accordion-header { display: flex; align-items: center; gap: 12px; padding: 17px 22px; cursor: pointer; background: white; user-select: none; }
.accordion-header i { color: var(--primary-color); font-size: 1.05rem; }
.accordion-header h4 { font-family: var(--font-primary); font-size: 0.98rem; margin: 0; flex: 1; }
.accordion-body { padding: 0 22px 16px; }
.accordion-body p { color: var(--text-light); line-height: 1.72; margin: 0; font-size: 0.9rem; }

/* ========================================
   ENTRY REQUIREMENTS
   ======================================== */
.requirements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.requirement-card { background: white; border-radius: 16px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border-top: 4px solid var(--primary-color); }
.requirement-card h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }
.requirement-card h3 i { color: var(--primary-color); margin-right: 8px; }
.requirement-card ul { list-style: none; padding: 0; }
.requirement-card li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }
.requirement-card li i { color: #27ae60; margin-top: 2px; flex-shrink: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.faq-item { background: white; border-radius: 12px; padding: 22px 24px; box-shadow: 0 3px 18px rgba(0,0,0,0.06); border-left: 4px solid var(--secondary-color); }
.faq-item h4 { font-family: var(--font-primary); font-size: 0.98rem; margin-bottom: 8px; }
.faq-item p { color: var(--text-light); font-size: 0.9rem; line-height: 1.65; margin: 0; }

/* ========================================
   FEES GRID
   ======================================== */
.fees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 24px; margin-bottom: 28px; }
.fee-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 25px rgba(0,0,0,0.08); transition: transform 0.3s; }
.fee-card:hover { transform: translateY(-6px); }
.fee-card.featured { box-shadow: 0 10px 40px rgba(0,0,0,0.15); transform: scale(1.03); }
.fee-badge { background: var(--secondary-color); color: var(--primary-dark); font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; text-align: center; padding: 6px; font-family: var(--font-nav); }
.fee-header { padding: 28px 24px 22px; text-align: center; color: white; }
.fee-header.nursery { background: linear-gradient(135deg, #e67e22, #f39c12); }
.fee-header.primary { background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); }
.fee-header.secondary { background: linear-gradient(135deg, #2c3e50, #34495e); }
.fee-header i { font-size: 2.3rem; margin-bottom: 12px; display: block; }
.fee-header h3 { font-family: var(--font-primary); font-size: 1.25rem; margin-bottom: 4px; }
.fee-header p { opacity: 0.82; font-size: 0.88rem; margin: 0; }
.fee-body { padding: 18px 24px; }
.fee-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.88rem; }
.fee-item:last-child { border-bottom: none; }
.fee-item span { color: var(--text-light); }
.fee-item strong { color: var(--primary-color); font-weight: 700; }
.fee-note { background: #fff8e1; border: 1px solid #ffd060; border-radius: 12px; padding: 16px 20px; display: flex; gap: 12px; align-items: flex-start; }
.fee-note i { color: #e67e22; font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }
.fee-note p { margin: 0; color: #7a5c00; font-size: 0.9rem; line-height: 1.65; }

/* ========================================
   APPLY PAGE
   ======================================== */
.apply-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 38px; align-items: start; }
.apply-info-card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.apply-info-card h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 14px; }
.apply-info-card h3 i { color: var(--primary-color); margin-right: 8px; }
.apply-info-card ul { list-style: none; padding: 0; }
.apply-info-card li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-light); }
.apply-info-card li i { color: #27ae60; flex-shrink: 0; margin-top: 2px; }
.apply-info-card a { color: var(--primary-color); }
.apply-info-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 8px; }
.mini-steps { display: flex; flex-direction: column; gap: 12px; }
.mini-steps div { display: flex; align-items: center; gap: 12px; }
.mini-steps span { width: 26px; height: 26px; background: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700; flex-shrink: 0; }
.mini-steps p { margin: 0; font-size: 0.88rem; color: var(--text-light); }

/* ========================================
   SCHOOL TOUR
   ======================================== */
.tour-highlights { margin: 18px 0; }
.tour-item { display: flex; gap: 14px; margin-bottom: 14px; align-items: flex-start; }
.tour-item i { color: var(--primary-color); font-size: 1.15rem; margin-top: 2px; flex-shrink: 0; }
.tour-item h4 { font-size: 0.93rem; font-weight: 700; margin-bottom: 2px; font-family: var(--font-nav); }
.tour-item p { color: var(--text-light); font-size: 0.88rem; margin: 0; }
.tour-includes { background: #f0f8ff; border-radius: 12px; padding: 18px 22px; margin-top: 18px; }
.tour-includes h3 { font-family: var(--font-primary); font-size: 0.98rem; margin-bottom: 10px; }
.tour-includes ul { list-style: none; padding: 0; }
.tour-includes li { display: flex; gap: 10px; margin-bottom: 9px; font-size: 0.9rem; color: var(--text-light); }
.tour-includes li i { color: #27ae60; flex-shrink: 0; margin-top: 2px; }

/* ========================================
   NEWS & EVENTS
   ======================================== */
.events-list { display: flex; flex-direction: column; gap: 14px; }
.event-item { display: flex; align-items: center; gap: 18px; background: white; border-radius: 14px; padding: 18px 22px; box-shadow: 0 3px 18px rgba(0,0,0,0.06); transition: transform 0.3s; }
.event-item:hover { transform: translateX(6px); }
.event-date { text-align: center; background: var(--primary-color); color: white; border-radius: 12px; padding: 11px 14px; min-width: 58px; flex-shrink: 0; }
.event-day { font-family: var(--font-primary); font-size: 1.7rem; display: block; line-height: 1; }
.event-month { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-nav); }
.event-details { flex: 1; }
.event-details h4 { font-family: var(--font-primary); font-size: 0.98rem; margin-bottom: 4px; }
.event-details p { color: var(--text-light); font-size: 0.83rem; margin: 0; }
.event-badge { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; flex-shrink: 0; font-family: var(--font-nav); }
.event-badge.upcoming { background: #e8f4fd; color: #2980b9; }
.event-badge.info { background: #f0fff0; color: #27ae60; }

/* ========================================
   CALENDAR TERMS
   ======================================== */
.calendar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.calendar-term { background: white; border-radius: 16px; padding: 28px; box-shadow: 0 4px 25px rgba(0,0,0,0.07); }
.calendar-term h3 { font-family: var(--font-primary); font-size: 1.05rem; color: var(--primary-color); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }
.calendar-term h3 i { margin-right: 8px; }
.term-date-item { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #f8f8f8; font-size: 0.88rem; }
.date-label { color: var(--text-light); }
.date-value { color: var(--text-dark); font-weight: 600; text-align: right; }

/* ========================================
   POLICIES
   ======================================== */
.policies-list { display: flex; flex-direction: column; gap: 18px; }
.policy-item { display: flex; gap: 18px; align-items: flex-start; background: white; border-radius: 14px; padding: 26px; box-shadow: 0 3px 18px rgba(0,0,0,0.06); }
.policy-icon { width: 52px; height: 52px; background: var(--primary-color); color: white; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.policy-content h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 8px; }
.policy-content p { color: var(--text-light); line-height: 1.72; margin: 0; font-size: 0.9rem; }

/* ========================================
   UNIFORM GUIDE
   ======================================== */
.uniform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.uniform-card { background: white; border-radius: 16px; padding: 26px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); border-top: 4px solid var(--primary-color); }
.uniform-card h3 { font-family: var(--font-primary); font-size: 1.02rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }
.uniform-card ul { list-style: none; padding: 0; }
.uniform-card li { display: flex; gap: 10px; margin-bottom: 9px; align-items: flex-start; font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }
.uniform-card li i { color: var(--primary-color); flex-shrink: 0; margin-top: 2px; }

/* ========================================
   GALLERY
   ======================================== */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; justify-content: center; }
.gallery-btn { padding: 8px 20px; border: 2px solid #e0e0e0; background: white; border-radius: 30px; font-size: 0.88rem; cursor: pointer; transition: all 0.25s; font-family: var(--font-nav); font-weight: 600; }
.gallery-btn:hover, .gallery-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: white; }
.photo-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.gallery-item { position: relative; border-radius: 14px; overflow: hidden; height: 215px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.72)); color: white; padding: 20px 14px 14px; transform: translateY(100%); transition: transform 0.3s; font-size: 0.88rem; font-weight: 600; }
.gallery-item:hover .gallery-overlay { transform: translateY(0); }

/* ========================================
   SITEMAP
   ======================================== */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.sitemap-col h3 { font-family: var(--font-nav); font-size: 0.88rem; color: var(--primary-color); margin-bottom: 13px; padding-bottom: 8px; border-bottom: 2px solid var(--secondary-color); display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.sitemap-col ul { list-style: none; padding: 0; }
.sitemap-col li { margin-bottom: 8px; }
.sitemap-col a { color: var(--text-light); font-size: 0.88rem; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.sitemap-col a::before { content: '›'; color: var(--secondary-color); font-size: 1.1rem; }
.sitemap-col a:hover { color: var(--primary-color); }

/* ========================================
   DOWNLOADS
   ======================================== */
.downloads-grid { display: flex; flex-direction: column; gap: 32px; }
.download-category { background: white; border-radius: 16px; padding: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.download-category h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; display: flex; align-items: center; gap: 10px; }
.download-category h3 i { color: var(--primary-color); }
.download-list { display: flex; flex-direction: column; gap: 10px; }
.download-item { display: flex; align-items: center; gap: 14px; padding: 13px 15px; background: #fafafa; border-radius: 10px; transition: background 0.2s; }
.download-item:hover { background: #fdf6ef; }
.download-icon { width: 42px; height: 42px; background: #ffe0e0; color: #c0392b; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.download-info { flex: 1; }
.download-info h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 3px; font-family: var(--font-nav); }
.download-info p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

/* ========================================
   LEGAL CONTENT
   ======================================== */
.legal-content { background: white; border-radius: 16px; padding: 38px; box-shadow: 0 4px 25px rgba(0,0,0,0.07); line-height: 1.85; }
.legal-content p { color: var(--text-light); margin-bottom: 18px; font-size: 0.93rem; }
.legal-content h3 { font-family: var(--font-primary); font-size: 1.12rem; color: var(--text-dark); margin: 28px 0 12px; padding-top: 10px; border-top: 1px solid #f0f0f0; }
.legal-content h3:first-child { border-top: none; margin-top: 0; }
.legal-content a { color: var(--primary-color); }

/* ========================================
   SMS PAGE
   ======================================== */
.sms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 22px; }
.sms-card { background: white; border-radius: 16px; padding: 32px 22px; text-align: center; box-shadow: 0 4px 25px rgba(0,0,0,0.07); transition: transform 0.3s; }
.sms-card:hover { transform: translateY(-6px); }
.sms-icon { width: 75px; height: 75px; background: linear-gradient(135deg, var(--primary-color), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.9rem; color: white; }
.sms-card h3 { font-family: var(--font-primary); font-size: 1.15rem; margin-bottom: 12px; }
.sms-card p { color: var(--text-light); line-height: 1.72; font-size: 0.9rem; }

/* ========================================
   EVENT POPUP
   ======================================== */
.event-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.78);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: fadeInOverlay 0.4s ease;
    backdrop-filter: blur(4px);
}
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }
.event-popup { background: white; border-radius: 20px; max-width: 580px; width: 100%; position: relative; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4); animation: slideUpPopup 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes slideUpPopup { from { transform: translateY(60px) scale(0.92); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.event-popup-banner { position: relative; height: 215px; overflow: hidden; background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); }
.event-popup-banner img { width: 100%; height: 100%; object-fit: cover; opacity: 0.48; }
.event-popup-banner-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; text-align: center; padding: 20px; }
.event-popup-badge { background: var(--secondary-color); color: var(--primary-dark); font-size: 0.73rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 5px 18px; border-radius: 30px; margin-bottom: 13px; display: inline-block; font-family: var(--font-nav); }
.event-popup-banner h2 { font-family: var(--font-primary); font-size: 1.75rem; line-height: 1.2; margin-bottom: 7px; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.event-popup-banner p { font-size: 0.92rem; opacity: 0.88; }
.event-popup-body { padding: 28px 32px; }
.event-popup-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.event-popup-meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-light); }
.event-popup-meta-item i { color: var(--primary-color); }
.event-popup-body p { color: var(--text-light); line-height: 1.82; margin-bottom: 22px; font-size: 0.94rem; }
.event-popup-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.event-popup-close-btn { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; background: rgba(255,255,255,0.22); border: none; border-radius: 50%; color: white; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; z-index: 10; backdrop-filter: blur(4px); }
.event-popup-close-btn:hover { background: rgba(255,255,255,0.42); }
.event-popup-footer { display: flex; align-items: center; justify-content: space-between; padding: 13px 32px; background: #f8f8f8; border-top: 1px solid #eee; font-size: 0.8rem; color: var(--text-light); }
.event-popup-footer label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.event-popup-footer input[type="checkbox"] { width: 15px; height: 15px; cursor: pointer; }

/* ========================================
   SECURITY
   ======================================== */
body.secured { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.security-toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px); background: rgba(28,28,28,0.95); color: white; padding: 12px 22px; border-radius: 10px; font-size: 0.86rem; z-index: 999999; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 30px rgba(0,0,0,0.35); transition: transform 0.35s ease, opacity 0.35s ease; opacity: 0; pointer-events: none; white-space: nowrap; }
.security-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.security-toast i { color: var(--secondary-color); }

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */
@media (max-width: 1024px) {
    .section-title { font-size: 2rem; }
    .slide-title { font-size: 1.5rem; }
    .slide-content-inner { gap: 22px; }
    .slide-image img { max-height: 290px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; max-width: 100%; }
    .two-column-layout { grid-template-columns: 1fr; gap: 35px; }
    .mv-grid { grid-template-columns: 1fr; }
    .curriculum-compare { grid-template-columns: 1fr; }
    .learning-areas { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .apply-layout { grid-template-columns: 1fr; }
    .update-card.large { grid-template-columns: 1fr; }
    .update-card.large .update-image { min-height: 250px; }
    .stats-row { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
    /* Top bar */
    .top-bar .container { flex-direction: column; gap: 8px; text-align: center; }
    .top-bar-left, .top-bar-right { justify-content: center; flex-wrap: wrap; gap: 10px; }

    /* Header */
    .header-content { position: relative; }
    .nav-toggle { display: flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

    .nav-menu {
        position: fixed;
        top: 0; left: -100%;
        width: min(82vw, 310px);
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 25px 30px;
        transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        gap: 0;
        z-index: 999;
        box-shadow: 6px 0 35px rgba(0,0,0,0.5);
    }
    .nav-menu.active { left: 0; }

    .nav-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-link { padding: 14px 0; width: 100%; font-size: 0.95rem; }

    .dropdown-menu {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.08);
        margin: 0;
        border-radius: 0;
        border-top: none;
        padding: 0;
        display: none;
    }
    .dropdown-menu.open { display: block; }
    .dropdown-menu li a { color: rgba(255,255,255,0.82); padding: 11px 20px; font-size: 0.88rem; border-left: none; }
    .dropdown-menu li a:hover { color: var(--secondary-color); background: rgba(255,255,255,0.08); padding-left: 25px; }

    .cta-nav { margin: 14px 0 0; width: 100%; }
    .cta-nav .btn { width: 100%; justify-content: center; }

    /* Hero Slider */
    .slider-container { height: 420px; }
    .slider-dots { bottom: -20px; }
    .slide-content-inner { grid-template-columns: 1fr; gap: 10px; }
    .slide-title { font-size: 1.4rem; }
    .slide-image { display: none; }
    .live-embed-col { display: none; }
    .slide-stats { grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .stat-item h3 { font-size: 1.1rem; }
    .stat-item p { font-size: 0.62rem; }
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }

    /* Sections */
    .section-title { font-size: 1.75rem; }
    .page-header h1 { font-size: 2rem; }
    .features-section { margin-top: -20px; padding-top: 40px; }
    .features-grid { grid-template-columns: 1fr 1fr; }

    .programs-grid { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; text-align: center; }

    /* Photo/Instagram */
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
    .instagram-header h2 { font-size: 1.8rem; }

    /* News */
    .update-featured .update-card { grid-template-columns: 1fr; }
    .updates-grid { grid-template-columns: 1fr; }
    .news-thumbnail { min-width: 200px; max-width: 200px; }
    .thumbnail-image { height: 120px; }

    /* Leadership hierarchy — stack all cards vertically on mobile */
    .team-card--hero { grid-template-columns: 1fr; }
    .team-photo--hero { min-height: 220px; }
    .team-info--hero { padding: 24px 26px; }
    .team-info--hero h3 { font-size: 1.45rem; }
    .team-card--senior { grid-template-columns: 1fr; max-width: 100%; }
    .team-photo--senior { min-height: 200px; }
    .team-info--senior { padding: 22px 24px; }
    .tier-3 { grid-template-columns: 1fr; max-width: 100%; }

    /* CTA & Newsletter */
    .cta-content { flex-direction: column; text-align: center; }
    .cta-text h2 { font-size: 1.75rem; }
    .cta-buttons { justify-content: center; }
    .newsletter-text { flex-direction: column; }

    /* Form */
    .form-group { flex-direction: column; }
    .form-group input { border-radius: 10px; }
    .newsletter-form .form-group .btn { border-radius: 10px; }
    .contact-form .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-about { grid-column: 1; }
    .footer-map iframe { height: 180px; }
    .footer-bottom-content { flex-direction: column; text-align: center; gap: 10px; }
    .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

    /* Reason items */
    .reason-item { flex-direction: column; gap: 10px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .fees-grid { grid-template-columns: 1fr; }
    .fee-card.featured { transform: none; }
    .timeline { padding-left: 0; }
    .timeline::before { display: none; }
    .timeline-item { grid-template-columns: 70px 1fr; }
    .subjects-grid { grid-template-columns: repeat(2,1fr); }
    .schedule-item { grid-template-columns: 100px 1fr; }
    .event-item { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.5rem; }
    .slider-container { height: 360px; }
    .slider-dots { bottom: -20px; }
    .slide-title { font-size: 1.2rem; }
    .slide-description { font-size: 0.78rem; }
    .slide-buttons { flex-direction: column; gap: 5px; }
    .btn-lg { width: 100%; justify-content: center; }
    .slide-stats { grid-template-columns: repeat(3, 1fr); gap: 4px; }
    .stat-item { padding: 4px 3px; }
    .stat-item h3 { font-size: 0.95rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2,1fr); }
    .reasons-list .reason-item { padding: 18px; }
    .scripture-block blockquote { padding: 28px 22px; }
    .scripture-block blockquote p { font-size: 1.2rem; }
    .event-popup-banner { height: 175px; }
    .event-popup-banner h2 { font-size: 1.35rem; }
    .event-popup-body { padding: 20px 20px; }
    .event-popup-footer { padding: 12px 20px; }
    .contact-form-card { padding: 24px 20px; }
    .page-header h1 { font-size: 1.65rem; }
    .cta-text h2 { font-size: 1.5rem; }
}

/* Mobile nav overlay — starts below header so toggle is never blocked */
body.nav-is-open { overflow: hidden; }

.nav-overlay {
    display: none;
    position: fixed;
    top: var(--header-bottom, 70px);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 998;
    cursor: pointer;
}
.nav-overlay.active { display: block; }

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .top-bar, .main-header, .hero-slider, .cta-section,
    .scroll-to-top, .event-popup-overlay { display: none !important; }
    .main-footer { background: none !important; }
}
