/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --primary-color: #0E5A3C;
    --secondary-color: #F28C1A;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

/* Header Styles */
.header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0 !important;
    min-height: auto !important;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    color: var(--secondary-color);
}

.navbar {
    padding: 5px 0 !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text h1 {
    color: var(--primary-color) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
    font-family: 'Poppins', sans-serif !important;
}

.logo-text p {
    color: var(--secondary-color) !important;
    font-size: 12px !important;
    font-style: italic !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Floating Action Buttons */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp-btn {
    background: #25d366;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.1) rotate(10deg);
}

.scroll-top-btn {
    background: var(--secondary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
    list-style: none;
}

.nav-link {
    color: #000 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 0;
    position: relative !important;
    font-family: 'Poppins', sans-serif !important;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .header-top {
        display: none;
    }

    .header {
        padding: 5px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9998;
    }

    .nav-link {
        font-size: 18px;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 3001;
        padding: 10px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background: var(--secondary-color);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background: var(--secondary-color);
    }

    .hero-carousel {
        margin-top: 0;
        padding-top: 60px !important;
    }
}

/* Hero Carousel Section */
.hero-carousel {
    margin-top: 0;
    height: 100vh;
    padding-top: 100px !important;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 350px;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.25;
    z-index: 5;
    pointer-events: none;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 40%, rgba(255, 255, 255, 0.4) 100%);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.carousel-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
}

.carousel-text-wrapper {
    padding-left: 30px;
    z-index: 2;
    position: relative;
    margin-top: 0;
}

.carousel-text-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 8px;
    height: 0;
    background: var(--secondary-color);
    transition: height 1s ease 0.5s, transform 0.5s ease;
}

.carousel-slide.active .carousel-text-wrapper::before {
    height: 80%;
    transform: translateY(-50%) scaleY(1);
}

.small-text {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.split-text {
    font-size: 64px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    line-height: 1.1 !important;
    margin-bottom: 25px !important;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 0.5s;
    font-family: 'Times New Roman', Times, serif !important;
}

.fade-up-text {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.6;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.7s;
}

.hero-buttons.fade-up-text {
    transition: all 0.6s ease 0.9s;
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.carousel-slide.active .small-text,
.carousel-slide.active .split-text,
.carousel-slide.active .fade-up-text {
    transform: translateY(0);
    opacity: 1;
}

.btn {
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(14, 90, 60, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--secondary-color);
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 90, 60, 0.4);
}

.btn-secondary {
    background: var(--secondary-color) !important;
    color: white !important;
    border: none;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 90, 60, 0.3);
}

.carousel-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 0 40px 40px;
    margin-top: 0;
}

.carousel-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    width: 70%;
    height: 80%;
    transform: translateY(-50%) translateX(-20px);
    border-top: 5px solid var(--secondary-color);
    border-left: 5px solid var(--secondary-color);
    border-top-left-radius: 250px;
    border-bottom-left-radius: 0;
    z-index: 1;
    opacity: 0;
    transition: all 1s ease 0.6s;
}

.carousel-slide.active .carousel-image-wrapper::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.slide-up-image {
    width: 100%;
    height: 90%;
    border-radius: 220px 0 0 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0.4s, opacity 1s ease 0.4s;
}

.hero-badge {
    position: absolute;
    top: 15%;
    right: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.badge-top {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px 8px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px 0 0 20px;
    letter-spacing: 1px;
}

.badge-bottom {
    background-color: var(--secondary-color);
    color: white;
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    border-radius: 0 0 10px 10px;
    margin-right: 30px;
    line-height: 1.2;
}

.slide-up-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 3s ease 0.4s;
}

.carousel-slide.active .slide-up-image {
    transform: translateY(0);
    opacity: 1;
}

.carousel-slide.active .slide-up-image img {
    transform: scale(1);
}

