* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base Styles */
:root {
    --primary-color: #32612D;
    --secondary-color: #C5DDB9;
    --accent-color: #4A7C44;
    --light-bg: #F5F8F1;
    --dark-bg: #222222;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

section {
    padding: 80px 0;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.slide-in-left {
    transform: translateX(-50px);
    opacity: 0;
    animation: slideInLeft 1s forwards;
}

.slide-in-right {
    transform: translateX(50px);
    opacity: 0;
    animation: slideInRight 1s forwards;
}

.animate-delay-1 {
    animation-delay: 0.3s;
}

.animate-delay-2 {
    animation-delay: 0.6s;
}

.animate-delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Button Styles */
.cta-button,
.submit-btn,
.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover,
.submit-btn:hover,
.contact-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.cta-button i {
    margin-left: 10px;
}

/* Header Styles */
header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo-square {
    width: 40px;
    height: 40px;
    background-color: #F6B3B3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: bold;
}

.nav-container ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-container ul li a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-container ul li a:hover {
    background-color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    z-index: 100;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown i {
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #FFFFFF;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
    background-color: var(--light-bg);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 100px;
    bottom: -50px;
    left: -25%;
    background-color: #FFFFFF;
    border-radius: 50% 50% 0 0;
}

.hero h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}


/* Why Choose Us Section */
.why-choose-us-section {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.why-choose-us {
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-choose-content {
    flex: 1;
}

.why-choose-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.why-choose-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
}

.image-circle {
    flex: 1;
    max-width: 400px;
}

.image-circle img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    border-radius: 10%;
    box-shadow: var(--shadow);
}

/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Vision & Mission Section */
.vision-mission-section {
    background-color: #FFFFFF;
    padding: 100px 0;
}

.vision-mission-content {
    display: flex;
    gap: 50px;
}

.vision-content,
.mission-content {
    flex: 1;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.vision-content::before,
.mission-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.content-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vision-content h3,
.mission-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}



/* Contact Section */
.contact-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.contact-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-info {
    line-height: 1.8;
}

.contact-info a {
    display: inline-block;
    color: var(--text-color);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group:nth-child(5),
.contact-form .form-group:nth-child(6) {
    grid-column: span 2;
}

.contact-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-col {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

.footer-logo-square {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: bold;
}

.footer-desc {
    margin-bottom: 30px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: var(--light-text);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #CCC;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #999;
}

.footer-copyright a {
    color: var(--secondary-color);
}



.logo-image {
    width: 80px;
    /* adjust size as needed */
    height: auto;
}

.logo-container {

    display: flex;
    align-items: center;
    gap: 10px;
}


/* Main Admission Section */
.main-admission-section {
    padding: 60px 20px;
    /* Added horizontal padding */
    background-color: var(--light-bg);
}

.admission-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    /* Added max-width for better control */
    margin: 0 auto;
    /* Center the content */
}

.admission-text {
    flex: 1;
}

.admission-text h2 {
    font-size: 32px;
    color: var(--dark-bg);
    line-height: 1.3;
    margin-bottom: 10px;
}

.limited-seats {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.admission-text hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 25px 0;
}

.admission-text p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.admission-form-simple {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.mobile-input {
    flex: 1;
    min-width: 200px;
    /* Set minimum width */
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.mobile-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(74, 124, 68, 0.2);
}

.inquiry-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 30px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    min-width: 150px;
    /* Ensure button has minimal width */
}

.inquiry-btn:hover {
    background-color: var(--accent-color);
}

.admission-image {
    flex: 1;
    text-align: right;
}

.admission-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: auto;
    /* Maintain aspect ratio */
}

/* Floating Action Button */
.floating-action-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
}

.floating-action-button button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-text);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.floating-action-button button i {
    font-size: 24px;
}

.floating-action-button button span {
    display: none;
    margin-left: 10px;
    white-space: nowrap;
}

.floating-action-button button:hover {
    width: 180px;
    border-radius: 30px;
    background-color: var(--accent-color);
}

.floating-action-button button:hover span {
    display: inline;
}

/* Popup Styles */
.admission-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 15px;
    /* Added padding for mobile */
    box-sizing: border-box;
}

