/* ============================================
   ANCHOR ELITE SCHOOL - Main Stylesheet
   A Professional Kindergarten Website
   ============================================ */

/* CSS Variables */
:root {
    /* Primary Colors - Warm Navy & Orange Theme */
    --primary-navy: #1e3a5f;
    --primary-navy-light: #2d4a6f;
    --primary-navy-dark: #0f2540;
    --primary-orange: #ff6b35;
    --primary-orange-light: #ff8555;
    --primary-orange-dark: #e55520;
    
    /* Accent Colors */
    --accent-yellow: #ffd93d;
    --accent-yellow-light: #ffe566;
    --accent-green: #4ade80;
    --accent-green-dark: #22c55e;
    --accent-blue: #60a5fa;
    --accent-pink: #f472b6;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
    --gradient-orange: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-light) 100%);
    --gradient-warm: linear-gradient(135deg, #fff7ed 0%, #fef3c7 50%, #fce7f3 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 50%, #1e3a5f 100%);
    
    /* Typography */
    --font-heading: 'Fredoka', cursive;
    --font-body: 'Nunito', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1400px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-colored: 0 10px 30px rgba(255, 107, 53, 0.3);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Page wrapper - contains all content */
.page-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Global overflow fix - exclude fixed position elements */
section,
.section,
header:not(.header),
footer,
main,
article,
aside {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Ensure container doesn't overflow */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

/* ============================================
   Preloader
   ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    margin-bottom: 20px;
}

.loader-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: bounce 1s ease infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.loader-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.loader-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.loader-tagline {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--accent-yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loader-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 25px auto 0;
    overflow: hidden;
}

.loader-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-yellow), var(--primary-orange));
    border-radius: 2px;
    animation: loading 2s ease forwards;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.loader-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-yellow);
    animation: pulse 1.5s ease infinite;
}

.loader-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.5); opacity: 0.5; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 15px 0;
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: var(--transition-normal);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-icon {
    font-size: 36px;
    transition: var(--transition-normal);
}

.header.scrolled .logo-icon {
    color: var(--primary-navy);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    transition: var(--transition-normal);
}

.header.scrolled .logo-main {
    color: var(--primary-navy);
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-yellow);
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    position: relative;
    padding: 8px 12px;
    transition: var(--transition-normal);
    white-space: nowrap;
    border-radius: var(--radius-md);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link:hover {
    background: rgba(30, 58, 95, 0.1);
}

.header.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 12px;
    right: 12px;
    width: auto;
    height: 2px;
    background: var(--primary-orange);
    border-radius: 2px;
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-orange);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-close {
    display: none;
}

.nav-toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
}

.header.scrolled .nav-toggle {
    color: var(--primary-navy);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--white);
}

.btn-donate {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    padding: 10px 20px;
    font-size: 14px;
}

.btn-donate:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dashboard {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    font-size: 14px;
}

.header.scrolled .btn-dashboard {
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.btn-dashboard:hover {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.1;
}

.hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-yellow);
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    background: var(--primary-orange);
    bottom: 20%;
    left: -30px;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-green);
    top: 30%;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

.hero-shapes .shape-4 {
    width: 100px;
    height: 100px;
    background: var(--white);
    bottom: 30%;
    right: 10%;
    animation: float 5s ease-in-out infinite reverse;
}

.hero-shapes .shape-5 {
    width: 80px;
    height: 80px;
    background: var(--accent-pink);
    top: 20%;
    right: 20%;
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    width: 100%;
    max-width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 217, 61, 0.2);
    color: var(--accent-yellow);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--accent-yellow);
    position: relative;
}

.hero-title .highlight-alt {
    color: var(--primary-orange);
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-yellow);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.5s forwards;
    opacity: 0;
    overflow: visible;
    max-width: 100%;
}

.image-wrapper {
    position: relative;
    overflow: visible;
}

.hero-illustration {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-xl);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 5;
}

.floating-card i {
    font-size: 24px;
}

.floating-card span {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-800);
}

.floating-card.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-card.card-1 i {
    color: var(--primary-orange);
}

.floating-card.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: 1s;
}

.floating-card.card-2 i {
    color: var(--accent-pink);
}

.floating-card.card-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 2s;
}

.floating-card.card-3 i {
    color: var(--accent-green);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-img-wrapper {
    position: relative;
}

.about-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        var(--accent-yellow),
        var(--accent-yellow) 10px,
        transparent 10px,
        transparent 20px
    );
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-illustration {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-colored);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
}

.exp-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-heading {
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: var(--primary-orange);
}

.feature-info h4 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.feature-info p {
    font-size: 13px;
    color: var(--gray-500);
}

/* Mission Vision Values */
.mvv-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    border-top: 4px solid transparent;
}

.mvv-card:hover {
    transform: translateY(-10px);
}

.mvv-card.mission {
    border-top-color: var(--primary-orange);
}

.mvv-card.vision {
    border-top-color: var(--accent-yellow);
}

.mvv-card.values {
    border-top-color: var(--accent-green);
}

.mvv-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mvv-card.mission .mvv-icon {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
}

.mvv-card.vision .mvv-icon {
    background: rgba(255, 217, 61, 0.2);
    color: var(--accent-yellow);
}

.mvv-card.values .mvv-icon {
    background: rgba(74, 222, 128, 0.2);
    color: var(--accent-green-dark);
}

.mvv-icon i {
    font-size: 28px;
}

.mvv-card h3 {
    font-size: 22px;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.mvv-card p {
    font-size: 15px;
    color: var(--gray-600);
}

/* ============================================
   Services/Programs Section
   ============================================ */
.services {
    background: var(--gradient-warm);
    position: relative;
    overflow: hidden;
}

.services-bg .services-shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.5;
}

.services-bg .shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 107, 53, 0.1);
    top: -100px;
    left: -100px;
}

