/* Global Styles */
:root {
    --primary: #88191f;
    --secondary: #97bc62;
    --accent: #f4ca16;
    --light: #f8f9fa;
    --dark: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--light);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}



/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

.contact-info {
    display: flex;
    gap: 15px;
    /* Adjusted spacing between phone and email */
    flex-wrap: nowrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    /* Space between the icon and text */
}

.contact-details {
    display: flex;
    /* Ensures items are aligned side by side */
    gap: 20px;
    /* Adds space between the phone and email */
    align-items: center;
    /* Vertically aligns the items */
}

social-links {
    display: flex;
    gap: 15px;
}

/* Social Links in Top Bar */
.social-links a {
    color: white;
    font-size: 1.2rem;
    margin-right: 10px;
    /* Add spacing between icons */
    transition: color 0.3s ease;
}

.social-links a:last-child {
    margin-right: 0;
    /* Remove margin for the last icon */
}

social-links a:hover {
    color: var(--accent);
    /* Optional hover effect */
}

.main-header {
    padding: 15px 0;
    background-color: white;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--dark);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s;
    padding: 10px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    height: 600px;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.swiper-slide:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

/* News Ticker */
.news-ticker {
    background-color: var(--primary);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    /* Ensure content stays within bounds */
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Space between the label and content */
    flex-wrap: nowrap;
    /* Prevent wrapping on larger screens */
}

.ticker-label {
    background-color: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 30px;
    white-space: nowrap;
    /* Prevent text wrapping */
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.ticker-items {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-right: 40px;
    position: relative;
}

.ticker-item:after {
    content: '•';
    position: absolute;
    right: -25px;
    color: var(--accent);
}

.ticker-item:last-child:after {
    display: none;
}

/* Keyframes for scrolling animation */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .ticker-container {
        flex-direction: column;
        /* Stack items vertically */
        align-items: flex-start;
        gap: 10px;
    }

    .ticker-label {
        margin-bottom: 10px;
        /* Add spacing below the label */
    }

    .ticker-items {
        animation: ticker-mobile 30s linear infinite;
        /* Adjust animation for smaller screens */
    }

    @keyframes ticker-mobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-200%);
        }

        /* Scroll faster for smaller screens */
    }
}

/* Leadership Section */
.leadership {
    padding: 80px 20px;
    background-color: white;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.leader-card {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

.leader-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary);
}

.leader-content h3 {
    font-size: 1.5rem;
    margin: 15px 0 5px;
    color: var(--primary);
}

.leader-position {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 10px;
    display: block;
}

.leader-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background-color: var(--light);
}

.programs-header {
    text-align: center;
    margin-bottom: 50px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.program-content p {
    margin-bottom: 20px;
    color: #666;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: white;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 200px;
    /* Fixed height for all items */
}

.gallery-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 45, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.2);
}

/* Map Section */
.map-section {
    position: relative;
    height: 500px;
    /* Adjust height as needed */
    color: white;
    text-align: center;
    overflow: hidden;
}

.map-section .map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Place the map behind the content */
}

.map-section .map-background iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-section .container {
    position: relative;
    z-index: 1;
    /* Ensure content is above the map */
    padding: 20px;
}

