/* -----COMMON STYLES-----*/
html {
    font-size: 16px;
}
:root {
    --primary: #0d6efd;
    --secondary: #00b894;
    --accent: #ffc107;
    --dark: #002147;
    --light: #f8f9fa;
}

body {
    font-family: 'Segoe UI',sans-serif;
    /* background-color: #d7e8f8; */
    background-image: url('../images/body-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "Times New Roman", Times, serif;
}

h1, h2, h3, h4, h5 {
    font-family: "Times New Roman", Times, serif;
}

p {
    font-family: 'Roboto', sans-serif;
}
/*----------TOP BAR----------*/

.top-bar {
    background: #087099;
    color: #fff;
    padding: 2px 0;
    font-size: 14px;
}

.top-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.font-controls button {
    width: 25px;
    height: 23px;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #002147;
    font-weight: bold;
    margin-left: 3px;
    cursor: pointer;
    transition: .3s;
}

.font-controls button:hover {
    background: #ffc107;
    color: #000;
}

.phone {
    white-space: nowrap;
}

/*----------NAVIGATION BAR----------*/
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #0C3C6A;
}
.nav-link {
    color: #fff;
    font-size:14px;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 17px;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.navbar-brand img {
    height: 55px;
}

.hero-slider img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}
.page-banner {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}
.about-banner {
    background-image: url('../images/banner/about-banner.jpg');
}
.faculty-banner {
    background-image: url('../images/banner/faculty-banner.jpg');
}

.gallery-banner {
    background-image: url('../images/banner/gallery-banner.jpg');
}

.courses-banner {
    background-image: url('../images/banner/courses-banner.jpg');
}

.contact-banner {
    background-image: url('../images/banner/contact-banner.jpg');
}

.notification-banner {
    background-image: url('../images/banner/notification-banner.jpg');
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d6efd;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    width: 70px;
    height: 4px;
    background: #171a1e;
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-radius: 5px;
}

/*----------Slider----------*/
.slider-content {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}
/*----------Statistics Section----------*/
.statistics-section {
    background: #f8f9fa;
}

.circle-box {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    transition: .4s;
}

    .circle-box:hover {
        transform: translateY(-10px);
    }

.circle-content {
    text-align: center;
}

    .circle-content h2 {
        margin-bottom: 10px;
        font-size: 34px;
        font-weight: 700;
    }

    .circle-content i {
        font-size: 45px;
    }