.services-bg .shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(74, 222, 128, 0.1);
    bottom: -150px;
    right: -150px;
}

.programs-tabs {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-100);
}

.tab-btn {
    flex: 1;
    padding: 20px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-normal);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn i {
    font-size: 18px;
}

.tab-btn:hover {
    color: var(--primary-orange);
    background: var(--white);
}

.tab-btn.active {
    color: var(--primary-orange);
    background: var(--white);
    border-bottom-color: var(--primary-orange);
}

.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.program-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.program-info h3 {
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.program-age {
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 15px;
}

.program-desc {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.program-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
}

.program-features li i {
    color: var(--accent-green-dark);
}

.program-meta {
    display: flex;
    gap: 25px;
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
}

.program-meta span i {
    color: var(--primary-orange);
}

.program-visual {
    display: flex;
    justify-content: center;
}

.program-visual svg {
    max-width: 300px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Extra Activities */
.extra-activities {
    margin-top: 60px;
}

.activities-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 40px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.activity-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.activity-icon i {
    font-size: 24px;
    color: var(--primary-orange);
}

.activity-card:nth-child(2) .activity-icon {
    background: rgba(255, 217, 61, 0.2);
}

.activity-card:nth-child(2) .activity-icon i {
    color: #d4a30a;
}

.activity-card:nth-child(3) .activity-icon {
    background: rgba(74, 222, 128, 0.2);
}

.activity-card:nth-child(3) .activity-icon i {
    color: var(--accent-green-dark);
}

.activity-card:nth-child(4) .activity-icon {
    background: rgba(244, 114, 182, 0.2);
}

.activity-card:nth-child(4) .activity-icon i {
    color: var(--accent-pink);
}

.activity-card:nth-child(5) .activity-icon {
    background: rgba(96, 165, 250, 0.2);
}

.activity-card:nth-child(5) .activity-icon i {
    color: var(--accent-blue);
}

.activity-card:nth-child(6) .activity-icon {
    background: rgba(30, 58, 95, 0.1);
}

.activity-card:nth-child(6) .activity-icon i {
    color: var(--primary-navy);
}

.activity-card:nth-child(7) .activity-icon {
    background: rgba(139, 92, 246, 0.1);
}

.activity-card:nth-child(7) .activity-icon i {
    color: #8b5cf6;
}

.activity-card:nth-child(8) .activity-icon {
    background: rgba(236, 72, 153, 0.1);
}

.activity-card:nth-child(8) .activity-icon i {
    color: #ec4899;
}

.activity-card h4 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.activity-card p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   News Section
   ============================================ */
.news {
    background: var(--white);
}

.news-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 50px;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-orange);
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.news-card.featured .news-image svg {
    height: 300px;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-image svg {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image svg {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-category {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-category.events {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
}

.news-category.achievements {
    background: rgba(74, 222, 128, 0.2);
    color: var(--accent-green-dark);
}

.news-category.announcements {
    background: rgba(96, 165, 250, 0.2);
    color: var(--accent-blue);
}

.news-date {
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card.featured .news-title {
    font-size: 24px;
}

.news-excerpt {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.news-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    gap: 10px;
}

.news-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    color: var(--gray-600);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-orange);
    color: var(--white);
}

/* ============================================
   Admission Section
   ============================================ */
.admission {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.admission-bg .admission-shape {
    position: absolute;
    border-radius: var(--radius-full);
}

.admission-bg .shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 53, 0.05);
    top: -200px;
    right: -200px;
}

.admission-bg .shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 217, 61, 0.05);
    bottom: -100px;
    left: -100px;
}

.admission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.admission-steps h3 {
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 30px;
}

.steps-timeline {
    position: relative;
    padding-left: 30px;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gray-200);
    border-radius: 3px;
}

