/* ============================================================
   ANJEF International School — Public Stylesheet
   Fonts: Poppins (headings 800w) + Inter (body)
   No Bootstrap — pure CSS Grid layout
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --primary:      #00733A;
    --secondary:    #07A34A;
    --accent:       #D4DA1B;
    --accent-dark:  #b5c015;
    --footer-bg:    #00552B;
    --bg-soft:      #F8FAF8;
    --white:        #FFFFFF;
    --dark:         #1A1A1A;
    --grey:         #6B7280;
    --grey-light:   #9CA3AF;
    --border:       #E5E7EB;
    --shadow-sm:    0 4px 6px -1px rgba(0,0,0,0.04);
    --shadow-md:    0 20px 40px -12px rgba(0,115,58,0.10);
    --shadow-hover: 0 28px 50px -16px rgba(0,115,58,0.18);
    --radius-sm:    12px;
    --radius-md:    20px;
    --radius-lg:    28px;
    --radius-xl:    40px;
    --transition:   all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

/* ============================================================
   3. CONTAINER
   ============================================================ */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

/* ============================================================
   4. TICKER BAR
   ============================================================ */
.ticker-bar {
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 38px;
    font-size: 0.8125rem;
    font-weight: 500;
    position: relative;
    z-index: 200;
}

.ticker-label {
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
    will-change: transform;
}

.ticker-content span {
    padding: 0 40px;
    color: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-content span i {
    color: var(--accent);
    font-size: 0.7rem;
}

@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   5. MAIN NAVIGATION
   ============================================================ */
.main-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--primary);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark.lime {
    background: var(--accent);
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    list-style: none;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.88);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: rgba(255,255,255,0.12);
}

.nav-menu a.active {
    color: var(--accent);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px -10px rgba(0,0,0,0.15);
    padding: 10px;
    z-index: 110;
    list-style: none;
}

.has-dropdown:hover .dropdown {
    display: block;
    animation: dropIn 0.2s ease forwards;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    background: transparent;
}

.dropdown li a:hover {
    background: var(--bg-soft);
    color: var(--primary);
}

.dropdown li a i {
    width: 16px;
    color: var(--primary);
    font-size: 0.8rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 16px;
}

.btn-apply-nav {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent);
    color: var(--dark) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 9px 22px;
    border-radius: 50px;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
}

.btn-apply-nav:hover {
    background: var(--accent-dark);
    color: var(--dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -4px rgba(212,218,27,0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- scrolled state --- */
.main-nav.scrolled {
    background: var(--white);
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.10);
}

.main-nav.scrolled .logo-name {
    color: var(--primary);
}

.main-nav.scrolled .logo-sub {
    color: var(--secondary);
}

.main-nav.scrolled .nav-menu a {
    color: var(--dark);
}

.main-nav.scrolled .nav-menu a:hover,
.main-nav.scrolled .nav-menu a.active {
    color: var(--primary);
    background: var(--bg-soft);
}

.main-nav.scrolled .nav-menu a.active {
    color: var(--primary);
}

.main-nav.scrolled .nav-toggle span {
    background: var(--primary);
}

.main-nav.scrolled .nav-toggle {
    background: var(--bg-soft);
}

/* ============================================================
   6. SECTION BASE
   ============================================================ */
.section {
    padding: 90px 0;
    background: var(--white);
}

.section-alt {
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 13px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -8px rgba(0,115,58,0.40);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -8px rgba(0,115,58,0.30);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 13px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -8px rgba(212,218,27,0.50);
}

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.65);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-white-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-lime {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 13px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-lime:hover {
    background: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -8px rgba(212,218,27,0.50);
}

/* ============================================================
   8. HERO SLIDER
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: var(--dark);
}

.hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,40,20,0.78) 0%,
        rgba(0,115,58,0.45) 60%,
        rgba(0,0,0,0.25) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-text {
    max-width: 680px;
    animation: heroFadeUp 0.7s ease both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,218,27,0.18);
    border: 1px solid rgba(212,218,27,0.45);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-badge i {
    font-size: 0.7rem;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.35);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
    transform: translateY(-50%) scale(1.1);
}

#heroPrev {
    left: 24px;
}

#heroNext {
    right: 24px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: var(--transition);
}

.hero-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent);
}

.hero-dot:hover {
    background: rgba(255,255,255,0.8);
}

/* ============================================================
   9. STATS OVERLAP
   ============================================================ */
.stats-overlap {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding: 0 24px;
}

.stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--accent);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--grey);
    letter-spacing: 0.02em;
}

