/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Prevent horizontal scrolling on all elements */
*, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
}

/* Force all elements to stay within viewport */
body, main, section, div, header, footer, nav, ul, li, a, img, button, input, textarea, select, 
.container, .hero-content, .about-content, .contact-content, .features-grid, .programs-grid, 
.facilities-grid, .gallery-grid, .hero, .hero-background, .floating-shapes, .shape {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Fix text alignment and prevent text overflow */
h1, h2, h3, h4, h5, h6, p, span, a, li, td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: left;
}

/* Ensure proper text alignment for different screen sizes */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6 {
        text-align: center;
        line-height: 1.2;
    }
    
    p, span, li {
        text-align: left;
        line-height: 1.4;
    }
    
    .section-title, .hero-title {
        text-align: center;
        line-height: 1.1;
    }
    
    .section-subtitle, .hero-subtitle {
        text-align: center;
        line-height: 1.3;
    }
}

/* Prevent any element from causing horizontal scroll */
.container, .hero-content, .about-content, .contact-content, .features-grid, .programs-grid, 
.facilities-grid, .gallery-grid, .hero-background, .floating-shapes, .shape, .hero-image-container, 
.hero-stats, .promo-banner, .promo-inner, .calendar-timeline, .timeline-container, 
.daily-schedule .schedule-timeline, .mission-vision-grid, .story-content, .values-grid, 
.team-grid, .certificates-grid, .approach-features, .programs-showcase {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    width: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    position: relative;
    z-index: 1200;
}

.announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
}

.announcement-badge {
    background: rgba(0,0,0,0.15);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.announcement-text {
    flex: 1;
    font-weight: 600;
}

.announcement-text a {
    color: #fff;
    text-decoration: underline;
}
.announcement-text a:hover { color: #f0f0f0; }

.announcement-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
}

.hidden { display: none; }

body.has-announcement .header {
    margin-top: 0; /* header is fixed; we keep bar above content without shifting header */
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #81C784;
    --secondary-color: #FF9800;
    --accent-color: #2196F3;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-accent: #e8f5e8;
    --bg-dark: #2c3e50;
    
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-large: 20px;
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
}

.loading-content {
    text-align: center;
    color: white;
}

.leaf-loader {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.loading-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: var(--announcement-offset, 0);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    max-width: 100%;
    overflow: hidden;
    flex-shrink: 1;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
    overflow: hidden;
    flex-shrink: 1;
    box-sizing: border-box;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-text {
    white-space: nowrap;
    overflow: hidden;
    max-width: 200px;
    flex-shrink: 1;
    box-sizing: border-box;
}

.logo-text h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
}

.logo-text span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

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

/* ===== HERO SECTION ===== */
.hero {
    min-height: calc(120vh - var(--announcement-offset, 0px));
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 80px 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
}

.shape {
    position: absolute;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
    box-sizing: border-box;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 80vh;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(76, 175, 80, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    min-height: 500px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
    max-width: 100%;
    box-sizing: border-box;
}

.hero-image-container:hover .hero-main-image {
    transform: scale(1.05);
}

.hero-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    justify-content: space-around;
    box-shadow: var(--shadow-light);
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    box-sizing: border-box;
}

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

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    margin: 0 auto 10px;
    animation: arrow-bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes arrow-bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(-5px); }
    60% { transform: rotate(45deg) translateY(-2px); }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Prevent any element from causing horizontal scroll */