.step-item {
    position: relative;
    padding-bottom: 30px;
    display: flex;
    gap: 20px;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-number {
    position: absolute;
    left: -42px;
    width: 28px;
    height: 28px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
}

.step-info h4 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.step-info p {
    font-size: 14px;
    color: var(--gray-600);
}

.requirements-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    box-shadow: var(--shadow-md);
}

.requirements-box h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.requirements-box h4 i {
    color: var(--primary-orange);
}

.requirements-box ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--gray-700);
}

.requirements-box ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* Admission Form */
.admission-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.form-header {
    background: var(--gradient-primary);
    padding: 30px;
    color: var(--white);
}

.form-header h3 {
    color: var(--white);
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.form-header p {
    font-size: 14px;
    opacity: 0.8;
}

.admission-form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-orange);
    margin-top: 2px;
}

.form-checkbox label {
    font-size: 14px;
    color: var(--gray-600);
}

.form-checkbox label a {
    color: var(--primary-orange);
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Tuition Fees */
.tuition-section {
    margin-top: 20px;
}

.tuition-title {
    text-align: center;
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 40px;
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.fee-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    position: relative;
}

.fee-card:hover {
    transform: translateY(-10px);
}

.fee-card.popular {
    border: 3px solid var(--primary-orange);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
}

.fee-header {
    padding: 25px;
    text-align: center;
    color: var(--white);
}

.fee-header.nursery-bg {
    background: var(--primary-orange);
}

.fee-header.preschool-bg {
    background: var(--accent-yellow);
    color: var(--primary-navy);
}

.fee-header.kindergarten-bg {
    background: var(--accent-green-dark);
}

.fee-header.primary-bg {
    background: var(--primary-navy);
}

.fee-header h4 {
    font-size: 20px;
    color: inherit;
    margin-bottom: 5px;
}

.fee-header .age {
    font-size: 13px;
    opacity: 0.9;
}

.fee-body {
    padding: 30px;
    text-align: center;
}

.fee-amount {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.fee-amount span {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-500);
}

.fee-includes {
    text-align: left;
    margin-bottom: 25px;
}

.fee-includes li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.fee-includes li:last-child {
    border-bottom: none;
}

.fee-includes li i {
    color: var(--accent-green-dark);
}

.fee-body .btn {
    width: 100%;
    justify-content: center;
}

.fees-note {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 30px;
}

/* ============================================
   Donation Section
   ============================================ */
.donation {
    background: var(--gradient-primary);
    color: var(--white);
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.donation-title {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 20px;
}

.donation-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.donation-impact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.impact-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-icon i {
    font-size: 24px;
    color: var(--primary-navy);
}

.impact-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
}

.impact-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Donation Form */
.donation-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.donation-form h3 {
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 25px;
    text-align: center;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.amount-btn {
    padding: 15px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition-normal);
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

.custom-amount {
    margin-bottom: 25px;
}

.custom-amount label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.custom-amount input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 18px;
}

.donation-type,
.donation-purpose {
    margin-bottom: 25px;
}

.donation-type label,
.donation-purpose label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.type-options {
    display: flex;
    gap: 15px;
}

.type-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.type-option input {
    display: none;
}

.type-option span {
    font-weight: 600;
    color: var(--gray-600);
}

.type-option:has(input:checked) {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.type-option:has(input:checked) span {
    color: var(--white);
}

.donation-purpose select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--gray-700);
}

