/* General Reset */

:root {
    --font-serif: 'Questa', serif;
    --font-sans-bold: 'Trade Gothic', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

.Hidden{
    display: none;
}


/* Header Styles */
.school_nav-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #0033cc;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.school_nav-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px;
    background-color: #0044dd;
    flex-wrap: wrap;
}

.school_nav-logo-container {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.school_nav-logo-container img {
    border-radius: 50px;
    max-width: 90px;
    height: auto;
}

.school_nav-info {
    flex: 1;
    text-align: center;
    color: white;
}

.school_nav-name {
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: bold;
    color: yellow;
    margin: 0;
}

.school_nav-heading,
.school_nav-tagline {
    font-size: 14px;
    color: gold;
    margin: 0;
}

.school_nav-navbar {
    background-color: #0033cc;
    padding: 5px;
    position: relative;
}

.school_nav-menu {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.school_nav-item {
    position: relative;
}

.school_nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

.school_nav-link:hover {
    background-color: #228b22;
    color: white;
    border-radius: 5px;
}

.school_nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0044dd;
    list-style: none;
    padding: 5px 0;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 220px;
}

.school_nav-item:hover .school_nav-dropdown {
    display: block;
}

.school_nav-dropdown-link {
    color: white;
    text-decoration: none;
    display: block;
    padding: 5px 8px;
    transition: background 0.3s ease, color 0.3s ease;
}

.school_nav-dropdown-link:hover {
    background-color: #228b22;
    color: white;
}

.school_nav-menu-toggle {
    display: none;
    background: #0033cc;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .school_nav-logo-container {
        margin-bottom: 10px;
    }

    .school_nav-name {
    text-transform: uppercase;
    font-size: 21px;
    font-weight: bold;
    color: yellow;
    margin: 0;
}

    .school_nav-info {
        text-align: center;
    }

    .school_nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        background-color: #0033cc;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
    }

    .school_nav-menu.show {
        display: flex;
    }

    .school_nav-item {
        text-align: center;
        padding: 0;
    }

    .school_nav-link {
        padding: 10px 0;
    }

    .school_nav-menu-toggle {
        display: block;
    }

    .school_nav-dropdown {
        display: none;
        position: static;
        width: 100%;
        background-color: #0044dd;
    }

    .school_nav-item .school_nav-link:focus + .school_nav-dropdown,
    .school_nav-item .school_nav-link:active + .school_nav-dropdown {
        display: block;
    }

    .school_nav-dropdown-link {
        padding: 10px 20px;
    }
}

/* Slider Styles */
.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
}

button1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

.mission-vision-section {
    display: flex;
    justify-content: space-between;
    padding: 50px;
    gap: 30px;
    flex-wrap: wrap; /* Added to allow wrapping on small screens */
    background-color: #7A9BF2; /* Light Royal Blue background */
  
}

.mission-box, .vision-box {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    width: 48%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-bottom: 20px; /* Added margin to space out the boxes on smaller screens */
}

.mission-box {
    background-color: #f4f4f4;
}

.vision-box {
    background-color: #e1f5fe;
}

