/* General styling */
body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    scroll-behavior: smooth;
}

/* Header styling */
header {
    background-color: #0b1c38;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .logo {
    width: 80px;
    height: auto;
}

/* Hamburger icon styling */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    position: fixed;
    top: 15px;
    right: 30px;
    z-index: 1001;
}

/* Navigation styling */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: #004080;
    border-radius: 5px;
    transform: scale(1.05);
}

/* Dropdown styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show dropdown when hovered on desktop */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive mobile menu */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0b1c38;
        position: absolute;
        top: 60px;
        left: 0;
    }

    nav.active ul {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        background-color: #0b1c38;
    }

    .dropdown-content a {
        color: #fff;
    }

    .dropdown-content.show {
        display: block;
    }
}
/* General styling */
body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    scroll-behavior: smooth;
}

/* Header styling */
header {
    background-color: #0b1c38;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .logo {
    width: 80px;
    height: auto;
}

/* Hamburger icon styling for mobile */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    position: fixed;
    top: 15px;
    right: 30px;
    z-index: 1001;
}

/* Navigation styling */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    position: relative;
}

/* Add dropdown icon */
nav ul li a::after {
    content: " ▼"; /* Adds a down arrow */
    font-size: 0.7em;
    margin-left: 5px;
    color: #fff;
    transition: transform 0.3s ease;
}

/* Rotate icon to face right when dropdown is active */
nav ul li.active > a::after {
    content: " ►"; /* Changes to a right arrow */
    transform: rotate(0deg); /* No rotation needed, just change the content */
}
/* Rotate submenu icon and underline when active */
.dropdown-content a.active {
    text-decoration: underline; /* Underline active submenu item */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    background-color: #004080;
    border-radius: 5px;
    transform: scale(1.05);
}

/* Remove dropdown icon for non-dropdown items */
nav ul li:not(.dropdown) a::after {
    content: ""; /* No icon for non-dropdown items */
}

/* Dropdown styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show dropdown when hovered on desktop */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive mobile menu */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0b1c38;
        position: absolute;
        top: 60px;
        left: 0;
    }

    nav.active ul {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        background-color: #0b1c38;
    }

    .dropdown-content a {
        color: #fff;
    }

    .dropdown-content.show {
        display: block;
    }
}

/* Main content styling */
main {
    padding: 40px 20px; /* Increased padding for breathing room */
    background-color: #fff; /* White background for contrast */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    margin: 20px auto; /* Center align the main content */
    max-width: 1000px; /* Limit width for better readability */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.about-us {
    margin: 40px auto;
    max-width: 1200px;
    padding: 20px;
    background-color: #f4f7f6;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* About Us Section */
.about-us h2 {
    color: #0b1c38;
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.about-us h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0b1c38;
    margin: 10px auto;
}

.about-us p {
    text-align: justify;
    margin: 20px 0;
    font-size: 18px;
    color: #0b1c38;
}
.about-us a {
    color: #004080;
    font-weight: bold;
}

/* Principal message styling */
.principal-image {
    width: 150px;
    height: auto;
    border-radius: 50%; /* Circular image for a more personal feel */
    display: block;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow around the image */
}

/* Curriculum Section */
.curriculum h3 {
    color: #0b1c38; /* Deep blue for header */
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    text-transform: uppercase; /* Uppercase for emphasis */
    letter-spacing: 1px;
}

.curriculum p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    color: #555; /* Softer text color for readability */
    line-height: 1.6;
}

.subject-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.subject {
    background-color: #e6e6ff; /* Light purple background */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    display: flex;
    align-items: center;
    max-width: 600px;
    width: 100%;
}

.subject img.subject-image {
    width: 150px;
    height: auto;
    margin-right: 20px;
    border-radius: 8px;
    flex-shrink: 0;
}

.subject-content {
    flex: 1;
}

.subject h4 {
    color: #0b1c38; /* Deep blue for subject headers */
    margin-bottom: 10px;
}

.subject p {
    color: #333;
    font-size: 16px;
    line-height: 1.4;
}

/* Latest News Section */
.latest-news {
    margin-top: 40px;
}

.latest-news h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0b1c38; /* Deep blue for headers */
}

.latest-news article {
    margin-bottom: 20px;
}

