/* Social Media on Home Screen Reduce top gap */
#social-section {
    margin-top: 30px !important;
    background: #353c47;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
}

/* Dark-themed tabs */
.nav-tabs .nav-link {
    font-weight: bold;
    color: #ccc;
    background-color: #222;
    border: none;
}

    .nav-tabs .nav-link.active {
        background-color: #444 !important;
        color: #fff !important;
        border-bottom: 2px solid #f39c12;
    }

/* Remove border for tab content and keep padding */
.tab-content {
    border: none;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
}

/* Make Facebook/Twitter responsive */
.fb-page,
.twitter-timeline {
    width: 100% !important;
}

/* Reduce height on mobile */
@media (max-width: 768px) {
    .fb-page,
    .twitter-timeline {
        height: 450px !important;
    }
}
.tab-content {
    border: none;
    background: #fff;
    padding: 15px;
    border-radius: 4px;
}
.stats-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
     background: #f8f9fa;
    padding: 10px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.stat {
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    min-width: 90px;
    flex: 1 1 100px;
    max-width: 120px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .stat:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .stat h2 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: bold;
        color: #007bff;
        line-height: 1.2;
    }

    .stat p {
        margin: 3px 0 0;
        font-size: 0.75rem;
        color: #666;
    }

@media (max-width: 600px) {
    .stat {
        max-width: 100px;
    }

        .stat h2 {
            font-size: 1.1rem;
        }
}
.contact-icons i {
    margin-right: 8px;
}
/* Logo Styling */
.header-wrapper img {
    height: 150px;
    max-height: 160px;
    width: auto;
}

@media (max-width: 768px) {
    .header-wrapper img {
        height: 90px;
    }
}

/* Body Styling */
body {
    color: #2C2C2C;
    line-height: 1.5em;
    background: #353c47;
}

/* Navbar Styling */
.navbar {
    background-color: #002147 !important; /* Red background for navbar */
}

.navbar-nav .nav-link,
.dropdown-item {
    color: #fff !important; /* White text for menu items */
}

    .navbar-nav .nav-link:hover,
    .dropdown-item:hover {
        color: #002147 !important; /* Hover text color */
        background-color: #fff !important; /* Hover background color */
    }

/* Dropdown Menu */
.dropdown-menu {
    background-color: #2F72A8; /* Dark red background for dropdown */
    border: none;
}

/* Site Title and Tagline */
.site-title {
    color: #002147;
    font-weight: bold;
}

.site-tagline {
    color: #000;
}

/* Footer Styling */
footer.footer {
    background-color: #002147; /* Dark red footer */
    color: #fff;
}

/* Menu Item Spacing */
.navbar-nav {
    margin: 0 auto;
}

    .navbar-nav .nav-item {
        padding: 0 20px; /* Increased padding between menu items */
    }

/* Responsive Design - Mobile Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        text-align: center; /* Center align menu items in mobile */
    }

    .dropdown-menu {
        text-align: center; /* Center align dropdown items in mobile */
    }

    .navbar-nav .nav-item {
        padding: 10px 0; /* Adjust padding for mobile */
    }
}