.carousel-btn {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(14, 90, 60, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: stretch;
}

.about-text,
.about-features {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.principal-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    display: flex;
    gap: 25px;
    align-items: flex-start;
    height: 100%;
}

.principal-dp {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.principal-details h4 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 5px;
    font-weight: 700;
}

.principal-details p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.principal-message p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 20px;
}

.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.feature-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
}

/* Shining Stars Section */
.shining-stars {
    background: var(--bg-light);
}

.stars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.star-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.star-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.star-image {
    height: 200px;
    overflow: hidden;
}

.star-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.star-card:hover .star-image img {
    transform: scale(1.1);
}

.star-info {
    padding: 20px;
    text-align: center;
}

.star-info h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.star-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 5px;
}

/* Timings Section */
.timings {
    background: var(--bg-white);
}

.timings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.timing-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timing-card:hover {
    transform: translateY(-5px);
}

.timing-header {
    padding: 30px;
    text-align: center;
    color: white;
}

.timing-card.summer .timing-header {
    background: var(--secondary-color);
}

.timing-card.winter .timing-header {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.timing-header i {
    font-size: 48px;
    margin-bottom: 15px;
}

.timing-header h3 {
    font-size: 24px;
    font-weight: 600;
}

.timing-details {
    padding: 30px;
}

.timing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.timing-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--text-dark);
}

.time {
    color: var(--primary-color);
    font-weight: 500;
}

/* Fee Structure Section */
.fee-structure {
    background: var(--bg-light);
}

.fee-table-container {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.fee-table th,
.fee-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.fee-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.fee-table tr:hover {
    background: var(--bg-light);
}

.fee-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.fee-note p {
    color: #856404;
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-logo h3 {
    font-size: 20px;
    margin: 0;
}

.footer-section p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: #e67a00;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.contact-list i {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 12px;
    }

    .hamburger {
        display: flex;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .hero {
        margin-top: 140px;
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
    }

    .hero-logo img {
        width: 160px;
        height: 160px;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .stars-grid {
        grid-template-columns: 1fr;
    }

    .timings-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .fee-table-container {
        padding: 20px;
        overflow-x: auto;
    }

    .fee-table {
        min-width: 500px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-list {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .principal-info {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .principal-dp {
        margin-bottom: 15px;
    }
}

.timing-header {
    padding: 20px;
}

.timing-details {
    padding: 20px;
}

.contact-card {
    padding: 20px;
}

.contact-form {
    padding: 20px 15px;
}

/* ===== Premium Footer Styles ===== */
.site-footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    border-top: 5px solid var(--secondary-color);
}

.footer-top {
    padding: 40px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(242, 140, 26, 0.2);
    flex-shrink: 0;
}

.footer-school-name {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2px;
}

.footer-tagline {
    color: var(--secondary-color);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(242, 140, 26, 0.4);
    color: white;
}

.footer-heading {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 8px;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 10px;
}

.footer-nav-list li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: all 0.3s ease;
    padding: 3px 0;
}

.footer-nav-list li a i {
    color: var(--secondary-color);
    font-size: 10px;
    transition: transform 0.3s ease;
}

.footer-nav-list li a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-nav-list li a:hover i {
    transform: translateX(4px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-list li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-list li a:hover {
    color: var(--secondary-color);
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-list li:hover .footer-contact-icon {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.footer-contact-list li a:hover {
    color: var(--secondary-color);
}

.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.35);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-bar p {
    margin: 0;
    letter-spacing: 0.3px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-top {
        padding: 50px 0 35px;
    }

    .footer-logo-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

html {
    scroll-behavior: smooth;
}

.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0a4a2c;
}

.add-fee-panel {
    background: linear-gradient(135deg, #f0faf5, #fff8ee);
    border: 2px dashed var(--secondary-color);
    border-radius: 16px;
    padding: 25px 30px;
    margin: 20px 0;
    animation: fadeInUp 0.4s ease;
}

.add-fee-panel h4 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.add-fee-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
}

.add-fee-inputs input {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.add-fee-inputs input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 90, 60, 0.1);
}

.fee-add-btn {
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--primary-color), #1a8a5a);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fee-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 90, 60, 0.4);
}

.fee-remove-btn {
    background: linear-gradient(135deg, #ff4757, #c0392b);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.fee-remove-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

.fee-table tr td:last-child {
    text-align: center;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .add-fee-inputs {
        grid-template-columns: 1fr;
    }

    .fee-add-btn {
        justify-content: center;
    }
}

.facilities-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.facility-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.facility-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(242, 140, 26, 0.3);
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.facility-card:hover::before {
    transform: scaleX(1);
}

.facility-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
    filter: brightness(1);
}

.facility-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 90, 60, 0.3) 100%);
    pointer-events: none;
}

.facility-content {
    padding: 30px;
    position: relative;
}

.facility-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -90px auto 20px;
    font-size: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(242, 140, 26, 0.4);
    border: 4px solid white;
}

.facility-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.facility-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .facilities-section {
        padding: 60px 0;
    }

    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
        margin-top: 40px;
    }

    .facility-image {
        height: 200px;
    }

    .facility-content {
        padding: 25px;
    }

    .facility-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: -75px auto 15px;
    }

    .facility-content h3 {
        font-size: 20px;
    }

    .facility-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facility-image {
        height: 180px;
    }

    .facility-content {
        padding: 20px;
    }

    .facility-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin: -65px auto 12px;
    }

    .facility-content h3 {
        font-size: 18px;
    }
}