.box-icon1 {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.box-content1 {
    display: flex;
    flex-direction: column;
}

.box-title1 {
    margin: 0;
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

.box-text1 {
    margin: 0;
    font-size: 16px;
    color: #555;
}

/* Media Queries for responsiveness */

@media (max-width: 1024px) {
    .mission-vision-section {
        padding: 30px;
    }

    .mission-box, .vision-box {
        width: 48%;  /* Keeps the same width for medium screens */
    }
}

@media (max-width: 768px) {
    .mission-vision-section {
        padding: 20px;
        justify-content: center;
    }

    .mission-box, .vision-box {
        width: 100%; /* Full width for smaller screens */
        margin-bottom: 20px; /* Ensure spacing between boxes */
    }

    .box-icon1 {
        width: 40px; /* Smaller icon for smaller screens */
        height: 40px;
    }

    .box-title1 {
        font-size: 18px; /* Adjusted font size for titles */
    }

    .box-text1 {
        font-size: 14px; /* Adjusted font size for text */
    }
}

@media (max-width: 480px) {
    .mission-vision-section {
        padding: 15px;
    }

    .box-icon1 {
        width: 35px; /* Further reduce icon size */
        height: 35px;
    }

    .box-title1 {
        font-size: 16px; /* Further adjust font size for mobile */
    }

    .box-text1 {
        font-size: 12px; /* Further adjust text font size */
    }
}




/* Card Container and Card Styling */
.card-container {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.card {
    background-color: whitesmoke;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 22%;
    margin-bottom: 20px;
    padding: 10px;
}

.card-content {
    display: flex;
    align-items: center;
}

.card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    margin-right: 15px;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content h3 {
    font-size: 16px;
    color: #005D47;
    margin-bottom: 5px;
}

hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 5px 0;
}

.text-content p {
    font-size: 14px;
    color: #A83B32;
    margin-bottom: 10px;
}

.read-more {
    text-decoration: none;
    color: #000;
    background-color: #FFC400;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    transition: background-color 0.3s ease;
    width: 80px;
    text-align: center;
}

.read-more:hover {
    background-color: #FFAB00;
}


/* Responsive Design for Cards */
@media screen and (max-width: 1200px) {
    .card-container {
        flex-wrap: wrap;
    }

    .card {
        width: 48%;
    }
}

@media screen and (max-width: 768px) {
    .card {
        width: 100%;
    }
}

/* Footer Styling */
.footer-area {
    background-color: #172337;
    color: #fff;
    padding: 50px 0;
}

.single-footer-widget {
    margin-bottom: 50px;
}

.widget-title {
    color: #FFC400;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.single-footer-widget ul {
    list-style-type: none;
    padding-left: 0;
}

.single-footer-widget ul li {
    margin-bottom: 10px;
}

.single-footer-widget ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

single-footer-widget ul li a:hover {
    color: #FFC400;
    text-decoration: underline;
}

address {
    color: #fff;
}

address a {
    color: #ffc400;
    text-decoration: none;
}

address a:hover {
    text-decoration: underline;
}

.social-links a {
    color: #fff;
    margin-right: 10px;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFC400;
}

.copywrite-area {
    background-color: #101828;
    padding: 20px 0;
    text-align: center;
}

.copywrite-text {
    color: #fff;
    font-size: 14px;
}

.copywrite-text a {
    color: #FFC400;
    text-decoration: none;
    margin: 0 5px;
}

copywrite-text a:hover {
    text-decoration: underline;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .single-footer-widget {
        margin-bottom: 30px;
    }

    .copywrite-text {
        font-size: 14px;
    }

    .social-links {
        margin-top: 10px;
    }
}

/* Container for all boxes */
.Notice_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch; /* Ensures all boxes stretch to the same height */
    background-color: #f0f0f0;
    padding: 20px;
    font-family: 'Roboto', sans-serif; /* Apply modern font to entire container */
}

/* Style for the "New" label */
.new-notice {
    font-weight: bold;
    color: red;
    display: inline-block;
    text-align: center;
    position: relative; /* Required for positioning the red star relative to the text */
    padding-right: 20px; /* Space for the star on the right side */
}

/* Star should appear slightly above and to the side of "New" */
.red-star-above {
    position: absolute;
    top: -5px;  /* Moves the star slightly above the "New" label */
    right: 0px;  /* Position it to the right of the "New" text */
    width: 15px;
    height: 15px;
    margin: 0;  /* Remove any extra margins */
}


/* Box Styles */
.box {
    width: 320px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 20px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column; /* Makes the content flow vertically */
    justify-content: space-between; /* Even spacing between elements */
}

/* Box Title Styles */
.box-title {
    margin-bottom: 20px;
    color: #ffffff;
    background-color: #4CAF50;
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;
}

/* Notice Box Styles */
.notice {
    flex-grow: 1; /* Ensures the box fills available space */
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    padding: 10px;
    height: 150px; /* Increase the height to make notices more readable */
}

.notice ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    animation: scroll 12s linear infinite; /* Adjusted scrolling speed */
}

.notice ul li {
    margin: 20px 0;
    font-weight: 600;
    color: #333;
    font-size: 14px; /* Increased font size for better visibility */
}

@keyframes scroll {
    0% {
        top: 100%;
    }
    100% {
        top: -200%;
    }
}

/* Gallery Box Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    border-radius: 10px;
    background-color: #e0ffe0;
}

.gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Download Button Styles */
.download-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 30px;
}

.download-button:hover {
    background-color: #45a049;
}

/* Box Hover Effect */
.box:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .box {
        width: 90%; /* Box takes 90% of the screen width on smaller devices */
        margin: 10px;
    }

    .notice {
        height: 200px; /* Increase notice height for mobile */
    }

    .notice ul li {
        font-size: 15px; /* Increase font size for mobile */
    }
}

