* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fffef4;
    position: relative;
    min-height: 100vh;
}

/* Fixed header container */
.header-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fffef4;
}

header {
    background-color: #FFD93D;
    color: white;
    padding: 10px 30px;
    align-items: center;
    display: flex;
    position: relative;
    flex-direction: row-reverse;
}

.admission {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: black;
}

.admission h1 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: black;
}

.nav-container {
    background-color: #F6F1E9;
    border-radius: 8px;
    padding: 5px 20px;
    max-width: 100%;
    height: 100px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.nav-item {
    padding: 8px 15px;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.nav-item:hover {
    color: #007bff;
}

.nav-item.active {

    font-weight: bold;
    color: #007bff;
    position: relative;

}

.nav-separator {
    color: #ddd;
    padding: 0 5px;
}

.logo {
    height: 50px;
    width: 50px;
    justify-content: center;
    background-color: tr;
}

.logo img {
    width: 100%;
    object-fit: cover;
}

.watermark {
    width: 100vw;
    height: auto;
}

/* Updated schoollogo styles */
.schoollogo {
    display: flex;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.schoollogo img {
    height: 90px;
    width: auto;
    margin-right: 15px;
}

.schoollogo p {
    font-weight: bold;
    font-size: 16px;
    color: #00389d;
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
    max-width: 200px;
}

@media (max-width: 600px) {

    .schoollogo img {
        margin-bottom: 5px;
        height: 50px;
    }
    
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding-bottom: 10px;
    background-color: #F6F1E9;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-weight: 400;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-item {
    padding: 15px 20px;
    cursor: pointer;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s;
    text-align: center;
}

.mobile-nav-item:hover {
    background-color: #f9f9f9;
    color: #007bff;
}

.mobile-nav-item.active {
    /* font-weight: bold; */
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.contact-bar {
    background-color: #FF9A00;
    color: rgb(0, 0, 0);
    padding: 8px 20px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    /* gap: 5px; */
    cursor: pointer;
    transition: color 0.3s;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 30px;
    height: 30px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.social-icon img {
    width: 30px;
    height: 30px;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    border: none;
}

.carousel-container img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-arrow.prev {
    left: 20px;
}

.carousel-arrow.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: white;
}

.welcome-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #d5e8ec;
    position: relative;
}

.welcomeheader {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00389d;
    /* margin-bottom: 20px; */
    padding-bottom: 15px;
    position: relative;
}

.welcomeheader::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background-color: #FF9A00;
    border-radius: 2px;
}

.welcomemsg {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    padding: 20px;
}



/* Grid Gallery Styles */
.gallery-section {
    padding: 60px 30px;
    margin-top: 40px;
}

.gallery-header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00389d;
    /* margin-bottom: 40px; */
    position: relative;
}

.gallery-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background-color: #FF9A00;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    /* gap: 20px; */
    /* max-width: 1200px; */
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Remove fixed aspect ratio */
    /* aspect-ratio: 4/3; */
    height: 300px;
    /* Add this */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px 10px 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: translateY(-50%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

.modal-caption {
    text-align: center;
    color: white;
    padding: 15px;
    font-size: 1.2rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 8px 8px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.close:hover {
    color: #FF9A00;
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 2001;
}

.modal-arrow {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Enquiry Form Styles */
.enquiry-form-container {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 85%;
    max-width: 800px;
    background-color: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    transition: transform 0.4s ease-out;
}

.enquiry-form-container.active {
    transform: translateX(-50%) translateY(0);
}

.form-header {
    background-color: #00389d;
    color: white;
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close-form {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-form:hover {
    transform: scale(1.2);
}

.enquiry-form {
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00389d;
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.gender-options {
    display: flex;
    gap: 20px;
}

.gender-option {
    display: flex;
    align-items: center;
}

.gender-option input {
    width: auto;
    margin-right: 8px;
}

.submit-btn {
    background-color: #FF9A00;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #e68a00;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2999;
}

.form-overlay.active {
    display: block;
}

.wrapper {
    padding: 30px;
    width: 95%;
    margin: 0 auto;
}

.container {
    display: flex;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.image-section {
    flex: 1;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-section {
    flex: 1;
    background: #fffdf2;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-section h1 {
    font-size: 30px;
    font-weight: 700;
    color: #4F200D;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 25px;
    font-weight: 600;
    color: #4f200df0;
    margin-bottom: 25px;
}

.description {
    font-size: 20px;
    color: #631f04;
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 400;
}

.enquire-btn {
    display: inline-flex;
    align-items: center;
    background: #FF9B00;
    color: white;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: fit-content;
}

.enquire-btn:hover {
    background: #0f3829;
}

@media (max-width: 768px) {
    .enquire-btn {
        font-size: 11px;
        padding: 6px;
    }
}

.facilities-section {
    padding: 60px 30px;
    background-color: #fffef4;
}

.facilities-header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00389d;
    margin-bottom: 40px;
    position: relative;
}

.facilities-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background-color: #FF9A00;
    border-radius: 2px;
}

.facility-item {
    display: flex;
    flex-direction: column;
    background: white;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
    /* border-radius: 8px; */
    overflow: hidden;
    margin-bottom: 20px;
}

.facility-image {
    flex: 1;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: auto;
    max-height: 400px;
}

.facility-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.facility-content {
    flex: 1;
    padding: 40px 30px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facility-content h2 {
    font-size: 30px;
    font-weight: 700;
    color: #4F200D;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.facility-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #4f200df0;
    margin-bottom: 25px;
}

.facility-description {
    font-size: 18px;
    color: #262626;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 400;
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    background: #00389d;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

.facility-item:nth-child(1) {
    background-color: #a5cbed; 
}

.facility-item:nth-child(2) {
    background-color: #e1fff4; 
}

.facility-item:nth-child(3) {
    background-color: #f1d376;
}

.facility-item:nth-child(1) {
    background-image: url('images/sports_background.jpg');
    background-size: cover;
}

.facility-item:nth-child(2) {
    background-image: url('images/science_background.jpg');
    background-size: cover;
}

.facility-item:nth-child(3) {
    background-image: url('images/library_background.jpg');
    background-size: cover;
}
.see-more-btn:hover {
    background: #002366;
}

.see-more-container {
    text-align: center;
}

/* Mobile Carousel Styles for Facilities */
.facilities-carousel {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.facility-slide {
    display: none;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.facility-slide.active {
    display: block;
}

.facility-slide-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.facility-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-slide-content {
    padding: 25px;
    background: #fffdf2;
}

.facility-slide-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #4F200D;
    margin-bottom: 15px;
}

.facility-slide-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #4f200df0;
    margin-bottom: 15px;
}

.facility-slide-description {
    font-size: 16px;
    color: #631f04;
    line-height: 1.5;
}

.facilities-carousel-dots {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.facilities-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.facilities-carousel-dot.active {
    background-color: #00389d;
}

.facilities-carousel-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    transform: translateY(-50%);
    z-index: 10;
}

.facilities-carousel-arrow {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    /* display: flex; */
    display: none;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.facilities-carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Health Section Styles */
.health-section {
    padding: 60px 30px;
    background-color: #fffef4;
}

.health-header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00389d;
    margin-bottom: 40px;
    position: relative;
}

.health-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background-color: #FF9A00;
    border-radius: 2px;
}

/* 4 Square Grid Layout with Text Overlay */
.health-grid-four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.health-square {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    /* Use aspect-ratio for consistent square proportions */
    aspect-ratio: 1 / 1;
    /* Fallback height for older browsers */
    height: 0;
    padding-bottom: 100%;
    position: relative;
}

.health-square:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.health-square-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.health-square-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.health-square:hover .health-square-image img {
    transform: scale(1.05);
}

.health-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 25px 20px 20px;
    transition: all 0.3s ease;
    z-index: 2;
}

.health-square:hover .health-overlay {
    background: linear-gradient(transparent, rgba(0, 56, 157, 0.9));
}

.health-category {
    font-size: 12px;
    font-weight: 700;
    color: #FF9A00;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.health-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.health-date {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

/* Footer Styles */
.footer-section {
    background-color: #00389d;
    color: white;
    padding: 50px 0 0;
    margin-top: 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: flex;
    /* flex-direction: column; */
    gap: 40px;
    padding-bottom: 40px;
}

.footer-columns-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}


.footer-column h4.footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: #FF9A00;
}

.footer-column h4.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #FF9A00;
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-right: 15px;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    max-width: 200px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.footer-contact {
    margin-top: 20px;
}

.contact-icon {
    margin-right: 10px;
    font-size: 16px;
    min-width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: #FF9A00;
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #FF9A00;
}

.social-link img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.social-icon {
    /* margin-right: 10px; */
    font-size: 18px;
}

.newsletter h5 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #FF9A00;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form button {
    background-color: #FF9A00;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #e68a00;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright p {
    font-size: 14px;
    color: #e0e0e0;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-links-bottom a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links-bottom a:hover {
    color: #FF9A00;
}

.footer-links-bottom span {
    color: #e0e0e0;
}

/* Responsive Styles for Health Section */
@media (max-width: 768px) {}

@media (max-width: 480px) {
    .health-grid-four {
        gap: 5px;
        max-width: 400px;
    }

    .health-overlay {
        padding: 15px 12px 12px;
    }

    .health-title {
        font-size: 14px;
    }

    .health-category {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .health-date {
        font-size: 10px;
    }

    .health-header {
        font-size: 1.5rem;
    }


}

@media (max-width: 1025px) {

    header {
        gap: 15px;
    }

    .admission h1 {
        font-size: 24px;
    }

    .nav-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-wrapper {
        justify-content: space-between;
        width: 100%;
    }

    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    body::before {
        top: 0
    }

    /* Hamburger animation when active */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    

    /* Carousel responsive styles */
    .carousel-container {
        height: 400px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-slide {
        top: 0;
    }

    /* Welcome section responsive */
    .welcome-section {
        margin: 30px 15px;
        padding: 20px;
    }

    .welcomeheader {
        font-size: 2rem;
    }

    .welcomemsg {
        padding: 15px;
        font-size: 1rem;
    }




    /* Gallery responsive styles */
    .gallery-section {
        padding: 40px 15px;
    }

    .gallery-header {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px
    }

    /* Form responsive styles */
    .enquiry-form-container {
        width: 95%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .admissionsopen {
        display: flex;
    }

    .content-section {
        padding: 40px 30px;
    }

    .container {
        display: contents;
    }

    .facility-item {
        display: none;
    }

    .facilities-carousel {
        display: block;
    }

    .facility-content {
        padding: 30px 20px;
    }

    .facilities-section {
        padding: 40px 15px;
    }

    .facilities-header {
        font-size: 1.4rem;
    }

    .health-grid-four {
        gap: 15px;
        max-width: 600px;
    }

    .health-section {
        padding: 5px;
    }

    .health-header {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .health-overlay {
        padding: 20px 15px 15px;
    }

    .health-title {
        font-size: 16px;
    }

    .health-category {
        font-size: 11px;
    }

    .health-date {
        font-size: 11px;
    }

    .footer-section {
        padding: 40px 0 0;
    }

    .footer-container {
        padding: 0 20px;
    }
 .footer-columns-secondary {
        gap: 30px;
    }
    
    .footer-content {
            display: flex;
    /* flex-direction: column; */

        /* grid-template-columns: 1fr; */
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        text-align: center;
    }

    .footer-logo h3 {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        top: 0;
    }

    .admission h1 {
        font-size: 14px;
    }

    header {
        gap: 10px;
        padding: 10px;
    }

    .mobile-nav-item {
        padding: 10px;
        font-size: 14px;
    }

    .nav-container {
        padding: 5px;
    }

    .contact-bar {
        display: none;
    }

    /* Carousel responsive styles */
    .carousel-container {
        height: 300px;
    }
 .footer-columns-secondary {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .carousel-arrow.prev {
        left: 10px;
    }

    .carousel-arrow.next {
        right: 10px;
    }

    /* Welcome section responsive */
    .welcome-section {
        margin: 20px 10px;
        padding: 15px;
    }

    .welcomeheader {
        font-size: 1.4rem;
    }

    .welcomemsg {
        padding: 12px;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Gallery responsive styles */
    .gallery-section {
        padding: 10px;
    }

    .gallery-header {
        font-size: 1.4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 5px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 80%;
    }

    .modal-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .close {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }

    /* Form responsive styles */
    .form-header h2 {
        font-size: 1.2rem;
    }

    .enquiry-form {
        padding: 15px;
    }

    .content-section {
        padding: 30px 20px;
    }

    h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 20px;
        letter-spacing: 3px;
        margin-bottom: 30px;
    }

    .description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .facility-content h2 {
        font-size: 24px;
    }

    .facility-subtitle {
        font-size: 18px;
    }

    .facility-description {
        font-size: 16px;
    }

    .see-more-btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .facility-slide-content {
        padding: 20px;
    }

    .facility-slide-content h2 {
        font-size: 22px;
    }

    .facility-slide-subtitle {
        font-size: 16px;
    }

    .facility-slide-description {
        font-size: 14px;
    }

    .footer-section {
        padding: 30px 0 0;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-content {
            display: flex;
    /* flex-direction: column; */

        grid-template-columns: 1fr;
    }

    .footer-logo {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Management Section Styles */
.management-section {
    padding: 0px;
    background-color: #fffef4;
}

.management-header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00389d;
    margin-bottom: 40px;
    position: relative;
}

.management-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background-color: #FF9A00;
    border-radius: 2px;
}

.management-container {
    max-width: 1200px;
    margin: 0 auto;
}

.management-profile {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.management-profile.visible {
    opacity: 1;
    transform: translateY(0);
}

.management-profile.reverse {
    flex-direction: row-reverse;
}

.profile-image {
    flex: 1;
    min-height: 500px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.management-profile:hover{
    transform: scale(1.05);
}

.profile-content {
    flex: 1;
    padding: 40px;
    position: relative;
}

.quote-svg {
    position: absolute;
    top: 30px;
    left: 40px;
    color: #FF9A00;
    opacity: 0.3;
    transform: scale(0);
    transition: transform 0.5s ease 0.3s;
}

.management-profile.visible .quote-svg {
    transform: scale(1);
}

.profile-message {
    position: relative;
    z-index: 2;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: #00389d;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.management-profile.visible .profile-name {
    opacity: 1;
    transform: translateX(0);
}

.profile-title {
    font-size: 18px;
    font-weight: 600;
    color: #FF9A00;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}

.management-profile.visible .profile-title {
    opacity: 1;
    transform: translateX(0);
}

.profile-qualifications {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease 0.6s, transform 0.6s ease 0.6s;
}

.management-profile.visible .profile-qualifications {
    opacity: 1;
    transform: translateX(0);
}

.message-text {
    margin-bottom: 25px;
}

.message-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.management-profile.visible .message-text p {
    opacity: 1;
    transform: translateY(0);
}

.management-profile.visible .message-text p:nth-child(1) {
    transition-delay: 0.7s;
}

.management-profile.visible .message-text p:nth-child(2) {
    transition-delay: 0.8s;
}

.management-profile.visible .message-text p:nth-child(3) {
    transition-delay: 0.9s;
}

.profile-education {
    border-top: 1px solid #eee;
    padding-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 1s, transform 0.6s ease 1s;
}

.management-profile.visible .profile-education {
    opacity: 1;
    transform: translateY(0);
}

.profile-education h4 {
    font-size: 18px;
    font-weight: 600;
    color: #00389d;
    margin-bottom: 10px;
}

.profile-education p {
    font-size: 15px;
    color: #555;
    margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {

    .management-profile,
    .management-profile.reverse {
        flex-direction: column;
    }

    .profile-image {
        min-height: 300px;
        width: 100%;
    }

    .profile-content {
        padding: 30px;
    }

    .quote-svg {
        top: 20px;
        left: 30px;
    }
}

@media (max-width: 768px) {
    .management-section {
        padding: 40px 15px;
    }

    .management-header {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .profile-content {
        padding: 25px 20px;
    }

    .profile-name {
        font-size: 24px;
    }

    .profile-title {
        font-size: 16px;
    }

    .quote-svg {
        width: 36px;
        height: 36px;
        top: 15px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .management-header {
        font-size: 1.8rem;
    }

    .profile-name {
        font-size: 22px;
    }

    .message-text p {
        font-size: 15px;
    }

    .profile-education p {
        font-size: 14px;
    }
}

/* Contact & Address Section Styles */
.contact-address-section {
    padding: 0px;
    background-color: #fffef4;
}

.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.contact-form-container {
    flex: 1;
    padding: 40px;
    background: #fffdf2;
}

.address-container {
    flex: 1;
    padding: 40px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-header,
.address-header {
    font-size: 2rem;
    font-weight: bold;
    color: #00389d;
    margin-bottom: 30px;
    position: relative;
}

.contact-header::after,
.address-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #FF9A00;
    border-radius: 2px;
}

.contact-form {
    margin-top: 20px;
}

.contact-submit-btn {
    background-color: #00389d;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background-color: #002366;
}

/* Responsive Styles for Contact Section */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 0;
    }

    .contact-form-container,
    .address-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-address-section {
        padding: 40px 15px;
    }

    .contact-header,
    .address-header {
        font-size: 1.8rem;
    }

    .contact-form-container,
    .address-container {
        padding: 25px 20px;
    }

    .address-item {
        margin-bottom: 20px;
        padding: 10px;
    }

    @media (max-width: 480px) {

        .contact-header,
        .address-header {
            font-size: 1.6rem;
        }

        .address-text {
            font-size: 14px;
        }
    }
}

.nav-item.nav-download {
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FF9A00, #FF5C00);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 140, 0, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.nav-item.nav-download:hover {
    background: linear-gradient(135deg, #ffb000, #ff6a00);
    box-shadow: 0 8px 22px rgba(255, 120, 0, 0.55);
    transform: translateY(-1px);
}

.nav-item.nav-download:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 120, 0, 0.4);
}
