/* Color Variables */
:root {
    --primary-green: #2E7D32;
    --primary-yellow: #FFC107;
    --primary-orange: #FF6B00;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #212529;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}


/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Top Info Section */
.top-info {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1B5E20 100%);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.8rem;
}

.top-info i {
    margin-right: 8px;
    color: var(--primary-yellow);
}

/* School Header */
/* School Header */
.school-header {
    padding: 20px 0;
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    box-shadow: var(--shadow-md);
}

.school-logo {
    max-width: 120px;
    height: auto;
    transition: var(--transition);
}

.school-logo:hover {
    transform: scale(1.05);
}

.school-name {
    color: var(--primary-green);
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(45deg, var(--primary-green), #1B5E20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
}

.school-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-yellow), var(--primary-orange));
}

.tagline {
    color: var(--primary-orange);
    font-style: italic;
    font-size: 1.5rem;
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    opacity: 0.9;
    text-align: center;
}

/* Banner Carousel */
.banner-carousel {
    margin: 0;
    position: relative;
    z-index: 1;
}

.banner-carousel .item {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-carousel .item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.banner-carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-carousel .carousel-caption {
    bottom: 25%;
    left: 10%;
    text-align: left;
    max-width: 600px;
}

.banner-carousel .carousel-caption h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.banner-carousel .carousel-caption p {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s 0.2s forwards;
}

/* Navigation Styles */
/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1050;
}

.navbar-toggler-icon {

    width: 1.8em;
    height: 1.8em;

  }


.navbar-nav {
    position: relative;
    padding: 0 10px;
}

.navbar-nav .nav-item {
    position: relative;
    margin: 0 5px;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 600;
    padding: 20px 25px;
    transition: all 0.4s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Hover effect for main menu items */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--primary-yellow);
    background: rgba(255, 255, 255, 0.1);
}

/* Underline effect */
.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    transform: scaleX(1);
    transform-origin: left;
}


/* Dropdown Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    border: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    padding: 15px 0;
    min-width: 230px;
    z-index: 1051;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover > .dropdown-menu {
    display: block;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 25px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover {
    background: linear-gradient(to right, rgba(46, 125, 50, 0.1), transparent);
    color: var(--primary-green);
    padding-left: 30px;
}

.dropdown-item:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateY(-50%);
}

.dropdown-item:hover:before {
    width: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile styles */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}

/* Notice Board */
.notice-board {
    background: var(--text-light);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
    height: 550px; /* Increased height */
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.notice-board h3 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-board h3:before {
    content: '\f0a1';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-yellow);
}

.notices {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 10px 5px;
}

/* Scrolling Animation for Notices */
.notice-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    animation: scrollUp 20s linear infinite; /* Increased duration for slower scroll */
    padding-right: 10px;
}

/* Notice Item Styles */
.notice-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 130px; /* Increased height */
    background: linear-gradient(to right, rgba(46, 125, 50, 0.05), transparent);
    border-left: 4px solid var(--primary-green);
    transform-origin: bottom;
}

.notice-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-yellow);
}

.notice-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notice-item:hover:before {
    opacity: 1;
}

/* Notice Date Styles */
.notice-date {
    font-size: 0.85rem;
    color: var(--primary-orange);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notice-date:before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Notice Link Styles */
.notice-link {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 0.9rem;
}

.notice-link:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.notice-link:hover:after {
    transform: translateX(3px);
}

/* Keyframes for scrolling */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Pause animation on hover */
.notices:hover .notice-wrapper {
    animation-play-state: paused;
}

/* Add scrollbar styling */
.notices::-webkit-scrollbar {
    width: 5px;
}

.notices::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.notices::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 5px;
}

/* Principal's Message */
.principal-message {
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.principal-content {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-left: 20px;
}

.principal-image-wrapper {
    flex: 1 -1 200px;
}

.principal-profile-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    
}

.principal-profile-img:hover {
    transform: scale(1.02);
}

.message-content {
    flex: 1;
}

.principal-quote {
    margin: 20px 0;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
}

.signature {
    margin-top: 10px;
    color: var(--primary-green);
    font-style: italic;
}

@media (max-width: 768px) {
    .principal-content {
        flex-direction: column;
    }

    .principal-image-wrapper {
        width: 150px;
        margin: 0 auto 10px;
    }
}

/* Activity Gallery */
.activity-gallery {
    background-color: #f5f5f5;
    padding: 40px 0;
    margin: 20px 0;
}