.donor-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.donor-info .form-group {
    margin-bottom: 0;
}

.payment-methods {
    margin-bottom: 25px;
}

.payment-methods label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.method-options {
    display: flex;
    gap: 10px;
}

.method-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.method-option input {
    display: none;
}

.method-option i {
    font-size: 24px;
    color: var(--gray-500);
}

.method-option span {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
}

.method-option:has(input:checked) {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-orange);
}

.method-option:has(input:checked) i,
.method-option:has(input:checked) span {
    color: var(--primary-orange);
}

.card-details {
    margin-bottom: 25px;
}

.card-details .form-row {
    margin-top: 15px;
}

.btn-donate-submit {
    width: 100%;
    padding: 15px;
    background: var(--gradient-orange);
    color: var(--white);
    font-size: 18px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-colored);
}

.btn-donate-submit:hover {
    transform: translateY(-3px);
}

.secure-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.secure-note i {
    color: var(--accent-green-dark);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}

.info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 20px;
    color: var(--white);
}

.info-details h4 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.info-details p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
}

.social-links {
    margin-top: 30px;
}

.social-links h4 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .btn-submit {
    width: auto;
    padding: 15px 40px;
}

/* Map */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    position: relative;
}

.map-placeholder svg {
    width: 100%;
    height: auto;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.map-overlay p {
    font-size: 16px;
    color: var(--gray-700);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-overlay p i {
    color: var(--primary-orange);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary-navy-dark);
    color: var(--white);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-logo .footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.footer-about p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-socials a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
}

.footer-links ul li a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-newsletter h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-newsletter p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: var(--radius-md);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    background: var(--primary-orange-light);
}

.footer-contact p {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-contact p i {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: var(--accent-yellow);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-colored);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-5px);
}

/* ============================================
   Modal
   ============================================ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 400px;
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.modal-icon.success {
    background: rgba(74, 222, 128, 0.2);
}

.modal-icon.success i {
    font-size: 40px;
    color: var(--accent-green-dark);
}

.modal-content h3 {
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--gray-600);
    margin-bottom: 25px;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .mvv-cards {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 0 0 50%;
    }
    
    .program-content {
        grid-template-columns: 1fr;
    }
    
    .program-visual {
        order: -1;
    }
    
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .admission-content {
        grid-template-columns: 1fr;
    }
    
    .fees-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donation-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens - better nav spacing */
@media (min-width: 1400px) {
    .nav-list {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 10px 16px;
    }
}

@media (max-width: 1200px) {
    .nav-list {
        gap: 5px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .btn-donate, .btn-dashboard {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        padding: 80px 40px 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        color: var(--gray-800);
        font-size: 16px;
        padding: 12px 15px;
        display: block;
        border-radius: var(--radius-md);
    }
    
    .nav-link:hover {
        background: rgba(255, 107, 53, 0.1);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-close {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: var(--gray-100);
        border-radius: var(--radius-full);
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--gray-700);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .btn-dashboard {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 1 0 30%;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        flex: 0 0 100%;
        font-size: 14px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .fees-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donor-info {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-socials,
    .socials {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .map-overlay {
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .admission-form-wrapper,
    .donation-form-wrapper,
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header-bg .header-shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.1;
}

.page-header-bg .shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-yellow);
    top: -100px;
    right: -100px;
}

.page-header-bg .shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-orange);
    bottom: -50px;
    left: -50px;
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.breadcrumb a {
    color: var(--accent-yellow);
}

.breadcrumb a:hover {
    color: var(--white);
}

/* ============================================
   Home Page - Quick Info Cards
   ============================================ */
.quick-info {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    transition: var(--transition-normal);
    display: block;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.info-card .info-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-card .info-icon i {
    font-size: 28px;
    color: var(--primary-orange);
}

.info-card h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.info-card .info-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.info-card:hover .info-link {
    gap: 10px;
}

/* Welcome Section */
.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-image svg {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.welcome-text h2 {
    font-size: 36px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.welcome-text p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.welcome-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.welcome-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--gray-700);
}

.welcome-feature i {
    color: var(--accent-green-dark);
}

/* Programs Preview Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.program-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.program-card .program-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.program-card .program-icon i {
    font-size: 28px;
}

.program-card h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.program-card .program-age {
    font-size: 13px;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 15px;
}

.program-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.program-card .program-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.program-card:hover .program-link {
    gap: 10px;
}

/* Gallery Preview */
.gallery-grid-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
}

.gallery-item-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-preview.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-preview svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 95, 0.9));
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.gallery-item-preview:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 700;
}

