﻿body {
    font-family: 'Segoe UI',sans-serif;
}

.top-bar {
    background: #0a2c5e;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-link {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.btn-admission {
    background: #f4b400;
    color: #000;
    padding: 6px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 15px !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 25px rgba(0,0,0,.15);
}

.footer {
    background: #0a2c5e;
    color: white;
    padding: 60px 0;
    margin-top: 50px;
}

    .footer a {
        color: white;
        text-decoration: none;
    }

.hero-img {
    height: 650px;
    object-fit: cover;
}

.carousel-caption {
    bottom: 35%;
}

    .carousel-caption h1 {
        font-size: 60px;
        font-weight: 700;
    }

.section-space {
    padding: 80px 0;
}

.section-title {
    color: #0a2c5e;
}

.achievement-section {
    background: #0a2c5e;
    color: #fff;
    padding: 70px 0;
}

    .achievement-section h2 {
        font-size: 50px;
    }

.principal-photo {
    width: 100%;
    border-radius: 20px;
}

.news-card {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #0a2c5e;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.facility-box {
    background: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.gallery-home-img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    margin: 10px;
    border-radius: 10px;
}

.cta-section {
    background: #f4b400;
    padding: 80px 0;
}

.main-navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: #222;
    padding: 25px 15px !important;
}

.mega-dropdown {
    position: static;
}

/* Mega Menu */
.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    padding: 30px;
    border: none;
    border-radius: 0;
    background: #0a2c5e;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

    /* Mega Menu Headings */
    .mega-menu h6 {
        color: #f4b400;
        font-weight: 600;
        margin-bottom: 15px;
    }

    /* Mega Menu Links */
    .mega-menu a {
        display: block;
        padding: 10px 15px;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        transition: all .3s ease;
    }

        /* Mega Menu Hover */
        .mega-menu a:hover {
            background: #f4b400;
            color: #0a2c5e;
        }

/* Normal Dropdown */
.dropdown-menu {
    background: #0a2c5e;
    border: none;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

    /* Normal Dropdown Links */
    .dropdown-menu .dropdown-item {
        color: #fff;
        padding: 10px 18px;
        transition: all .3s ease;
    }

        /* Normal Dropdown Hover */
        .dropdown-menu .dropdown-item:hover,
        .dropdown-menu .dropdown-item:focus {
            background: #f4b400;
            color: #0a2c5e;
        }

/* Desktop Hover */
@media (min-width:992px) {

    .mega-dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Mobile */
@media (max-width:991px) {

    .mega-menu {
        width: auto;
        padding: 15px;
        box-shadow: none;
        border-radius: 6px;
    }
}
.hero-wrapper {
    position: relative;
}

.hero-img {
    height: 750px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
}

.carousel-caption {
    bottom: 25%;
    z-index: 2;
}

    .carousel-caption h1 {
        font-size: 70px;
        font-weight: 800;
        line-height: 1.1;
    }

    .carousel-caption p {
        font-size: 22px;
        margin-top: 20px;
    }

.hero-tag {
    background: #f4b400;
    color: #000;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
}

@media(max-width:768px) {
    .hero-img {
        height: 500px;
    }

    .carousel-caption h1 {
        font-size: 36px;
    }

    .carousel-caption p {
        font-size: 16px;
    }
}

.counter-section {
    background: #0a2c5e;
    color: #fff;
    padding: 70px 0;
}

    .counter-section h2 {
        font-size: 55px;
        font-weight: 700;
    }

.news-ticker {
    background: #f4b400;
    color: #000;
    font-weight: 600;
    padding: 8px;
}

.whatsapp-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 9999;
    text-decoration: none;
}

.highlights-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.highlight-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    height: 100%;
}

    .highlight-card h3 {
        color: #0a2c5e;
        margin-bottom: 25px;
    }

.news-item-modern {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    min-width: 60px;
    background: #0a2c5e;
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
}

.principal-thumb {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

    .achievement-list li {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

.why-bps-section {
    padding: 90px 0;
}

.why-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
    height: 100%;
}

    .why-card:hover {
        transform: translateY(-10px);
    }

    .why-card i {
        font-size: 55px;
        color: #0a2c5e;
        margin-bottom: 20px;
    }

    .why-card h4 {
        margin-bottom: 15px;
        color: #0a2c5e;
    }

.gallery-preview {
    padding: 90px 0;
    background: #f8f9fa;
}

.gallery-card {
    overflow: hidden;
    border-radius: 15px;
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: .4s;
}

    .gallery-img:hover {
        transform: scale(1.08);
    }

/* FOOTER */

.footer-main {
    background: #0a2c5e;
    color: #fff;
    padding: 70px 0 40px;
}

    .footer-main h4,
    .footer-main h5 {
        color: #fff;
        margin-bottom: 20px;
    }

    .footer-main p {
        color: rgba(255,255,255,.85);
    }

    .footer-main ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .footer-main ul li {
            margin-bottom: 10px;
        }

            .footer-main ul li a {
                color: rgba(255,255,255,.85);
                text-decoration: none;
                transition: .3s;
            }

                .footer-main ul li a:hover {
                    color: #f4b400;
                    padding-left: 5px;
                }

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: .3s;
}

    .social-icons a:hover {
        background: #f4b400;
        color: #000;
    }

