/* ==========================================================================
   ALPHA JUNIOR SCHOOL - REDESIGNED STYLESHEET v2.0
   Developer: devstudio.co.zw
   Domain: alphajuniorschool.co.zw
   Design: Modern UI/UX with Glassmorphism, Bento Grid, Squircle Corners
   ========================================================================== */

/* --- 1. FONTS & EXTERNAL IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- 2. CSS VARIABLES (DESIGN TOKENS) --- */
:root {
    /* Afro-UNESCO Core Palette */
    --primary-red: #C8102E;
    --primary-black: #111827;
    --pure-white: #FFFFFF;

    /* Primary Accent - Indigo/Violet (UI Redesign) */
    --accent-indigo: #0ea5a4;
    --accent-violet: #2dd4bf;
    --accent-indigo-glow: rgba(14, 165, 164, 0.35);
    --gradient-cta: linear-gradient(135deg, #0ea5a4 0%, #2dd4bf 100%);

    /* Vibrant Grid Accent Colors */
    --grid-amber: #F59E0B;
    --grid-cyan: #06B6D4;
    --grid-green: #10B981;
    --grid-purple: #8B5CF6;
    --grid-gold: #E8B952;
    --grid-salmon: #E86B6B;

    /* UI Utility Colors */
    --bg-light: #F8FAFF;
    --bg-section: #F1F5F9;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --card-border: 1px solid #E2E8F0;

    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px rgba(13, 148, 136, 0.15);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
    --shadow-hover: 0 12px 32px rgba(20, 184, 166, 0.20);
    --shadow-lift: 0 16px 40px rgba(0, 0, 0, 0.16);

    /* Corners - Squircle */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing (8px grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-black);
    background-color: var(--pure-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Content Wrapper */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- 4. TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-2);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: 1.4rem;
}

.text-gradient {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary {
    color: var(--primary-red);
}

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

/* Section Title Component */
.section-title {
    text-align: center;
    margin-bottom: var(--space-6);
}

.section-title .overline {
    color: var(--accent-teal);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: var(--space-1);
}

.section-title h2 {
    margin-bottom: 0;
}

/* --- 5. BUTTON COMPONENTS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-align: center;
    white-space: nowrap;
}

/* Primary - Teal gradient with pulse */
.btn-primary {
    background: var(--gradient-cta);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
    animation: pulse-teal 2.5s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.55);
    animation: none;
}

/* Red Button */
.btn-red {
    background-color: var(--primary-red);
    color: var(--pure-white);
}

.btn-red:hover {
    background-color: #a00d25;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
}

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

/* White Outline */
.btn-outline-white {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--pure-white);
}

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

/* Yellow/Amber */
.btn-amber {
    background-color: var(--grid-amber);
    color: var(--primary-black);
    font-weight: 700;
}

.btn-amber:hover {
    background-color: #d97706;
    transform: translateY(-2px);
}

/* Ghost/Glass */
.btn-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
}

@keyframes pulse-teal {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.55);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(20, 184, 166, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0);
    }
}

/* --- 6. HEADER & NAVIGATION --- */
.top-bar {
    background-color: var(--primary-black);
    color: var(--pure-white);
    font-size: 0.82rem;
    padding: 9px 0;
}

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

.top-bar-info,
.top-bar-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar i {
    color: var(--grid-amber);
    margin-right: 5px;
}

.top-bar a {
    transition: color var(--transition-fast);
}

.top-bar a:hover {
    color: var(--grid-amber);
}

/* Sticky Nav */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-red);
}

.logo img {
    height: 54px;
    width: auto;
}

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

.logo-text span:last-child {
    font-size: 0.8rem;
    color: var(--primary-black);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-black);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cta);
    border-radius: 2px;
    transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-teal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-black);
    padding: 4px;
}

/* --- 7. HERO SECTION --- */
.hero {
    position: relative;
    min-height: 92vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: var(--pure-white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.78) 0%, rgba(13, 148, 136, 0.45) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 80px 0 60px;
}