/* News Preview */
.news-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card-preview {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.news-card-preview:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-image-preview {
    position: relative;
}

.news-image-preview svg {
    width: 100%;
    height: 200px;
}

.news-date-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
}

.news-content-preview {
    padding: 25px;
}

.news-content-preview .news-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-orange);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.news-content-preview .news-category.achievements {
    color: var(--accent-green-dark);
}

.news-content-preview .news-category.announcements {
    color: var(--accent-blue);
}

.news-content-preview h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.news-content-preview p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-shapes .cta-shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.1;
}

.cta-shapes .shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-yellow);
    top: -50px;
    left: -50px;
}

.cta-shapes .shape-2 {
    width: 150px;
    height: 150px;
    background: var(--primary-orange);
    bottom: -30px;
    right: -30px;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--accent-yellow);
    color: var(--primary-navy);
    padding: 15px 30px;
    font-size: 16px;
}

.btn-cta-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    font-size: 16px;
}

.btn-cta-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
    border-color: var(--white);
}

/* ============================================
   Programs Page Styles
   ============================================ */
.program-detail {
    padding: 80px 0;
}

.program-detail.alt-bg {
    background: var(--gray-50);
}

.program-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.program-detail-content.reverse {
    direction: rtl;
}

.program-detail-content.reverse > * {
    direction: ltr;
}

.program-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
}

.program-badge.nursery-bg { background: var(--primary-orange); }
.program-badge.preschool-bg { background: #d4a30a; }
.program-badge.kindergarten-bg { background: var(--accent-green-dark); }
.program-badge.primary-bg { background: var(--primary-navy); }

.program-detail-info h2 {
    font-size: 36px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.program-age-detail {
    font-size: 16px;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-description {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.8;
}

.program-detail-info h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.program-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.program-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.program-feature i {
    color: var(--primary-orange);
    font-size: 18px;
}

.program-feature span {
    font-size: 14px;
    color: var(--gray-700);
}

.program-schedule-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.schedule-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
}

.schedule-item-info i {
    color: var(--primary-orange);
}

.program-detail-visual svg {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
}

/* ============================================
   Gallery Page Styles
   ============================================ */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover svg {
    transform: scale(1.1);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(transparent 50%, rgba(30, 58, 95, 0.9));
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-item .gallery-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.gallery-zoom {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border: none;
    border-radius: var(--radius-full);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-zoom:hover {
    background: var(--accent-yellow);
    color: var(--primary-navy);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-orange);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content {
    max-width: 800px;
    width: 90%;
    text-align: center;
}

.lightbox-image svg {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--white);
}

.lightbox-caption h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.lightbox-caption p {
    opacity: 0.8;
}

/* Video Section */
.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder svg {
    width: 100%;
    height: auto;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-orange);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition-normal);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-yellow);
    color: var(--primary-navy);
}

/* ============================================
   News Page Styles
   ============================================ */
.news-details {
    background: var(--gray-50);
    padding: 15px;
    border-radius: var(--radius-md);
    margin: 15px 0;
}

.news-details p {
    font-size: 14px;
    margin-bottom: 5px;
}

.events-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.event-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    min-width: 70px;
    text-align: center;
    background: var(--primary-orange);
    padding: 15px;
    border-radius: var(--radius-md);
    color: var(--white);
}

