/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

nav {
    background-color: #fff;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    user-select: none;
}

.logo span {
    font-size: 1.5em;
    font-weight: bold;
}

.submenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.submenu ul li {
    margin: 0 15px;
    position: relative;
}

.submenu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    display: inline-block;
    transition: transform 0.2s;
}

.submenu ul li a:hover {
    text-decoration: underline;
}

.submenu ul li a:active {
    transform: scale(0.95);
}

.toggle-button {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

.secondMenu {
    background: rgba(221, 221, 221, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 0;
    user-select: none;
}

.secondMenu .submenu ul {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: flex-start;
    }
    .submenu ul {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    .submenu ul li {
        margin: 10px 0;
    }
    .toggle-button {
        display: block;
    }

    .secondMenu .submenu ul {
        flex-direction: column;
        align-items: flex-start;
    }
}

.content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

h2 {
    margin-top: 0;
    
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

section {
    margin-bottom: 40px;
}

/* Mission Section */
#mission {
    height: 100vh;
    position: relative;
    text-align: center;
    color: white;
    padding: 50px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
}

#mission h2 {
    margin-bottom: 20px;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

/* Faculty Section */
#Faculty {
    text-align: center;
    margin: 20px;
    font-family: "Poppins", sans-serif;
    width: 98%;
}

.faculty-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.faculty-member {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 100%;
    padding: 30px;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.faculty-member-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
}

.faculty-member-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.faculty-member-info {
    margin-top: 10px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faculty-member {
        max-width: 100%;
    }
    .faculty-member {
        flex-direction: column;
        max-width: 400px;
       
    }
}
#Maps{
    text-align: center;
}
.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    height: 100vh;

}

.map-container iframe {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


#Gallery{
    width: 100%;
    height: auto;
    text-align: center;
}
/* Gallery styles */
.gallery-container {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;

}

.gallery-slide img {
    width: 100%;
    height: 100%;  
    object-fit: contain;
    flex-shrink: 0;
}


.prev, .next {
    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: 10;
    transition: background-color 0.3s;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}



button{
    margin: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}
#showInquiryForm {
   
    cursor: pointer;
}

.form-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

h2 {
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
}

button[type="submit"], button#cancelButton {
    width: 48%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button[type="submit"] {
    background-color: #28a745;
    color: white;
}

button#cancelButton {
    background-color: #dc3545;
    color: white;
}
button#cancelButton:active{
    background-color: #ff0019;
}

button[type="submit"]:active{
    background-color: #179936;

}
.dialog {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    z-index: 1000;
    width: 80%;
    max-width: 400px;
    color: white;
}

.dialog .close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: white;
    font-size: 20px;
}




@media (max-width: 768px) {
    .form-container {
        margin: 20px;
        box-shadow: none;
    }
}


/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-section h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.footer-section p,
.footer-section ul,
.footer-section a {
    font-size: 1em;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section .social a {
    font-size: 1.5em;
    margin-right: 10px;
}

.footer-section .social a:hover {
    color: #1da1f2; /* Twitter color for example */
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: #ccc;
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin: 20px 0;
        text-align: center;
    }

    .footer-section p,
    .footer-section ul,
    .footer-section a {
        text-align: center;
    }
}

.about-section {
    /* background: linear-gradient(to right, #1c92d2, #f2fcfe); */
    color: #333;
    padding: 50px 20px;
    text-align: center;
}
.about-section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #292828;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.about-section p {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #d03f3f;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.social-icons a {
    color: #6354eb;
    font-size: 1.3em;
    transition: transform 0.3s; 
}
.social-icons a:hover {
    transform: scale(1.2);
}




.login-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.login-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.login-form h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}

.form-group button:hover {
    background-color: #0056b3;
}

#loginMessage {
    color: red;
    text-align: center;
}

#submitLoginForm{
    display: block;
    width: 90%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    margin-top: 10px;
}
#submitLoginForm1{
    display: block;
    width: 90%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    margin-top: 10px;
}
#closeLoginForm {
    display: block;
    width: 90%;
    padding: 10px;
    background-color: #dc3545;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    margin-top: 10px;
}
#closeLoginForm1{
    display: block;
    width: 90%;
    padding: 10px;
    background-color: #dc3545;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    margin-top: 10px;
}
#closeLoginForm:hover {
    background-color: #c82333;
}

#admission {
    background-color: #f2f2f2;
    padding: 50px 20px;
    text-align: center;
}

.admission-container {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

.admission-container h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #0066ff;
}

.admission-container p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.section {
    margin-top: 40px;
    text-align: left;
}

.section h3 {
    font-size: 1.8em;
    color: #0066ff;
    margin-bottom: 10px;
}

.section p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.section ul, .section ol {
    margin-top: 10px;
    margin-bottom: 20px;
}

.section ul li, .section ol li {
    margin-bottom: 8px;
}

.testimonial {
    margin-top: 20px;
}

.testimonial blockquote {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial cite {
    font-weight: bold;
}

.cta {
    margin-top: 40px;
}

.cta p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta a.button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #0066ff;
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta a.button:hover {
    background-color: #0047b3;
}


/* Notice board styles */
.notice-board {
    position: relative;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    z-index: 1000; /* Ensure it's above other content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Drop shadow for depth */
}

.notice-content {
    width: 95%;
    margin: 0 auto;
    padding: 10px;
}

.notice-text {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

/* Marquee animation styles */
@keyframes scroll {
    0% {
        transform: translateY(30%);
        opacity: 100%;
    
    }
    100% {

        transform: translateY(0);
        opacity: 100%;
    }
}

.notice-content marquee {
    animation: scroll 5s ease-in-out linear infinite; /* Adjust duration and easing as needed */
}

/* Marquee Section */
.marquee {
    background-color: #007bff;
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    font-size: 1.7em;
}

.marquee-content {
    display: inline-block;
   
}


.container {
    max-width: 960px;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #333;
    user-select: none;
}

h3 {
    margin-top: 20px;
    font-size: 1.8em;
    color: #007bff; /* Blue color for category headings */
    user-select: none;
}

.courses {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.course {
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: calc(50% - 20px); /* Two-column layout, adjust as needed */
}

.course h4 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 10px;
}

.course p {
    font-size: 1em;
    color: #666;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .course {
        width: 100%; /* Full-width on smaller screens */
    }
    .courses {
        display: inline-flex;
        flex-wrap: wrap;
        gap: 20px;
    }
}





.community-overview {
    text-align: center;
    margin-bottom: 30px;
}

.community-features {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
}

.feature {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-basis: calc(50% - 20px); /* Two-column layout */
}

.testimonials {
    margin-top: 30px;
}

.testimonial {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .feature {
        flex-basis: 100%; /* Full-width on smaller screens */
    }
    .community-features {
       
        flex-wrap: wrap;
        
    }
    
}