.activity-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s;
    padding-bottom: 15px;
    height: 350px;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.activity-card h4 {
    color: var(--primary-green);
    margin: 15px 0 5px;
}

.activity-card p {
    color: #555;
    margin-bottom: 15px;
}

/* Enquiry Section */
.enquiry-section {
    padding: 40px 0;
    background-color: #fff;
}

.enquiry-form {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.enquiry-form .form-group {
    margin-bottom: 20px;
}

.enquiry-form label {
    font-weight: 500;
    color: var(--text-dark);
}

.enquiry-form textarea {
    resize: none;
    height: 100px;
}

.enquiry-form .btn-primary {
    background: var(--primary-green);
    border: none;
    padding: 10px 30px;
    transition: var(--transition);
}

.enquiry-form .btn-primary:hover {
    background: var(--primary-yellow);
    transform: translateY(-2px);
}

#charCount {
    font-weight: bold;
}

.text-danger {
    color: #dc3545;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1e21 100%);
    color: var(--text-light);
    padding: 60px 0 20px;
    position: relative;
    margin-top: 50px;
}

footer::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(45deg, transparent 33.333%, var(--bg-dark) 33.333%, var(--bg-dark) 66.667%, transparent 66.667%),
                linear-gradient(-45deg, transparent 33.333%, var(--bg-dark) 33.333%, var(--bg-dark) 66.667%, transparent 66.667%);
    background-size: 20px 40px;
}

footer h4 {
    color: var(--primary-yellow);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.footer-links a:before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--primary-yellow);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 10px;
}

.footer-links a:hover:before {
    transform: translateX(5px);
}

/* Flash News Section */
.flash-news {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 0;
    border-radius: 5px;
    box-shadow: var(--shadow-md);
    margin: 10px 0;
}

.flash-news-container {
    display: flex;
    align-items: center;
    background: var(--text-light);
    border-radius: 5px;
    box-shadow: var(--shadow-md);
    border: none;
    overflow: hidden;
    height: 40px; /* Reduced height */
}

.flash-news-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #a7a428 100%);
    padding: 8px 20px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

/* Add arrow to header */
.flash-news-header:after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 10px solid var(--primary-green);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.flash-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: center;
}

.flash-label i {
    margin-right: 8px;
}

.flash-news-content {
    flex-grow: 1;
    padding: 0 15px;
}

.flash-item {
    font-size: 0.95rem;
    margin-right: 50px;
    position: relative;
    color: var(--text-dark);
}

.flash-item:after {
    content: '•';
    position: absolute;
    right: -25px;
    color: var(--primary-green);
}

/* Marquee styling */
marquee {
    height: 40px;
    line-height: 40px;
}