.history-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.history-image-col {
    display: flex;
    flex-direction: column;
}

.history-img-wrap {
    flex-grow: 1;
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid #eee;
    background: #f8f9fa;
}

.history-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.history-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.history-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.history-step {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
}

.step-block {
    width: 60px;
    height: 50px;
    background: var(--step-color, var(--primary-color));
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
    background: white;
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
    border: 2px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.history-step:hover .step-content {
    border-color: var(--step-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
    background: #fffdfa;
}

.step-content h3 {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.step-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.step-1 {
    --step-color: #E75E3B;
}

.step-2 {
    --step-color: #A4C639;
}

.step-3 {
    --step-color: #F39C12;
}

.step-4 {
    --step-color: #1ABC9C;
}

@media (max-width: 992px) {
    .history-grid {
        grid-template-columns: 1fr;
    }

    .history-img-wrap {
        height: 300px;
        min-height: auto;
    }
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(242, 140, 26, 0.3);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .hero-carousel {
        height: auto;
        min-height: 100vh;
        display: block;
        padding: 110px 0 60px;
        overflow: visible;
    }

    .carousel-container {
        height: auto;
    }

    .carousel-slide {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        display: none;
        opacity: 1;
        visibility: visible;
        background: white;
    }

    .carousel-slide.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .carousel-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 30px;
        padding: 0 20px;
        height: auto;
    }

    .carousel-text-wrapper {
        padding-left: 0;
        margin-top: 0;
        order: 1;
    }

    .carousel-text-wrapper::before {
        display: none;
    }

    .small-text {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .split-text {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .fade-up-text {
        font-size: 15px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-buttons.fade-up-text {
        justify-content: flex-start;
        margin-top: 20px;
        gap: 15px;
    }

    .carousel-image-wrapper {
        margin-top: 20px;
        padding: 0;
        justify-content: center;
        height: auto;
        order: 2;
        display: flex;
    }

    .carousel-image-wrapper::before {
        display: none;
    }

    .slide-up-image {
        width: 100%;
        max-width: 320px;
        height: 240px;
        border-radius: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-badge {
        top: -10px;
        right: 10px;
        transform: scale(0.8);
    }
}

@media (max-width: 576px) {
    .split-text {
        font-size: 30px;
    }

    .hero-buttons.fade-up-text {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 260px;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .split-text {
        font-size: 26px !important;
    }

    .fade-up-text {
        font-size: 14px !important;
        line-height: 1.5;
    }

    .hero-carousel {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-buttons.fade-up-text {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .slide-up-image {
        max-width: 100%;
        height: 200px;
    }
}