.latest-news h3 {
    font-size: 20px;
    margin: 0;
}

.latest-news p {
    font-size: 16px;
    margin: 5px 0;
}

.latest-news a {
    color: #0b1c38; /* Deep blue for links */
    text-decoration: none;
}

.latest-news a:hover {
    text-decoration: underline;
}

/* Footer styling */
footer {
    background-color: #0b1c38; /* Same deep blue as header for unity */
    color: #fff; /* Ensures all text inside footer is white */
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-logo-img {
    max-width: 60px; /* Adjust the logo size */
    height: auto;
}

.footer-info,
.footer-contact {
    flex: 1;
    text-align: left;
    margin-bottom: 15px;
}

.footer-info p,
.footer-contact p {
    margin: 5px 0;
    color: #fff; /* Ensures all paragraphs inside these sections are white */
}

.footer-links {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-links a {
    color: #fff; /* White links by default */
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #f4f4f9; /* Light color on hover for contrast */
}

.footer-social {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-social a {
    margin: 0 10px;
    display: inline-block;
}

.social-icon {
    width: 24px; /* Adjust icon size */
    height: 24px;
}

/* Ensure white color for copyright text */
.footer-copyright {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 20px;
    color: #fff; /* White color for copyright text */
}

/* Ensure email link is white */
.footer-contact a {
    color: #fff;
}

.footer-contact a:hover {
    color: #f4f4f9; /* Light color on hover for contrast */
}

/* Responsive styling for footer */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center; /* Center align all items */
    }

    .footer-info,
    .footer-contact,
    .footer-links,
    .footer-social {
        text-align: center; /* Center text on mobile */
    }

    .footer-info,
    .footer-contact {
        margin-bottom: 20px; /* Increase margin for better spacing */
    }
}
/* Footer styling */
footer {
    background-color: #0b1c38; /* Same deep blue as header for unity */
    color: #fff; /* Ensures all text inside footer is white */
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-logo-img {
    max-width: 60px; /* Adjust the logo size */
    height: auto;
}

.footer-info,
.footer-contact {
    flex: 1;
    text-align: left;
    margin-bottom: 15px;
}

.footer-info p,
.footer-contact p {
    margin: 5px 0;
    color: #fff; /* Ensures all paragraphs inside these sections are white */
}

.footer-links {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-links a {
    color: #fff; /* White links by default */
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #f4f4f9; /* Light color on hover for contrast */
}

.footer-social {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-social a {
    margin: 0 10px;
    display: inline-block;
}

.social-icon {
    width: 24px; /* Adjust icon size */
    height: 24px;
}

/* Ensure white color for copyright text */
.footer-copyright {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 20px;
    color: #fff; /* White color for copyright text */
}

/* Ensure email link is white */
.footer-contact a {
    color: #fff;
}

.footer-contact a:hover {
    color: #f4f4f9; /* Light color on hover for contrast */
}

/* Responsive styling for footer */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center; /* Center align all items */
    }

    .footer-info,
    .footer-contact,
    .footer-links,
    .footer-social {
        text-align: center; /* Center text on mobile */
    }

    .footer-info,
    .footer-contact {
        margin-bottom: 20px; /* Increase margin for better spacing */
    }
}
/* Footer styling */
footer {
    background-color: #0b1c38; /* Same deep blue as header for unity */
    color: #fff; /* Ensures all text inside footer is white */
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-logo-img {
    max-width: 60px; /* Adjust the logo size */
    height: auto;
}

.footer-info,
.footer-contact {
    flex: 1;
    text-align: left;
    margin-bottom: 15px;
}

.footer-info p,
.footer-contact p {
    margin: 5px 0;
    color: #fff; /* Ensures all paragraphs inside these sections are white */
}

.footer-links {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-links a {
    color: #fff; /* White links by default */
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #f4f4f9; /* Light color on hover for contrast */
}

.footer-social {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.footer-social a {
    margin: 0 10px;
    display: inline-block;
}

.social-icon {
    width: 24px; /* Adjust icon size */
    height: 24px;
}

/* Ensure white color for copyright text */
.footer-copyright {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 20px;
    color: #fff; /* White color for copyright text */
}

/* Ensure email link is white */
.footer-contact a {
    color: #fff;
}

.footer-contact a:hover {
    color: #f4f4f9; /* Light color on hover for contrast */
}

/* Responsive styling for footer */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center; /* Center align all items */
    }

    .footer-info,
    .footer-contact,
    .footer-links,
    .footer-social {
        text-align: center; /* Center text on mobile */
    }

    .footer-info,
    .footer-contact {
        margin-bottom: 20px; /* Increase margin for better spacing */
    }
}

/* Responsive styling */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    nav {
        display: none; /* Hide navigation menu by default on mobile */
    }

    nav ul {
        flex-direction: column; /* Stack items vertically */
        width: 100%;
        background-color: #0b1c38;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 15px 20px;
    }

    /* Dropdown content styling for mobile */
    .dropdown-content {
        display: none; /* Initially hide dropdown content */
        position: relative; /* Dropdowns are shown inline */
        width: 100%;
        background-color: #0b1c38; /* Slightly darker background for dropdowns */
    }

    .dropdown.active .dropdown-content {
        display: block; /* Show dropdown when active class is added */
    }

    nav.active {
        display: block; /* Show the menu when active */
    }

    /* Hide logo when the menu is active */
    header.active .logo {
        display: none; /* Hide the logo when the menu is active */
    }
}

/* Apply Now Section */
/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.popup-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 30px 40px;
    text-align: center;
    color: white;
    width: 350px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.download-btn {
    display: inline-block;
    margin: 15px 0;
    padding: 12px 20px;
    background: #0b1c38;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.download-btn:hover {
    background: #45a049;
}

.close-btn {
    background: #f44336;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.close-btn:hover {
    background: #d32f2f;
}


/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .caption {
        bottom: 10px;
        left: 10px;
        max-width: 100%;
    }
}


/* Main content styling */
main {
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 1000px;
}

/* Teachers section styling */
.teachers {
    text-align: center;
}

.teachers h2 {
    color: #0b1c38;
    margin-bottom: 40px;
    font-size: 32px;
    text-transform: uppercase;
}

.teacher-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.teacher-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.teacher-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.teacher-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.teacher-card p {
    font-size: 16px;
    color: #555;
}

/* Responsive styling */
@media screen and (max-width: 768px) {
    .teacher-card {
        width: 100%;
        max-width: 300px;
    }
}

/* News Section Styling */
.news-section {
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 1000px;
}

.news-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    margin-bottom: 20px;
}

