@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    --bg-primary: #2e506c;
    --bg-secondary: #ffffff;
    --text-primary: #2e506c;
    --text-secondary: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: 1px solid red; */
}

html,
body {
    font-family: "Poppins", sans-serif;
}

header {
    width: 100%;

}

header .header-top {
    background-color: var(--bg-primary);
}

header .social-contacts {
    margin: auto;
    height: 38px;
}

header .social-contacts ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

header .social-contacts ul li {
    margin: 4px 10px;
}

header .social-contacts ul li a {
    color: var(--text-primary);
    transition: all 0.5 ease;
}

header .social-contacts ul li a:hover {
    color: var(--text-secondary);
}

header .social-contacts ul i {
    background-color: #fff;
    padding: 6px;
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.5 ease;
}

header .social-contacts ul i.fb {
    width: 26px;
}

header .social-contacts ul i.fb:hover {
    opacity: 0.8;
    background-color: #3b5998;
}

header .social-contacts ul i.tw:hover {
    opacity: 0.8;
    background-color: #55acee;
}

header .social-contacts ul i.yt:hover {
    opacity: 0.8;
    background-color: #FF0000;
}

header .social-contacts ul i.gp:hover {
    opacity: 0.8;
    background-color: #F90101;
}

header .social-contacts ul i.lk:hover {
    opacity: 0.8;
    background-color: #007bb6;
}

header .header-mid {
    background-color: var(--bg-secondary);
    min-height: 170px;
}

.header-mid .header-info {
    height: 100%;
    width: 100%;
    margin: auto;
    padding: 30px 0px;
    overflow-x: hidden;
}

.header-mid .header-info .logo {
    max-width: 80px;
    max-height: 100px;
}

.header-info h1,
.header-info h4,
.header-info h6 {
    color: var(--text-primary);
    pointer-events: none;
}

.header-info h1 {
    font-size: 30px;
}

.header-info h4,
h6 {
    font-size: 15px;
    margin: 5px 0;
}

header .header-info .contacts ul {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 500;
    /* margin: 5px 4px 5px 0px; */
}

header .header-info .contacts ul .link-division {
    font-size: 10px;
    font-weight: bold;
    color: var(--text-primary);
    opacity: 0.5;
}

header .header-info .contacts ul li a {
    font-size: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

header .header-info .contacts ul li a:hover {
    font-weight: 600;
}

header .header-info .contacts i,
header .header-info .contacts .phone,
header .header-info .contacts .mail {
    color: var(--text-primary);
    font-size: 12px;
    margin-top: 10px;
    margin-left: 35px;
    padding: 0;
    cursor: pointer;
}

header .header-info .contacts .phone,
header .header-info .contacts .mail {
    margin-left: 13px;
}

header .header-bottom {
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
}

/* nav bar */

header .header-bottom .navigation {
    margin: auto;
    height: 50px;
    position: relative;
    width: 100%;
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
}

nav {
    width: 100%;
    margin: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    position: relative;
    margin: 0 5px;
}

nav ul li a,
nav ul li a:visited {
    display: block;
    padding: 0 10px;
    line-height: 50px;
    color: var(--text-secondary);
    text-decoration: none;
}

nav ul li a {
    background: transparent;
    font-size: 15px;
    text-transform: capitalize;
    color: var(--text-secondary);
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover,
nav ul li a:visited:hover {
    background: #385a77;
    opacity: 1;
    color: var(--text-secondary);
}

nav ul li ul li a {
    font-size: 13px;
    line-height: 36px;
}

.navbar-dropdown {
    position: absolute;
    display: none;
    z-index: 1;
    background: var(--bg-primary);
    border-radius: 0 0px 5px 5px;
    padding: 2px 0;
}

.navbar-dropdown li {
    position: relative;
}

.navbar-subdropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--bg-primary);
    padding: 2px 0;
    border-radius: 0 5px 5px 5px;
}

.navbar-dropdown,
.navbar-subdropdown {
    z-index: 1;
    min-width: auto;
    white-space: nowrap;
    /* padding: 2px 0; */
}

/* Display dropdowns on hover */
.navbar-dropdown li:hover>.navbar-subdropdown,
.nav-list li:hover>.navbar-dropdown {
    display: block;
}

nav ul li:hover>.navbar-dropdown,
.navbar-dropdown li:hover>.navbar-subdropdown {
    display: block;
}

