/* font family Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* font family Import */

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
    --primary-color: #e32845;
    --primary-bg: #020031;
}

body {
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-family: "Inter", sans-serif;
}

/* common classes */

.primary-color {
    color: var(--primary-color) !important;
}

.text-primary,
.primary-bg {
    color: var(--primary-bg) !important;
}

.primary-btn {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

    .primary-btn:hover {
        opacity: 0.9;
        transition: all 0.6s ease-in-out;
    }

/* common classes */
p {
    margin: 0;
}

a {
    text-decoration: none;
}

ul {
    padding: 0;
    margin: 0;
}

    ul li {
        list-style-type: none;
    }


.swiper-button-next::after,
.swiper-button-prev::after {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 800;
    padding: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    height: 18px;
    width: 18px;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}
/* navbar */
nav.navbar {
    background-color: var(--primary-bg);
}

    nav.navbar li a.nav-link {
        color: #fff;
    }

        nav.navbar li ul a:hover,
        nav.navbar li a.nav-link:hover {
            color: var(--primary-color);
            transition: all 0.3s ease;
        }


.navbar-brand img {
    max-width: 80px;
}

header .upper-header i {
    color: var(--primary-bg);
}

header .upper-header p {
    color: var(--primary-bg);
}

header .upper-header a:hover i {
    color: var(--primary-color);
    transition: .2s;
}

header .upper-header a {
    color: var(--primary-bg);
    font-weight: 500;
}

header #upper-header {
    max-height: 46px;
    /* Adjust based on your header */
    transition: max-height 0.8s ease, opacity 0.5s ease;
}

    header #upper-header.hidden {
        max-height: 0;
        opacity: 0;
    }

@media(min-width:992px) {
    .brand-main {
        width: 100%;
        padding-bottom: 4px;
        border-bottom: 1px solid #dbdbdb;
    }
}

@media(max-width:767px) {
    .navbar-brand img {
        max-width: 60px;
    }
}

/* navbar */

/* tabs */
.nav-pills .nav-link {
    background-color: transparent;
    border-radius: 5px 5px 0 0;
    padding: 10px 20px;
    transition: all 0.3s ease;
    color: var(--primary-bg);
}

    .nav-pills .nav-link.active {
        background-color: var(--primary-bg);
        color: #fff;
        border-bottom: 2px solid var(--primary-color);
    }

.nav-tabs .nav-link {
    color: var(--primary-bg) !important;
}

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active {
        color: #fff !important;
        background-color: var(--primary-bg) !important;
        border-bottom: 2px solid var(--primary-color);
    }

/* tabs */

/* hero slider */
.hero-slider img,
.hero-slider .carousel,
.hero-slider .carousel-item,
.hero-slider .banner-img {
    height: calc(100vh - 145px);
    object-fit: cover;
}

.hero-slider .carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    width: 90%;
}

.hero-slider .banner-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.678);
    z-index: 0;
}


/* about university  */

.campus-content.style-2 {
    padding: 50px;
    background-color: #ffffff;
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    margin-left: -100px;
}

.campus-image img {
    width: 100%;
}

.campus-content .campus-title h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.campus-content .campus-title h2 {
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #111d5e;
}


.campus-content .list ul li {
    position: relative;
    padding-left: 20px;
    list-style-type: none;
    margin-bottom: 10px;
}

