/* 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: 900px;
    margin: 50px auto;
    background: #fff;
    padding: 40px 45px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

    /* Paragraph spacing and strong emphasis */
    .college-info p {
        margin-bottom: 1.6em;
        text-align: justify;
    }

    .college-info strong {
        color: #002147; /* deep maroon for legal seriousness */
        font-weight: 700;
    }

/* Responsive typography */
@media (max-width: 700px) {
    .college-info {
        padding: 30px 20px;
        font-size: 16px;
    }
}

/* Optional: subtle highlight on links or important texts */
.college-info a {
    color: #002147;
    text-decoration: none;
    border-bottom: 1.5px solid #002147;
    transition: all 0.3s ease;
}

    .college-info a:hover {
        color: #002147;
        border-bottom-color: #002147;
    }

.mission-vision-values {
    max-width: 900px;
    margin: 50px auto 70px auto;
    background: #fff;
    padding: 45px 50px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

    /* 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;
            }

/* Responsive */
@media (max-width: 700px) {
    .mission-vision-values {
        padding: 30px 25px;
        font-size: 16px;
    }

        .mission-vision-values h2 {
            font-size: 1.6rem;
        }
}

.acts-rules-regulations {
    max-width: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    line-height: 1.7;
    font-size: 18px;
    box-sizing: border-box;
}

    .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;
        }

@media (max-width: 768px) {
    .acts-rules-regulations {
        padding: 30px 20px;
        font-size: 16px;
    }

        .acts-rules-regulations h2 {
            font-size: 1.8rem;
        }

        .acts-rules-regulations h3 {
            font-size: 1.3rem;
        }
}

.college-campus {
    max-width: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    line-height: 1.7;
    font-size: 18px;
    box-sizing: border-box;
}

    .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;
    }

@media (max-width: 768px) {
    .college-campus {
        padding: 30px 20px;
        font-size: 16px;
    }

        .college-campus h2 {
            font-size: 1.8rem;
        }

        .college-campus h3 {
            font-size: 1.3rem;
        }
}

.reach-campus {
    max-width: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    line-height: 1.7;
    font-size: 18px;
    box-sizing: border-box;
}

    .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);
}

@media (max-width: 768px) {
    .reach-campus {
        padding: 30px 20px;
        font-size: 16px;
    }

        .reach-campus h2 {
            font-size: 1.8rem;
        }

        .reach-campus h3 {
            font-size: 1.3rem;
        }
}

.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: 900px;
    margin: 50px auto 70px auto;
    background: #fff;
    padding: 45px 50px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

    .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: 60px 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: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    line-height: 1.7;
    font-size: 18px;
    box-sizing: border-box;
}

    .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: 900px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    font-family: 'Georgia', serif;
    color: #1a1a1a;
    line-height: 1.8;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-radius: 12px;
    box-sizing: border-box;
}

    .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: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    line-height: 1.7;
    font-size: 18px;
    box-sizing: border-box;
}

    .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: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    color: #222;
    line-height: 1.7;
    font-size: 18px;
    box-sizing: border-box;
}

    .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: 900px;
    margin: 60px auto;
    background: #ffffff;
    padding: 40px;
    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.6;
}

    .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;
    }
