body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #0275d8;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}


.gallery, .calendar {
    padding: 20px;
    background-color: white;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #0275d8;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* Calendar styles */
/* Calendar section */
.calendar {
    padding: 20px;
    background-color: white;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.calendar-image {
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto;
}

.calendar-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Calendar Image */
@media screen and (max-width: 768px) {
    .calendar-image {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .calendar-image img {
        width: 100%;
        height: auto;
    }
}



.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery-container img {
    max-width: 100%;
    width: calc(33.33% - 10px);
    height: auto;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

/* Add this to your existing styles.css */

.hero {
    position: relative;
    color: white;
    text-align: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero-background.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 80%;
    margin: auto;
}

.hero h2 {
    font-size: 2.5em;
    margin: 0;
}

.hero p {
    font-size: 1.5em;
    margin-top: 10px;
}

/* Responsive Hero */
@media screen and (max-width: 768px) {
    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.2em;
    }
}

/* Basic Responsive Layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #0275d8;
    color: white;
    padding: 10px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery-container img {
    width: calc(33.33% - 10px);
}

#calendar {
    max-width: 100%;
}

/* Responsive Layout Adjustments */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        margin: 5px;
    }

    nav a {
        padding: 2px;
        
    }

    .gallery-container img {
        width: calc(50% - 10px);
    }
}

@media screen and (max-width: 480px) {
    .gallery-container img {
        width: 100%;
    }

    .calendar-day {
        width: 100%;
        box-sizing: border-box;
    }
}

/* About Us Page Styles */
.about-us {
    padding: 20px;
    background-color: white;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.about-us h2 {
    text-align: center;
    margin-bottom: 20px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.history, .mission {
    margin-bottom: 20px;
}

.history h3, .mission h3 {
    margin-top: 0;
}

.team {
    text-align: center;
}

.team-member {
    display: inline-block;
    width: 100%;
    max-width: 200px;
    margin: 10px;
    text-align: center;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.team-member h4 {
    margin: 10px 0 5px;
}

.team-member p {
    margin: 0;
}

/* Responsive Layout Adjustments */
@media screen and (max-width: 768px) {
    .team-member {
        max-width: 150px;
    }
}

/* Active link styles */
nav ul li.active a {
    color: #283541; /* Highlight color */
    font-weight: bold;
    border-bottom: 2px solid #0f395e; /* Optional underline effect */
}

nav ul li a {
    color: white; /* Default link color */
    text-decoration: none;
}

nav ul li a:hover {
    color: #ddd; /* Hover effect */
}

/* Admissions Page Styles */
.admissions {
    padding: 20px;
    background-color: white;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.admissions h2 {
    text-align: center;
    margin-bottom: 20px;
}

.admissions-content {
    max-width: 800px;
    margin: 0 auto;
}

.admissions-content h3 {
    margin-top: 0;
}

.admissions-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.admissions-content .btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #0275d8;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.admissions-content .btn:hover {
    background-color: #025aa5;
}

.admissions-content .contact p {
    margin: 5px 0;
}

/* Responsive Layout Adjustments */
@media screen and (max-width: 768px) {
    .admissions-content .btn {
        font-size: 14px;
    }
}

/* Academics Page Styles */
.academics {
    padding: 20px;
    background-color: white;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.academics h2 {
    text-align: center;
    margin-bottom: 20px;
}

.academic-content {
    max-width: 800px;
    margin: 0 auto;
}

.academic-content h3 {
    margin-top: 0;
}

.academic-content p {
    margin: 10px 0;
}

.academic-content ul {
    list-style-type: none;
    padding: 0;
}

.academic-content ul li {
    margin-bottom: 10px;
}

.academic-content ul li a {
    color: #0275d8;
    text-decoration: none;
}

.academic-content ul li a:hover {
    text-decoration: underline;
}

/* Responsive Layout Adjustments */
@media screen and (max-width: 768px) {
    .academic-content {
        padding: 10px;
    }
}

/* News Page Styles */
.news {
    padding: 20px;
    background-color: white;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.news h2 {
    text-align: center;
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-bar input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    flex: 1;
}

.search-bar button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0275d8;
    color: white;
    border: 1px solid #0275d8;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #025aa5;
}

.news-articles {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.news-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
}

.news-item h3 {
    margin-top: 0;
}

.news-item .date {
    color: #888;
    font-size: 14px;
}

.news-item p {
    margin: 10px 0;
}

.news-item a {
    color: #0275d8;
    text-decoration: none;
}

.news-item a:hover {
    text-decoration: underline;
}

/* Responsive Layout Adjustments */
@media screen and (max-width: 768px) {
    .search-bar input, .search-bar button {
        font-size: 14px;
    }
}

.pswp__bg {
    background-color: rgba(0, 0, 0, 0.8);
}