.header-wrapper {
    background: linear-gradient(to bottom, #ffffff 60%, #4d8bbf 100%);
}

.collegebannertext h1,
.collegebannertext .h1 {
    font-size: 200% !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
}

.collegebannertext h2,
.collegebannertext h3,
.collegebannertext .h2,
.collegebannertext .h3 {
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: break-word;
}

.collegebannertext h2,
.collegebannertext .h2 {
    font-size: 120% !important;
}

.collegebannertext h3,
.collegebannertext .h3 {
    font-size: 110% !important;
}



.logo {
    width: 10%;
}

.collegebannertext {
    width: 90%;
}

.mySwiper .caption h2 {
    clear: none;
    color: rgb(255, 255, 255);
    display: block;
    font-family: 'Merriweather', 'serif';
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.mySwiper .caption p {
    color: rgb(255, 255, 255);
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 20px;
    font-weight: 300;
}

@media (max-width: 700px) {
    .logo {
        width: 20%;
    }

    .collegebannertext {
        width: 80%;
    }

        .collegebannertext h2,
        .collegebannertext .h2 {
            font-size: 80% !important;
        }

        .collegebannertext h3,
        .collegebannertext .h3 {
            font-size: 70% !important;
        }

        .collegebannertext h1,
        .collegebannertext .h1 {
            font-size: 120% !important;
        }

    .mySwiper .caption h2 {
        font-size: 18px;
        font-weight: 200;
    }

    .mySwiper .caption p {
        font-size: 12px;
        font-weight: 180;
    }
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: auto;
    }
}

.center-page {
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center */
    height: auto; /* Full viewport height */
    background: #fff;
}



.content-wrapper {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.news-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.news-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.news-card {
    background-color: #ffffff;
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-5px);
    }

    .news-card img {
        width: 100%;
        height: 180px;
        object-fit: contain;
    }

.news-content {
    padding: 15px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

@media (max-width: 992px) {
    .news-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .news-card {
        width: 100%;
    }
}


div.container.my-4:not(:empty) {
    background: #fff;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

div.container.my-4:empty {
    display: none;
}

.college-info {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .college-info h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }
    /* Paragraph spacing and strong emphasis */
    .college-info p {
        margin: 0;
        font-size: 1rem;
        line-height: 1.5;
    }

    .college-info strong {
        color: #002147;
        font-weight: 700;
    }



.mission-vision-values {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    /* Section headings */
    .mission-vision-values h2 {
        color: #002147;
        font-weight: 700;
        font-size: 2rem;
        margin-bottom: 18px;
        border-bottom: 3px solid #002147;
        padding-bottom: 6px;
        letter-spacing: 0.05em;
    }

    /* Paragraph styling */
    .mission-vision-values p {
        margin-bottom: 1.8em;
        text-align: justify;
        font-weight: 300;
        color: #333;
    }

    /* Values list styling */
    .mission-vision-values ul {
        list-style-type: disc;
        padding-left: 25px;
        color: #444;
        font-weight: 400;
    }

        .mission-vision-values ul li {
            margin-bottom: 12px;
            line-height: 1.5;
        }

            .mission-vision-values ul li strong {
                color: #002147;
            }



.acts-rules-regulations {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .acts-rules-regulations .note {
        margin-top: 30px;
        background-color: #fff3cd;
        border-left: 6px solid #ff9800;
        padding: 15px 20px;
        font-size: 16px;
        color: #856404;
        border-radius: 5px;
    }

    .acts-rules-regulations h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .acts-rules-regulations h3 {
        font-size: 1.5rem;
        color: #002147;
        margin-top: 30px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .acts-rules-regulations p {
        margin-bottom: 20px;
        text-align: justify;
        font-weight: 300;
        color: #333;
    }

    .acts-rules-regulations ul {
        list-style: disc;
        padding-left: 25px;
        margin-bottom: 30px;
    }

        .acts-rules-regulations ul li {
            margin-bottom: 12px;
            line-height: 1.5;
            font-weight: 400;
        }


.college-campus {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .college-campus .grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .college-campus .card {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 0 12px rgba(0,0,0,0.1);
        overflow: hidden;
        transition: transform 0.2s ease-in-out;
    }

        .college-campus .card:hover {
            transform: scale(1.02);
        }

        .college-campus .card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .college-campus .card p {
            padding: 15px;
            font-size: 16px;
            color: #2c3e50;
            text-align: center;
        }

    .college-campus h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .college-campus h3 {
        font-size: 1.5rem;
        color: #002147;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .college-campus p {
        margin-bottom: 22px;
        text-align: justify;
        font-weight: 300;
        color: #333;
    }



.reach-campus {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .reach-campus h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .reach-campus h3 {
        font-size: 1.5rem;
        color: #002147;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .reach-campus p {
        margin-bottom: 22px;
        text-align: justify;
        font-weight: 300;
        color: #333;
    }

.map-container {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.footer-link {
    color: #ccc;
    text-decoration: none;
}

    .footer-link:hover {
        color: #fff;
        text-decoration: underline;
    }

.site-footer__social i {
    margin-right: 10px;
    transition: transform 0.2s ease-in-out;
}

    .site-footer__social i:hover {
        color: #fff;
        transform: scale(1.2);
    }

.newsletter-form input {
    border: none;
    border-radius: 0;
}

.footer {
    font-family: 'Merriweather Sans', sans-serif;
    background-color: #111;
}

.swiper {
    width: 100%;
    height: auto;
    background: #030a3180;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 10px;
}

    .slide-content img {
        width: 70%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }

.caption {
    width: 30%;
    font-size: 1.2rem;
    padding: 10px;
    color: #ffffff;
    /*background-color: #f4f4f4;
  border-radius: 10px;*/
}

.swiper-button-next {
    right: 40px;
    /*background: url('/css/Images/next_slider.png') no-repeat 0 0 / cover;*/
}

    .swiper-button-next:hover {
        background: rgba(255, 255, 255, 0.4);
    }
/* Style the previous button */
.swiper-button-prev {
    right: 40px;
    /*background: url('/css/Images/prev_slider.png') no-repeat 0 0 / cover;*/
}

    .swiper-button-prev:hover {
        background: rgba(255, 255, 255, 0.4);
    }


@media (max-width: 768px) {
    .slide-content {
        flex-direction: column;
    }

    .caption {
        width: 100%;
        text-align: center;
    }

    .slide-content img {
        width: 100%;
    }
}

.terms-policies {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .terms-policies h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .terms-policies h3 {
        font-size: 1.5rem;
        color: #002147;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .terms-policies h4 {
        font-size: 1.2rem;
        color: #002147;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }


    .terms-policies p {
        margin-bottom: 1.8em;
        text-align: justify;
        font-weight: 300;
        color: #333;
    }

@media (max-width: 700px) {
    .terms-policies {
        padding: 30px 25px;
        font-size: 16px;
    }

        .terms-policies h2 {
            font-size: 1.6rem;
        }
}

.manager-message {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .manager-message h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

.message-body {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.message-text {
    flex: 1 1 60%;
    text-align: justify;
}

.manager-photo {
    flex: 1 1 35%;
    text-align: center;
}

    .manager-photo img {
        width: 100%;
        max-width: 300px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.manager-info {
    margin-top: 15px;
}

    .manager-info h4 {
        color: #0056b3;
        font-size: 1.3rem;
        margin: 10px 0 5px;
        font-weight: 600;
    }

    .manager-info p {
        margin: 0;
        font-size: 1rem;
        color: #444;
        line-height: 1.5;
    }

.admission-faq {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .admission-faq h2 {
        font-size: 2.4rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 40px;
        text-align: center;
        letter-spacing: 0.04em;
    }

    .admission-faq section h3 {
        font-size: 1.25rem;
        color: #002147;
        margin-top: 30px;
        margin-bottom: 8px;
        font-weight: 600;
        position: relative;
        padding-left: 24px;
    }

        .admission-faq section h3::before {
            content: "Q:";
            position: absolute;
            left: 0;
            color: #d6336c;
            font-weight: bold;
        }

    .admission-faq section p {
        margin-bottom: 22px;
        text-align: justify;
        font-weight: 300;
        color: #333;
        padding-left: 24px;
    }

        .admission-faq section p::before {
            content: "Ans:";
            font-weight: bold;
            color: #198754;
            margin-right: 5px;
        }

.scholarship-admission {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .scholarship-admission h2 {
        font-size: 2.2rem;
        margin-bottom: 24px;
        color: #002147;
        border-bottom: 2px solid #002147;
        padding-bottom: 6px;
    }

    .scholarship-admission .course h3 {
        font-size: 1.5rem;
        color: #d6336c;
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .scholarship-admission p {
        font-size: 1rem;
        color: #333;
        margin-bottom: 20px;
        text-align: justify;
    }

.college-committee {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .college-committee h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .college-committee h3 {
        font-size: 1.5rem;
        color: #002147;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .college-committee p {
        margin-bottom: 22px;
        text-align: justify;
        font-weight: 300;
        color: #333;
    }

    .college-committee ul {
        margin-left: 20px;
        margin-bottom: 30px;
    }

    .college-committee li {
        margin-bottom: 10px;
    }

.committee-item {
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: #f5f9ff;
    border-left: 4px solid #00509e;
    border-radius: 6px;
}

    .committee-item h4 {
        margin-top: 0;
        color: #002147;
        font-size: 1.2rem;
    }

    .committee-item p {
        margin: 8px 0 0;
        font-size: 1rem;
        color: #333;
    }

.faculty-page {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .faculty-page h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .faculty-page h3 {
        font-size: 1.5rem;
        color: #002147;
        margin-top: 35px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .faculty-page ul {
        margin-left: 20px;
        margin-bottom: 30px;
    }

    .faculty-page li {
        margin-bottom: 10px;
    }

.newsletter-page {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .newsletter-page h2 {
        text-align: center;
        color: #002147;
        font-size: 2rem;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 40px;
    }

.newsletter-entry {
    margin-bottom: 60px;
}

    .newsletter-entry h3 {
        color: #002147;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

.library-section {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .library-section h2 {
        font-size: 2.2rem;
        color: #002147;
        font-weight: 700;
        border-bottom: 3px solid #002147;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .library-section h3 {
        font-size: 1.5rem;
        color: #002147;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .library-section p,
    .library-section li {
        color: #333;
        font-weight: 300;
        margin-bottom: 20px;
        text-align: justify;
    }

    .library-section ul {
        list-style-type: disc;
        padding-left: 25px;
    }

.library-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .library-section {
        padding: 30px 20px;
        font-size: 16px;
    }

        .library-section h2 {
            font-size: 1.8rem;
        }

        .library-section h3 {
            font-size: 1.3rem;
        }

    .library-img {
        max-height: 200px;
    }
}

.placement-section {
    max-width: 1100px;
    margin: 0px auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

    .placement-section h2,
    .placement-section h3,
    .placement-section h4 {
        color: #1a237e;
        margin-top: 30px;
        border-left: 5px solid #3949ab;
        padding-left: 10px;
    }

    .placement-section p,
    .placement-section li,
    .placement-section table {
        margin-bottom: 16px;
    }

.placement-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.placement-section ul {
    list-style-type: square;
    padding-left: 20px;
}

.placement-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 20px;
}

    .placement-section table th, table td {
        border: 1px solid #ccc;
        padding: 8px 12px;
        text-align: left;
    }

    .placement-section table th {
        background-color: #e8eaf6;
        color: #1a237e;
        font-weight: bold;
    }

.placement-section .profile-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.placement-section .card {
    width: 280px;
    background-color: #f0f4ff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
}

    .placement-section .card img {
        width: 100%;
        height: auto;
        border-radius: 6px;
        margin-bottom: 10px;
    }

    .placement-section .card p {
        font-size: 15px;
        line-height: 1.5;
        margin: 0;
    }

.search-result {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.result-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.result-img {
    width: 100px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.result-info {
    flex: 1;
}

    .result-info h3 {
        margin: 0 0 8px;
        font-size: 18px;
        color: #800000;
    }

        .result-info h3 a {
            text-decoration: none;
            color: inherit;
        }

            .result-info h3 a:hover {
                text-decoration: underline;
            }

    .result-info p {
        margin: 0;
        color: #333;
    }

.search-page-style {
    margin-top: 20px;
}

    .search-page-style .search-box {
        display: flex;
        max-width: 600px;
        margin-bottom: 30px;
    }

    .search-page-style input[type="text"] {
        flex: 1;
        padding: 12px;
        font-size: 16px;
        border: 2px solid #800000;
        border-right: none;
        border-radius: 8px 0 0 8px;
        outline: none;
    }

    .search-page-style button {
        padding: 12px 18px;
        background-color: #800000;
        color: white;
        border: none;
        border-radius: 0 8px 8px 0;
        cursor: pointer;
        font-size: 16px;
    }

    .search-page-style .search-results {
        margin-top: 20px;
    }

    .search-page-style .result-item {
        background: #fff;
        padding: 15px 20px;
        margin-bottom: 15px;
        border-left: 4px solid #800000;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

        .search-page-style .result-item h3 {
            margin: 0 0 8px;
            font-size: 18px;
            color: #800000;
        }

        .search-page-style .result-item p {
            margin: 0;
            color: #333;
        }

        .search-page-style .result-item a {
            color: #0044cc;
            text-decoration: none;
        }

            .search-page-style .result-item a:hover {
                text-decoration: underline;
            }
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    padding: 10px;
}

    .search-container input[type="text"] {
        width: 400px;
        max-width: 90%;
        padding: 10px 15px;
        border: 2px solid #0f1c4d; /* deep navy from your navbar */
        border-radius: 8px;
        font-size: 16px;
        outline: none;
        color: #333;
        transition: border 0.2s ease-in-out;
    }

        .search-container input[type="text"]:focus {
            border-color: #1b3e85;
            box-shadow: 0 0 4px rgba(0, 60, 255, 0.3);
        }

    
    .search-container input[type="button"],
    .search-container button {
        padding: 10px 20px;
        background-color: #0f1c4d; /* Dark blue */
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out;
    }

        .search-container input[type="button"]:hover,
        .search-container button:hover {
            background-color: #1b3e85;
        }
.header-icons {
    gap: 1rem;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-input {
    width: 150px;
    padding: 2px 8px;
    font-size: 0.875rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-icon {
    border-style: none;
    border-color: inherit;
    border-width: medium;
    margin-left: -30px;
    background: none;
    color: #0056b3;
    cursor: pointer;
    width: 30px;
}

@media (max-width: 768px) {
    .search-input {
        width: 100px;
    }

    .header-icons {
        margin-top: 10px;
    }
}
.achievements-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: "Open Sans", sans-serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
}

    .achievements-section h2 {
        font-size: 2.2rem;
        color: #004080;
        font-weight: 700;
        border-bottom: 3px solid #004080;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .achievements-section h3 {
        font-size: 1.5rem;
        color: #004080;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .achievements-section p,
    .achievements-section li {
        color: #333;
        font-weight: 300;
        margin-bottom: 20px;
        text-align: justify;
    }

    .achievements-section ul {
        list-style-type: disc;
        padding-left: 25px;
    }

.achievement-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.highlight-quote {
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    color: #555;
    background: #fdf5f5;
    padding: 15px 20px;
    border-left: 4px solid #004080;
    margin: 30px 0;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .achievements-section {
        padding: 30px 20px;
        font-size: 16px;
    }

        .achievements-section h2 {
            font-size: 1.8rem;
        }

        .achievements-section h3 {
            font-size: 1.3rem;
        }

    .achievement-img {
        max-height: 220px;
    }
}
.syllabus-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: "Open Sans", sans-serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
}

    .syllabus-section h2 {
        font-size: 2.2rem;
        color: #004080;
        font-weight: 700;
        border-bottom: 3px solid #004080;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .syllabus-section h3 {
        font-size: 1.5rem;
        color: #004080;
        margin-top: 35px;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .syllabus-section p,
    .syllabus-section li {
        color: #333;
        font-weight: 300;
        margin-bottom: 20px;
        text-align: justify;
    }

    .syllabus-section ul {
        padding-left: 25px;
    }

.syllabus-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.highlight-quote {
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    color: #555;
    background: #f5f9ff;
    padding: 15px 20px;
    border-left: 4px solid #004080;
    margin: 30px 0;
    border-radius: 6px;
}

.syllabus-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.syllabus-list a {
    color: #004080;
    text-decoration: none;
    font-weight: 500;
}

    .syllabus-list a:hover {
        text-decoration: underline;
    }

@media (max-width: 768px) {
    .syllabus-section {
        padding: 30px 20px;
        font-size: 16px;
    }

        .syllabus-section h2 {
            font-size: 1.8rem;
        }

        .syllabus-section h3 {
            font-size: 1.3rem;
        }

    .syllabus-img {
        max-height: 220px;
    }
}
.download-link {
    margin-top: 10px;
    font-weight: 500;
    font-size: 1.05rem;
}

    .download-link a {
        color: #004080;
        text-decoration: none;
    }

        .download-link a:hover {
            text-decoration: underline;
        }

.syllabus-section h4 {
    font-size: 1.2rem;
    margin-top: 20px;
    color: #222;
    font-weight: 600;
}
.contact-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    font-family: "Open Sans", sans-serif;
    color: #222;
    font-size: 18px;
    line-height: 1.7;
    box-sizing: border-box;
}

    .contact-section h2 {
        font-size: 2.2rem;
        color: #22577A;
        font-weight: 700;
        border-bottom: 3px solid #22577A;
        padding-bottom: 10px;
        margin-bottom: 30px;
        text-align: center;
        letter-spacing: 0.05em;
    }

    .contact-section h3 {
        font-size: 1.4rem;
        color: #22577A;
        margin-top: 32px;
        margin-bottom: 12px;
        font-weight: 600;
    }

    .contact-section p,
    .contact-section li {
        color: #333;
        font-weight: 300;
        margin-bottom: 20px;
        text-align: justify;
    }

    .contact-section ul {
        padding-left: 25px;
    }

.contact-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.contact-map {
    margin: 20px 0;
    border-radius: 8px;
    min-height: 220px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #bbb;
        font-size: 1rem;
        font-family: inherit;
        transition: border-color 0.2s;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #22577A;
            outline: none;
        }

    .contact-form button {
        background: #22577A;
        color: #fff;
        font-size: 1.1rem;
        border: none;
        padding: 12px 20px;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
    }

        .contact-form button:hover {
            background: #163149;
        }

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 15px;
        font-size: 16px;
    }

        .contact-section h2 {
            font-size: 1.5rem;
        }

        .contact-section h3 {
            font-size: 1.1rem;
        }

    .contact-img,
    .contact-map {
        max-height: 170px;
    }
}
.contact-map {
    margin: 20px 0;
    border-radius: 8px;
    min-height: 220px;
    width: 100%;
    display: block;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
    max-width: 500px; /* or 100% for full width */
}

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        border-radius: 6px;
        border: 1px solid #bbb;
        font-size: 1rem;
        font-family: inherit;
        transition: border-color 0.2s;
        width: 100%; /* Ensures full width and alignment */
        box-sizing: border-box;
    }

    .contact-form textarea {
        resize: vertical;
        min-height: 100px;
        max-width: 100%;
    }

    .contact-form button {
        background: #22577A;
        color: #fff;
        font-size: 1.1rem;
        border: none;
        padding: 12px 20px;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
        width: fit-content; /* Button fits content, not full width */
        align-self: flex-start; /* Aligns button to start */
    }

        .contact-form button:hover {
            background: #163149;
        }