@media (max-width: 480px) {
    .gallery img {
        height: 100px; /* Reduce image height for smaller screens */
    }

    .notice {
        height: 220px; /* Further increase notice height for very small screens */
    }

    .notice ul li {
        font-size: 20px; /* Further increase font size for better readability */
    }

    .download-button {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Gallery Container */
.gallery_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}

.gallery_image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery_image:hover {
    transform: scale(1.05);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Ensures the image fits the modal without distortion */
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Mobile specific styles */
@media screen and (max-width: 600px) {
    .modal-content {
        max-width: 100%;
        max-height: 80%;
    }

    .prev, .next {
        font-size: 20px;
        padding: 10px;
    }

    .close {
        font-size: 30px;
    }
}


.college h2 {
    color: #a41010;
    font-size: 28px;
    margin-bottom: 20px;
}

/* College Section */
.college-section {
    background-color: #f5f5f5;  /* Soft background color */
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Light shadow effect */
}

.college-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;  /* Added gap between image and description */
}

.college-image {
    width: 40%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  /* Shadow effect for the image */
}

.college-description {
    width: 55%;
    text-align: left;
    color: #333;
}

.college-description h2 {
    font-size: 24px;
    color: #3e4a89;  /* Dark blue for the title */
    margin-bottom: 15px;
}

.college-description p {
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #2196F3;  /* Blue color for the button */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;  /* Smooth hover effect */
    margin-top: 20px;
}

.read-more-btn:hover {
    background-color: #1976D2;  /* Darker blue on hover */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .college-container {
        flex-direction: column;
        text-align: center;
    }

    .college-image {
        width: 80%;
        margin-bottom: 20px;
    }

    .college-description {
        width: 100%;
    }

    .college-description h2 {
        font-size: 22px;  /* Adjusted title size for smaller screens */
    }

    .college-description p {
        text-align: justify;
        font-size: 14px;  /* Adjusted text size for mobile */
    }

    .read-more-btn {
        padding: 10px 18px;  /* Adjust button size for smaller screens */
    }
}


