/* Global Styles */
:root {
    --primary-color: #4db8e2;
    --secondary-color: #819fe0;
    --accent-color: #ee0b0b;
    --nursery-color: #69df0a;
    --primary-color-dark: #eba015;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka One', cursive;
    color: var(--primary-color-dark);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color-dark);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

/* Notification Bar */
.notification-bar {
    background-color: var(--secondary-color);
    color: #fdfcfc;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.notification-bar marquee {
    width: 90%;
}

.notification {
    margin-right: 40px;
    font-weight: 500;
}

.close-notification {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    height: 70px;
    margin-right: 15px;
}

.school-name h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.school-name p {
    font-size: 0.8rem;
    color: #666;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    padding: 0 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    color: white;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
}

.nav-list li a.active, 
.nav-list li a:hover {
    background-color: var(--primary-color-dark);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li a {
    color: var(--text-color);
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(rgba(231, 233, 235, 0.7), rgba(238, 239, 240, 0.7)), /* Light blue overlay */
        url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* For other pages with page-hero class */
.page-hero {
    background: 
        linear-gradient(rgba(66, 165, 245, 0.7), rgba(66, 165, 245, 0.7)),
        url('../images/about-hero.jpg') no-repeat center center;
    background-size: cover;
    height: 50vh;
    /* rest of your existing styles */
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn.nursery-btn {
    background-color: var(--nursery-color);
    color: white;
}

.btn.primary-btn {
    background-color: var(--accent-color);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Quick Links */
.quick-links {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    flex-wrap: wrap;
    gap: 30px;
    background-color: var(--white);
}

.link-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 280px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.link-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.link-card h3 {
    margin-bottom: 15px;
}

.link-card p {
    color: #666;
    margin-bottom: 20px;
}

.link-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
}

.link-btn:hover {
    background-color: var(--primary-color-dark);
}

/* News Section */
.section-title {
    text-align: center;
    margin: 50px 0 30px;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.news-section {
    padding: 50px 20px;
    background-color: var(--light-bg);
}

.news-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    width: 350px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color-dark);
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--accent-color);
}

/* Testimonials */
.testimonials {
    padding: 50px 20px;
    background-color: var(--white);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 30px;
    display: none;
}

.testimonial.active {
    display: block;
    animation: fadeIn 1s ease;
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial p::before,
.testimonial p::after {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-author span {
    display: block;
    font-weight: normal;
    font-size: 0.9rem;
    color: #666;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-controls button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background-color: var(--primary-color-dark);
}

/* Footer */
footer {
    background-color: #222;
    color: #ddd;
    padding-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-section.about p {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ddd;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links li {
    margin-bottom: 10px;
}

.footer-section.links a {
    color: #ddd;
    transition: var(--transition);
}

.footer-section.links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-section.contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-section.contact i {
    margin-right: 10px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #111;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .quick-links {
        gap: 20px;
    }
    
    .link-card {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color-dark);
        flex-direction: column;
        padding-top: 60px;
        transition: var(--transition);
        z-index: 998;
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-links {
        flex-direction: column;
        align-items: center;
    }
    
    .link-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .testimonial-slider {
        padding: 0 10px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
/* Page Hero Styles */
.page-hero {
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.page-hero .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero .hero-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* About Page Styles */
.about-content {
    padding: 50px 20px;
}

.history-content {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

.history-text {
    flex: 1;
}

.history-image {
    flex: 1;
    text-align: center;
}

.history-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.caption {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.motto-box {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 50px;
}

.motto-box h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 15px;
}

.vision-mission {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.vm-card {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.vm-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.value-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.staff-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-10px);
}

.staff-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.staff-card h3 {
    margin: 15px 0 5px;
}

.staff-card p {
    color: #666;
}

.qualification {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin: 10px 0 20px;
}

.text-center {
    text-align: center;
}

/* Nursery Page Styles */
.section-content {
    padding: 50px 20px;
}

.age-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
}

.age-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.age-card:hover {
    transform: translateY(-10px);
}

.age-icon i {
    font-size: 3rem;
    color: var(--nursery-color);
    margin-bottom: 20px;
}

.age-range {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.curriculum-content {
    display: flex;
    gap: 30px;
    margin: 30px 0 50px;
    align-items: center;
}

.curriculum-text {
    flex: 1;
}

.curriculum-image {
    flex: 1;
}

.curriculum-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.curriculum-list {
    list-style: none;
}

.curriculum-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.curriculum-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

.routine-timeline {
    position: relative;
    max-width: 800px;
    margin: 30px auto 50px;
}

.routine-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50px;
    margin-left: -1px;
}

.routine-item {
    padding: 10px 0;
    position: relative;
}

.routine-time {
    position: absolute;
    width: 100px;
    text-align: right;
    left: 0;
    top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.routine-content {
    margin-left: 70px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow);
    position: relative;
}

.routine-content::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--white);
    left: -7px;
    top: 20px;
    transform: rotate(45deg);
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.routine-content h3 {
    margin-bottom: 5px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
}

.facility-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-10px);
}

.facility-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.facility-card h3 {
    padding: 15px;
    margin: 0;
}

.facility-card p {
    padding: 0 15px 15px;
    margin: 0;
    color: #666;
}

.enrollment-section {
    background-color: var(--primary-color);
    color: white;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
}

.enrollment-section h2 {
    color: white;
    margin-bottom: 20px;
}

.enrollment-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Primary Page Styles */
.classes-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 20px;
    background: #ddd;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
    margin-bottom: 50px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.class-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.class-text {
    flex: 1;
}

.class-image {
    flex: 1;
}

.class-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.class-text ul {
    list-style: none;
}

.class-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.class-text i {
    color: var(--primary-color);
    margin-right: 10px;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.subject-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.subject-card:hover {
    transform: translateY(-5px);
}

.subject-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ple-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.ple-stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

.ple-text {
    max-width: 800px;
    margin: 0 auto 50px;
}

.ple-text ul {
    list-style: none;
}

.ple-text li {
    margin-bottom: 10px;
}

.ple-text strong {
    color: var(--primary-color);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
}

.activity-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-10px);
}

.activity-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Gallery Page Styles */
.gallery-content {
    padding: 50px 20px;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 15px;
    background: #ddd;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0 50px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.video-gallery {
    margin: 50px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.video-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.video-card h3 {
    padding: 15px;
    margin: 0;
}

.video-player-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    padding: 50px;
}

.close-video {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Fees Page Styles */
.fees-content {
    padding: 50px 20px;
}

.fee-notice {
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid var(--secondary-color);
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.fee-notice i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
}

.fees-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.fee-tab {
    padding: 10px 20px;
    background: #ddd;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.fee-tab.active {
    background: var(--primary-color);
    color: white;
}

.fee-tab-content {
    display: none;
    margin-bottom: 50px;
}

.fee-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.fee-table th, .fee-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.fee-table th {
    background-color: var(--primary-color);
    color: white;
}

.fee-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.fee-table tr:hover {
    background-color: #f1f1f1;
}

.fee-notes {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}

.fee-notes h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.other-fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.other-fee-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.other-fee-card h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.other-fee-card i {
    margin-right: 10px;
    color: var(--primary-color);
}

.payment-methods {
    margin: 50px 0;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.payment-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.payment-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.scholarship-section {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 10px;
    margin-top: 50px;
}

.scholarship-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.scholarship-text {
    flex: 1;
}

.scholarship-image {
    flex: 1;
}

.scholarship-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Resources Page Styles */
.resources-content {
    padding: 50px 20px;
}

.resources-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.resource-tab {
    padding: 10px 20px;
    background: #ddd;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.resource-tab.active {
    background: var(--primary-color);
    color: white;
}

.resource-tab-content {
    display: none;
    margin-bottom: 50px;
}

.resource-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.resource-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-10px);
}

.resource-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--primary-color-dark);
}

.ple-notice {
    background: #fff8e1;
    padding: 15px;
    border-left: 4px solid var(--secondary-color);
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.ple-notice i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
}

.resource-updates {
    margin: 50px 0;
}

.update-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.update-date {
    text-align: center;
    min-width: 80px;
}

.day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.month {
    font-size: 1rem;
    color: #666;
}

.year {
    font-size: 0.9rem;
    color: #999;
    display: block;
}

.update-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent-color);
    font-weight: 600;
}