.event-date .day {
    display: block;
    font-size: 28px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.event-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.event-info h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.event-info p {
    font-size: 14px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.event-info p i {
    color: var(--primary-orange);
}

/* Newsletter Box */
.newsletter-box {
    background: var(--gradient-hero);
    padding: 60px;
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-content h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form-large {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form-large input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
}

/* ============================================
   Admission Page Styles
   ============================================ */
.important-dates {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    box-shadow: var(--shadow-md);
}

.important-dates h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.important-dates h4 i {
    color: var(--primary-orange);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.date-item {
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.date-item .date-label {
    font-size: 13px;
    color: var(--gray-500);
    display: block;
    margin-bottom: 5px;
}

.date-item .date-value {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-navy);
}

.fees-notes {
    margin-top: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.fees-notes h4 {
    font-size: 22px;
    color: var(--primary-navy);
    margin-bottom: 25px;
    text-align: center;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.note-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.note-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 20px;
    flex-shrink: 0;
}

.note-item h5 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.note-item p {
    font-size: 13px;
    color: var(--gray-600);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-navy);
}

.faq-question i {
    color: var(--primary-orange);
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.department-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.dept-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.dept-icon i {
    font-size: 28px;
    color: var(--primary-orange);
}

.department-card h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.department-card > p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.dept-contact p {
    font-size: 13px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
}

.dept-contact p i {
    color: var(--primary-orange);
}

/* Visit CTA */
.visit-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visit-content {
    padding: 50px;
    background: var(--gradient-hero);
    color: var(--white);
}

.visit-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.visit-content h2 i {
    color: var(--accent-yellow);
}

.visit-content > p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.visit-features {
    list-style: none;
}

.visit-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.visit-features li i {
    color: var(--accent-yellow);
}

.visit-form {
    padding: 50px;
}

.visit-form h3 {
    font-size: 22px;
    color: var(--primary-navy);
    margin-bottom: 25px;
}

.visit-form .form-group {
    margin-bottom: 15px;
}

/* ============================================
   Donate Page Styles
   ============================================ */
.donation-intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.donation-intro-text h2 {
    font-size: 36px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.donation-intro-text p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.donation-benefits {
    list-style: none;
    margin-top: 20px;
}

.donation-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--gray-700);
}

.donation-benefits li i {
    color: var(--accent-green-dark);
}

.donation-impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.impact-stat {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.impact-stat .impact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.impact-stat .impact-icon i {
    font-size: 24px;
    color: var(--primary-orange);
}

.impact-stat .impact-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-navy);
}

.impact-stat .impact-label {
    font-size: 14px;
    color: var(--gray-500);
}

.donation-tiers {
    margin-top: 30px;
}

.donation-tiers h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 20px;
}

.tier-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.tier-amount {
    min-width: 70px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-yellow);
}

.tier-info h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 5px;
}

.tier-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Other Ways to Give */
.ways-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.way-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.way-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.way-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.way-icon i {
    font-size: 28px;
    color: var(--primary-orange);
}

.way-card h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.way-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.way-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.way-card:hover .way-link {
    gap: 10px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content i {
    color: var(--primary-orange);
    font-size: 24px;
    margin-bottom: 15px;
    display: block;
}

.testimonial-content p {
    font-size: 15px;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
}

.author-info h4 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 13px;
    color: var(--gray-500);
}

/* About Page Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    overflow: hidden;
}

.team-image svg {
    width: 100%;
    height: 200px;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 18px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.team-role {
    font-size: 14px;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition-normal);
}

.team-social a:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.1);
    position: absolute;
    top: 15px;
    right: 20px;
}

.why-card h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.why-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-hero);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stats-item {
    text-align: center;
    color: var(--white);
}

.stats-item .stats-icon {
    font-size: 36px;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.stats-item .stats-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stats-item .stats-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* ============================================
   Additional Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .welcome-content {
        grid-template-columns: 1fr;
    }
    
    .welcome-image {
        order: -1;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid-preview {
        grid-template-columns: 1fr;
    }
    
    .program-detail-content {
        grid-template-columns: 1fr;
    }
    
    .program-detail-content.reverse {
        direction: ltr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-timeline {
        grid-template-columns: 1fr;
    }
    
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form-large {
        max-width: 100%;
    }
    
    .notes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visit-box {
        grid-template-columns: 1fr;
    }
    
    .donation-intro-content {
        grid-template-columns: 1fr;
    }
    
    .ways-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 36px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .gallery-item.large,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .program-features-grid {
        grid-template-columns: 1fr;
    }
    
    .dates-grid {
        grid-template-columns: 1fr;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-impact-stats {
        grid-template-columns: 1fr;
    }
    
    .ways-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Team Page Styles
   ============================================ */