/* ============================================================
   10. PROGRAMME CARDS
   ============================================================ */
.prog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.prog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.prog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.prog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.prog-card:hover::before {
    transform: scaleX(1);
}

.prog-card-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.prog-card:hover .prog-card-icon {
    background: var(--primary);
    transform: scale(1.08);
}

.prog-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1875rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.prog-card-desc {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}

.prog-card-age {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 18px;
    border: 1px solid rgba(0,115,58,0.15);
}

.prog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

.prog-card-link:hover {
    color: var(--secondary);
    gap: 10px;
}

/* ============================================================
   11. WHY CHOOSE ANJEF — FEATURES
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,115,58,0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-3deg);
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.65;
}

/* ============================================================
   12. VISION / MISSION
   ============================================================ */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.vm-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-left: 5px solid var(--accent);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.vm-card:nth-child(2) {
    border-left-color: var(--primary);
}

.vm-card-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.vm-card:nth-child(2) .vm-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.vm-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.vm-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 14px;
}

.vm-card-text {
    font-size: 0.9625rem;
    color: var(--grey);
    line-height: 1.75;
}

/* ============================================================
   13. STATS SECTION (green gradient band)
   ============================================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #06b354 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 320px;
    height: 320px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 20px;
}

.stat-item .num {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--white);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.stat-item .lbl {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    display: block;
}

/* ============================================================
   14. NEWS CARDS
   ============================================================ */
.news-events-layout {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 40px;
    align-items: start;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.news-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

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

.news-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    z-index: 2;
}

.news-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    font-size: 0.78rem;
    color: var(--grey-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-date i {
    font-size: 0.7rem;
}

.news-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 10px;
    flex: 1;
}

.news-card-excerpt {
    font-size: 0.875rem;
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.8375rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

.news-card-link:hover {
    color: var(--secondary);
    gap: 10px;
}

/* ============================================================
   15. EVENTS
   ============================================================ */
.events-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.events-panel-header {
    background: var(--primary);
    color: var(--white);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
}

.events-panel-header i {
    color: var(--accent);
}

.events-list {
    list-style: none;
    padding: 0;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.event-item:last-child {
    border-bottom: none;
}

.event-item:hover {
    background: var(--bg-soft);
}

.event-date-box {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    width: 48px;
    min-width: 48px;
    padding: 6px 4px;
    text-align: center;
    flex-shrink: 0;
}

.event-date-day {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1;
}

.event-date-month {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.event-info {
    flex: 1;
    min-width: 0;
}

.event-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 5px;
}

.event-meta {
    font-size: 0.78rem;
    color: var(--grey-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-meta i {
    font-size: 0.7rem;
    color: var(--primary);
}

.event-badge {
    display: inline-block;
    background: rgba(0,115,58,0.08);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 50px;
    flex-shrink: 0;
}

/* ============================================================
   16. GALLERY
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: var(--primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,40,20,0.75), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 1.75rem;
    background: rgba(255,255,255,0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,0.4);
}

/* ============================================================
   17. TESTIMONIALS
   ============================================================ */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.35;
    line-height: 1;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,115,58,0.12);
}

.testi-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: var(--accent-dark);
    font-size: 0.85rem;
}

.testi-text {
    font-size: 0.9375rem;
    color: var(--grey);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.testi-role {
    font-size: 0.78rem;
    color: var(--grey-light);
}

/* ============================================================
   18. CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #05c25e 100%);
    border-radius: var(--radius-xl);
    padding: 70px 60px;
    text-align: center;
    margin: 0 24px 90px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -30px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-text {
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 14px;
}

.cta-text p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.82);
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 2;
}

/* ============================================================
   19. PAGE HERO
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--footer-bg) 100%);
    padding: 90px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.page-hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-hero-sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.80);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ============================================================
   20. BREADCRUMB
   ============================================================ */
.breadcrumb-section {
    background: var(--bg-soft);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8375rem;
    font-weight: 500;
    list-style: none;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.breadcrumb .separator {
    color: var(--grey-light);
    font-size: 0.7rem;
}

.breadcrumb li:last-child {
    color: var(--grey);
}

/* ============================================================
   21. CONTACT PAGE
   ============================================================ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,115,58,0.15);
}

.contact-card-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 16px;
}

.contact-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
    font-size: 0.875rem;
    color: var(--grey);
    text-decoration: none;
    line-height: 1.6;
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.contact-form-wrap h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--dark);
    margin-bottom: 24px;
}

.contact-map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 380px;
    display: block;
    border: none;
}

.contact-socials {
    padding: 24px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
}

.contact-socials h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--dark);
    margin-bottom: 14px;
}

.contact-socials-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-socials-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--dark);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}

.contact-socials-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group label .required {
    color: #e53e3e;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--dark);
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,115,58,0.10);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--grey-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%236B7280' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.form-submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px -8px rgba(0,115,58,0.40);
}

.form-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================================
   22. ABOUT PAGE
   ============================================================ */
.about-content {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 16px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12px;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--grey);
    line-height: 1.65;
}

/* Principal Section */
.principal-section {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
}

.principal-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 4rem;
}

.principal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principal-message {
    padding-top: 16px;
}

.principal-quote-mark {
    font-family: 'Poppins', sans-serif;
    font-size: 6rem;
    color: var(--accent);
    line-height: 0.5;
    margin-bottom: 20px;
    display: block;
}

.principal-message p {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 16px;
}

.principal-signature {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid var(--accent);
}

.principal-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.1875rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.principal-title {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,115,58,0.15);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--dark);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.1);
}