.footer-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

.copyright {
    background: #081f45;
    color: #fff;
    padding: 15px 0;
    font-size: 14px;
}

@media(max-width:768px) {

    .copyright {
        text-align: center;
    }

        .copyright .text-end {
            text-align: center !important;
            margin-top: 10px;
        }
}

.page-banner {
    background: #0a2c5e;
    color: #fff;
    padding: 90px 0;
    text-align: center;
}

    .page-banner h1 {
        font-size: 48px;
        font-weight: 700;
    }

.message-photo-box {
    text-align: center;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.message-photo {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.message-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .message-box h2 {
        color: #0a2c5e;
        margin-bottom: 25px;
    }

    .message-box p {
        line-height: 1.9;
        margin-bottom: 18px;
        color: #444;
    }

.quote-section {
    background: #123c7c;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    border-bottom: 4px solid #f4b400;
}

.footer {
    background: #071f45;
}

    .quote-section h2 {
        font-size: 38px;
        font-weight: 300;
        max-width: 900px;
        margin: auto;
    }

.vm-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

    .vm-box h2 {
        color: #0a2c5e;
        margin-bottom: 25px;
    }

    .vm-box i {
        color: #f4b400;
        margin-right: 10px;
    }

    .vm-box p,
    .vm-box li {
        line-height: 1.9;
        color: #444;
    }

    .vm-box ul {
        padding-left: 20px;
    }

.value-card {
    text-align: center;
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s;
    height: 100%;
}

    .value-card:hover {
        transform: translateY(-8px);
    }

    .value-card i {
        font-size: 55px;
        color: #0a2c5e;
        margin-bottom: 20px;
    }

    .value-card h4 {
        margin-bottom: 15px;
        color: #0a2c5e;
    }

.contact-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    height: 100%;
}

    .contact-card h3 {
        color: #0a2c5e;
    }

    .contact-card i {
        color: #0a2c5e;
        margin-right: 10px;
    }

.admission-box {
    background: #f4b400;
    padding: 20px;
    border-radius: 15px;
    margin-top: 25px;
    text-align: center;
}

    .admission-box h4 {
        margin: 0;
        font-weight: 700;
    }

.process-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    height: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #0a2c5e;
    color: #fff;
    border-radius: 50%;
    margin: auto;
    margin-bottom: 20px;
    line-height: 60px;
    font-size: 24px;
    font-weight: 700;
}

.document-list {
    list-style: none;
    padding: 0;
}

    .document-list li {
        padding: 15px;
        margin-bottom: 10px;
        background: #f8f9fa;
        border-left: 5px solid #0a2c5e;
        border-radius: 5px;
    }

.download-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* Academics page */

.academic-link {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

    .academic-link:hover {
        color: inherit;
    }

.academic-wing-card {
    min-height: 310px;
}

    .academic-wing-card p {
        color: #444;
        margin-bottom: 0;
    }

.academic-subject-list li {
    font-weight: 600;
}

@media(max-width:991px) {
    .academic-wing-card {
        min-height: auto;
    }
}

.facility-box i {
    font-size: 40px;
    color: #0a2c5e;
    display: block;
    margin-bottom: 15px;
}

.facility-box h4 {
    color: #0a2c5e;
    margin: 0;
    font-size: 20px;
}

.download-icon {
    color: #0a2c5e;
    display: block;
    font-size: 50px;
    margin-bottom: 20px;
}

.document-list a {
    color: #0a2c5e;
    font-weight: 600;
    text-decoration: none;
}

    .document-list a:hover {
        color: #0d6efd;
    }

.video-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    overflow: hidden;
}

    .video-card h4 {
        color: #0a2c5e;
        margin: 0;
        padding: 20px;
    }

.event-card {
    min-height: 300px;
}

.result-table thead {
    background: #0a2c5e;
    color: #fff;
}

.result-table th,
.result-table td {
    text-align: center;
    vertical-align: middle;
}

.video-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    overflow: hidden;
}

    .video-card h4 {
        color: #0a2c5e;
        margin: 0;
        padding: 20px;
    }

/* Gallery Lightbox */

.lightbox-img {
    cursor: pointer;
}

.lightbox-modal .modal-content {
    background: transparent;
    border: 0;
}

.lightbox-modal .modal-body {
    padding: 0;
}

.lightbox-modal img {
    border-radius: 15px;
    width: 100%;
}

.gallery-section-title {
    color: #0a2c5e;
    font-weight: 700;
    margin-bottom: 30px;
}

.gallery-card {
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.video-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    overflow: hidden;
    height: 100%;
}

    .video-card video {
        display: block;
        height: 330px;
        object-fit: cover;
        background: #000;
    }

    .video-card h4 {
        color: #0a2c5e;
        margin: 0;
        padding: 20px;
    }