/* Split-screen hero layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
}

.hero-text .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--grid-amber);
    backdrop-filter: blur(6px);
}

.hero-text h1 {
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Glassmorphism enrollment card */
.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--glass-shadow);
    color: white;
}

.glass-card .card-badge {
    display: inline-block;
    background: var(--gradient-cta);
    border-radius: var(--radius-pill);
    padding: 4px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: white;
}

.glass-card .stat-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.glass-card .stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

.glass-card .stat-item i {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--grid-amber);
    flex-shrink: 0;
}

/* Inner page hero (shorter) */
.hero-inner-page {
    min-height: 45vh;
    display: flex;
    align-items: center;
}

/* --- 8. BENTO BOX GRID (Key Selling Points) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.bento-item {
    background: var(--bg-light);
    border: var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: default;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-teal);
}

.bento-item.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.bento-item.featured::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 Q100 50 150 0 Q200 50 150 100 Q200 150 150 200 Q100 150 50 200 Q0 150 50 100 Q0 50 50 0Z' fill='rgba(255,255,255,0.05)' /%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

.bento-item .bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.bento-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0;
}

.bento-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.bento-item.featured p {
    color: rgba(255, 255, 255, 0.75);
}

.bento-item.featured h3 {
    color: white;
    font-size: 1.2rem;
}

.bento-item.featured .bento-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--grid-amber);
}

/* --- 9. GALLERY SNIPPET (Home) --- */
.gallery-scroll-wrap {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-teal) var(--border-color);
}

.gallery-scroll-wrap::-webkit-scrollbar {
    height: 5px;
}

.gallery-scroll-wrap::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 5px;
}

.gallery-scroll-wrap::-webkit-scrollbar-thumb {
    background: var(--accent-teal);
    border-radius: 5px;
}

.gallery-card {
    position: relative;
    flex: 0 0 280px;
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(17, 24, 39, 0.75) 100%);
    transition: opacity var(--transition-base);
}

.gallery-card:hover .overlay {
    opacity: 0.6;
}

.gallery-card .caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

/* Grainy gradient overlay effect */
.grainy-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

/* --- 10. SECTION PADDING --- */
.section-padding {
    padding: var(--space-10) 0;
}

.section-padding-sm {
    padding: 56px 0;
}