/* Mobile navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    height: 50px;
    width: 70px;
}


/* carousal */

.slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 12px 0;
    height: 100%;
}

.slider {
    display: flex;
    height: 100%;
    max-height: 70vh;
    width: 100%;
    overflow-x: auto;
    border-radius: 5px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.75;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;
}

/* news and updates */

/* for blinking text */
.blink_me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.notice {
    margin-top: 40px;
}

.notice .recent-notice,
.notice .old-notice {
    width: 100%;
    min-height: 100px;
    /* background-color: #dbe7f8; */
    background-image: linear-gradient(rgb(219, 231, 248), rgb(255, 255, 255), rgb(219, 231, 248));
    border-left: 10px solid var(--bg-primary);
    margin: 15px auto;
    border-radius: 5px;
}

.notice .recent-notice h4,
.notice .old-notice h5 {
    color: var(--text-primary);
    text-transform: uppercase;
}

.main-content .news {
    background-color: #dbe7f8;
    border-radius: 5px;
}

.main-content .news h4 {
    color: var(--text-primary);
}

.main-content .about-us,
.main-content .about-us-2 {
    opacity: 0.7;
    border-radius: 5px;
    text-align: justify;
    box-shadow: 3px 1px 3px 1px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(rgb(219, 231, 248), rgb(255, 255, 255));
}

.main-content .about-us h2,
.main-content .about-us-2 h2 {
    color: var(--text-primary);
}


.main-content .about-us p {
    padding: 14px;
    font-size: 15px;
}

.main-content .about-us-2 p {
    font-size: 14px;
}

.main-content .about-us a {
    text-decoration: none;
    color: #fff;
    display: block;
    margin: 8px 20px;
    opacity: 0.8;
}

.about-us a:hover,
.about-us-2 a:hover {
    opacity: 1;
}

.services .container .row {
    justify-content: space-between;
}

.services .container .row .service {
    background-color: #dbe7f8;
    /* background-image: linear-gradient(rgb(219, 231, 248), rgb(255, 255, 255)); */
    color: var(--text-primary);
    margin-top: 16px;
    border-radius: 5px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.services .container .row .service h4 {
    margin: 12px 8px;
    font-size: 20px;
}

.services .container .row .service p,
.services .container .row .service ul li {
    opacity: 0.8;
    font-size: 14px;
    text-align: justify;
    margin-top: 7px;
}

.services .service a {
    text-decoration: none;
    color: var(--text-primary);
}

.section-content #notice p,
.section-content #events p {
    font-size: 11px;
}

.services i {
    font-size: 16px;
    opacity: 0.9;
}

#notice .carousel,
#events .carousel {
    margin: 0 auto;
}

#notice .carousel .carousel-item,
#events .carousel .carousel-item {
    font-size: 14px;
    text-align: center;
}

#notice .carousel .carousel-item a,
#events .carousel .carousel-item a {
    color: var(--text-primary);
}

#notice .carousel .testimonial,
#events .carousel .testimonial {
    padding: 30px 0 10px;
}

#notice .carousel .overview,
#events .carousel .overview {
    text-align: center;
    padding-bottom: 5px;
}

#notice .carousel .overview b,
#events .carousel .overview b {
    color: #333;
    font-size: 15px;
    text-transform: uppercase;
    display: block;
    padding-bottom: 5px;
}

#notice .carousel-control-prev,
#notice .carousel-control-next,
#events .carousel-control-prev,
#events .carousel-control-next {
    width: 30px;
    height: 30px;
    top: 16px;
    right: 5px;
}

#notice .carousel-control-prev i,
#notice .carousel-control-next i,
#events .carousel-control-prev i,
#events .carousel-control-next i {
    font-size: 20px;
    margin-right: 0px;
    color: var(--text-primary)
}

#notice .carousel-control-prev,
#events .carousel-control-prev {
    left: auto;
    right: 40px;
    text-decoration: none;
}

#notice .carousel-control-next i,
#events .carousel-control-next i {
    margin-right: -2px;
}

.more-btn {
    color: var(--text-secondary);
    padding: 8px 5px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    background-color: var(--bg-primary);
    transition: all 0.3s ease-in-out;
}

.more-btn:hover {
    opacity: 0.9;
}


.carousel-item .card {
    border: none;
    background-color: #dbe7f8;
    width: 100%;
    margin: auto;
}

.carousel-item .card a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    padding: 4px 15px;
    border-radius: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-item .card a:hover {
    opacity: 1;
}