/* Principal's Desk Page Styles */
.principal-profile {
    background: linear-gradient(135deg, var(--primary-green) 0%, #2E7D32 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    color: var(--text-light);
}

.principal-image-container {
    text-align: center;
}

.principal-profile-img {
    width: 150px;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--text-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    object-fit: cover;
}

.principal-info h3 {
    margin: 0;
    font-size: 1.8rem;
}

.principal-info .designation {
    color: var(--primary-yellow);
    font-style: italic;
    margin: 5px 0;
}

.principal-info .credentials {
    font-size: 0.9rem;
    opacity: 0.9;
}

.principal-quote {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    padding: 15px 0;
    margin: 15px 0;
}

.principal-quote i {
    color: var(--primary-yellow);
    font-size: 2rem;
    margin: 0 10px;
}

.principal-message-content {
    padding: 20px 0;
}

.principal-message-content .lead {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.focus-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.focus-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.focus-card h4 {
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.principal-vision {
    background-color: #f5f9f5;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-green);
}

.closing-note {
    margin-top: 40px;
    padding: 20px;
    border-top: 2px solid var(--primary-yellow);
}

.signature {
    margin-top: 30px;
    font-style: italic;
    color: var(--primary-green);
}

/* Mission and Vision Page Styles */
.section-title {
    color: var(--primary-green);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-yellow);
}

.text-center.section-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.vision-section, .mission-section {
    padding: 40px 0;
}

.vision-content, .mission-content {
    padding: 20px;
}

.vision-text {
    position: relative;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.vision-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.mission-points {
    padding: 20px;
}

.mission-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mission-point i {
    color: var(--primary-green);
    margin-right: 15px;
    margin-top: 5px;
}

.mission-point p {
    margin: 0;
}

.vision-image, .mission-image {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.vision-image:hover, .mission-image:hover {
    transform: scale(1.02);
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.value-card h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

/* Contact Page Styles */
.contact-section {
    padding: 20px 0;
}

.contact-info {
    height: 100%;
}

.info-card {
    background: var(--text-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-orange);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.info-card p {
    margin-bottom: 5px;
    line-height: 1.6;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 20px;
}

.feedback-form {
    background: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.feedback-form h3 {
    color: var(--primary-green);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

.form-control {
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 12px 30px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #3d8b40;
    border-color: #3d8b40;
}

.map-section h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}
/*
Owl carousel
*/
.owl-stage-outer{
   
    height: 450px;
}

/* Add animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add responsive styles */
@media (max-width: 768px) {
    .school-name {
        font-size: 2rem;
    }
    
    .banner-carousel .item img {
        height: 300px;
    }
    
    .banner-carousel .carousel-caption {
        bottom: 15%;
    }
    
    .banner-carousel .carousel-caption h3 {
        font-size: 1.8rem;
    }
    
    .flash-news {
        top: -10px;
    }
    
    .flash-news-container {
        border-radius: 25px;
    }
    
    .principal-img {
        float: none;
        display: block;
        margin: 0 auto 20px;
    }
    
    .principal-quote {
        font-size: 1.4rem;
        margin-top: 20px;
    }
    
    .focus-card {
        margin-bottom: 20px;
    }
    
    .map-container {
        margin-top: 20px;
        position: static;
    }
    
    .feedback-form {
        padding: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
}

.form-group {
    margin-bottom: 20px;
}

#captchaImage {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

#captchaImage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 4px 4px;
    pointer-events: none;
}

/* Breadcrumbs Styling */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin: 20px 0;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item a:hover {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-green);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-yellow);
}

.breadcrumb-item.active {
    color: var(--primary-orange);
    font-weight: 500;
    padding: 5px 10px;
}

/* Video Gallery Section */
.video-gallery {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.video-gallery h3 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.video-gallery h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 15px;
}

.video-info h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Quick Links Section */
.quick-links {
    padding: 40px 0;
}

.quick-link-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    height: 150px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.quick-link-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.quick-link-button i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    transition: var(--transition);
}

.quick-link-button span {
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
}

.quick-link-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-green);
}

.quick-link-button:hover i {
    transform: scale(1.1);
    color: var(--primary-orange);
}

/* Banner Video Styles */
.banner-video {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000;
}

.banner-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

/* Ensure smooth transitions */
.owl-carousel .owl-item {
    opacity: 0;
    transition: opacity 1s ease;
}

.owl-carousel .owl-item.active {
    opacity: 1;
}

/* Hide navigation when video is playing */
.banner-video .owl-nav,
.banner-video .owl-dots {
    display: none;
}

/* Form validation styles */
.form-control:focus {
    box-shadow: none;
    border-width: 2px;
}

.form-control.is-invalid {
    border-color: #dc3545;
    border-width: 2px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

.form-control.is-valid {
    border-color: #198754;
    border-width: 2px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

/* Teaching Staff Page Styles */
.teaching-staff-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.staff-category {
    margin-bottom: 50px;
}

.staff-category h2 {
    color: var(--primary-green);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.staff-category h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-yellow);
}

.staff-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.staff-image {
    height: 250px;
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    padding: 20px;
    text-align: center;
}

.staff-info h3 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.staff-info .designation {
    color: var(--primary-green);
    font-style: italic;
}

.staff-contact {
    margin-top: 15px;
}

.staff-contact a {
    color: var(--primary-green);
    font-size: 1.2rem;
    transition: var(--transition);
}

.staff-contact a:hover {
    color: var(--primary-yellow);
}

/* Page Header Styles */
/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%);
    color: var(--text-dark);
    padding: 18px 0;
    margin-bottom: 40px;
}

.page-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 10px 0 0;
}

.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #444;
}

/* Admission Pages Styles */
.admission-rules {
    padding: 40px 0;
}

.rule-section {
    margin-bottom: 40px;
}