.news-image {
    width: 60%;
    padding-top: 0; /* This sets the height to be the same as the width */
    border-radius: 8px;
    object-fit: cover; /* Ensures the image covers the area while maintaining aspect ratio */
    position: relative; /* Required for positioning the image within the container */
}

.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.news-content {
    padding: 10px 0;
}

.news-heading {
    font-size: 24px;
    margin: 10px 0;
    color: #333;
}

.news-date {
    font-size: 14px;
    color: #777;
}

.news-description {
    font-size: 16px;
    color: #555;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.read-more-button {
    background-color: #0b1c38;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more-button:hover {
    background-color: #0b1c38;
}

.read-more-content {
    display: none;
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

.read-more-button.active + .read-more-content {
    display: block;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .news-heading {
        font-size: 20px;
    }


.read-more-button {
        padding: 8px 16px;
    }
}

/* General styles */
/* Header, Footer, and Navigation styles are the same as the rest of your site */

.events-section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.events-section h2 {
    color: #0b1c38;
    font-size: 30px;
    margin-bottom: 15px;
}

.event-intro {
    font-size: 18px;
    margin-bottom: 20px;
    font-style: italic;
}

/* Video Gallery */
.video-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.video-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 350px;
}

.video-item video {
    width: 100%;
    border-radius: 10px;
}

.video-item p {
    font-weight: bold;
    margin-top: 5px;
}

/* Image Gallery */
/* Event Gallery Styling */
.event-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 800px;
    margin: 20px auto;
}