.resource-notice {
    display: flex;
    gap: 20px;
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    align-items: center;
}

.notice-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Contact Page Styles */
.contact-content {
    padding: 50px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info h2, .contact-form h2 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after, .contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-text h3 {
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-color-dark);
}

.form-success {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-success i {
    font-size: 2rem;
    color: #4caf50;
}

.map-section {
    margin: 50px 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
}

.department-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.department-card:hover {
    transform: translateY(-10px);
}

.dept-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.dept-contact {
    margin-top: 20px;
}

.dept-contact p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dept-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.visit-section {
    display: flex;
    gap: 50px;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    align-items: center;
}

.visit-content {
    flex: 1;
}

.visit-image {
    flex: 1;
}

.visit-image img {
    width: 100%;
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .history-content, .class-content, .scholarship-content, .visit-section {
        flex-direction: column;
    }
    
    .history-image, .class-image, .scholarship-image, .visit-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 40vh;
    }
    
    .page-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .routine-timeline::before {
        left: 30px;
    }
    
    .routine-time {
        width: 60px;
        font-size: 0.9rem;
    }
    
    .routine-content {
        margin-left: 50px;
    }
}

@media (max-width: 576px) {
    .page-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .enrollment-section, .visit-section {
        padding: 30px 20px;
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transform: scale(1.02);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Slide backgrounds - add your own image paths */
.slide:nth-child(1) {
    background: linear-gradient(rgba(66, 165, 245, 0.6), rgba(66, 165, 245, 0.6)), url('../images/slide1.jpg');
}

.slide:nth-child(2) {
    background: linear-gradient(rgba(66, 165, 245, 0.6), rgba(66, 165, 245, 0.6)), url('../images/slide2.jpg');
}

.slide:nth-child(3) {
    background: linear-gradient(rgba(66, 165, 245, 0.6), rgba(66, 165, 245, 0.6)), url('../images/slide3.jpg');
}

.slide-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

.slide h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider Controls */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }
    
    .slide h2 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 50vh;
    }
    
    .slide h2 {
        font-size: 1.5rem;
    }
    
    .slider-indicators {
        bottom: 15px;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Added shadow */
}