.team-intro {
    padding-bottom: 40px;
}

.team-category-title {
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-orange);
    display: inline-block;
}

.team-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-member-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--gray-100);
}

.team-member-image .team-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition-slow);
}

.team-member-card:hover .team-photo {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%, rgba(30, 58, 95, 0.9));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-normal);
}

.team-member-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 10px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.team-social a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.team-member-info {
    padding: 25px;
    text-align: center;
}

.team-member-info h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.team-member-info .team-role {
    font-size: 14px;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.team-member-info .team-responsibility {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-outline.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* Team Preview Cards */
.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.team-preview-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.team-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-preview-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--gray-100);
    border: 4px solid var(--primary-orange);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.team-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-preview-card h3 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.team-preview-card p {
    font-size: 13px;
    color: var(--primary-orange);
    font-weight: 600;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 32px;
    color: var(--primary-orange);
}

.value-card:nth-child(2) .value-icon {
    background: rgba(255, 217, 61, 0.2);
}

.value-card:nth-child(2) .value-icon i {
    color: #d4a30a;
}

.value-card:nth-child(3) .value-icon {
    background: rgba(74, 222, 128, 0.2);
}

.value-card:nth-child(3) .value-icon i {
    color: var(--accent-green-dark);
}

.value-card:nth-child(4) .value-icon {
    background: rgba(96, 165, 250, 0.2);
}

.value-card:nth-child(4) .value-icon i {
    color: var(--accent-blue);
}

.value-card h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* WhatsApp Floating Buttons */
.whatsapp-buttons {
    position: fixed;
    bottom: 100px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.whatsapp-btn:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-btn i {
    font-size: 22px;
}

.whatsapp-label {
    white-space: nowrap;
}

.whatsapp-btn-1 {
    animation: pulse-wa 2s infinite;
}

.whatsapp-btn-2 {
    animation: pulse-wa 2s infinite 0.5s;
}

@keyframes pulse-wa {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-buttons {
        bottom: 80px;
        right: 15px;
    }
    
    .whatsapp-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .whatsapp-btn i {
        font-size: 20px;
    }
}

/* Gallery Preview with Real Images */
.gallery-item-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-preview:hover img {
    transform: scale(1.1);
}

.gallery-item-preview.large img {
    height: 100%;
}

/* ============================================
   Careers Page Styles
   ============================================ */
.careers-intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.careers-intro-text h2 {
    font-size: 36px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.careers-intro-text p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.careers-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
}

.benefit-item i {
    color: var(--accent-green-dark);
}

.careers-intro-image svg {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
}

.jobs-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
}

.job-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-100);
}

.job-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.job-icon.teaching {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
}

.job-icon.admin {
    background: rgba(96, 165, 250, 0.2);
    color: var(--accent-blue);
}

.job-icon.support {
    background: rgba(74, 222, 128, 0.2);
    color: var(--accent-green-dark);
}

.job-icon i {
    font-size: 24px;
}

.job-title-info {
    flex: 1;
}