.container *, .container *::before, .container *::after {
    max-width: 100%;
    box-sizing: border-box;
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-check {
    width: 30px;
    height: 30px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
    background: var(--bg-accent);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.program-card:hover .program-overlay {
    opacity: 1;
}

.program-overlay i {
    color: white;
    font-size: 48px;
}

.program-content {
    padding: 30px;
}

.program-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.program-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-features {
    list-style: none;
    margin-bottom: 20px;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.program-features i {
    color: var(--success-color);
    font-size: 14px;
}

.program-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.age-group, .duration {
    background: var(--bg-accent);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== FACILITIES SECTION ===== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.facility-item {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.facility-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(129, 199, 132, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.facility-item:hover::before {
    opacity: 1;
}

.facility-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.facility-item:hover .facility-icon {
    transform: scale(1.1);
}

.facility-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.facility-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ===== GALLERY SECTION ===== */
.gallery {
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    box-sizing: border-box;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay i {
    color: white;
    font-size: 32px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--bg-accent);
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    transition: opacity 0.5s ease;
}

.testimonial-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: #FFD700;
    font-size: 20px;
    margin: 0 2px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.testimonial-date {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
}

.no-reviews h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.no-reviews p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== ADD REVIEW SECTION ===== */
.add-review-section {
    margin-top: 60px;
}

.add-review-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    max-width: 600px;
    margin: 0 auto;
}

.add-review-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-align: center;
}

.add-review-form p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    text-align: center;
}

.add-review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.add-review-form .form-group {
    margin-bottom: 20px;
}

.add-review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.add-review-form input,
.add-review-form select,
.add-review-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.add-review-form input:focus,
.add-review-form select:focus,
.add-review-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.add-review-form textarea {
    resize: vertical;
    min-height: 120px;
}

.add-review-form button {
    width: 100%;
    margin-top: 10px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-secondary);
}

/* ===== HOME PROMO BANNER (dismissible) ===== */
.promo-banner {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    overflow: hidden;
    border-radius: 20px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.promo-banner.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--promo-bg);
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) saturate(1.2);
    z-index: 0;
    border-radius: 20px;
}

.promo-banner.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(34, 139, 34, 0.6), 
        rgba(0, 100, 0, 0.7)
    );
    z-index: 0;
    border-radius: 20px;
}

.promo-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.promo-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #fff;
}

.promo-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 20px;
}

.promo-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.promo-actions .btn-primary,
.promo-actions .btn-secondary {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.promo-actions .btn-primary {
    background: #fff;
    color: var(--primary-color);
}

.promo-actions .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.promo-actions .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.promo-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}



@media (max-width: 992px) {
    .promo-banner {
        margin: 15px;
        border-radius: 15px;
    }
    
    .promo-banner.has-image::before,
    .promo-banner.has-image::after {
        border-radius: 15px;
    }
    
    .promo-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 25px;
    }
    
    .promo-content h3 {
        font-size: 1.8rem;
    }
    
    .promo-content p {
        font-size: 1rem;
    }
    
    .promo-actions {
        justify-content: center;
    }
    
    .promo-actions .btn-primary,
    .promo-actions .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info .social-links,
.contact .social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.contact-info .social-links .social-link,
.contact .social-links .social-link {
    display: inline-flex;
}