.result-gallery-card {
    overflow: hidden;
}

.result-caption {
    background: #fff;
    color: #0a2c5e;
    font-size: 18px;
    font-weight: 700;
    padding: 18px;
    text-align: center;
}

@media(min-width:992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown:hover > .nav-link {
        color: #0a2c5e;
    }
}

/* Premium colorful cards */

.row > div:nth-child(6n+1) .why-card,
.row > div:nth-child(6n+1) .process-card,
.row > div:nth-child(6n+1) .download-box {
    border-top: 6px solid #0a2c5e;
}

.row > div:nth-child(6n+2) .why-card,
.row > div:nth-child(6n+2) .process-card,
.row > div:nth-child(6n+2) .download-box {
    border-top: 6px solid #f4b400;
}

.row > div:nth-child(6n+3) .why-card,
.row > div:nth-child(6n+3) .process-card,
.row > div:nth-child(6n+3) .download-box {
    border-top: 6px solid #198754;
}

.row > div:nth-child(6n+4) .why-card,
.row > div:nth-child(6n+4) .process-card,
.row > div:nth-child(6n+4) .download-box {
    border-top: 6px solid #0dcaf0;
}

.row > div:nth-child(6n+5) .why-card,
.row > div:nth-child(6n+5) .process-card,
.row > div:nth-child(6n+5) .download-box {
    border-top: 6px solid #dc3545;
}

.row > div:nth-child(6n+6) .why-card,
.row > div:nth-child(6n+6) .process-card,
.row > div:nth-child(6n+6) .download-box {
    border-top: 6px solid #6f42c1;
}

.row > div:nth-child(6n+1) .why-card i {
    color: #0a2c5e;
}

.row > div:nth-child(6n+2) .why-card i {
    color: #f4b400;
}

.row > div:nth-child(6n+3) .why-card i {
    color: #198754;
}

.row > div:nth-child(6n+4) .why-card i {
    color: #0dcaf0;
}

.row > div:nth-child(6n+5) .why-card i {
    color: #dc3545;
}

.row > div:nth-child(6n+6) .why-card i {
    color: #6f42c1;
}

.row > div:nth-child(6n+1) .why-card {
    background: #f3f7ff;
}

.row > div:nth-child(6n+2) .why-card {
    background: #fff8e1;
}

.row > div:nth-child(6n+3) .why-card {
    background: #f0fff7;
}

.row > div:nth-child(6n+4) .why-card {
    background: #eefcff;
}

.row > div:nth-child(6n+5) .why-card {
    background: #fff3f3;
}

.row > div:nth-child(6n+6) .why-card {
    background: #f7f1ff;
}

/* Vision Mission colorful cards */

.vm-box {
    border-top: 6px solid #0a2c5e;
}

.row > div:nth-child(2n+1) .vm-box {
    border-top-color: #0a2c5e;
}

.row > div:nth-child(2n+2) .vm-box {
    border-top-color: #f4b400;
}

.row > div:nth-child(6n+1) .value-card {
    border-top: 6px solid #0a2c5e;
}

.row > div:nth-child(6n+2) .value-card {
    border-top: 6px solid #f4b400;
}

.row > div:nth-child(6n+3) .value-card {
    border-top: 6px solid #198754;
}

.row > div:nth-child(6n+4) .value-card {
    border-top: 6px solid #0dcaf0;
}

.row > div:nth-child(6n+5) .value-card {
    border-top: 6px solid #dc3545;
}

.row > div:nth-child(6n+6) .value-card {
    border-top: 6px solid #6f42c1;
}

.row > div:nth-child(6n+1) .value-card i {
    color: #0a2c5e;
}

.row > div:nth-child(6n+2) .value-card i {
    color: #f4b400;
}

.row > div:nth-child(6n+3) .value-card i {
    color: #198754;
}

.row > div:nth-child(6n+4) .value-card i {
    color: #0dcaf0;
}

.row > div:nth-child(6n+5) .value-card i {
    color: #dc3545;
}

.row > div:nth-child(6n+6) .value-card i {
    color: #6f42c1;
}

.facility-home-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    overflow: hidden;
    height: 100%;
    transition: .3s;
}

    .facility-home-card:hover {
        transform: translateY(-8px);
    }

    .facility-home-card img {
        width: 100%;
        height: 190px;
        object-fit: cover;
    }

    .facility-home-card h4 {
        color: #0a2c5e;
        font-size: 20px;
        margin: 0;
        padding: 20px;
        text-align: center;
    }

.facility-home-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    overflow: hidden;
    height: 100%;
    transition: .3s;
}

    .facility-home-card:hover {
        transform: translateY(-8px);
    }

    .facility-home-card img {
        display: block;
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .facility-home-card h4 {
        color: #0a2c5e;
        font-size: 22px;
        font-weight: 700;
        margin: 0;
        padding: 20px;
        text-align: center;
    }