.btn.nursery-btn {
    background-color: #FF7043; /* Orange */
    color: white;
}

.btn.primary-btn {
    background-color: #42a5f5; /* Light blue */
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

/* Add semi-transparent background to buttons for extra contrast */
.slide-content .btn {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-content .btn.nursery-btn {
    background-color: rgba(255, 112, 67, 0.9); /* More solid orange */
}

.slide-content .btn.primary-btn {
    background-color: rgba(66, 165, 245, 0.9); /* More solid blue */
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Stronger shadow */
    color: white;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Stronger shadow */
    color: white;
}

/* Replace the existing .slide background styles with this: */
.slide:nth-child(1) {
    background: url('../images/slides/slide1.jpg') no-repeat center center/cover;
}

.slide:nth-child(2) {
    background: url('../images/slides/slide2.jpg') no-repeat center center/cover;
}

.slide:nth-child(3) {
    background: url('../images/slides/slide3.jpg') no-repeat center center/cover;
}
/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-hero p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for better text contrast */
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-hero {
        height: 40vh;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        height: 35vh;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
}
/* School Hierarchy Styles */
.hierarchy-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.org-level {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 30px;
    position: relative;
}

.org-level:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 2px;
    height: 30px;
    background-color: #42a5f5;
}

.org-node {
    margin: 0 15px;
    position: relative;
    text-align: center;
}

.org-node::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    width: 2px;
    height: 15px;
    background-color: #42a5f5;
}

.org-node:not(:only-child):not(:first-child)::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -30px;
    width: calc(100% + 60px);
    height: 2px;
    background-color: #42a5f5;
}

.employee-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.employee-card:hover {
    transform: translateY(-5px);
}

.employee-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #42a5f5;
}

.employee-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.employee-info p {
    font-size: 0.8rem;
    color: #42a5f5;
    font-weight: 500;
}

/* Special styling for director */
.director .employee-card {
    background: #42a5f5;
}

.director .employee-info h3,
.director .employee-info p {
    color: white;
}

.director .employee-photo {
    border-color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .org-node {
        margin: 10px;
    }
    
    .employee-card {
        width: 140px;
    }
    
    .employee-photo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .org-level {
        flex-direction: column;
        align-items: center;
    }
    
    .org-node {
        margin: 10px 0;
    }
    
    .org-node:not(:only-child):not(:first-child)::after {
        display: none;
    }
    
    .org-node::before {
        display: none;
    }
    
    .org-level:not(:last-child)::after {
        display: none;
    }
}
/* Staff Section Styles */
.staff-section {
  padding: 60px 20px;
  background-color: #f8fafc;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #42a5f5;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Director Level */
.director-level {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.director-profile {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  gap: 25px;
  border-top: 5px solid #42a5f5;
}

.director-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #42a5f5;
  flex-shrink: 0;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-details h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #2c3e50;
}

.director-details .position {
  color: #42a5f5;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.profile-message {
  color: #555;
  line-height: 1.6;
}

.profile-message .quote {
  font-style: italic;
  color: #42a5f5;
  margin-top: 15px;
  font-weight: 500;
}

.director-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 3px solid #42a5f5;
}

/* Leadership Team */
.leadership-team {
  margin-top: 40px;
}

.team-title {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
  font-size: 1.3rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.staff-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 3px solid #42a5f5;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(66, 165, 245, 0.1);
}

.staff-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid #42a5f5;
}

.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-details h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #2c3e50;
}

.staff-details .position {
  color: #42a5f5;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
  .director-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .director-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .director-photo {
    width: 120px;
    height: 120px;
  }
  
  .staff-photo {
    width: 100px;
    height: 100px;
  }
  
  .staff-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .director-profile,
  .director-card {
    min-width: 100%;
  }
  
  .staff-grid {
    grid-template-columns: 1fr;
  }
}