:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Ubuntu", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #363f40;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #1f2f31;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #6abedb;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #363f40;
    /* The default color of the main navmenu links */
    --nav-hover-color: #6abedb;
    /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff;
    /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #363f40;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #6abedb;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f7f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #021418;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #11262a;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}



.hero .hero-image .main-image {
    border-radius: 30px;
    box-shadow: 0 30px 80px color-mix(in srgb, var(--accent-color), transparent 80%);
    /* transform: rotate(-2deg); */
    transition: all 0.3s ease;
    transform: scaleX(-1) !important;
}

.hero .hero-image .main-image:hover {
    border-radius: 30px;
    box-shadow: 0 30px 80px color-mix(in srgb, var(--accent-color), transparent 80%);
    /* transform: rotate(-2deg); */
    transition: all 0.3s ease;
    transform: scaleX(-1) !important;
}

.header .logo img {
    max-height: 50px !important;
    margin-right: 8px;
}

.header {
    --background-color: rgba(255, 255, 255, 0);
    color: var(--default-color);
    /* background-color: var(--background-color); */
    background-color: rgb(255, 255, 255);
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
    /* box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px !important; */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.home-about .lead-description {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    color:
        color-mix(in srgb, var(--default-color), transparent 25%);
    max-width: max-content !important;
    margin: 0 auto;
}

.video-swiper {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh; */
    background-color: #e9f5fa;
    /* background: linear-gradient(#EFEFFF, #CCCBFF); */
}

.wrapper {
    max-width: 1200px;
    padding: 20px 10px;
    margin: 0 60px 35px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.video-box:hover {
    transform: translateY(-5px);
}

.video-box iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 12px;
    pointer-events: none;
    /* Prevent playing in slider */
}

/* === OLD INDICATOR STYLES === */
.wrapper .swiper-pagination-bullet {
    height: 15px;
    width: 15px;
    opacity: 1;
    overflow: hidden;
    position: relative;
    background: gray;
    /* background:
        color-mix(in srgb, var(--accent-color), transparent 85%); */
}

.wrapper .swiper-pagination-bullet-active {
    /* background: #a4a7fd; */
    background: var(--accent-color);
}

.wrapper .swiper-pagination-bullet-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background: #6366f1; */
    background: #000;
    transform-origin: left center;
    transform: scaleX(0);
    animation: autoplay-loading 5s linear forwards;
}

.container:hover .wrapper .swiper-pagination-bullet-active::before {
    animation-play-state: paused;
}

@keyframes autoplay-loading {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

.wrapper :where(.swiper-button-prev, .swiper-button-next) {
    /* color: #6366f1; */
    color: var(--accent-color);
    margin-top: -35px;
    transition: all 0.3s ease;
    color: var(--accent-color) !important;
}

.wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
    color: #205e72;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.modal-content iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 4px 10px;
    line-height: 1;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content iframe {
        height: 300px;
    }
}


.featured-departments .department-card {
    /* box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px; */
    /* box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px; */
    /* box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px; */
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px; */
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px; */
    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}

.departments .department-item:hover .department-icon {
    background-color: rgb(255, 255, 255) !important;
    background: rgb(218, 238, 255);
    /* border: 1px solid gray; */
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px; */
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

.footer .footer-about .logo img {
    max-height: 60px !important;
    margin-right: 6px;
}

.call-to-action .stats-section .stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700 !important;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.about .stats-list .stat-row .stat-number span {
    /* font-size: 3rem; */
    font-weight: 700 !important;
    color: var(--accent-color);
    line-height: 1;
    font-size: 35px !important;
}

.about .intro-section p.lead {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.8;
    color:
        color-mix(in srgb, var(--default-color), transparent 25%);
    max-width: 100% !important;
    margin: 0 auto;
}

.department-details .department-content .department-header .department-description {
    font-size: 16px !important;
    line-height: 1.8;
    color:
        color-mix(in srgb, var(--default-color), transparent 20%);
    max-width: 100% !important;
    text-align: justify !important;
}

.department-details .department-content .department-header .department-name {
    font-size: 40px !important;
    font-weight: 700;
    line-height: 1.2;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.department-details .visual-section .main-visual .department-image {
    width: 100%;
    height: 600px !important;
    object-fit: cover;
}

.department-details .department-content .service-highlights .highlights-grid .highlight-card {

    padding: 1rem !important;

}


.featured-departments .stat-item .stat-label {
    font-size: 12px;
    color:
        color-mix(in srgb, var(--default-color), transparent 40%);
    text-transform: none !important;
    letter-spacing: 0px !important;
    margin-top: 4px;
}

.modal-backdrop {
    --bs-backdrop-zindex: 990;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
}

.modal-header {
    background-color: #fff;
}

.modal-body {
    background-color: #fff;
}

.modal-footer {
    background-color: #fff;
}

.featured-departments .cta-description {
    font-size: 18px;
    line-height: 1.7;
    color:
        color-mix(in srgb, var(--default-color), transparent 25%);
    margin-bottom: 32px;
    max-width: 800px !important;
    margin-left: auto;
    margin-right: auto;
}

.modal-content {
    width: 100% !important;
}

.modal-title {
    color: #6abedb;
}

.modal-body p {
    font-size: 14px;
    text-align: justify;
}

.modal-body h6 {
    border-left: 4px solid #6abedb;
    padding-left: 10px;
}

.navmenu .dropdown .dropdown ul {
    top: 0 !important;
    left: 100% !important;
}

.about .accreditation-section .accreditation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem;
    align-items: center;
}

.about .accreditation-section .accreditation-grid .accreditation-item img {
    max-height: 80px;
    max-width: 100%;
    opacity: 100% !important;
    transition: opacity 0.3s ease;
    filter: grayscale(0%) !important;
}

@media (max-width: 991px) {
    .header .logo img {
        max-height: 40px !important;
        margin-right: 8px;
    }
}

@media (max-width: 1200px) {
    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 10px !important;
    }
}

@media (max-width: 992px) {
    .home-about .content-wrapper .feature-list .feature-item {
        justify-content: left !important;
        text-align: left !important;
    }
}


.featured-departments .card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
    padding-left: 15px !important;
    margin-bottom: 16px;
}


element.style {}

@media (max-width: 576px) {
    .call-to-action .contact-banner .call-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 55px;
    }
}


.hero .hero-stats .stat-group .stat .stat-text {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.featured-departments {
    padding: 40px 0 !important;
    background-color: aliceblue;
}

.hero .hero-stats .stat-group .stat img {
    font-size: 2.5rem;
    color: var(--accent-color);
    padding: 15px;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--accent-color), transparent 90%) 0%,
            color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
    border-radius: 20px;
}