.gallery-container {
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.event-image-box {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
}

.event-image-box img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.event-image-box p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* Navigation Buttons */
.gallery-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

.gallery-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .gallery-container {
        max-width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .video-gallery, .event-gallery {
        flex-direction: column;
        align-items: center;
    }
}


/* General Styling */

h1, h2, h3 {
    text-align: center;
    color: #0b1c38;
}

p {
    text-align: center;
    color: #555;
}

/* Contact Page Styling */
.contact-page {
    padding: 40px 20px;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex-basis: 30%;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-card.slide-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-card.active {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon img {
    width: 50px;
    height: auto;
    margin-bottom: 15px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #0b1c38;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #0b1c38;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0b1c38;
}

/* Map Section Styling */
.map-section {
    margin-top: 40px;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animations */
.contact-header h1 {
    animation: fadeIn 2s ease-in-out;
}

.contact-info .contact-card {
    animation: slideIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Styling */
@media screen and (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        flex-basis: 80%;
    }
}

@media screen and (max-width: 480px) {
    .contact-card {
        flex-basis: 100%;
    }

    .contact-icon img {
        width: 40px;
    }

    .submit-btn {
        padding: 10px;
        font-size: 16px;
    }
}

/* Styling for the header */
.gallery-header {
    text-align: center;
    background-color: #0b1c38;
    color: #ecf0f1;
    padding: 20px 0;
}

.gallery-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.gallery-header p {
    font-size: 20px;
    font-style: italic;
    color: #fff;
}

/* Styling for the gallery section */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background-color: #f7f7f7;
}

.gallery-item {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Load more button */
.load-more {
    text-align: center;
    margin-top: 30px;
}

.load-button {
    background-color: #0b1c38;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-button:hover {
    background-color: #1f618d;
}

/* Responsive styling */
@media screen and (max-width: 768px) {
    .gallery-item {
        width: 100%;
        max-width: 350px;
    }

    .gallery-header h1 {
        font-size: 36px;
    }

    .gallery-header p {
        font-size: 18px;
    }
}

/* Principals section styling */
.principals {
    text-align: center;
}

.principals h2 {
    color: #0b1c38;
    margin-bottom: 40px;
    font-size: 32px;
    text-transform: uppercase;
}

.principal-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.principal-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.principal-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.principal-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.principal-card p {
    font-size: 16px;
    color: #555;
}

/* Responsive styling */
@media screen and (max-width: 768px) {
    .principal-card {
        width: 100%;
        max-width: 300px;
    }
}

 /* General Page Styling */
 body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
}

h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 36px;
    color: #0b1c38;
}

/* Activity Section Styling */
.activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Individual Activity Card */
.activity-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-content {
    padding: 20px;
}

.activity-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #0b1c38;
}

.activity-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .activities {
        grid-template-columns: 1fr;
    }
}
/* Style the form container for responsive design */
.admissions iframe {
    width: 100%;
    height: auto;
    max-width: 100%;
    border: none;
    margin: 20px 0;
    box-sizing: border-box;
}

/* For larger screens (desktop) */
@media (min-width: 768px) {
    .admissions iframe {
        width: 640px;  /* Keep the default width on larger screens */
        height: 804px;
    }
}

/* For smaller screens (mobile) */
@media (max-width: 767px) {
    .admissions iframe {
        width: 100%;
        height: auto;
    }
}
/* Booking Section Styling */
.booking-section {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 40px 20px;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.booking-section h2 {
    color: #0b1c38;
    font-size: 28px;
    margin-bottom: 20px;
}

.booking-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.form-group {
    width: 100%;
    max-width: 500px;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.book-btn {
    background-color: #0b1c38;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.book-btn:hover {
    background-color: #3c6e8f;
}

.booking-section a {
    color: #0b1c38;
    text-decoration: underline;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .booking-section {
        padding: 30px 10px;
    }

    .form-group {
        max-width: 100%;
    }

    .book-btn {
        width: 100%;
    }
}
/* Digital Clock Styling */
.footer-clock {
    color: #f0f0f0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}

#clock {
    background-color: #717d91;
    padding: 8px 12px;
    border-radius: 5px;
    display: inline-block;
    letter-spacing: 2px;
}
h1, h2, h3 {
    color: #0f3675;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    animation: slideIn 1s ease-in-out forwards;
    opacity: 0;
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Optional: Underline Accent */
h1::after, h2::after, h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0b1c38; /* Golden accent */
    margin: 10px auto 0;
    border-radius: 2px;
    animation: fadeInLine 1.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}