.popup-content {
    background-color: var(--primary-color);
    color: var(--light-text);
    width: 100%;
    max-width: 600px;
    padding: 40px 30px;
    /* Adjusted padding */
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    animation: fadeIn 0.3s;
    overflow: hidden;
    box-sizing: border-box;
}

.popup-image-accent {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.2;
}

.top-left {
    top: -75px;
    left: -75px;
}

.bottom-right {
    bottom: -75px;
    right: -75px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-text);
    transition: color 0.3s;
}

.close-popup:hover {
    color: var(--secondary-color);
}

.popup-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: white;
}

.popup-content p {
    color: wheat;
}

.popup-content hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

.popup-form {
    display: flex;
    margin: 25px 0;
    gap: 10px;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.popup-input {
    flex: 1;
    min-width: 200px;
    /* Set minimum width */
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    /* Include padding in width calculation */
}

.popup-input:focus {
    box-shadow: 0 0 0 2px rgba(197, 221, 185, 0.5);
}

.popup-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 6px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: lowercase;
    min-width: 150px;
    /* Ensure button has minimal width */
}

.popup-btn:hover {
    background-color: #d7e9cd;
}

.call-directly {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 6px;
    margin-top: 15px;
    flex-wrap: wrap;
    /* Allow wrapping on very small screens */
}

.call-directly i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Responsive Styles - Enhanced Version */

/* Global fixes to prevent overflow */
html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

* {
    box-sizing: border-box;
}

/* Base responsive container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== FLOATING ADMISSION INQUIRY BUTTON FIX ===== */
.floating-action-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: block !important;
}

.floating-action-button button {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-action-button button i {
    margin-right: 8px;
}

/* ===== ADMISSION SECTION FIXES ===== */
.admission-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.admission-form {
    flex: 1;
    min-width: 300px;
}

.admission-info {
    flex: 1;
    min-width: 300px;
}

.admission-form-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.mobile-input {
    flex: 1;
    min-width: 200px;
}

.inquiry-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* ===== CALENDAR RESPONSIVENESS FIXES ===== */
.calendar-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.calendar {
    min-width: 600px;
    /* Ensures calendar maintains minimum width */
    width: 100%;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.calendar-day {
    min-height: 80px;
}

/* ===== MEDIA QUERY IMPROVEMENTS ===== */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .why-choose-us,
    .vision-mission-content,
    .admission-form-container,
    .admission-content {
        flex-direction: column;
    }

    .image-circle {
        margin: 0 auto;
    }

    .founders-gallery,
    .admission-info,
    .admission-form,
    .admission-text,
    .admission-image {
        width: 100%;
    }

    .admission-content {
        gap: 30px;
    }
}

@media screen and (max-width: 991px) {
    .admission-text h2 {
        font-size: 28px;
    }

    /* Calendar adjustments */
    .calendar-container {
        padding: 0 10px;
    }
}

@media screen and (max-width: 768px) {

    /* Header and navigation fixes */
    .nav-container {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Section padding adjustments */
    section,
    .main-admission-section {
        padding: 60px 15px;
    }

    .hero {
        padding: 80px 0;
    }

    /* Image container fixes */
    .student-banner img,
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Layout adjustments */
    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form .form-group:nth-child(5),
    .contact-form .form-group:nth-child(6) {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .admission-image {
        margin-top: 30px;
        text-align: center;
    }

    .popup-content {
        padding: 30px 20px;
    }

    /* Fix the floating button on mobile */
    .floating-action-button {
        bottom: 20px;
        right: 20px;
    }

    .floating-action-button button {
        padding: 10px 20px;
    }
}

@media screen and (max-width: 576px) {

    /* Typography for small screens */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Fix heading overflow */
    .hero h1,
    section h2 {
        word-wrap: break-word;
        hyphens: auto;
    }

    /* Feature badge layout fix */
    .feature-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Form adjustments */
    .admission-form-simple {
        flex-direction: column;
    }

    .mobile-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .inquiry-btn {
        width: 100%;
    }

    /* Floating button adjustments - Crucial fix */
    .floating-action-button {
        bottom: 15px;
        right: 15px;
        width: auto;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .floating-action-button button {
        width: auto;
        min-width: 50px;
        padding: 10px 15px;
        display: flex !important;
    }

    /* Fix for the button text on smallest screens */
    .floating-action-button button span {
        display: none;
    }

    .floating-action-button button i {
        margin-right: 0;
        font-size: 1.2rem;
    }

    /* Calendar additional fixes for smallest screens */
    .calendar-container {
        margin: 0 -15px;
        padding: 0 15px;
        width: calc(100% + 30px);
    }

    .calendar {
        min-width: 450px;
    }

    .calendar-controls button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Add this to your CSS if container class is missing */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.family-section {
    padding: 80px 0;
    background-color: #f5f8f5;
    /* Fallback color */
    background-color: var(--light-bg);
    position: relative;
}

.family-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #FFFFFF;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.family-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: var(--light-bg);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.family-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.family-content {
    margin-bottom: 40px;
}

.family-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.family-content p {
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.family-photos {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.family-photo-card {
    position: relative;
    flex: 1;
    max-width: 48%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: cardFadeIn 0.6s ease forwards;
}

.family-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.family-photo-card img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.photo-border {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    pointer-events: none;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(50, 97, 45, 0.9), transparent);
    padding: 30px 20px 20px;
    color: var(--light-text);
    text-align: center;
}

.photo-overlay h3 {
    color: var(--light-text);
    margin: 0;
    font-size: 1.8rem;
}

.photo-overlay p {
    margin: 10px 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .family-section {
        padding: 60px 0;
    }

    .family-photos {
        flex-direction: column;
        align-items: center;
    }

    .family-photo-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .family-content h2 {
        font-size: 2rem;
    }

    .family-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .photo-overlay h3 {
        font-size: 1.5rem;
    }
}

/* Student Banner Section Styles */
.student-banner-section {
    padding: 40px 0;
    background-color: var(--light-bg);
    overflow: hidden;
}

.student-banner {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    max-height: 500px;
    /* Control the maximum height */
    margin: 0 auto;
}

.student-banner img {
    width: 100%;
    height: auto;
    max-height: 500px;
    /* Match the container height */
    object-fit: cover;
    /* This maintains aspect ratio while covering the area */
    object-position: center;
    /* Centers the image */
    display: block;
    transition: transform 0.5s ease;
}

/* Optional hover effect */
.student-banner:hover img {
    transform: scale(1.02);
}

/* Optional image overlay for better text contrast if needed */
.student-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(50, 97, 45, 0.6), transparent);
    pointer-events: none;
}

/* Optional caption styling */
.banner-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--light-text);
    padding: 0 20px;
    z-index: 1;
}

.banner-caption h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--light-text);
}