footer {
    background-color: var(--bg-primary);
    color: #e3e3e3;
}

footer ul {
    margin-top: 30px;
}

footer a {
    text-decoration: none;
    color: #e3e3e3;
}

footer ul li,
footer p {
    font-size: 13px;
    margin-top: 14px;
}

footer ul li a i {
    color: #5f7283;
}

@media only screen and (max-width: 992px) {
    .nav-mobile {
        display: block;
    }

    nav {
        width: 100%;
        padding: 55px 0 15px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        z-index: 1000;
    }

    nav ul li {
        float: none;
        margin: 0;
    }

    nav ul li a {
        padding: 15px 30px;
        line-height: 20px;
        background: var(--bg-primary);
    }

    nav ul li ul li a {
        background-color: #c0d0e6;
        color: var(--text-primary);
        padding-left: 60px;
        padding-top: 4px;
    }

    nav ul li ul li a:hover {
        background-color: #c0d0e686;
    }

    .navbar-dropdown {
        position: static;
        display: none;
    }

    .navbar-subdropdown {
        position: static;
        display: none;
    }

    .nav-list li:hover>.navbar-dropdown {
        display: block;
    }

    .navbar-dropdown li:hover>.navbar-subdropdown {
        display: block;
    }

    .navbar-dropdown li a {
        padding-left: 30px;
    }

    .navbar-subdropdown li a {
        padding-left: 45px;
    }

    #navbar-toggle {
        position: absolute;
        left: 18px;
        top: 15px;
        cursor: pointer;
        padding: 10px 35px 16px 0px;
    }

    #navbar-toggle span,
    #navbar-toggle span:before,
    #navbar-toggle span:after {
        cursor: pointer;
        border-radius: 1px;
        height: 3px;
        width: 30px;
        background: #ffffff;
        position: absolute;
        display: block;
        content: '';
        transition: all 300ms ease-in-out;
    }

    #navbar-toggle span:before {
        top: -10px;
    }

    #navbar-toggle span:after {
        bottom: -10px;
    }

    #navbar-toggle.active span {
        background-color: transparent;
    }

    #navbar-toggle.active span:before,
    #navbar-toggle.active span:after {
        top: 0;
    }

    #navbar-toggle.active span:before {
        transform: rotate(45deg);
    }

    #navbar-toggle.active span:after {
        transform: rotate(-45deg);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li:hover>.navbar-dropdown,
    .navbar-dropdown li:hover>.navbar-subdropdown {
        display: none;
    }

    .navbar-dropdown.active,
    .navbar-subdropdown.active {
        display: block;
    }
}

@media only screen and (max-width: 992px) {

    .header-mid .header-info {
        margin: auto;
        padding: auto;
        text-align: center;
    }

    .header-mid .header-info .logo {
        max-width: 80px;
        max-height: 100px;
        align-items: center;
        margin-bottom: 10px;
    }

    .header-info h1 {
        font-size: 26px;
    }

    .header-info h4,
    .header-info h6 {
        font-size: 11px;
        margin: 0;
    }

    header .header-info .contacts ul .link-division {
        margin: 0 5px;
    }

}