/* --- 11. WELCOME / SPLIT CONTENT --- */
.welcome-section {
    background-color: var(--bg-light);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split-grid.reverse {
    direction: rtl;
}

.split-grid.reverse>* {
    direction: ltr;
}

/* Photo mosaic */
.photo-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.photo-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.photo-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.photo-card:hover img {
    transform: scale(1.04);
}

.photo-card .img-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: white;
    background: rgba(17, 24, 39, 0.7);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* --- 12. FEATURES / CARDS --- */
.feature-card {
    background: var(--pure-white);
    border: var(--card-border);
    border-radius: var(--radius-md);
    padding: var(--space-5) var(--space-4);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.feature-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    margin: 0 auto var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Glass program card */
.glass-program-card {
    background: var(--pure-white);
    border: var(--card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    cursor: pointer;
}

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

.glass-program-card .card-head {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.glass-program-card .card-body {
    padding: 24px;
}

.glass-program-card .card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.glass-program-card .card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Expandable card */
.card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.card-details.open {
    max-height: 400px;
}

.card-details ul {
    border-top: 1px solid var(--border-color);
    padding: 16px 24px 20px;
}

.card-details ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-details ul li i {
    color: var(--grid-green);
    margin-top: 3px;
    flex-shrink: 0;
}

.expand-btn {
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    padding: 0;
}

.expand-btn i {
    transition: transform var(--transition-base);
}

.expand-btn.open i {
    transform: rotate(180deg);
}

/* --- 13. TABBED INTERFACE (Programs) --- */
.tabs-wrap {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 6px;
    background: var(--bg-section);
    border-radius: var(--radius-pill);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.tab-btn.active {
    background: var(--gradient-cta);
    color: white;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* --- 14. TIMELINE (About) --- */
.timeline {
    position: relative;
    padding-left: 40px;
    max-width: 720px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-teal), var(--grid-amber));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 0 0 40px 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-section);
    border: 3px solid var(--accent-indigo);
    transition: all var(--transition-base);
}

.timeline-item.active .timeline-dot {
    background: var(--gradient-cta);
    border-color: transparent;
    box-shadow: 0 0 0 6px rgba(13, 148, 136, 0.15);
    transform: scale(1.2);
}

.timeline-item h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Headteacher Quote Card */
.quote-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
}

.quote-card .quote-mark {
    font-size: 6rem;
    line-height: 1;
    color: var(--accent-teal);
    font-family: Georgia, serif;
    position: absolute;
    top: 10px;
    left: 32px;
    opacity: 0.2;
    user-select: none;
}

.quote-card blockquote {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    color: var(--primary-black);
    border-left: 4px solid var(--accent-teal);
    padding-left: 24px;
    margin-bottom: 24px;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quote-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-teal);
}

.quote-author h4 {
    font-size: 1rem;
    margin: 0;
}

.quote-author p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- 15. HEALTH PAGE --- */
/* Daily Menu Cards */
.menu-cards-wrap {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.menu-card {
    flex: 0 0 180px;
    background: var(--pure-white);
    border: var(--card-border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--transition-base);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-teal);
}

.menu-card .day-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 10px;
}

.menu-card .meal-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    line-height: 1;
}

.menu-card h4 {
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.menu-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Hygiene Stats (Infographic) */
.stat-infographic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-bubble {
    background: var(--pure-white);
    border: var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

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

.stat-bubble::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.08;
}

.stat-bubble .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-bubble .stat-label {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-bubble i {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: block;
}

/* --- 16. CONTACT / FORM --- */
/* Floating Label Inputs */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 20px 16px 8px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--pure-white);
    color: var(--primary-black);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px var(--accent-teal-glow);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: none;
    transition: all var(--transition-base);
    background: var(--pure-white);
    padding: 0 4px;
}

.form-group textarea~label {
    top: 20px;
    transform: none;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label,
.form-group select:focus~label {
    top: 6px;
    transform: none;
    font-size: 0.72rem;
    color: var(--accent-teal);
    font-weight: 600;
}

.form-group textarea {
    resize: vertical;
    padding-top: 20px;
    min-height: 120px;
}

/* Contact Info Card */
.contact-info-card {
    background: var(--primary-black);
    color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info-card h2 {
    color: white;
    margin-bottom: 8px;
}

.contact-info-card .sub {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    font-size: 0.92rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-item .cdi-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--grid-amber);
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.contact-detail-item p {
    color: white;
    font-size: 0.95rem;
    margin: 2px 0 0;
    font-weight: 500;
}

/* Admissions Steps */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--gradient-cta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-item h4 {
    font-size: 0.95rem;
    margin: 0 0 4px;
}

.step-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Map container */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: var(--card-border);
}

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

/* --- 17. CTA BANNER --- */
.cta-banner {
    background: var(--primary-black);
    padding: var(--space-10) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(20, 184, 166, 0.25) 0%, transparent 65%),
        radial-gradient(ellipse at 80% 50%, rgba(45, 212, 191, 0.2) 0%, transparent 65%);
    pointer-events: none;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 12px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 auto 36px;
}

/* --- 18. COLORFUL PROGRAMS GRID (Home) --- */
.programs-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 0;
}

.mosaic-item {
    padding: 36px 28px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.mosaic-item .mi-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.85;
}

.mosaic-item h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.mosaic-item p {
    font-size: 0.82rem;
    opacity: 0.8;
    margin: 0;
}