.banner-caption p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .student-banner {
        max-height: 400px;
    }

    .student-banner img {
        max-height: 400px;
    }

    .banner-caption h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .student-banner {
        max-height: 350px;
    }

    .student-banner img {
        max-height: 350px;
    }

    .banner-caption {
        bottom: 20px;
    }

    .banner-caption h3 {
        font-size: 1.3rem;
    }

    .banner-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .student-banner {
        max-height: 250px;
    }

    .student-banner img {
        max-height: 250px;
    }
}


.principals-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.underline {
    height: 3px;
    width: 80px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

.principals-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.principal-card {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.principal-card:hover {
    transform: translateY(-5px);
}

.principal-image {
    margin-bottom: 25px;
}

.image-frame {
    position: relative;
    padding: 15px;
    background-color: var(--light-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    margin: 0 auto;
    max-width: 250px;
}



.image-frame img {
    width: 100%;
    border-radius: 5px;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.frame-border {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 2px solid var(--secondary-color);
    border-radius: 7px;
    pointer-events: none;
}

.principal-content {
    position: relative;
}

.quote-mark {
    position: absolute;
    top: -40px;
    left: -10px;
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    color: var(--secondary-color);
    opacity: 0.5;
    line-height: 1;
    z-index: 0;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent-color);
    margin: 0 0 25px;
    padding: 0;
    position: relative;
    z-index: 1;
}

.principal-info {
    margin-bottom: 20px;
    text-align: center;
}

.principal-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.principal-info p {
    color: var(--accent-color);
    font-weight: 500;
    margin: 5px 0 0;
}

.principal-bio p {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.8;
}

.contact-principal-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 30px;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(50, 97, 45, 0.2);
}

.contact-principal-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(50, 97, 45, 0.3);
    color: var(--light-text);
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .principals-container {
        flex-direction: column;
        align-items: center;
    }

    .principal-card {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .principals-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    blockquote {
        font-size: 1.1rem;
    }

    .principal-info h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .principal-card {
        padding: 20px;
    }

    .image-frame {
        max-width: 200px;
    }

    blockquote {
        font-size: 1rem;
    }
}







        .founders-section {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 50%, var(--secondary-color) 100%);
            position: relative;
            overflow: hidden;
        }

        .founders-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23C5DDB9" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            position: relative;
            z-index: 1;
        }

        .founders-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .founders-gallery {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .founder-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 25px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(197, 221, 185, 0.3);
            backdrop-filter: blur(10px);
        }

        .founder-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(197, 221, 185, 0.2), transparent);
            transition: left 0.8s ease;
        }

        .founder-card:hover::before {
            left: 100%;
        }

        .founder-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px rgba(50, 97, 45, 0.15);
            border-color: var(--accent-color);
        }

        .founder-image {
            position: relative;
            margin-bottom: 25px;
            display: inline-block;
        }

        .founder-image::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .founder-card:hover .founder-image::before {
            opacity: 0.1;
        }

        .founder-image img {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--secondary-color);
            box-shadow: 0 15px 35px rgba(50, 97, 45, 0.2);
            transition: all 0.4s ease;
            background: var(--light-bg);
        }

        .founder-card:hover .founder-image img {
            transform: scale(1.05);
            border-color: var(--accent-color);
            box-shadow: 0 20px 45px rgba(50, 97, 45, 0.3);
        }

        .founder-info h3 {
            font-size: 1.6rem;
            color: var(--primary-color);
            margin-bottom: 8px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .founder-title {
            color: var(--accent-color);
            font-size: 1rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            position: relative;
        }

        .founder-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
            border-radius: 1px;
        }

        .founders-content {
            padding-left: 40px;
        }

        .founders-content h2 {
            font-size: 2.8rem;
            color: var(--primary-color);
            margin-bottom: 30px;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: -1px;
            position: relative;
        }

        .founders-content h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
            border-radius: 2px;
        }

        .founders-content p {
            font-size: 1.2rem;
            color: var(--text-color);
            line-height: 1.8;
            opacity: 0.9;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .founders-section {
                padding: 60px 0;
            }

            .container {
                padding: 0 1.5rem;
            }

            .founders-wrapper {
                grid-template-columns: 1fr;
                gap: 50px;
            }

            .founders-content {
                padding-left: 0;
                text-align: center;
                order: -1;
            }

            .founders-content h2 {
                font-size: 2.2rem;
                margin-bottom: 25px;
            }

            .founders-content h2::after {
                left: 50%;
                transform: translateX(-50%);
            }

            .founders-content p {
                font-size: 1.1rem;
            }

            .founders-gallery {
                gap: 30px;
            }

            .founder-card {
                padding: 30px 25px;
            }

            .founder-image img {
                width: 140px;
                height: 140px;
            }

            .founder-info h3 {
                font-size: 1.4rem;
            }

            .founder-title {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .founders-section {
                padding: 40px 0;
            }

            .container {
                padding: 0 1rem;
            }

            .founders-wrapper {
                gap: 40px;
            }

            .founders-content h2 {
                font-size: 1.9rem;
            }

            .founders-content p {
                font-size: 1rem;
            }

            .founder-card {
                padding: 25px 20px;
            }

            .founder-image img {
                width: 120px;
                height: 120px;
            }

            .founder-info h3 {
                font-size: 1.3rem;
            }

            .founder-title {
                font-size: 0.85rem;
                letter-spacing: 1.5px;
            }
        }

        /* Smooth Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-40px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .founder-card {
            animation: fadeInUp 0.8s ease-out;
        }

        .founder-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .founders-content {
            animation: slideInLeft 0.8s ease-out 0.4s both;
        }

        /* Subtle pulse animation for images */
        @keyframes subtlePulse {
            0%, 100% {
                box-shadow: 0 15px 35px rgba(50, 97, 45, 0.2);
            }
            50% {
                box-shadow: 0 15px 35px rgba(50, 97, 45, 0.25);
            }
        }

        .founder-image img {
            animation: subtlePulse 4s infinite;
        }