.job-title-info h3 {
    font-size: 20px;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.job-meta span {
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-meta span i {
    color: var(--primary-orange);
}

.job-type-badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.job-type-badge.teaching {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
}

.job-type-badge.admin {
    background: rgba(96, 165, 250, 0.2);
    color: var(--accent-blue);
}

.job-type-badge.support {
    background: rgba(74, 222, 128, 0.2);
    color: var(--accent-green-dark);
}

.job-body {
    padding: 25px;
}

.job-body > p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.job-requirements h4 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.job-requirements ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.job-requirements ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
}

.job-requirements ul li::before {
    content: '✓';
    color: var(--accent-green-dark);
    font-weight: 700;
}

.job-footer {
    padding: 20px 25px;
    border-top: 2px solid var(--gray-100);
    display: flex;
    justify-content: flex-end;
}

/* Job Application Modal */
.job-modal-content {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

.job-modal-header {
    background: var(--gradient-primary);
    padding: 30px;
    color: var(--white);
}

.job-modal-header h3 {
    color: var(--white);
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.job-modal-header p {
    font-size: 14px;
    opacity: 0.9;
}

.job-modal-header span {
    color: var(--accent-yellow);
    font-weight: 700;
}

.job-application-form {
    padding: 30px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-full);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-orange);
}

.form-hint {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 5px;
    display: block;
}

/* News Category Blog */
.news-category.blog {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.news-content-preview .news-category.blog {
    color: #8b5cf6;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.contact-info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.contact-info-card .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card .contact-icon i {
    font-size: 20px;
    color: var(--white);
}

.contact-info-card .contact-details h4 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.contact-info-card .contact-details p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-social h4 {
    font-size: 16px;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.contact-social .social-links {
    display: flex;
    gap: 10px;
}

.contact-social .social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition-normal);
}

.contact-social .social-link:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Contact Form Wrapper */
.contact-form-wrapper .form-header {
    background: var(--gradient-primary);
    padding: 25px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: -40px -40px 30px;
}

.contact-form-wrapper .form-header h3 {
    color: var(--white);
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.contact-form-wrapper .form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Footer Map */
.footer-map {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.footer-map iframe {
    display: block;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Requirements Box Update */
.requirements-box ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirements-box ul li i {
    color: var(--accent-green-dark);
}

/* Responsive updates for new pages */
@media (max-width: 1024px) {
    .team-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .careers-intro-content {
        grid-template-columns: 1fr;
    }
    
    .job-requirements ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-grid-full {
        grid-template-columns: 1fr;
    }
    
    .team-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .team-preview-img {
        width: 80px;
        height: 80px;
    }
    
    .team-preview-card h3 {
        font-size: 14px;
    }
    
    .team-preview-card p {
        font-size: 12px;
    }
    
    .job-header {
        flex-direction: column;
        text-align: center;
    }
    
    .job-type-badge {
        margin-top: 10px;
    }
    
    .careers-benefits {
        grid-template-columns: 1fr;
    }
    
    .contact-info-wrapper h2 {
        font-size: 28px;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   Prevents white space gaps and overflow issues
   ============================================ */

/* Container max-width fixes for all screens */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Prevent horizontal overflow on all elements */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* Fix hero section overflow */
/* Extra overflow protection for home page */
.home-page,
.home-page .page-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

.hero {
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
}

.hero-content,
.hero-data,
.hero-image {
    max-width: 100%;
}

/* Fix floating elements that may cause overflow */
.floating-card {
    max-width: calc(100vw - 60px);
}

/* Fix navigation overflow on mobile */
@media (max-width: 1024px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .page-wrapper {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .nav {
        padding: 0 15px;
    }
    
    .nav-logo img {
        max-width: 150px;
        height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-shapes .shape {
        display: none;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    /* Reset any fixed widths */
    .hero-stats {
        width: 100%;
        padding: 0 10px;
    }
    
    .stat-item {
        flex: 1 1 100%;
        text-align: center;
    }
    
    /* Gallery grid fix */
    .gallery-grid,
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
    
    /* Team grid fix */
    .team-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .team-preview-img {
        width: 60px;
        height: 60px;
    }
    
    /* Fix program cards */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Fix footer grid */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* WhatsApp buttons on mobile */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        right: 10px;
        font-size: 10px;
    }
    
    .whatsapp-btn i {
        font-size: 20px;
    }
    
    .whatsapp-btn-1 {
        bottom: 90px;
    }
    
    .whatsapp-btn-2 {
        bottom: 25px;
    }
    
    /* Page header fix */
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    /* Fix feature cards */
    .feature-card,
    .program-card,
    .activity-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    /* Fix form inputs */
    .form-control,
    input,
    select,
    textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix tabs */
    .tabs-nav {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 calc(50% - 10px);
        font-size: 12px;
        padding: 10px;
    }
}

/* Super small devices (under 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Single column for everything on very small screens */
    .gallery-grid,
    .gallery-preview-grid,
    .team-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Landscape mobile fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
}

/* Sticky header on scroll */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* Ensure content doesn't hide under fixed header */
main {
    padding-top: 0; /* Hero handles its own padding */
}

/* For inner pages */
.page-header {
    margin-top: 0;
}

/* Team image positioning for specific images */
.team-preview-img img,
.team-member-image img,
.team-photo {
    object-fit: cover;
    object-position: center top;
}

/* Gallery images proper fit */
.gallery-item img,
.gallery-item-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure all images are responsive */
.team-preview-img img,
.team-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