.map-section .section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.map-section p {
    font-size: 1.2rem;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

/* Contact Map Section */
.contact-map {
    padding: 80px 0;
    background-color: var(--light);
}

.map-container {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: linear-gradient(rgba(44, 95, 45, 0.9), rgba(44, 95, 45, 0.9)), url('https://images.unsplash.com/photo-1434030216411-0b793f4b4173?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.stat-label {
    font-size: 1.2rem;
}

/* Testimonials Section */

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(44, 95, 45, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta .btn {
    border-color: white;
    color: white;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary);
}

.cta .btn-primary:hover {
    background-color: transparent;
    color: white;
}

.cta .btn-secondary:hover {
    background-color: white;
    color: var(--primary);
}

/* Footer Section */
footer {
    background-color: var(--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-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-column p {
    margin-bottom: 15px;
    color: #bbb;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-info-footer {
    list-style: none;
}

.contact-info-footer li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info-footer i {
    color: var(--accent);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Contact Hero Section */
.contact-hero {
    padding: 100px 20px;
    background: linear-gradient(rgba(44, 95, 45, 0.8), rgba(44, 95, 45, 0.8)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&q=80&w=1080') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(44, 95, 45, 0.3);
}

.contact-form button {
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: var(--accent);
}

/* Contact Info Section */
.contact-info-box {
    display: flex;
    flex-direction: column;
    /* Stack items vertically in the body */
    gap: 20px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary);
}

.info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.info-content p {
    font-size: 1rem;
    color: #555;
}

/* Contact Content Section */
.contact-content {
    padding: 80px 0;
    background-color: #f9f9f9;
    /* Light background for contrast */
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Responsive grid */
    gap: 40px;
    /* Space between columns */
    align-items: start;
}

/* Contact Info Section */
.contact-info-section {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-info-text p,
.contact-info-text a {
    font-size: 1rem;
    color: #555;
    text-decoration: none;
}

.contact-info-text a:hover {
    color: var(--accent);
}

/* Contact Form Section */
.contact-form-section {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: var(--secondary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    width: 100%;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 15px 20px;
    background: #f9f9f9;
    display: none;
    font-size: 1rem;
    color: #555;
}

.faq-answer p {
    margin: 0;
}

.faq-item .faq-question.active+.faq-answer {
    display: block;
}

/* Contact Hours Section */
.contact-hours {
    margin-top: 40px;
    background-color: #ffffff;
    /* White background for contrast */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-hours h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.hours-table tr {
    border-bottom: 1px solid #ddd;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 10px 15px;
    font-size: 1rem;
    color: #555;
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--primary);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: #333;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Content Section */
.about-content {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.values-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leader-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        /* Stack items vertically on smaller screens */
        gap: 10px;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        /* Align items to the left and right */
        align-items: center;
        flex-direction: row;
        /* Ensure items are in a single row */
        padding: 10px 20px;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block;
        /* Show menu icon on mobile */
        font-size: 1.5rem;
        color: var(--primary);
        background: none;
        border: none;
        cursor: pointer;
    }

    nav ul {
        display: none;
        /* Hide the menu by default */
    }

    nav ul.active {
        display: flex;
        /* Show the menu when active */
        flex-direction: column;
        gap: 15px;
        text-align: center;
        background: var(--light);
        padding: 20px;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    .hero-btns,
    .cta-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .ticker-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ticker-label {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .ticker-items {
        animation: ticker-mobile 30s linear infinite;
    }

    @keyframes ticker-mobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-200%);
        }
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info-box {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-slider {
        height: 500px;
    }

    .leader-image {
        height: 200px;
    }
}

/* About Page Specific Styles */
/* History Section */
.history-section {
    padding: 80px 0;
    background-color: #fff;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.history-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.history-text p {
    margin-bottom: 20px;
}

.history-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.history-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.history-image:hover img {
    transform: scale(1.05);
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.mv-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.mv-card p {
    color: #666;
    line-height: 1.6;
}

/* Achievements Timeline */
.achievements-section {
    padding: 80px 0;
    background: white;
}

.achievements-timeline {
    position: relative;
    padding: 40px 0;
    margin-top: 40px;
}

.achievements-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border: 4px solid var(--primary);
    border-radius: 50%;
    top: 50%;
    right: -46px;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-year::after {
    left: -46px;
    right: auto;
}

.timeline-content {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Faculty Section */
.faculty-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.faculty-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
}

.faculty-image {
    height: 300px;
    overflow: hidden;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-image img {
    transform: scale(1.1);
}

.faculty-info {
    padding: 25px;
    text-align: center;
}

.faculty-position {
    color: var(--secondary);
    font-weight: 600;
    margin: 10px 0;
}

.faculty-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .history-content {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements-timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-year::after,
    .timeline-item:nth-child(even) .timeline-year::after {
        left: -36px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .history-image img {
        height: 300px;
    }

    .mv-card {
        padding: 30px 20px;
    }
}

/* Academics Page Styles */
/* Hero Section */
.academics-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.academics-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

/* Curriculum Section */
.curriculum-section {
    padding: 80px 0;
    background: #fff;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.curriculum-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid var(--primary);
}

.curriculum-card:hover {
    transform: translateY(-10px);
}

.curriculum-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.curriculum-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.curriculum-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.curriculum-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-card li:before {
    content: "✓";
    color: var(--secondary);
}

/* Grade Levels Section */
.grade-levels-section {
    padding: 80px 0;
    background: var(--light);
}

.tab-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-button {
    padding: 12px 25px;
    border: none;
    background: #ddd;
    color: var(--dark);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tab-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.tab-text ul {
    columns: 2;
    list-style: none;
    padding: 0;
}

.tab-text li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.tab-text li:before {
    content: "•";
    color: var(--secondary);
    position: absolute;
    left: 0;
}

/* Special Programs Section */
.special-programs-section {
    padding: 80px 0;
    background: white;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.accordion-button {
    width: 100%;
    padding: 20px 25px;
    border: none;
    background: var(--light);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
}

.accordion-button i {
    transition: transform 0.3s ease;
}

.accordion-button.active i {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-content.active {
    padding: 20px 25px;
    max-height: 1000px;
}

.accordion-content ul {
    columns: 2;
    list-style: none;
    padding: 0;
}

/* Calendar Section */
.calendar-section {
    padding: 80px 0;
    background: var(--light);
}

.calendar-highlights {
    max-width: 800px;
    margin: 40px auto;
}

.calendar-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.calendar-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    padding: 10px;
}

.calendar-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.calendar-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.calendar-cta {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .curriculum-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tab-content-inner {
        grid-template-columns: 1fr;
    }

    .accordion-content ul {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .tab-text ul {
        columns: 1;
    }

    .calendar-item {
        flex-direction: column;
    }

    .calendar-date {
        width: auto;
    }
}

/* Notices Page Styles */
.notices-hero {
    background: linear-gradient(rgba(44, 95, 45, 0.9), rgba(44, 95, 45, 0.9)),
        url('https://images.unsplash.com/photo-1588072432836-e10032774350?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1472&q=80');
    padding: 100px 20px;
    color: white;
    text-align: center;
    background-size: cover;
}

.notices-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

/* Notices Filter */
.notices-filter {
    padding: 2rem 0;
    background: #f8f9fa;
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

/* Notices Grid */
.notices-grid {
    display: grid;
    gap: 1.5rem;
    margin: 3rem 0;
}

.notice-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.notice-category {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.notice-category.academic {
    background: #2ecc71;
    color: white;
}

.notice-category.event {
    background: #3498db;
    color: white;
}

.notice-category.holiday {
    background: #f1c40f;
    color: white;
}

.notice-category.exam {
    background: #e74c3c;
    color: white;
}

.notice-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.notice-content h3 {
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.notice-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.notice-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    color: #7f8c8d;
}

.notice-meta i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.notice-actions {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    color: var(--secondary);
}

/* Archive Section */
.notices-archive {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.archive-list {
    margin-top: 1.5rem;
}

.archive-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: white;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.archive-item:hover {
    transform: translateX(10px);
}

.archive-date {
    flex: 0 0 100px;
    color: #7f8c8d;
}

.archive-category {
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notice-header {
        flex-direction: column;
        align-items: start;
        gap: 0.5rem;
    }

    .archive-item {
        flex-direction: column;
        align-items: start;
    }
}

/* Hero with Image */
.gallery-hero {
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
    margin-bottom: 40px;
    height: 40vh;
    /* Reduced height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-hero p {
    font-size: 1.2rem;
    color: #eee;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 30vh;
        padding: 60px 20px;
    }

    .gallery-hero h1 {
        font-size: 2rem;
    }

    .gallery-hero p {
        font-size: 1rem;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Gallery Filters */
.gallery-filter {
    padding: 2rem 0;
    background: #f8f9fa;
}

.filter-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* grid-auto-rows: 300px; */
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-card {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 95, 45, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.view-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    transform: scale(1.2);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
    border-radius: 12px;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--primary);
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-img {
        max-width: 95%;
    }
}