.rule-section h2 {
    color: var(--primary-green);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.rule-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.rule-list {
    list-style: none;
    padding: 0;
}

.rule-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.rule-list li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.rule-list i {
    color: var(--primary-green);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Infrastructure Pages Styles */
.facilities-section {
    padding: 40px 0;
}

.facility-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.facility-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.facility-info {
    padding: 20px;
}

.facility-info h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Criteria Page Styles */
.criteria-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.criteria-card h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

.criteria-list {
    list-style: none;
    padding: 0;
}

.criteria-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.criteria-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-green);
    position: absolute;
    left: 0;
}

/* Facility Detail Styles */
.facility-detail-section {
    padding: 60px 0;
}

.facility-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.facility-image img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.facility-content {
    padding: 20px;
}

.facility-content h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.facility-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary-green);
    margin-right: 10px;
}

/* Program Cards */
.programs-section {
    margin-top: 60px;
}

.programs-section h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-green);
}

.program-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 30px;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-box i {
    font-size: 2rem;
    color: var(--primary-green);
}

.program-card h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.program-card p {
    color: #666;
    margin: 0;
}

/* Enhanced Admission Form Styles */
.admission-form-section {
    padding: 40px 0;
}

.admission-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

/* Download Button */
.download-section .btn {
    padding: 10px 20px;
    border-color: var(--primary-green);
    color: var(--primary-green);
    transition: var(--transition);
}

.download-section .btn:hover {
    background: var(--primary-green);
    color: white;
}

/* Captcha Styles */
.captcha-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    border: 2px solid #e9ecef;
}

#captcha-text {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--primary-green);
    user-select: none;
}

.btn-refresh {
    background: none;
    border: none;
    color: var(--primary-green);
    padding: 5px 10px;
}

.btn-refresh:hover {
    color: var(--primary-yellow);
}

/* Form Validation Styles */
.form-control.is-invalid,
.was-validated .form-control:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,...");
}

.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,...");
}

/* Datepicker Customization */
.datepicker {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.datepicker-dropdown {
    padding: 10px;
}

.datepicker table tr td.active {
    background-color: var(--primary-green) !important;
}

/* Required Field Indicator */
.required-field {
    color: #dc3545;
    margin-left: 4px;
}

/* Form Section Spacing */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

/* Gardening Page Styles */
.gardening-section {
    padding: 40px 0;
}

.garden-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.garden-features .feature-item {
    background: var(--bg-light);
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.garden-features .feature-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.garden-features .feature-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Activity Park Styles */
.activity-park-section {
    padding: 40px 0;
}

.zone-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.zone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.zone-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.zone-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.zone-card h4 {
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 20px;
}

.zone-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.zone-card ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    color: var(--text-dark);
}

.zone-card ul li:last-child {
    border-bottom: none;
}

.zone-age {
    text-align: center;
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: auto;
}

.park-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.park-features .feature-item {
    background: var(--bg-light);
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.park-features .feature-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.park-features .feature-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Admission Form Header Styles */
.admission-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1B5E20 100%);
    padding: 50px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.admission-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 1;
}

.main-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.header-decoration .line {
    width: 60px;
    height: 2px;
    background: var(--primary-yellow);
}

.header-decoration i {
    color: var(--primary-yellow);
    font-size: 24px;
    margin: 0 15px;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.admission-header .breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.admission-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

.admission-header .breadcrumb-item.active {
    color: var(--primary-yellow);
}

.admission-header .breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.admission-header .breadcrumb-item a:hover {
    color: var(--primary-yellow);
}

/* Date of Birth Styles */
.dob-wrapper .row {
    margin: 0 -5px;
}

.dob-wrapper .col-4 {
    padding: 0 5px;
}

.dob-wrapper .form-select {
    padding-right: 24px;
}

.dob-wrapper .invalid-feedback {
    margin-top: 0.5rem;
}

/* Child Care Page Styles */
.care-content {
    padding: 30px;
}

.care-content h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.care-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.care-content .lead {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.care-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.care-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(46, 125, 50, 0.2), transparent);
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--primary-green);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.program-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
}

.program-card.featured {
    border: 2px solid var(--primary-yellow);
    transform: translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-yellow);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 500;
}

.age-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 10px 0;
}

.program-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.program-card ul li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-card ul li i {
    color: var(--primary-green);
    font-size: 0.8rem;
}

.timing-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-green);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.time {
    width: 45%;
    text-align: right;
    padding-right: 30px;
    color: var(--primary-green);
    font-weight: 600;
}

.activity {
    width: 45%;
    padding-left: 30px;
}

.activity h5 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.activity p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .timeline:before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item:before {
        left: 30px;
    }

    .time, .activity {
        width: 100%;
        text-align: left;
        padding-left: 60px;
    }
}