/* Colors */
.student {
    background: linear-gradient(135deg,#0ecdeb,#7934e8);
}

.placement {
    background: linear-gradient(135deg,#0483a3,#20c997);
}

.faculty {
    background: linear-gradient(135deg,#2bcc0f,#e361e6);
}

.hospital {
    background: linear-gradient(135deg,#198754,#20c997);
}

/*----------Principal Image----------*/
.principal-img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
/*----------About Section----------*/
.section-bg-skyblue {
    background-color: #d7e8f8;
    ;
}



.bg-gradient-blue {
    background: linear-gradient(135deg,#0d6efd,#00b894);
    color: #fff;
}

.custom-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    transition: 0.4s;
}

    .custom-card:hover {
        transform: translateY(-10px);
    }

.btn-custom {
    background: #ffc107;
    border: none;
    color: #000;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
}

/*----------courses----------*/
.courses-section {
    background: linear-gradient(135deg, #f8f9fa, #e9f3ff);
}


.course-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 420px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: .4s;
}

    .course-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .5s;
    }

.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 109, 142, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.course-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.course-overlay h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.course-card:hover {
    transform: translateY(-10px);
}

    .course-card:hover img {
        transform: scale(1.1);
    }
/*----------achievement----------*/
.achievement-card,
.faculty-card,
.facility-card {
    transition: 0.4s;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.achievement-card:hover,
.faculty-card:hover,
.facility-card:hover {
    transform: translateY(-10px);
}

/*----------facility----------*/
.facility-card {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
}
    .facility-card h5 {
        color: #0d6efd;
    }
    .facility-card img {
        height: 220px;
        object-fit: cover;
    }

    .facility-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }




.faculty-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: all .4s ease;
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

.faculty-img {
    width: 98%;
    height: 61%;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #0d6efd;
    margin-bottom: 25px;
}

.faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faculty-content h4 {
    font-weight: 200;
    margin-bottom: 5px;
    color: #222;
}

.designation {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 15px;
    font-size: 14px;
}

.faculty-content p {
    color: #666;
    margin-bottom: 20px;
}

.faculty-social a {
    width: 40px;
    height: 40px;
    background: #f1f5ff;
    color: #0d6efd;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    transition: .3s;
    text-decoration: none;
}

    .faculty-social a:hover {
        background: #0d6efd;
        color: #fff;
    }



.facility-icon {
    font-size: 45px;
    color: #0d6efd;
}

.notice-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
}
/*---------Faculty page-----------*/
.page-faculty-img {
    width: 98%;
    height: 61%;
    margin: auto;
    border-radius: 10%;
    overflow: hidden;
    border: 6px solid #0d6efd;
    margin-bottom: 25px;
}

.page-faculty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ----Gallery----- */

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.gallery img {
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}
/* ----Footer----- */
.footer {
    background: #0b1f3a;
    color: #fff;
}

.footer-left img {
    border-radius: 15px;
}

.footer h4,
.footer h5 {
    color: #fff;
}

.footer p {
    color: #d9d9d9;
    line-height: 1.8;
}

.footer-title {
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

    .footer-title::after {
        content: "";
        width: 50px;
        height: 3px;
        background: #0d6efd;
        position: absolute;
        left: 0;
        bottom: -8px;
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #d9d9d9;
        text-decoration: none;
        transition: .3s;
    }

        .footer-links a:hover {
            color: #0d6efd;
            padding-left: 8px;
        }

.footer-map iframe {
    border-radius: 15px;
}

.footer-bottom {
    background: #08172d;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.1);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: .3s;
}

    .social-link:hover {
        background: #0d6efd;
        color: #fff;
        transform: translateY(-4px);
    }

@media(max-width:768px) {
    .logo {
        height: 45px;
    }

    .brand-name {
        font-size: 24px;
    }

    .navbar-toggler {
        border: none;
        box-shadow: none !important;
    }

    .navbar-collapse {
        margin-top: 15px;
         background: #02253e;
        border-radius: 10px;
        padding: 10px;
    }

    .hero-slider img {
        height: 300px;
    }

    .slider-content h1 {
        font-size: 24px;
    }
    /*----------Statistics Section----------*/
    .circle-box {
        width: 120px;
        height: 120px;
    }

    .circle-content h2 {
        font-size: 24px;
    }

    .circle-content i {
        font-size: 30px;
    }

    .statistics-section h6 {
        font-size: 14px;
    }
    .page-banner {
        height: 250px;
    }

    .principal-card img {
        height: 300px;
    }

    .faculty-card img {
        height: 250px;
    }
}
/*----------ABOUT US PAGE CSS---------------*/


.vision-box,
.mission-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    height: 100%;
}

.value-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    transition: .3s;
    height: 100%;
}

    .value-card:hover {
        transform: translateY(-10px);
    }

    .value-card i {
        font-size: 45px;
        color: #0d6efd;
        margin-bottom: 20px;
    }
/*----------FACULTY CSS---------------*/
/*----------COURSES CSS---------------*/
.course-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    transition: .3s;
    overflow: hidden;
}

    .course-card:hover {
        transform: translateY(-10px);
    }

.course-icon {
    font-size: 55px;
    color: #0d6efd;
}
/*----------COURSES PAGE CSS---------------*/
.notification-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: .3s;
}

    .notification-card:hover {
        transform: translateY(-5px);
    }

.notification-date {
    width: 90px;
    height: 90px;
    background: #0d6efd;
    color: #fff;
    border-radius: 15px;
    text-align: center;
    padding-top: 15px;
    font-weight: bold;
}

    .notification-date h3 {
        margin: 0;
        font-size: 30px;
    }

.download-btn {
    border-radius: 30px;
}

/*----------CONTACT PAGE CSS---------------*/
.contact-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    height: 100%;
}

.contact-icon {
    color: #0d6efd;
    font-size: 40px;
    margin-bottom: 20px;
}