.list ul li i {
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.counter-card h1 {
    font-size: 60px;
    margin-bottom: 5px;
    line-height: 1;
    font-weight: 700;
    color: #111d5e;
}

    .counter-card h1 .target {
        color: var(--primary-color);
        position: relative;
        top: -1px;
        margin-left: 20px;
    }

a.default-btn.btn {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 16px;
    padding: 13px 35px;
    border-radius: 0;
    position: relative;
    transition: all ease 0.5s;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
}

@media (max-width: 991px) {
    .campus-content.style-2 {
        padding: 12px;
        margin: 20px 0;
    }

    .campus-content .campus-title h2 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .counter-card h1 {
        font-size: 40px;
    }

        .counter-card h1 .target {
            margin-left: 12px;
        }

    .campus-image img {
        max-height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 575px) {
    .campus-image img {
        max-height: 280px;
    }

    .campus-content.style-2 {
        margin: 16px 0;
    }

    .campus-content .campus-title h2 {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .counter-card h1 {
        font-size: 36px;
    }

        .counter-card h1 .target {
            margin-left: 8px;
        }
}

/* about university ends  */



@media(min-width:992px) {
    .brand-main {
        width: 100%;
        padding-bottom: 4px;
        border-bottom: 1px solid #dbdbdb;
    }
}

@media(max-width:767px) {
    .navbar-brand img {
        max-width: 60px;
    }
}

/* navbar */

/* hero slider */
.hero-slider img,
.hero-slider .carousel {
    height: calc(100vh - 145px);
    object-fit: cover;
}

.hero-slider .carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    width: 90%;
}

/* hero slider */


/* footer */
.footer-logo {
    max-width: 100px;
}

.footer-section {
    background-color: #020031;
    background-image: url("../img/map-up.webp");
    background-repeat: no-repeat;
    background-position: center;
    object-fit: cover;
}


    .footer-section .copyright {
        border-top: 1px solid #312f56;
        text-align: center;
    }

        .footer-section .copyright p {
            color: #b7b7b7;
            margin-bottom: 0;
        }

    .footer-section a:hover {
        text-decoration: underline;
    }

    .footer-section .social-icons a:hover i {
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

/* footer */

.degree-category .section-title h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #111d5e;
}

.degree-category .section-title span {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #e32845;
    margin: 0 0 20px;
    display: block;
}

.course-cat {
    position: relative;
    overflow: hidden;
}

    .course-cat:before {
        position: absolute;
        content: '';
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.9;
        background: linear-gradient(transparent, #273c66);
    }

    .course-cat img {
        width: 100%;
    }

.title-part {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0 30px 21px;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 1;
}

    .title-part h4.title {
        margin: 0;
        color: #fff;
        font-weight: 600;
    }

.content-part {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotateY(90deg);
    text-align: center;
    background: rgba(17, 41, 88, 0.9);
    border-radius: 3px;
    padding: 32px;
    color: #ffffff;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.course-cat:hover .content-part {
    transform: translate(-50%, -50%) rotateY(0);
    opacity: 1;
}

.course-cat:hover .title-part {
    opacity: 0;
}

.content-part p,
.content-part a {
    color: #fff;
}

.content-part a {
    text-decoration: underline;
}

.university-image img {
    width: 100%;
}

.why-choose-us {
    background: #020031;
}

.why-choose-us-text {
    padding: 80px 65px;
}

.university-image,
.university-image img {
    height: 100%;
    object-fit: cover;
}

ul.our-programs {
    display: flex;
    flex-flow: column;
    gap: 20px;
}

    ul.our-programs > li {
        padding-bottom: 20px;
    }

        ul.our-programs > li:not(:last-child) {
            border-bottom: 1px solid #fff;
        }

.why-choose-us-text li span.icon i {
    font-size: 40px;
    color: #fff;
    font-weight: 400;
}

.degree-category {
    background: #f3f8f9;
}

.left-sec {
    background-image: url('../img/other/left-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
}


.video-wrap {
    max-width: 605px;
    margin-left: auto;
    width: 100%;
    padding: 50px 0;
}

    .video-wrap > a.popup-videos {
        display: flex;
        max-width: 270px;
        gap: 20px;
        align-items: center;
        color: #fff;
    }

        .video-wrap > a.popup-videos i {
            font-size: 70px;
            color: #fff;
            line-height: 100%;
        }

.right-sec {
    background-image: url('../img/other/right-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 134px 15px 150px 62px;
}

    .right-sec h2 {
        padding-bottom: 16px;
        font-weight: bold;
        color: var(--primary-bg)
    }

    .right-sec .desc {
        font-size: 15px;
        margin-bottom: 12px;
    }

@media(max-width:991px) {
    .right-sec {
        padding: 40px;
    }

        .right-sec h2 {
            padding-bottom: 20px;
            margin: 0;
        }

    .degree-category .content-part {
        padding: 20px 16px;
    }
}

@media(max-width:575px) {
    .right-sec {
        padding: 24px;
    }

        .right-sec h2 {
            padding-bottom: 12px;
            margin: 0;
        }

    .degree-category .section-title h3 {
        font-size: 28px;
        margin-bottom: 0px;
    }
}

.video-tour .row {
    margin: 0;
}

/* couses sldier  css start*/

.courses-slider .section-title {
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: start;
    position: relative;
}

    .courses-slider .section-title::after {
        content: '';
        width: 80px;
        height: 4px;
        background-color: var(--primary-color);
        position: absolute;
        left: 0;
        bottom: -15px;
        border-radius: 2px;
    }

.courses-slider .course-card {
    background-color: #fafafa;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Ensure cards are same height in a row */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    /* Ensures image corners are rounded with card */
}

    .courses-slider .course-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }

.courses-slider .course-card-img {
    width: 100%;
    height: 180px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Covers the area, cropping if necessary */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.courses-slider .card-body {
    gap: 15px;
    padding: 1.75rem;
    text-align: center;
    display: flex;
    /* Use flex to push button to bottom */
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    /* Allows body to expand */
}

.courses-slider .card-title {
    font-size: 1.4rem;
    color: var(--primary-bg);
    /* Darker blue for course titles */
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Swiper specific styles */
.courses-slider-homepage {
    background-color: #f9f9f9;
}

.courses-slider .swiper-container {
    padding-bottom: 5rem;
    /* Space for pagination */
}

.courses-slider .swiper-slide {
    height: auto;
    /* Allow slides to adjust height based on content */
    display: flex;
    /* Ensure cards align properly within slide */
    justify-content: center;
    /* Center card if fewer than max per view */
}

.courses-slider .swiper-button-next,
.courses-slider .swiper-button-prev {
    color: var(--primary-bg);
    top: 50%;
    transform: translateY(-50%);
}

.courses-slider .swiper-button-prev {
    left: 10px;
}

.courses-slider .swiper-button-next {
    right: 10px;
}

.courses-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
    /* Active pagination bullet color */
}

/* couses sldier css end */

/* contact-us page css */
.contact .contact-info-box {
    background-color: #020031;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 25px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #e0d7d7;
}

    .contact .contact-info-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .contact .contact-info-box .icon-box {
        background-color: color-mix(in srgb, #fff, transparent 90%);
        color: #fff;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .contact .contact-info-box p {
        margin-bottom: 4px;
    }

        .contact .contact-info-box p a {
            color: #e0d7d7;
        }

            .contact .contact-info-box p a:hover {
                color: var(--primary-color)
            }

    .contact .contact-info-box .icon-box i {
        font-size: 24px;
    }

    .contact .contact-info-box .info-content h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 10px;
    }


.contact .map-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

    .contact .map-section iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

.contact .form-container-overlap {
    position: relative;
    margin-top: -150px;
    margin-bottom: 60px;
    z-index: 10;
}

.contact .contact-form-wrapper {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

    .contact .contact-form-wrapper h2 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 30px;
        position: relative;
    }

        .contact .contact-form-wrapper h2:after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -10px;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background-color: var(--primary-color);
        }

    .contact .contact-form-wrapper .form-group {
        margin-bottom: 20px;
    }

        .contact .contact-form-wrapper .form-group .input-with-icon {
            position: relative;
        }

            .contact .contact-form-wrapper .form-group .input-with-icon i {
                position: absolute;
                left: 15px;
                top: 50%;
                transform: translateY(-50%);
                font-size: 18px;
                z-index: 10;
                color: var(--primary-color);
            }

                .contact .contact-form-wrapper .form-group .input-with-icon i.message-icon {
                    top: 28px;
                }

            .contact .contact-form-wrapper .form-group .input-with-icon textarea + i {
                top: 25px;
                transform: none;
            }

            .contact .contact-form-wrapper .form-group .input-with-icon .form-control {
                border-radius: 8px;
                padding: 12px 15px 12px 45px;
                height: 3.5rem;
                color: #000;
                background-color: #fff;
                font-size: 15px;
                border: 1px solid #dbdbdb
            }

                .contact .contact-form-wrapper .form-group .input-with-icon .form-control:focus {
                    border-color: var(--primary-color);
                    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--primary-color), transparent 90%);
                }

                .contact .contact-form-wrapper .form-group .input-with-icon .form-control::placeholder {
                    color: #b1b0b0;
                }

            .contact .contact-form-wrapper .form-group .input-with-icon textarea.form-control {
                height: 180px;
                resize: none;
                padding-top: 15px;
            }

    .contact .contact-form-wrapper .loading,
    .contact .contact-form-wrapper .error-message,
    .contact .contact-form-wrapper .sent-message {
        margin-top: 10px;
        margin-bottom: 20px;
    }

@media (max-width: 992px) {
    .contact .form-container-overlap {
        margin-top: -120px;
    }

    .contact .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact .contact-info-box {
        margin-bottom: 20px;
    }

    .contact .form-container-overlap {
        margin-top: -100px;
    }

    .contact .contact-form-wrapper {
        padding: 25px;
    }

        .contact .contact-form-wrapper h2 {
            font-size: 24px;
        }

    .contact .map-section {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .contact .form-container-overlap {
        margin-top: -80px;
    }

    .contact .contact-form-wrapper {
        padding: 20px;
    }



    .contact .map-section {
        height: 400px;
    }
}

/* contact-us page css */

/* floater btns */

.admission-btn-float {
    position: fixed;
    z-index: 1000;
    bottom: 30%;
    right: -56px;
    border: 1px solid #fafafae5;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 7px 7px 0 0;
    padding: 8px 20px;
    box-shadow: 0 -0.5rem 12px rgb(0 0 0 / 18%);
    transform: rotate(270deg);
}

    .admission-btn-float p {
        font-size: 14px;
        font-weight: 500;
    }

        .admission-btn-float p:hover {
            color: var(--primary-bg);
            transition: all 0.5s ease;
        }

.floater-links-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border: 0;
    padding: 0;
    border-radius: 50%;
}

    .floater-links-btn i {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        color: white;
        background-color: var(--primary-bg);
        box-shadow: 0 2px 2px #fff;
        transition: transform 0.3s ease;
        border: 1px solid #e32845;
    }

        .floater-links-btn i:hover {
            transform: scale(1.1);
        }


.menu-links {
    position: fixed;
    bottom: 100px;
    right: 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    display: block;
    transform: translateY(20px);
    transition: all 0.5s ease;
    z-index: 9999;
    /* width: fit-content; */
    opacity: 1;
    transform: translateY(20px);
}

    .menu-links.hidden {
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
    }

    .menu-links a {
        border: 1px solid #fff;
        background-color: var(--primary-color);
        color: white;
        padding: 8px 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
        text-decoration: none;
        border-radius: 5px;
        font-size: 12px;
        margin-bottom: 4px;
    }

        .menu-links a:hover {
            background-color: var(--primary-bg);
        }

@media(max-width:575px) {
    .admission-btn-float {
        bottom: 25%;
        right: -42px;
        border-radius: 7px 7px 0 0;
        padding: 3px 11px 6px;
    }

        .admission-btn-float p {
            font-size: 11px;
        }

    .floater-links-btn i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .floater-links-btn {
        bottom: 30px;
        right: 30px;
    }
}

/* floater btns */


/* about page */


.achievements-section .card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.achievements-section .card-img-custom {
    object-fit: cover;
    height: 100%;
    max-height: 320px;
}

.achievements-section .overlay-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.achievements-section .card h6,
.achievements-section .card p {
    margin: 0;
}



.about-us-container-main .sec-title .title {
    position: relative;
    color: var(--primary-bg);
    font-size: 18px;
    font-weight: 700;
    padding-right: 50px;
    margin-bottom: 15px;
    display: inline-block;
    text-transform: capitalize;
}

    .about-us-container-main .sec-title .title:before {
        position: absolute;
        content: '';
        right: 0px;
        bottom: 7px;
        width: 40px;
        height: 1px;
        background-color: #bbbbbb;
    }

.about-us-container-main .section-title {
    font-weight: 700;
    color: #2c3e50;
}

.about-us-container-main .card {
    /* border: none; */
    transition: transform 0.2s ease;
}

    .about-us-container-main .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }

.about-us-container-main .icon-box {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.about-section .content-column .email {
    position: relative;
    color: #252525;
    font-weight: 700;
    margin-bottom: 50px;
}

.about-section .image-column {
    position: relative;
    margin-bottom: 50px;
}

    .about-section .image-column .inner-column {
        position: relative;
        padding: 40px 40px 0px 0px;
        margin-left: 50px;
    }

        .about-section .image-column .inner-column:after {
            position: absolute;
            content: '';
            right: 0px;
            top: 0px;
            left: 40px;
            bottom: 100px;
            z-index: -1;
            border: 2px solid var(--primary-bg);
        }

        .about-section .image-column .inner-column .image {
            position: relative;
        }

            .about-section .image-column .inner-column .image:before {
                position: absolute;
                content: '';
                left: -50px;
                bottom: -50px;
                width: 299px;
                height: 299px;
                background: url(img/pattern-2.png) no-repeat;
            }

            .about-section .image-column .inner-column .image img {
                position: relative;
                width: 100%;
                display: block;
            }

            .about-section .image-column .inner-column .image .overlay-box {
                position: absolute;
                left: 40px;
                bottom: 48px;
            }

                .about-section .image-column .inner-column .image .overlay-box .year-box {
                    position: relative;
                    color: #252525;
                    font-size: 24px;
                    font-weight: 700;
                    line-height: 1.4em;
                    padding-left: 125px;
                }

                    .about-section .image-column .inner-column .image .overlay-box .year-box .number {
                        position: absolute;
                        left: 0px;
                        top: 0px;
                        width: 110px;
                        height: 110px;
                        color: var(--primary-color);
                        font-size: 68px;
                        font-weight: 700;
                        line-height: 105px;
                        text-align: center;
                        background-color: #ffffff;
                        border: 1px solid #000000;
                    }

@media(max-width:575px) {
    .about-section .image-column .inner-column {
        margin: 0;
    }

    .about-section .image-column .inner-column {
        padding: 20px 20px 0 0;
    }
}

/* about page */

/* addmission page */

.registration-page .form-section,
.registration-page .info-section {
    background: #fff;
    border: 2px solid #dee2e6;
    border-left: 8px solid var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {

    .registration-page .form-section,
    .registration-page .info-section {
        padding: 30px 16px;
    }
}

/* addmission page */

/* staff page */
.faculty-swiper .swiper-slide {
    height: auto;
}

.faculty-card {
    display: flex;
    flex-direction: column;
}

    .faculty-card .card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }


.founders-staff-main .profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #dbdbdb;
}

.founders-staff-main .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-bg)
}