@media only screen and (max-width: 768px) {

    header .social-contacts ul {
        justify-content: center;
    }

    header .header-info .contacts ul {
        justify-content: space-around;
        margin: 30px;
        padding: 0;
    }

    header .header-info .contacts ul li a {
        font-size: 10px;
        padding: 10px;
        color: var(--text-primary);
    }

    header .header-info .contacts ul li a:hover {
        font-weight: 600;
    }

    header .header-info .contacts .phone-mail {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .slider {
        height: 40vh;
    }

}

@media only screen and (max-width: 480px) {

    .header-info h1 {
        font-size: 22px;
    }

    header .header-info .contacts ul {
        flex-direction: column;
        font-weight: 500;
        margin: 15px auto;
    }

    header .header-info .contacts ul li {
        width: 100%;
        margin: 5px auto;
        background-color: var(--bg-primary);
        opacity: 1;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    header .header-info .contacts ul .link-division {
        display: none;
    }

    header .header-info .contacts ul li a {
        display: inline-block;
        width: 100%;
        font-size: 11px;
        margin: 2px auto;
        color: var(--text-secondary);
    }

    header .header-info .contacts ul li:hover {
        opacity: 0.95;
    }

    header .header-info .contacts .phone-mail {
        flex-direction: column;
        margin: 0;
        padding: 10px 0;
        border-left: 5px solid var(--text-primary);
        border-radius: 3px;
        box-shadow: 2px 2px px rgba(0, 0, 0, 0.25);
    }

    header .header-info .contacts .phone-mail .phone,
    header .header-info .contacts .phone-mail .mail,
    header .header-info .contacts .phone-mail i {
        margin: 0;
    }

    header .header-info .contacts .phone-mail .phone,
    header .header-info .contacts .phone-mail .mail {
        margin-left: 10px;
    }

    .slider {
        height: 25vh;
    }

}


/* Contact us page */

.contact-us h5,
.contact-us h2,
.contact-us i {
    color: var(--text-primary);
}

.contact-us button {
    background: var(--bg-primary);
    color: var(--text-secondary);
}

.contact-us button:hover {
    background: var(--bg-primary);
    color: var(--text-secondary);
    opacity: 0.9;
}

.contact-us .contact-us-form .input-group-text {
    background-color: var(--bg-primary);
    opacity: 0.9;
}

.contact-us .contact-us-form i {
    color: var(--text-secondary);
}

.contact-us textarea {
    resize: none;
}

.contact-us a {
    font-size: 13px;
}

.contact-us label {
    font-size: 13px;
    color: var(--text-primary);
}

@media only screen and (max-width: 480px) {

    .contact-us-more {
        background-color: #dbe7f8;
        margin-bottom: 16px;
    }

}


/* about us */

/* college */

.about-college h3,
.about-college h4,
.about-college h5 {
    color: var(--text-primary);
}

.about-college hr {
    opacity: 0.1;
}

.about-college p {
    text-align: justify;
    font-size: 14px;
}

.about-college .about-college-container {
    background: #dbe7f8;
    border-radius: 5px;
}

.about-college table tr td {
    font-size: 13px;
}

.about-college a {
    color: var(--text-primary);
    font-size: 14px;
}

/* terms and conditions */

.terms-container p {
    font-size: 12px;
}

.terms-container h5 {
    font-size: 15px;
}

/* gallery */

.event-images .event-images-name {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: 5px;

}

.event-images h4 {
    font-size: 20px;
}

.event-images h4 i {
    color: var(--text-secondary);
    font-size: 16px;
}

.event-images .event-select {
    color: var(--text-primary);
}

/* administrarion */

.about-gallery .card h5 {
    font-size: 16px;
}

.about-gallery .card span {
    font-size: 10px;
}

.about-gallery .card .card-body {
    background-image: linear-gradient(rgb(219, 231, 248), rgb(255, 255, 255));
}

.card-img-equal-height {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .card-img-equal-height {
        max-height: 245px;
    }
}

@media only screen and (max-width: 576px) {
    .card-img-equal-height {
        max-height: 370px;
    }
}

@media only screen and (max-width: 480px) {
    .card-img-equal-height {
        max-height: 340px;
    }
}


/* h-o-d */

.hod-list h6, .hod-list p{
    font-size: 11px;
}

.hod-list .card {
    height: 100%;
    /* Ensure all cards are the same height */
    display: flex;
    flex-direction: column;
}

.hod-list .card img {
    width: 100%;
    /* Make sure the image takes the full width of the card */
    height: 230px;
    /* Set a fixed height for the image */
    object-fit: cover;
    /* Ensures the image covers the entire space without distortion */
}

.hod-list .card-body {
    flex-grow: 1;
    /* Ensures the card body takes the remaining space of the card */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


@media only screen and (max-width: 576px) {
    .hod-list .card img {
        height: 340px;
    }

    .hod-list {
        margin: 0;
    }
}

/* event particular */

.event-particular .carousel-item img {
    height: 50vh;
    object-fit: cover;
    width: 100%;
}

@media only screen and (max-width: 992px) {
    .event-particular .carousel-item img {
        height: 45vh;
    }
}

@media only screen and (max-width: 768px) {
    .event-particular .carousel-item img {
            height: 40vh;
    }
}

@media only screen and (max-width: 576px) {
    .event-particular .carousel-item img {
        height: 35vh;
    }
}

@media only screen and (max-width: 480px) {
    .event-particular .carousel-item img {
        height: 30vh;
    }
}

/* student navigation */

.st-section ul li, .st-section ol li {
    font-size: 14px;
    color: grey;
}