@media (max-width: 768px) {
    .contact-info .social-links,
    .contact .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== FORM STYLES ===== */
.form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 16px;
    transition: var(--transition);
    background: white;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.footer-logo h3 {
    font-size: 18px;
    margin: 0;
}

.footer-logo span {
    font-size: 12px;
    opacity: 0.8;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    opacity: 0.8;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 65px;
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }
    
    .logo {
        max-width: 180px;
        overflow: hidden;
        flex-shrink: 1;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .logo-link {
        display: flex;
        align-items: center;
        gap: 8px;
        max-width: 100%;
    }
    
    .logo-text {
        max-width: 130px;
        flex-shrink: 1;
        overflow: hidden;
    }
    
    .logo-text h2 {
        font-size: 15px;
        line-height: 1.2;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-text span {
        font-size: 10px;
        line-height: 1.2;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    .header-actions .btn-primary {
        padding: 6px 10px;
        font-size: 12px;
        min-width: auto;
        white-space: nowrap;
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .nav {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: var(--bg-accent);
        border-radius: 8px;
        margin: 0 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background: var(--bg-accent);
    }
    
    .mobile-menu-btn.active {
        background: var(--primary-color);
    }
    
    .mobile-menu-btn.active span {
        background: white;
    }
    
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        min-height: auto;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .hero-image-container {
        min-height: 250px;
        margin: 0 5px;
        width: calc(100% - 10px);
        max-width: calc(100% - 10px);
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 240px;
        padding: 12px 18px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 10px;
        padding: 15px;
        margin: 0 5px;
        width: calc(100% - 10px);
        max-width: calc(100% - 10px);
        justify-content: space-around;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: grid;
        justify-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: grid;
        justify-items: center;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: grid;
        justify-items: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        display: grid;
        justify-items: center;
        align-items: start;
    }
    
    .gallery-item {
        height: 160px;
        border-radius: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .feature-card,
    .facility-item,
    .program-card {
        padding: 25px 15px;
        margin: 0 5px;
        width: calc(100% - 10px);
        max-width: calc(100% - 10px);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
        display: grid;
        justify-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-section ul li {
        margin-bottom: 0;
    }
    
    .footer-section ul li a {
        padding: 8px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        background: rgba(255,255,255,0.1);
        padding-left: 16px;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .mission-card, .vision-card {
        padding: 20px 15px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .mission-card h3, .vision-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        text-align: center;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .mission-card p, .vision-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .mission-points, .vision-points {
        text-align: left;
        padding-left: 15px;
    }
    
    .mission-points li, .vision-points li {
        font-size: 0.8rem;
        margin-bottom: 6px;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-container .timeline-item::before {
        left: 50%;
    }
    
    .timeline-container .timeline-item:nth-child(odd) .timeline-date,
    .timeline-container .timeline-item:nth-child(even) .timeline-date {
        margin: 0 0 20px 0;
    }
    
    .timeline-container .timeline-item:nth-child(odd) .timeline-content,
    .timeline-container .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .tour-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-container {
        padding: 0 10px;
        height: 60px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    .logo {
        max-width: 160px;
        flex-shrink: 1;
    }
    
    .logo-text {
        max-width: 110px;
        flex-shrink: 1;
    }
    
    .logo-text h2 {
        font-size: 12px;
        line-height: 1.1;
    }
    
    .logo-text span {
        font-size: 8px;
        line-height: 1.1;
    }
    
    .header-actions {
        gap: 6px;
        flex-shrink: 0;
    }
    
    .header-actions .btn-primary {
        padding: 5px 8px;
        font-size: 11px;
        min-width: auto;
        border-radius: 6px;
    }
    
    .hero {
        padding: 80px 0 40px 0;
        min-height: 90vh;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding: 0 10px;
        gap: 25px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 12px;
        word-wrap: break-word;
        hyphens: auto;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.4;
        word-wrap: break-word;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 200px;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
        min-height: 44px;
        word-wrap: break-word;
        border-radius: 10px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 30px;
        word-wrap: break-word;
    }
    
    .feature-card,
    .facility-item {
        padding: 18px 10px;
        margin: 0 1px;
        text-align: center;
        width: calc(100% - 2px);
        max-width: calc(100% - 2px);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .feature-card h3,
    .facility-item h3 {
        text-align: center;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .feature-card p,
    .facility-item p {
        text-align: center;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .feature-icon,
    .facility-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .feature-card h3,
    .facility-item h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p,
    .facility-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .program-content {
        padding: 12px 10px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .program-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
        text-align: center;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .program-content p {
        font-size: 0.8rem;
        margin-bottom: 12px;
        text-align: center;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .program-features {
        margin-bottom: 15px;
    }
    
    .program-features li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .form {
        padding: 20px 12px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .testimonial-content {
        padding: 20px 12px;
    }
    
    .hero-stats {
        padding: 10px;
        margin: 0 2px;
        flex-direction: row;
        justify-content: space-around;
        gap: 6px;
        width: calc(100% - 4px);
        max-width: calc(100% - 4px);
    }
    
    .stat-number {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 8px;
    }
    
    .nav-list {
        padding: 20px 10px;
        gap: 12px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        padding: 4px;
    }
    
    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-item .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-text h4 {
        font-size: 1rem;
        margin-bottom: 4px;
        word-wrap: break-word;
    }
    
    .contact-text p {
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    .social-links {
        justify-content: center;
        gap: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Gallery optimizations */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 8px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .gallery-item {
        height: 140px;
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Footer optimizations */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
        padding: 0 10px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-section ul li {
        margin-bottom: 6px;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    /* Section padding reduction */
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
        padding: 0 10px;
    }
}

/* ===== EXTRA SMALL SCREENS (320px and below) ===== */
@media (max-width: 320px) {
    /* Force all elements to stay within viewport */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Optimize for very small screens */
    html {
        font-size: 14px;
    }
    
    body {
        font-size: 14px;
        line-height: 1.4;
    }
    
    /* Reduce padding and margins */
    .container {
        padding: 0 8px !important;
    }
    
    section {
        padding: 30px 0 !important;
    }
    
    /* Optimize hero section */
    .hero {
        padding: 60px 0 30px 0 !important;
        min-height: 80vh !important;
    }
    
    .hero-title {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    .hero-subtitle {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    /* Optimize buttons */
    .btn-primary, .btn-secondary {
        padding: 8px 12px !important;
        font-size: 12px !important;
        min-height: 44px !important;
        border-radius: 8px !important;
    }
    
    /* Optimize navigation */
    .header-container {
        height: 55px !important;
        padding: 0 8px !important;
    }
    
    .logo-img {
        width: 35px !important;
        height: 35px !important;
    }
    
    .logo-text h2 {
        font-size: 10px !important;
    }
    
    .logo-text span {
        font-size: 7px !important;
    }
    
    /* Optimize forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px !important;
        padding: 10px 12px !important;
        min-height: 44px !important;
    }
    
    /* Optimize gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 0 6px !important;
    }
    
    .gallery-item {
        height: 100px !important;
        border-radius: 6px !important;
    }
    
    /* Optimize cards */
    .feature-card,
    .facility-item,
    .program-card {
        padding: 12px 8px !important;
        margin: 0 2px !important;
    }
    
    .feature-card h3,
    .facility-item h3,
    .program-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    
    .feature-card p,
    .facility-item p,
    .program-card p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    /* Optimize icons */
    .feature-icon,
    .facility-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    /* Optimize footer */
    .footer {
        padding: 25px 0 10px !important;
    }
    
    .footer-content {
        gap: 20px !important;
        padding: 0 8px !important;
    }
    
    .footer-section h4 {
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem !important;
        padding: 5px 8px !important;
    }
    
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    .container {
        padding: 0 8px;
    }
    
    .header-container {
        padding: 0 8px;
        height: 55px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
    
    .logo {
        max-width: 140px;
        flex-shrink: 1;
    }
    
    .logo-text {
        max-width: 90px;
        flex-shrink: 1;
    }
    
    .logo-text h2 {
        font-size: 10px;
        line-height: 1.1;
    }
    
    .logo-text span {
        font-size: 7px;
        line-height: 1.1;
    }
    
    .header-actions {
        gap: 4px;
        flex-shrink: 0;
    }
    
    .header-actions .btn-primary {
        padding: 4px 6px;
        font-size: 10px;
        min-width: auto;
        border-radius: 4px;
    }
    
    .hero {
        padding: 70px 0 30px 0;
        min-height: 85vh;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding: 0 8px;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .hero-title {
        font-size: 1.2rem;
        line-height: 1.2;
        margin-bottom: 10px;
        word-wrap: break-word;
        hyphens: auto;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 12px;
        line-height: 1.3;
        word-wrap: break-word;
        text-align: center;
    }
    
    .btn-primary, .btn-secondary {
        max-width: 180px;
        padding: 8px 10px;
        font-size: 11px;
        min-height: 40px;
        word-wrap: break-word;
        border-radius: 8px;
    }
    
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .section-subtitle {
        font-size: 0.7rem;
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .feature-card,
    .facility-item {
        padding: 12px 6px;
        margin: 0 1px;
        text-align: center;
        width: calc(100% - 2px);
        max-width: calc(100% - 2px);
        box-sizing: border-box;
    }
    
    .feature-card h3,
    .facility-item h3 {
        text-align: center;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .feature-card p,
    .facility-item p {
        text-align: center;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .feature-icon,
    .facility-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .feature-card h3,
    .facility-item h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .feature-card p,
    .facility-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .program-content {
        padding: 10px 6px;
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .program-content h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
        text-align: center;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .program-content p {
        font-size: 0.75rem;
        margin-bottom: 10px;
        text-align: center;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .program-features li {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }
    
    .mission-vision-grid {
        gap: 15px;
        padding: 0 8px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .mission-card, .vision-card {
        padding: 15px 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .mission-card h3, .vision-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    
    .mission-card p, .vision-card p {
        font-size: 0.8rem;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .mission-points, .vision-points {
        padding-left: 12px;
    }
    
    .mission-points li, .vision-points li {
        font-size: 0.75rem;
        margin-bottom: 5px;
        word-wrap: break-word;
    }
    
    .form {
        padding: 15px 8px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .testimonial-content {
        padding: 15px 8px;
    }
    
    .hero-stats {
        padding: 8px;
        margin: 0 1px;
        gap: 4px;
        width: calc(100% - 2px);
        max-width: calc(100% - 2px);
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-number {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 7px;
    }
    
    .nav-list {
        padding: 15px 8px;
        gap: 10px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .mobile-menu-btn {
        padding: 3px;
    }
    
    .mobile-menu-btn span {
        width: 18px;
        height: 1.5px;
    }
    
    .back-to-top {
        bottom: 12px;
        right: 12px;
        width: 35px;
        height: 35px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .contact-text h4 {
        font-size: 0.9rem;
        margin-bottom: 3px;
        word-wrap: break-word;
    }
    
    .contact-text p {
        font-size: 0.8rem;
        word-wrap: break-word;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 6px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .gallery-item {
        height: 120px;
        border-radius: 6px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer {
        padding: 30px 0 12px;
    }
    
    .footer-content {
        gap: 20px;
        padding: 0 8px;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .section-header {
        margin-bottom: 25px;
        padding: 0 8px;
    }
    
    /* Form inputs for very small screens */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px 12px;
        min-height: 44px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }
    
    /* Prevent any element from overflowing */
    .hero-image-container {
        margin: 0 5px;
    }
    
    .hero-stats {
        margin: 0 5px;
    }
    
    .mission-vision-grid {
        gap: 15px;
        padding: 0 8px;
    }
    
    .mission-card, .vision-card {
        padding: 15px 12px;
    }
    
    .mission-card h3, .vision-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .mission-card p, .vision-card p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .mission-points, .vision-points {
        padding-left: 12px;
    }
    
    .mission-points li, .vision-points li {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

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

.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.keyboard-navigation *:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== TOUCH-FRIENDLY INTERACTIONS ===== */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .btn-primary, .btn-secondary {
        min-height: 48px;
        min-width: 48px;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-link {
        min-height: 48px;
        min-width: 48px;
    }
    
    .mobile-menu-btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    .back-to-top {
        min-height: 50px;
        min-width: 50px;
    }
    
    .gallery-item {
        cursor: pointer;
    }
    
    .feature-card:hover,
    .facility-item:hover,
    .program-card:hover {
        transform: none;
    }
    
    .feature-card:active,
    .facility-item:active,
    .program-card:active {
        transform: scale(0.98);
    }
    
    /* Form inputs for touch */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px;
    }
}

/* ===== MOBILE-SPECIFIC IMPROVEMENTS ===== */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn-primary, .btn-secondary {
        min-height: 48px;
        font-size: 16px;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent zoom on input focus for iOS */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
        transform: translateZ(0);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    /* Improve scrolling performance */
    * {
        -webkit-overflow-scrolling: touch;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Better text rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Prevent horizontal scroll completely */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
    }
    
    /* Improve image loading */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Better button interactions */
    button, .btn-primary, .btn-secondary, .nav-link {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
        cursor: pointer;
    }
    
    /* Improve form elements */
    .form-group input,
    .form-group select,
    .form-group textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 8px;
        padding: 12px 16px;
        font-size: 16px;
        line-height: 1.4;
    }
    
    /* Better focus states for accessibility */
    *:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Improve modal and overlay interactions */
    .gallery-modal,
    .modal-overlay {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }
    
    .nav-link {
        min-height: 48px;
        border-radius: 8px;
        margin: 5px 0;
    }
    
    /* Improve scrolling */
    .hero {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent zoom on input focus */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
    
    /* Better spacing for mobile */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    /* Additional mobile optimizations */
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure all text is readable */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    /* Prevent any element from overflowing */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ===== LANDSCAPE ORIENTATION ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px 0;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image-container {
        min-height: 250px;
    }
    
    section {
        padding: 40px 0;
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

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

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

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.contact-note {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
}

.transportation-info {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.transportation-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.transport-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    background: var(--bg-accent);
    transition: var(--transition);
}

.transport-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.transport-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.transport-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.transport-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: white;
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-light);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-accent);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
    opacity: 0.1;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* ===== AGE GROUPS SECTION ===== */
.age-groups {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.age-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.age-group-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.age-group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.age-group-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

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

.age-group-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
    transition: var(--transition);
}

.age-group-card:hover .age-group-icon {
    transform: scale(1.1) rotate(5deg);
}

.age-group-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.age-group-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.age-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.age-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.age-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.class-size {
    background: var(--bg-accent);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== DAILY SCHEDULE SECTION ===== */
.daily-schedule {
    background: white;
    padding: 80px 0;
}

.daily-schedule .schedule-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    /* Ensure this timeline is not affected by other timeline styles */
    isolation: isolate;
}

/* Central line removed as requested */

.daily-schedule .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    /* Ensure these items are not affected by other timeline styles */
    isolation: isolate;
}

.daily-schedule .timeline-item:nth-child(odd) {
    flex-direction: row;
}

.daily-schedule .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Timeline markers removed as requested */

.daily-schedule .time {
    width: 140px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.daily-schedule .timeline-item:nth-child(odd) .time {
    text-align: right;
}

.daily-schedule .timeline-item:nth-child(even) .time {
    text-align: left;
}

.daily-schedule .activity {
    background: white;
    padding: 25px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    flex: 1;
    transition: var(--transition);
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.daily-schedule .timeline-item:nth-child(odd) .activity {
    margin-left: 40px;
}

.daily-schedule .timeline-item:nth-child(even) .activity {
    margin-right: 40px;
}

.daily-schedule .activity:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.daily-schedule .activity h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.daily-schedule .activity p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== SPECIAL PROGRAMS SECTION ===== */
.special-programs {
    background: var(--bg-accent);
    padding: 80px 0;
}

.special-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.special-program-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.special-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.special-program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

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

.program-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: var(--transition);
}

.special-program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
}

.special-program-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.special-program-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.special-program-card ul {
    list-style: none;
    margin-bottom: 20px;
    text-align: left;
}

.special-program-card ul li {
    padding: 5px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.special-program-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.program-duration {
    background: var(--bg-accent);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== STORY SECTION ===== */
.story-section {
    background: white;
    padding: 80px 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-paragraphs p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.story-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.story-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.story-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.story-badge .text {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
}

/* ===== MISSION VISION SECTION ===== */
.mission-vision {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-card, .vision-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.mission-card:hover::before, .vision-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: white;
    font-size: 32px;
    transition: var(--transition);
}

.mission-card:hover .card-icon, .vision-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-card h3, .vision-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.mission-card p, .vision-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.mission-points, .vision-points {
    list-style: none;
}

.mission-points li, .vision-points li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.mission-points li::before, .vision-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===== VALUES SECTION ===== */
.values-section {
    background: white;
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--bg-accent);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: var(--transition);
}

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

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.member-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.member-overlay .social-links {
    display: flex;
    gap: 15px;
}

.member-overlay .social-links a {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.member-overlay .social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.position {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.member-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.credential {
    background: var(--bg-accent);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: var(--border-radius-small);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== CERTIFICATES SECTION ===== */
.certificates-section {
    background: white;
    padding: 80px 0;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certificate-item {
    background: var(--bg-accent);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.certificate-item:hover::before {
    transform: scaleX(1);
}

.certificate-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: var(--transition);
}

.certificate-item:hover .certificate-icon {
    transform: scale(1.1) rotate(5deg);
}

.certificate-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.certificate-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-container .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-container .timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-container .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-container .timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-color);
    z-index: 2;
}

.timeline-date {
    width: 120px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-align: center;
    flex-shrink: 0;
}

.timeline-container .timeline-item:nth-child(odd) .timeline-date {
    margin-right: 40px;
}

.timeline-container .timeline-item:nth-child(even) .timeline-date {
    margin-left: 40px;
}

.timeline-content {
    background: white;
    padding: 25px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    flex: 1;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.timeline-container .timeline-item:nth-child(even) .timeline-content:hover {
    transform: translateX(-5px);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== GALLERY FILTER SECTION ===== */
.gallery-filter-section {
    background: var(--bg-secondary);
    padding: 40px 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn i {
    font-size: 16px;
}

/* ===== MAIN GALLERY ===== */
.main-gallery {
    background: white;
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    height: 250px;
    animation: fadeInUp 0.6s ease;
}

/* Gallery filter animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item.hidden {
    display: none;
}

.gallery-item.visible {
    display: block;
    animation: fadeInUp 0.6s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-info {
    text-align: center;
    color: white;
    padding: 20px;
}

.gallery-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.gallery-info i {
    font-size: 24px;
    opacity: 0.8;
}





/* ===== VIRTUAL TOUR ===== */
.virtual-tour {
    background: var(--bg-secondary);
    padding: 80px 0;
}

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

.tour-preview {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.tour-preview img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.tour-preview:hover .tour-overlay {
    opacity: 1;
}

.tour-info {
    text-align: center;
    color: white;
    padding: 40px;
}

.tour-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.tour-info p {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.tour-areas {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.tour-areas h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.area-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--border-radius-small);
    background: var(--bg-accent);
    transition: var(--transition);
    cursor: pointer;
}

.area-item:hover {
    background: var(--primary-color);
    color: white;
}

.area-item i {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
}

.area-item:hover i {
    color: white;
}

.area-item span {
    font-weight: 500;
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .back-to-top,
    .mobile-menu-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}

/* (reverted child-friendly enhancements at user's request) */

/* ===== ACADEMIC CALENDAR STYLES ===== */
.academic-calendar {
    padding: 80px 0;
    background: var(--bg-light);
}

.calendar-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
}

.calendar-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

/* Academic Calendar Timeline - More specific to avoid conflicts */
.academic-calendar .timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.academic-calendar .timeline-item:nth-child(odd) {
    flex-direction: row;
}

.academic-calendar .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.academic-calendar .timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: var(--shadow-medium);
    border: 4px solid white;
}

.academic-calendar .timeline-content {
    width: 45%;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
}

.academic-calendar .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 55%;
}

.academic-calendar .timeline-item:nth-child(even) .timeline-content {
    margin-left: 55%;
}

.timeline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: var(--bg-accent);
    border-radius: var(--border-radius-small);
}

.timeline-date .month {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-date .day {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-align: center;
}

.timeline-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

.calendar-highlights {
    max-width: 600px;
    margin: 0 auto;
}

.highlight-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.highlight-card .highlight-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.highlight-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.highlight-card ul {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.highlight-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight-card li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ===== EDUCATION APPROACH STYLES ===== */
.education-approach {
    padding: 80px 0;
    background: var(--bg-light);
}

.approach-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.approach-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.feature-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.approach-programs h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.programs-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.program-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.program-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    font-size: 28px;
}

.program-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.program-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-timeline::before {
        left: 30px;
    }
    
    .academic-calendar .timeline-item {
        flex-direction: row !important;
        margin-left: 30px;
    }
    
    .academic-calendar .timeline-marker {
        left: 30px;
        transform: none;
    }
    
    .academic-calendar .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    /* Central line removed in responsive design */
    
    .daily-schedule .schedule-timeline .timeline-item {
        flex-direction: row !important;
        margin-left: 30px;
    }
    
    /* Timeline markers removed in responsive design */
    
    .daily-schedule .schedule-timeline .timeline-item .time {
        width: 100px;
        text-align: right;
        padding-right: 20px;
    }
    
    .daily-schedule .schedule-timeline .timeline-item .activity {
        max-width: none;
        margin-left: 40px !important;
        margin-right: 0 !important;
    }
    
    .daily-schedule .schedule-timeline .timeline-item:nth-child(even) .activity {
        margin-right: 0 !important;
    }
    
    .approach-features {
        grid-template-columns: 1fr;
    }
    
    .programs-showcase {
        grid-template-columns: 1fr;
    }
}