.founders-staff-main .message-card p {
    margin-bottom: 12px;
}

.founders-staff-main .message-card {
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.founders-staff-main .dropdown-toggle::after {
    display: none;
}

.founders-staff-main .faculty-card img {
    height: 260px;
    object-position: top;
    object-fit: fill;
    width: 100%;
    object-fit: cover;
}

.mySwiperMembers .swiper {
    width: 100%;
    height: 100%;
}

.mySwiperMembers .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .mySwiperMembers .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        border: 2px solid var(--primary-color);
        object-fit: cover;
        cursor: grab;
    }

@media (max-width: 575px) {


    .founders-staff-main .faculty-card img {
        height: 320px;
    }
}

/* staff page */

/* gallery page */

.rule-section {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 10px;
    height: 100%;
    background: #fff;
    padding: 20px;
    border: 2px solid #dee2e6;
    border-left: 8px solid var(--primary-color);
    border-radius: 8px;
    /*box-shadow: 0 0 10px #020031;*/
}

.rule-icon {
    font-size: 40px;
    color: var(--primary-color);
}

.rule-text h4 {
    color: var(--primary-bg);
    font-weight: 600;
}

.gallery .glightbox {
    position: relative;
    display: block;
    cursor: zoom-in;
}

    .gallery .glightbox::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 8px;
    }

    .gallery .glightbox:hover::before {
        background-color: rgba(0, 0, 0, 0.4);
    }

.gallery img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

    .gallery img:hover {
        transform: scale(1.02);
    }


/* gallery page */

.club-img-avtar {
    width: 132px;
    max-height: 132px;
}

@media (max-width:575px) {
    .primary-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.justify-align {
    text-align: justify;
}

.blink {
    animation: blinker 1s linear infinite;
    color: red;
    font-weight: bold;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

    .timeline::after {
        content: '';
        position: absolute;
        width: 4px;
        background-color: #020031;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -2px;
    }

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

    .timeline-item::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        right: -10px;
        background-color: white;
        border: 4px solid #e32845;
        top: 15px;
        border-radius: 50%;
        z-index: 1;
    }

.left {
    left: 0;
}

.right {
    left: 50%;
}

    .right::after {
        left: -10px;
    }

.timeline-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

    .timeline-content h4 {
        font-weight: 600;
        color: #020031;
    }

    .timeline-content h5 {
        color: #6c757d;
        font-size: 0.95rem;
    }

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

        .timeline-item::after {
            left: 15px;
        }

    .right {
        left: 0%;
    }
}