.mosaic-item .mi-overlay {
    position: absolute;
    inset: 0;
    transition: opacity var(--transition-base);
}

.mosaic-item:hover .mi-overlay {
    opacity: 0.85;
}

.mosaic-item .mi-content {
    position: relative;
    z-index: 2;
}

.mosaic-item .mi-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition-base);
    color: white;
}

.mosaic-item:hover .mi-link {
    opacity: 1;
    transform: translateY(0);
}

.mosaic-bg-img {
    background-size: cover;
    background-position: center;
}

.mosaic-bg-img .mi-overlay {
    background: linear-gradient(to top, rgba(17, 24, 39, 0.85) 0%, rgba(17, 24, 39, 0.3) 100%);
}

.mi-bg-violet .mi-overlay {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.92), rgba(45, 212, 191, 0.88));
}

.mi-bg-amber .mi-overlay {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.92), rgba(245, 158, 11, 0.88));
}

.mi-bg-red .mi-overlay {
    background: linear-gradient(135deg, rgba(185, 28, 28, 0.92), rgba(200, 16, 46, 0.88));
}

.mi-bg-teal .mi-overlay {
    background: linear-gradient(135deg, rgba(4, 120, 87, 0.92), rgba(6, 182, 212, 0.88));
}

/* --- 19. CORE VALUES GRID --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.value-item {
    padding: 32px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all var(--transition-base);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.value-item i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.value-item h3 {
    font-size: 1rem;
    color: white;
}

/* --- 20. FOOTER --- */
.footer {
    background-color: var(--primary-black);
    color: white;
    padding: 70px 0 24px;
}

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

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    background: var(--gradient-cta);
    border-radius: 2px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-col a:hover {
    color: white;
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--gradient-cta);
    color: white !important;
    padding-left: 0 !important;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: white;
}

/* --- 21. WHATSAPP FLOATING BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 58px;
    height: 58px;
    bottom: 32px;
    right: 32px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
    animation: wa-pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    animation: none;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

.whatsapp-float::after {
    content: 'Chat with us!';
    position: absolute;
    right: 68px;
    background: var(--primary-black);
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: all var(--transition-base);
    pointer-events: none;
}

.whatsapp-float:hover::after {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- 22. ANIMATIONS & SCROLL EFFECTS --- */
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
    transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.fade-up {
    transform: translateY(40px);
}

.fade-right {
    transform: translateX(-40px);
}

.fade-left {
    transform: translateX(40px);
}

.fade-in {
    opacity: 0;
}

/* Reveal on load for hero */
@keyframes slide-up-fade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text .hero-badge {
    animation: slide-up-fade 0.6s 0.1s both ease-out;
}

.hero-text h1 {
    animation: slide-up-fade 0.7s 0.25s both ease-out;
}

.hero-text p {
    animation: slide-up-fade 0.7s 0.4s both ease-out;
}

.hero-btns {
    animation: slide-up-fade 0.7s 0.55s both ease-out;
}

.hero-card-wrap {
    animation: slide-up-fade 0.8s 0.45s both ease-out;
}

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

    .bento-item.featured {
        grid-column: span 2;
    }

    .programs-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 260px);
    }

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

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .hero-card-wrap {
        display: none;
    }

    .hero {
        min-height: 70vh;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .split-grid.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--pure-white);
        flex-direction: column;
        padding: 20px 0 28px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        gap: 4px;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 24px;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .bento-item.featured {
        grid-column: span 1;
    }

    .programs-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .mosaic-item {
        height: 220px;
    }

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

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 56px 0;
    }

    .quote-card {
        padding: 32px 24px;
    }

    .glass-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .photo-mosaic {
        grid-template-columns: 1fr;
    }

    .tabs-wrap {
        flex-direction: column;
        border-radius: var(--radius-lg);
        width: auto;
    }

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

    .menu-cards-wrap {
        flex-wrap: nowrap;
    }
}