html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background-color: white;
}

.content {
    flex: 1;
}

footer {
    flex-shrink: 0;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

/* Styles for Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    color: #000;
    padding: 20px;
    position: relative; /* Add position relative */
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo img {
    width: 100px;
    height: 100px;
    margin-right: 5px;
}

.logo h1 {
    margin: 0;
}

.settings {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.line {
    width: 25px;
    height: 3px;
    background-color: #ab0606e8;
    margin: 3px 0;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
    position: relative;
}

/* Dropdown menu */
.nav-links li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.957);
    padding: 20px;
    width: 150px;
}

/* Mobile View */
@media screen and (max-width: 768px) {
    .logo .headi {
        text-align: center;
    }

    .nav-links li {
        background-color: #fdfdfdfc;
    }

    .nav-links li ul {
        position: static;
        display: block;
        background-color: #fdfdfdfc;
        padding: 0;
        width: 100%;
    }

    .nav-links li ul li {
        padding: 10px;
        margin-right: 20px;
    }

    .nav-links li ul li:last-child {
        border-bottom: none;
    }

    .nav-links li ul li a {
        color: #060000;
        text-decoration: none;
    }

    .nav-links li ul li a:hover {
        background-color: rgba(111, 108, 108, 0.1);
    }

    /* Mobile Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.9);
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        z-index: 1;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .settings {
        display: flex;
    }

    .logo {
        flex-direction: column;
        align-items: center;
    }

    .logo h1 {
        margin-top: 5px;
        line-height: 1.5;
    }

    /* Programs Dropdown */
    .programs .sub-menu {
        display: none;
        position: static;
        background-color: #ffffffa8;
        padding-left: 40px;
        width: 100%;
        align-items: right;
    }

    .programs.active .sub-menu {
        display: block;
    }

    .programs.active > a {
        color: #070000;
    }

    .programs.active:hover > a {
        color: #150101;
    }

    .programs.active .sub-menu li {
        padding: 10px 20px;
        border-bottom: 1px solid #fff;
    }

    .programs.active .sub-menu li:last-child {
        border-bottom: none;
    }

    .programs.active .sub-menu li a {
        color: #000000;
        text-decoration: none;
    }

    .programs.active .sub-menu li a:hover {
        background-color: rgba(161, 159, 159, 0.1);
    }
}

/* Desktop View */
@media screen and (min-width: 769px) {
    .nav-links li ul {
        display: none;
        z-index: 1;
    }

    .nav-links li:hover ul {
        display: block;
    }
}

.nav-links li:hover ul {
    display: block;
}

.nav-links li ul li {
    margin: 5px 0;
    z-index: 1;
}

.nav-links li a {
    color: #070000;
    text-decoration: none;
    z-index: 1;
}


/* Styles for Image Slider */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    justify-content: center; /* Center align slides horizontally */
}

.slide {
    
    width: 80%; /* Set the width of slides to 100% */
    height: 300px;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none; /* Hide all slides initially */
}

.active {
    display: block; /* Display only the active slide */
    opacity: 1;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.075);
    color: #0d66cd;
    border: none;
    cursor: pointer;
    padding: 20px;
    z-index: 1;
    height: 30em;
}

.prev {
    left: 5%;
}

.next {
    right: 5%;
}

/* Styles for Notification Panel */
.notification-panel {
    background-color: #fcd7d4;
    color: #fff;
     padding: 10px 20px;
    text-align: center;
}

/* Styles for About Us Panel */
.about-us {
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack sections vertically on mobile */
    padding: 10px 20px; /* Adjust padding as needed */
    box-sizing: border-box; /* Include padding in width calculation */
}

.about-content,
.principal-info {
    width: 100%; /* Full width initially on mobile */
    text-align: center; /* Align content to center */
}
.about-content p{text-align:Justify;}

.about-content h2 {
    margin-bottom: 10px;
    background-color:#b6f7fc;
}

.about-content p,
.principal-info p {
    font-size: 16px; /* Reduce font size for better readability on mobile */
    line-height: 1.5;
}

.about-content .btn {
    margin-top: 10px; /* Add some space above the button */
}

.principal-info img {
    max-width: 100%; /* Ensure the image doesn't exceed its container */
    margin: 0 auto; /* Center align the image */
}

/* Media Query for larger screens */
@media only screen and (min-width: 600px) {
    .about-us {
        flex-direction: row; /* Switch to horizontal layout on larger screens */
        align-items: flex-start; /* Align items to the top */
    }
    
    .about-content {
        width: 70%; /* Set width for the first section */
        margin-right: 20px; /* Add some space between sections */
        text-align: justify; /* Justify text on larger screens */
    }
    
    .principal-info {
        width: 30%; /* Set width for the second section */
        text-align: center; /* Align content to center */
        display: flex; /* Use flexbox for content alignment */
        flex-direction: column; /* Stack content vertically within the section */
        justify-content: flex-start; /* Align content to the top */
        padding-left: 20px; /* Add padding to the left within the section */
    }
}


/* Styles for Notifications Panel */
.containers {
    display: flex;
    justify-content: center;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 10px;
}

.notifications-containers {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 400px; /* Updated to 400px height */
    border: 1px solid #ccc;
}

.notificationss, .news-eventss {
    width: 48%;
    padding: 10px;
    box-sizing: border-box;
    height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-eventss h2,
.notificationss h2 {
    background-color: #b6f7fc;
    padding: 6px;
}

.news-eventss p {
    margin: 0;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Styling for the marquee element */
marquee {
    height: 100%; /* Ensure the marquee takes up the full height of the container */
    display: block; /* Block-level to ensure it stretches to the full container */
    line-height: 2; /* Adjust line height if needed */
    font-size: 18px; /* Optional font size for the scrolling text */
    color: #333; /* Optional text color for the marquee */
    text-align: left; /* Ensure text starts from the left side */
}

/* Adding view all button at the bottom of the sections */
.view-all {
    align-self: flex-end;
    margin-top: auto;
    background-color: #ab0606e8;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.view-all:hover {
    background-color: #ff5757;
}

/* Add styles for the view-all button */
.view-all-button {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #1e90ff;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
}

.view-all-button:hover {
    background-color: #5ba4fc;
}
@media (max-width: 767px) {
    .notifications-containers {
        flex-direction: column;
        align-items: center;
    }

    .notificationss, .news-eventss {
        width: 100%;
		padding: 10px;
    }

}


/* Styles for missionVision-container Panel */
.missionVision-container {
    display: flex;
    flex-direction: column;
}

.mission,
.news-events {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.mission h2,
.vision h2,
.mission p,
.vision p,
.mission .btn,
.vision .btn {
    margin-bottom: 10px;
}

/* For larger screens */
@media screen and (min-width: 768px) {
    .missionVision-container {
        flex-direction: row; /* Display sections side by side */
    }

    .mission,
    .vision {
        width: 40%; /* Each section takes 40% of the container width */
    }

    .mission {
        margin-right: 20px; /* Add some space between the sections */
    }
}

/* Styles for Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}