/* Directors' Message Page Styles */
.director-section {
    padding: 40px 0;
    position: relative;
}

.director-profile {
    padding: 20px;
}

.director-image {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 30px;
}

.director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: var(--shadow-lg);
}

.image-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-yellow);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.director-name {
    color: var(--primary-green);
    margin: 15px 0 5px;
    font-size: 1.5rem;
}

.director-designation {
    color: var(--primary-orange);
    font-style: italic;
    margin-bottom: 15px;
}

.director-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

.message-quote {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
}

.message-quote i {
    color: var(--primary-yellow);
    font-size: 2rem;
    margin-bottom: 15px;
}

.message-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-green);
    margin: 0;
}

.message-content {
    padding: 20px;
}

.message-points {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.message-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.message-points li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.message-points i {
    color: var(--primary-green);
}

.divider {
    text-align: center;
    position: relative;
    margin: 40px 0;
}

.divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}

.divider-icon {
    position: relative;
    background: white;
    padding: 0 20px;
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

/* Additional Director's Message Styles */
.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-top: 30px;
    line-height: 1.4;
}

.vision-statement {
    margin: 60px 0;
    padding: 40px 0;
    position: relative;
}

.statement-box {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.statement-box h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.statement-box p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
}

.signature-combined {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: var(--primary-green);
}

.signature-combined span:nth-child(2) {
    color: var(--primary-yellow);
    font-family: 'Poppins', sans-serif;
}

.director-image img {
    transition: transform 0.5s ease;
}

.director-image:hover img {
    transform: scale(1.05);
}

.director-image:hover .image-ring {
    animation-play-state: paused;
}

.message-points li {
    background: linear-gradient(to right, rgba(46, 125, 50, 0.05), transparent);
}

@media (max-width: 768px) {
    .signature-combined {
        flex-direction: column;
        gap: 10px;
    }
    
    .director-section {
        text-align: center;
    }
    
    .message-content {
        text-align: left;
    }
}

/* Foundation History, Co-curricular & Gardening Pages Styles */
.timeline-section {
    position: relative;
    padding: 40px 0;
}

.history-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 5px solid var(--primary-green);
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.history-card .year {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.history-card .event-title {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.history-card .event-description {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Activity Cards */
.activity-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.activity-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.activity-title {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.activity-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.activity-list li {
    padding: 12px 15px;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 8px;
    border-radius: 8px;
}

.activity-list li:last-child {
    border-bottom: none;
}

.activity-list li:hover {
    transform: translateX(8px);
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
}

.activity-list li i {
    color: var(--primary-green);
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    padding: 12px;
}

/* Garden Features */
.garden-feature {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-green);
}

.garden-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.garden-gallery {
    margin-top: 40px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer Gallery Section */
.gallery-section {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 20px;
}

.gallery-section h3 {
    color: var(--primary-yellow);
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.2rem;
}

.gallery-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-yellow));
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 5px;
}

.gallery-container a {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4/3;
    display: block;
}

.gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 125, 50, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 1rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-container a:hover img {
    transform: scale(1.1);
}

.gallery-container a:hover .gallery-overlay {
    opacity: 1;
}

.gallery-container a:hover .gallery-overlay i {
    transform: scale(1);
}

/* Responsive Gallery */
@media (max-width: 991px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
} 
/* school header */ 
@media (max-width: 768px) {
    .school-header {
        padding: 10px 0;
    }

    .school-header .row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .school-header .col-md-2 {
        flex: 0 0 auto;
        width: auto;
        padding-right: 15px;
    }

    .school-header .col-md-10 {
        flex: 1;
        padding-left: 0;
    }

    .school-logo {
        max-width: 90px;
        height: auto;
        margin: 2px;
        margin-top: -12px;
        display: block;
    }

    .school-name {
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
        line-height: 1.2;
        padding-left: 5px;
    }

    .tagline {
        font-size: 0.8rem;
        text-align: center;
        margin-top: 5px;
    }
    .top-info{display: none;}

    .dropdown-item {
    padding: 12px 25px;
    color: #fcf8f8;
    font-weight: 800;
    transition: all 0.3sease;
    position: relative;
}
}

/*------ center image--*/
.center-image {
    width: 500px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.center-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .center-image {
        width: 100%;
        max-width: 500px;
        height: auto;
        min-height: 200px;
    }
}