.value-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--grey);
    line-height: 1.6;
}

/* Board Members */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.board-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.board-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.board-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    border: 3px solid var(--accent);
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.board-role {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================================
   23. ACADEMICS PAGE
   ============================================================ */
.programme-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.programme-section:last-child {
    border-bottom: none;
}

.programme-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.programme-icon-block {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 50px 30px;
    text-align: center;
    color: var(--white);
}

.programme-emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 16px;
}

.programme-title-block {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 8px;
}

.programme-age-block {
    display: inline-block;
    background: rgba(212,218,27,0.25);
    border: 1px solid rgba(212,218,27,0.5);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
}

.subject-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.subject-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--grey);
    padding: 10px 14px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.subject-list li i {
    color: var(--primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
    font-size: 0.9rem;
}

.calendar-table th {
    background: var(--primary);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8375rem;
}

.calendar-table th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.calendar-table th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.calendar-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--grey);
    vertical-align: middle;
}

.calendar-table tr:nth-child(even) td {
    background: var(--bg-soft);
}

.calendar-table tr:hover td {
    background: rgba(0,115,58,0.04);
    color: var(--dark);
}

/* ============================================================
   24. LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

/* ============================================================
   25. FLASH / ALERT MESSAGES
   ============================================================ */
.flash {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
}

.flash i {
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.flash-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.flash-success i {
    color: #16a34a;
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.flash-error i {
    color: #dc2626;
}

.flash-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.flash-info i {
    color: #3b82f6;
}

.flash-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.flash-warning i {
    color: #f59e0b;
}

/* ============================================================
   26. FOOTER
   ============================================================ */
.site-footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,0.80);
    font-size: 0.9rem;
}

.footer-main {
    padding: 70px 0 50px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-school-name {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: 0.04em;
}

.footer-school-sub {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.footer-desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.75);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--accent);
    margin-bottom: 18px;
    letter-spacing: 0.04em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
}

.footer-contact-list li i {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--white);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    align-self: flex-start;
}

.footer-cta-btn:hover {
    background: var(--accent-dark);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(212,218,27,0.45);
}

.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.50);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.50);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ============================================================
   27. WHATSAPP + SCROLL-TO-TOP
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 500;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 6px 24px -6px rgba(37,211,102,0.55);
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: var(--white);
    transform: scale(1.12);
    box-shadow: 0 10px 32px -8px rgba(37,211,102,0.70);
}

.wa-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 7px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

.scroll-top {
    position: fixed;
    bottom: 96px;
    right: 28px;
    z-index: 500;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 16px -4px rgba(0,115,58,0.45);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -6px rgba(0,115,58,0.55);
}

/* ============================================================
   28. FADE-IN ANIMATION
   ============================================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   29. UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.badge-primary {
    background: rgba(0,115,58,0.12);
    color: var(--primary);
}

.badge-success {
    background: #f0fdf4;
    color: #16a34a;
}

.badge-warning {
    background: #fffbeb;
    color: #b45309;
}

.badge-danger {
    background: #fef2f2;
    color: #dc2626;
}

.badge-accent {
    background: rgba(212,218,27,0.20);
    color: #7c8a00;
}

/* Page rich-text content */
.page-content {
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.8;
}