/* Faculty Section Styles */
.faculty-section1 {
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(135deg, #4a90e2, #f0a500); /* Royal Blue and Kesariya gradient */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Heading Styles */
.faculty-heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff; /* White for contrast on the gradient background */
    margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Faculty Slider Styles */
.faculty-slider {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.faculty-slider-track-container {
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.faculty-slider-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Faculty Card Styles */
.faculty-card1 {
     background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: calc(25% - 12px); /* Show 4 items per row */
    flex-shrink: 0;
    margin-right: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card1:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.faculty-image-container {
    width: 150px; /* Set a fixed width */
    height: 150px; /* Set a fixed height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Makes it circular */
    background-color: #f0f0f0; /* Fallback background color */
    margin: 0 auto; /* Center the image */
}

.faculty-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the circular area */
    border-radius: 50%; /* Keeps the image circular */
}


.faculty-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #4a90e2; /* Royal Blue */
    margin: 15px 0 8px;
}

.faculty-role {
    font-size: 1.1rem;
    color: #f0a500; /* Kesariya */
}

/* Centered Controls */
.faculty-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.faculty-slider-button {
    background-color: #4a90e2; /* Royal Blue */
    color: #fff;
    border: none;
    padding: 12px 25px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.faculty-slider-button:hover {
    background-color: #357abd;
    transform: scale(1.1);
}

.faculty-slider-button:disabled {
    background-color: #ddd;
    color: #aaa;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}



/* Responsive Design */
@media (max-width: 768px) {
    .faculty-slider-track {
        gap: 10px;
    }

    .faculty-card1 {
        width: calc(50% - 10px); /* Show 2 items per row on medium screens */
    }

    .faculty-image-container img {
        height: 200px; /* Adjust image height */
    }

    .faculty-slider-button {
        font-size: 1rem;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .faculty-slider-controls {
        margin-top: 10px;
    }

    .faculty-card1 {
        width: 100%;
         margin-right: 0;
          margin-bottom: 20px;
    }

    .faculty-slider-button {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
}



/* About Us Section Styles */
.about-heading {
    color: green;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

.about-lead {
    text-align: justify;
    color: #2b8b2b;
    font-size: 1.5rem;
    font-weight: bold;
}

.about-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Image Styles */
.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Stat Card Styles */
.stat-card {
    border: 2px solid;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px; /* Space between boxes */
    flex: 1 1 calc(100% / 6 - 20px); /* 6 boxes per row with gaps */
}

/* Stat Card Headings */
.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Stat Card Paragraphs */
.stat-card p {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}

/* Specific Border Colors */
.green-border {
    border-color: #009045;
    color: #009045;
}

.lime-border {
    border-color: #7cb342;
    color: #7cb342;
}

.red-border {
    border-color: #c62828;
    color: #c62828;
}

.blue-border {
    border-color: #1565c0;
    color: #1565c0;
}

.brown-border {
    border-color: #8d6e63;
    color: #8d6e63;
}

.purple-border {
    border-color: #7b1fa2;
    color: #7b1fa2;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stat-card {
        flex: 1 1 calc(100% / 3 - 20px); /* 3 boxes per row on medium screens */
    }
}

@media (max-width: 992px) {
    .stat-card {
        flex: 1 1 calc(100% / 4 - 20px); /* 4 boxes per row on small screens */
    }
}

@media (max-width: 768px) {
    .stat-card {
        flex: 1 1 calc(100% / 2 - 20px); /* 2 boxes per row on extra small screens */
    }
}

@media (max-width: 576px) {
    .stat-card {
        flex: 1 1 100%; /* Full width for extra small screens */
    }
}



.principal-profile {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section for Profile Information */
.principal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Header with Image and Text */
.principal-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

/* Image Container */
.principal-image-container {
    width: 400px; /* Set the width to 400px */
    height: 400px; /* Set the height to 400px */
    text-align: center;
    position: relative;
}

/* Image Style */
.principal-image {
    width: 100%;
    height: 100%;
    border-radius: 5%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Principal Name Styling */
.principal-name {
    margin-top: 10px;
    font-size: 1.4em;
    font-weight: bold;
    color: #343A40;
}

/* Text Container */
.principal-text-container {
    flex: 1;
    text-align: left;
}

/* Quote Styling */
.principal-quote {
    font-size: 1.4em;
    font-style: italic;
    color: #6C757D;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Subheading */
.principal-subheading {
    font-size: 1.2em;
    font-weight: bold;
    color: #343A40;
    margin-bottom: 15px;
}

/* Description */
.principal-description {
    font-size: 1em;
    color: #495057;
    line-height: 1.6;
}

/* Achievements List */
.principal-achievements {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
}

.principal-achievements li {
    background: #f1f1f1;
    margin: 10px 0;
    padding: 10px;
    border-radius: 6px;
    font-size: 1em;
    color: #555;
    border-left: 5px solid #007BFF;
}
/* Principal Info Container */
.principal-info {
    padding: 20px;
    border-radius: 25px;
    width: fit-content;
    text-align: right; /* Align text to the right */
    margin: 20px auto;
    font-family: 'Roboto', sans-serif;
}

/* Principal's Name (Bold) */
.principal-name {
    font-size: 1.6em;
    font-weight: bold; /* Make principal name bold */
    color: #343A40;
    margin: 0;
}

/* Role (Principal) */
.role {
    text-align: center;
    font-size: 1.2em;
    color: #007BFF; /* Blue color for the role */
    margin: 0;
}

/* School Name */
.school-name {
    font-size: 1.2em;
    color: #6C757D; /* Lighter color for the school name */
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .principal-info {
        padding: 15px;
    }
.principal-profile {
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
    .principal-name {
        font-size: 1.4em;
    }

    .role, .school-name {
        text-align: center;
        font-size: 1.1em;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .principal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
.principal-profile {
    width: 100%;
    
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
    .principal-image-container {
        width: 300px;
        height: 300px;
        margin-bottom: 20px;
    }

    .principal-image {
        width: 100%;
        height: 100%;
    }

    .principal-name {
        font-size: 1.3em;
    }

    .principal-text-container {
        width: 90%;
    }

    .principal-quote {
        font-size: 1.2em;
    }

    .principal-subheading {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {

    .principal-profile {
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
    .principal-image-container {
        width: 250px;
        height: 250px;
        margin-bottom: 15px;
    }

    .principal-image {
        width: 100%;
        height: 100%;
    }

    .principal-name {
        font-size: 1.1em;
    }

    .principal-quote {
        font-size: 1.1em;
    }

    .principal-subheading {
        font-size: 1em;
    }

    .principal-achievements li {
        font-size: 0.9em;
    
    }
}







.about-title {
    font-size: 2.5rem; /* Larger font size for prominence */
    font-weight: 700; /* Bold font weight */
    text-align: center; /* Center-align the text */
    color: #333; /* Dark grey color for better readability */
    margin-bottom: 20px; /* Space below the title */
    position: relative; /* For adding a decorative element */
    padding: 0 20px; /* Padding on the sides */
}

.about-title::before {
    content: ''; /* Empty content for decorative element */
    display: block;
    width: 50px; /* Width of the line */
    height: 4px; /* Thickness of the line */
    background-color: #ff6f61; /* Accent color for the line */
    margin: 0 auto 10px; /* Center-align and space from the title */
    border-radius: 2px; /* Rounded edges */
}

.about-title::after {
    content: ''; /* Empty content for decorative element */
    display: block;
    width: 60px; /* Width of the line */
    height: 2px; /* Thickness of the line */
    background-color: #ff6f61; /* Accent color for the line */
    margin: 0 auto; /* Center-align */
    border-radius: 2px; /* Rounded edges */
    opacity: 0.5; /* Slightly transparent line */
    position: absolute;
    bottom: -10px; /* Position below the title */
    left: 50%; /* Center-align */
    transform: translateX(-50%); /* Center-align */
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }
}


:root {
    --font-serif: 'Questa', serif;
    --font-sans-bold: 'Trade Gothic', sans-serif;
    --color-royal-blue: #0033a0;
    --color-kesariya: #f8b400;
}

.school_container {
    font-family: var(--font-serif);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section-title1 {
    font-family: var(--font-sans-bold);
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-royal-blue); /* Royal Blue */
}

.section {
    margin-bottom: 30px;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-kesariya); /* Kesariya */
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.info-table th,
.info-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.info-table th {
    font-family: var(--font-sans-bold);
    background-color: #f2f2f2;
    font-weight: bold;
    color: var(--color-royal-blue); /* Royal Blue */
}

.info-table td a {
    color: #007bff;
    text-decoration: none;
}

.info-table td a:hover {
    text-decoration: underline;
}

.note {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
    text-decoration: none !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .school_container {
        padding: 15px;
    }

    .section-title1 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .school_container {
        padding: 10px;
    }

    .section-title1 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .info-table th,
    .info-table td {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .school_container {
        padding: 5px;
    }

    .section-title1 {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .info-table {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .school_container {
        width: 100%;
        padding: 5px;
    }

    .section-title1 {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .info-table {
        font-size: 0.8rem;
    }
}

.about-section {
    padding: 20px;
    text-align: center;
}

.collage-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.faculty-section {
    padding: 20px;
    background-color: #f4f4f4;
}

.faculty-section h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.faculty-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.faculty-card-content {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.faculty-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    margin-bottom: 10px;
}

.faculty-info {
    text-align: center;
    color: #333;
}

.faculty-name {
    color: #1a73e8;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
}

.faculty-position {
    color: #ff5722;
    margin-bottom: 10px;
    font-size: 14px;
}

.faculty-info p {
    margin: 5px 0;
}

.faculty-info strong {
    color: #555;
}

.profile-link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.profile-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Media Queries */
@media (max-width: 1200px) {
    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }
    
    .faculty-card {
        flex-direction: column;
        padding: 5px;
        text-align: center;
    }

    .faculty-card-content {
        flex-direction: column;
    }
}
.topper-section {
    padding: 20px;
    background-color: #fff;
    margin: 20px auto;
    max-width: 1200px;
}

.topper-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.topper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.topper-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.topper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.topper-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #ddd;
}

.topper-info {
    text-align: center;
}

.topper-name {
    color: #1a73e8; /* Blue color for names */
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
}

.topper-class {
    color: #ff5722; /* Orange color for class */
    margin-bottom: 5px;
    font-size: 14px;
}

.topper-marks {
    color: #333; /* Dark color for marks */
    font-size: 14px;
}

/* Media Queries */
@media (max-width: 1200px) {
    .topper-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 992px) {
    .topper-card {
        padding: 8px;
    }

    .topper-name {
        font-size: 16px;
    }

    .topper-class, .topper-marks {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .topper-image {
        width: 60px;
        height: 60px;
    }

    .topper-card {
        padding: 6px;
    }

    .topper-name {
        font-size: 14px;
    }

    .topper-class, .topper-marks {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .topper-section {
        padding: 15px;
    }

    .topper-card {
        padding: 4px;
    }

    .topper-name {
        font-size: 12px;
    }

    .topper-class, .topper-marks {
        font-size: 10px;
    }
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.admission-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow-x: auto; /* Allows horizontal scroll if table is too wide */
}

.admission-table th,
.admission-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admission-table th {
    background-color: var(--color-royal-blue);
    color: #fff;
    font-family: var(--font-sans-bold);
}

.admission-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.link {
    color: var(--color-royal-blue);
    text-decoration: none;
    font-weight: bold;
}

.link:hover {
    text-decoration: underline;
}


/* For tablets and larger phones in landscape mode */
@media (max-width: 768px) {
    .admission-table th,
    .admission-table td {
        font-size: 14px; /* Adjust font size for smaller screens */
    }
}

/* For phones in portrait mode */
@media (max-width: 480px) {
    .admission-table {
        display: block;
        overflow-x: auto; /* Allows horizontal scroll on smaller screens */
        white-space: nowrap; /* Prevents wrapping */
    }

    .admission-table thead {
        display: none; /* Hide the header row */
    }

    .admission-table tr {
        display: block;
        margin-bottom: 1em; /* Add space between rows */
    }

    .admission-table td {
        display: block;
        text-align: right;
        position: relative;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    .admission-table td::before {
        content: attr(data-label); /* Adds labels for each cell */
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 10px;
        font-weight: bold;
        white-space: nowrap;
        background: #f1f1f1;
        border-right: 1px solid #ddd;
    }
}


/* Base styles */
:root {
    --color-royal-blue: #4169e1;
    --color-dark-blue: #003366;
}

.contact_container {
    background-color: var(--color-royal-blue);
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.contact_container h1 {
    margin: 0;
    font-size: 2.5rem;
}

.contact_container p {
    margin: 10px 0 0;
    font-size: 1.1rem;
}

main {
    padding: 20px;
}

.contact-info,
.contact-form {
    margin-bottom: 40px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-royal-blue);
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    margin-top: 0;
    color: var(--color-dark-blue);
}

.contact-item p {
    margin: 5px 0;
}

.contact-item a {
    color: var(--color-royal-blue);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    padding: 10px;
    font-size: 1rem;
    background-color: var(--color-royal-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #004080;
}

#responseMessage {
    margin-top: 10px;
    color: green;
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
    }
}
/* Base styles */
:root {
    --color-royal-blue: #4169e1;
    --color-dark-blue: #003366;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact_container {
    background-color: var(--color-royal-blue);
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.contact_container h1 {
    margin: 0;
    font-size: 2.5rem;
}

.contact_container p {
    margin: 10px 0 0;
    font-size: 1.1rem;
}

main {
    padding: 20px;
}

.contact-info,
.contact-form {
    margin-bottom: 40px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-royal-blue);
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    margin-top: 0;
    color: var(--color-dark-blue);
}

.contact-item p {
    margin: 5px 0;
}

.contact-item a {
    color: var(--color-royal-blue);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    padding: 10px;
    font-size: 1rem;
    background-color: var(--color-royal-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #004080;
}

#responseMessage {
    margin-top: 10px;
    color: green;
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.5rem;
    }
}


.voices-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap; /* Allows wrapping of items */
    background-color: #e0cfcf;
}

.voice-item {
    position: relative;
    width: 23%;
    text-decoration: none;
    color: inherit;
    overflow: hidden; /* Ensure content stays within boundaries */
}

.voice-item img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%); /* Black and white image */
    transition: filter 0.3s ease;
}

.voice-item:hover img {
    filter: grayscale(0%); /* Full color on hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 1; /* Always visible */
}

.overlay h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1.2rem;
}

/* Media Queries for various screen sizes */

/* Large screens (desktops, laptops) */
@media (min-width: 1200px) {
    .voice-item {
        width: 23%;
    }
}

/* Medium screens (tablets in landscape mode) */
@media (min-width: 768px) and (max-width: 1199px) {
    .voice-item {
        width: 45%;
        margin-bottom: 20px;
    }
}

/* Small screens (tablets in portrait mode and small desktops) */
@media (min-width: 480px) and (max-width: 767px) {
    .voice-item {
        width: 48%;
        margin-bottom: 15px;
    }
}

/* Extra small screens (phones) */
@media (max-width: 479px) {
    .voice-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .overlay h2 {
        font-size: 1.5rem;
    }

    .overlay p {
        font-size: 1rem;
    }
}

.testimonial-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

.testimonial-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #FDFDFD; /* Background color for the section */
}

.testimonial-section h1 {
    font-size: 2.8rem;
    color: #9F2B2B;
    font-weight: bold;
    margin-bottom: 30px; /* Reduced bottom margin */
    text-align: center; /* Center the text */
}

.testimonial-container {
    display: flex;
    justify-content: space-around;
    align-items: stretch; /* Stretch testimonials to have the same height */
    flex-wrap: wrap;
    gap: 20px; /* Reduced gap between testimonials */
}

.testimonial {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px; /* Reduced padding inside testimonial boxes */
    border-radius: 15px;
    width: 60%; /* Increased width */
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: transform 0.3s;
    min-height: 200px; /* Reduced minimum height */
}

.testimonial:hover {
    transform: scale(1.05);
}

.student-image img {
    border-radius: 50%;
    width: 120px; /* Reduced image size to fit within a shorter height */
    height: 120px;
    object-fit: cover;
    margin-right: 20px;
    filter: grayscale(100%); /* Black and white effect initially */
    transition: filter 0.3s ease;
}

.testimonial:hover .student-image img {
    filter: grayscale(0%); /* Color on hover */
}

.student-quote {
    text-align: left;
    flex-grow: 1;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.4; /* Reduced line height for a more compact look */
    color: #333;
    position: relative;
}

.quote .quote-mark {
    font-size: 2.2rem;
    color: #9F2B2B;
    font-weight: bold;
}

.student-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
    margin-top: 10px;
}

/* Media Queries for Responsive Layout */
@media (max-width: 768px) {
    .testimonial-section h1 {
        font-size: 1.8rem; /* Smaller font size for mobile */
        margin-bottom: 20px; /* Reduced margin-bottom */
    }

    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        width: 90%; /* Adjust width to fit better on small screens */
        flex-direction: column;
        text-align: center;
        min-height: auto; /* Allow height to adjust */
    }

    .student-image img {
        width: 100px; /* Adjust image size for better fit */
        height: 100px;
        margin-bottom: 15px; /* Adjust margin to reduce spacing */
    }

    .student-quote {
        text-align: center; /* Center align text on smaller screens */
    }
}
:root {
    --primary-bg-color: #0077b5; /* Blue background */
    --primary-text-color: #ffffff; /* White text color */
    --secondary-text-color: #ff4b5c; /* Accent color */
    --diamond-color: #ff4b5c; /* Diamond color */
    --line-color: #ffffff; /* Line color */
    --checkmark-color: #ff4b5c; /* Checkmark color */
}


/* Section Styles */
.facilities {
    background-color: var(--primary-bg-color);
    padding: 60px 30px;
    text-align: center;
}

.section-title {
    font-family: 'Questa', serif;
    font-size: 36px;
    color: var(--primary-text-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: 2px;
}

/* Decorative Line and Diamond */
.decorative-line {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background-color: var(--line-color);
    margin: 0 10px;
}

.diamond {
    width: 15px;
    height: 15px;
    background-color: var(--diamond-color);
    transform: rotate(45deg);
    display: inline-block;
}

/* List Styling */
.facilities-list ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
}

.facilities-list ul li {
    color: var(--primary-text-color);
    font-size: 20px;
    margin: 15px 0;
    padding-left: 40px;
    position: relative;
}

.facilities-list ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-color: var(--checkmark-color);
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%23fff" d="M13.485 3.485l-7.778 7.778L2.515 8.07 1.1 9.485l3.607 3.607 8.486-8.486z"/></svg>');
    mask-size: cover;
}

/* Media Queries */
@media (max-width: 1200px) {
    .section-title {
        font-size: 32px;
    }

    .facilities-list ul {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .facilities {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .facilities-list ul {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .facilities {
        padding: 40px 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .facilities-list ul {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .facilities {
        padding: 30px 10px;
    }

    .section-title {
        font-size: 22px;
    }

    .facilities-list ul {
        font-size: 12px;
    }
}

.management-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.profile-box {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.profile-box:hover {
    transform: scale(1.02);
}

.profile-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.profile-image {
    margin-bottom: 15px;
    height: 200px;
    width: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid #007bff;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-text h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 5px;
}

.profile-text h3 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}

.profile-text p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #0056b3;
}

/* General Layout Adjustments for Mobile */
@media (max-width: 768px) {
    .profile-box {
        margin-bottom: 20px;
    }

    .profile-image {
        height: 100px;
        width: 100px;
    }

    .profile-text h2 {
        font-size: 1.3rem;
    }

    .profile-text h3 {
        font-size: 1.1rem;
    }

    .profile-text p {
        font-size: 0.9rem;
    }

    .read-more-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .profile-box {
        margin-bottom: 15px;
    }

    .profile-image {
        height: 90px;
        width: 90px;
    }

    .profile-text h2 {
        font-size: 1.2rem;
    }

    .profile-text h3 {
        font-size: 1rem;
    }

    .profile-text p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .read-more-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 400px) {
    .profile-content {
        padding: 15px;
    }

    .profile-text h2 {
        font-size: 1rem;
    }

    .profile-text h3 {
        font-size: 0.9rem;
    }

    .profile-text p {
        font-size: 0.8rem;
    }

    .read-more-btn {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}


.scholarship-fee-structure {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px auto;
  padding: 20px;
  min-height: 300px; /* Section ki minimum height */
  background: linear-gradient(135deg, #ffecd2, #fcb69f); /* Colorful background */
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.scholarship-fee-structure .fee-structure,
.scholarship-fee-structure .scholarship {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover ke liye animation */
}

.scholarship-fee-structure .fee-structure:hover,
.scholarship-fee-structure .scholarship:hover {
  transform: scale(1.05); /* Hover par card bada hoga */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.scholarship-fee-structure .fee-structure {
  background-color: #f9f9f9;
  text-align: center;
}

.scholarship-fee-structure .fee-structure h2 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #333;
}

.scholarship-fee-structure .fee-structure p {
  font-size: 16px;
  color: #555;
}

.scholarship-fee-structure .fee-structure .plan-details {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background-color: #800000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.scholarship-fee-structure .fee-structure .plan-details:hover {
  background-color: #a00000; /* Hover par button ka color change hoga */
  transform: translateY(-3px); /* Button thoda upar hoga */
}

.scholarship-fee-structure .scholarship {
  background-color: #800000;
  color: #fff;
  text-align: center;
}

.scholarship-fee-structure .scholarship h2 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #fff;
}

.scholarship-fee-structure .scholarship p {
  font-size: 16px;
  color: #f9f9f9;
}

/* Media Query for Tablets (768px and below) */
@media (max-width: 768px) {
  .scholarship-fee-structure {
    flex-direction: column;
    gap: 15px;
  }

  .scholarship-fee-structure .fee-structure,
  .scholarship-fee-structure .scholarship {
    flex: unset;
    width: 100%;
    min-height: 250px;
  }

  .scholarship-fee-structure .fee-structure h2,
  .scholarship-fee-structure .scholarship h2 {
    font-size: 20px;
  }

  .scholarship-fee-structure .fee-structure p,
  .scholarship-fee-structure .scholarship p {
    font-size: 14px;
  }
}

/* Media Query for Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .scholarship-fee-structure {
    padding: 10px;
  }

  .scholarship-fee-structure .fee-structure,
  .scholarship-fee-structure .scholarship {
    padding: 15px;
    min-height: 200px;
  }

  .scholarship-fee-structure .fee-structure h2,
  .scholarship-fee-structure .scholarship h2 {
    font-size: 18px;
  }

  .scholarship-fee-structure .fee-structure p,
  .scholarship-fee-structure .scholarship p {
    font-size: 12px;
  }

  .scholarship-fee-structure .fee-structure .plan-details {
    padding: 8px 12px;
    font-size: 14px;
  }
}



/* Contact Page Layout */
.contact-page {
  background: linear-gradient(135deg, royalblue, #ff9933);
  color: white;
  padding: 60px 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Information Card */
.contact-card {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
}

.contact-card h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: royalblue;
}

.contact-card p {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-card i {
  color: royalblue;
  margin-right: 10px;
}

.contact-card a {
  color: royalblue;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Form Section */
.form-card {
  flex: 1;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
}

.form-card h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ff9933;
}

.contact-form .form-group {
  position: relative;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  background: #f9f9f9;
}

.contact-form label {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 1rem;
  color: #aaa;
  transition: all 0.3s ease;
  pointer-events: none;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.85rem;
  color: royalblue;
}

.contact-form .readbtn {
  background: linear-gradient(to right, royalblue, #ff9933);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .readbtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
/* Map Container Styling */
.map-container {
  margin-top: 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
      padding: 20px;
  }
}