.page-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.625rem;
    color: var(--dark);
    margin-top: 36px;
    margin-bottom: 14px;
}

.page-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
    margin-top: 28px;
    margin-bottom: 10px;
}

.page-content p {
    margin-bottom: 16px;
}

.page-content ul {
    list-style: none;
    margin-bottom: 18px;
    padding-left: 0;
}

.page-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.95rem;
    color: var(--grey);
}

.page-content ul li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

/* Contact strip (3-col on homepage) */
.contact-strip {
    background: var(--bg-soft);
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.contact-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-strip-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-strip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-strip-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-strip-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-light);
    margin-bottom: 4px;
}

.contact-strip-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--dark);
}

.contact-strip-value a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-strip-value a:hover {
    color: var(--primary);
}

/* ============================================================
   30. RESPONSIVE @media (max-width: 1100px)
   ============================================================ */
@media (max-width: 1100px) {
    .prog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .principal-section {
        grid-template-columns: 260px 1fr;
        gap: 32px;
    }
}

/* ============================================================
   31. RESPONSIVE @media (max-width: 900px)
   ============================================================ */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 110px;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 16px 0 24px;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 40px -8px rgba(0,0,0,0.25);
        z-index: 99;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu a {
        padding: 12px 24px;
        border-radius: 0;
        width: 100%;
        color: rgba(255,255,255,0.90);
    }

    .nav-menu a:hover {
        background: rgba(255,255,255,0.10);
        color: var(--white);
    }

    .dropdown {
        display: none;
        position: static;
        background: rgba(0,0,0,0.15);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .dropdown li a {
        padding: 11px 32px;
        color: rgba(255,255,255,0.75);
        background: transparent;
        border-radius: 0;
    }

    .dropdown li a:hover {
        color: var(--white);
        background: rgba(255,255,255,0.08);
    }

    .nav-toggle {
        display: flex;
    }

    .btn-apply-nav {
        display: none;
    }

    .main-nav.scrolled .nav-menu {
        background: var(--white);
        border-top: 1px solid var(--border);
    }

    .main-nav.scrolled .nav-menu a {
        color: var(--dark);
    }

    .main-nav.scrolled .nav-menu a:hover {
        background: var(--bg-soft);
        color: var(--primary);
    }

    .main-nav.scrolled .dropdown {
        background: rgba(0,0,0,0.03);
    }

    .main-nav.scrolled .dropdown li a {
        color: var(--grey);
    }

    .hero {
        min-height: 520px;
        max-height: 700px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.9625rem;
    }

    .news-events-layout {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 50px 36px;
        margin: 0 16px 70px;
    }

    .principal-section {
        grid-template-columns: 1fr;
    }

    .principal-photo {
        aspect-ratio: 4/3;
        max-height: 280px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-strip-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }

    .stats-overlap {
        margin-top: -40px;
    }
}

/* ============================================================
   32. RESPONSIVE @media (max-width: 640px)
   ============================================================ */
@media (max-width: 640px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-container {
        padding: 0 16px;
        height: 64px;
    }

    .ticker-bar {
        height: 34px;
        font-size: 0.75rem;
    }

    .hero {
        min-height: 480px;
        max-height: 600px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.65rem;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    #heroPrev { left: 10px; }
    #heroNext { right: 10px; }

    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }

    .stats-overlap {
        margin-top: 0;
        padding: 20px 16px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .prog-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .page-hero {
        padding: 60px 0 50px;
    }

    .cta-section {
        padding: 42px 24px;
        border-radius: var(--radius-lg);
        margin: 0 12px 60px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .programme-layout {
        grid-template-columns: 1fr;
    }

    .subject-list {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   33. RESPONSIVE @media (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
    .logo-sub {
        display: none;
    }

    .hero-title {
        font-size: 1.45rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 5px 12px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .testi-grid {
        grid-template-columns: 1fr;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 36px 20px;
    }

    .cta-text h2 {
        font-size: 1.375rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions .btn-accent,
    .cta-actions .btn-white-outline,
    .cta-actions .btn-primary,
    .cta-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.45rem;
        bottom: 20px;
        right: 20px;
    }

    .scroll-top {
        bottom: 82px;
        right: 20px;
    }

    .board-grid {
        grid-template-columns: 1fr 1fr;
    }
}
