:root {
    --primary-color: #1a237e;
    --secondary-color: #3f51b5;
    --accent-color: #f9e653;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --gradient-primary: linear-gradient(135deg, #001260 0%, #0002ad 100%);
    --gradient-secondary: linear-gradient(135deg, #ffbea4 0%, #f34500 100%);
    --gradient-accent: linear-gradient(135deg, #952a00 0%, #ff875a 100%);
}

.container-fluid {
    padding: 0px 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    line-height: 1.6;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Baloo 2", sans-serif;
}

/* Added smooth scrolling and modern animations */
html {
    scroll-behavior: smooth;
}

/* Enhanced loading animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modern header with floating effect */
.quick-links-bar {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.quick-links-bar a {
    color: #fff !important;
    text-decoration: none;
}

.quick-links-bar a:hover {
    color: #ffd76f !important;
    text-decoration: none;
}

a {
    text-decoration: none !important;
}

/* .quick-links-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            animation: shimmer 3s infinite;
        } */

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.main-header {
    background-image: url("../asset/logo/header-bg.png");
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo-section {
    display: flex;
    align-items: center;
    animation: slideInLeft 1s ease;
}

.logo-section img {
    width: 100px;
}

.logo-placeholder {

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-placeholder:hover {
    transform: scale(1.1) rotate(5deg);
}

.accreditation-badges {
    display: flex;
    gap: 5px;
    animation: slideInRight 1s ease;
    float: right;
}

.badge-item a {
    text-decoration: none !important;
    /* background: var(--gradient-secondary); */
    color: #000988;
    padding: 12px 8px;
    border-radius: 25px;
    font-weight: 500;

    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.badge-item a:hover {
    color: #f15b20 !important;
}

.badge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.badge-item:hover::before {
    left: 100%;
}

/* 
        .badge-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        } */

.portal a:not(:last-child):after {
    content: '|';
    background: var(--border-color);
    padding-left: 10px;
    margin-right: 10px;
}

.portal a:hover {
    color: #fff5a7 !important;
}

.header-banner .title1 {
    text-align: center;
    color: #f15b20;
    font-family: "Saira", sans-serif;
    font-weight: 700;
    font-size: 40px;
}

.header-banner .title2 {
    text-align: center;
    color: rgb(143 105 0) !important;
    font-size: 14px;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.9px;
}

.header-banner .title3 {
    text-align: center;
    color: rgb(0 18 98) !important;
    font-family: "Saira", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

/* Advanced multilevel dropdown navigation */
.navbar {
    background: var(--gradient-primary) !important;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-nav {
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white !important;
    font-weight: 400;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    /* background: var(--accent-color); */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav ul.dropdown-menu {
    padding: 0px;
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Multilevel dropdown styles */
.dropdown-menu {
    background: rgb(0 13 118);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 5px 25px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover {
    background: var(--gradient-secondary);
    color: white;
    /* transform: translateX(10px); */
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
}

.dropdown-menu li {
    border-bottom: 1px dashed #ffede5ab;
}

/* Interactive hero slider with navigation */
.hero-slider {
    position: relative;
    height: 70vh;
    overflow: hidden;
    z-index: 1;
    transform: none !important;
    ;
}

.slide1 {
    background-image: url(../asset/slider/slide1.png);
}

.slide2 {
    background-image: url(../asset/slider/slide2.png);
}

.slide3 {
    background-image: url(../asset/slider/slide1.png);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: var(--gradient-primary); */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 1s ease;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: slideUp 1s ease;
}

.slide h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Animated announcement ticker */
.announcements-section {
    background: var(--gradient-accent);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.announcement-item a {
    color: #fff;
}

.announcement-ticker {
    display: flex;
    animation: scroll 60s linear infinite;
    white-space: nowrap;
}

.announcement-item {
    flex-shrink: 0;
    padding: 0 50px;
    font-weight: 400;
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.announcement-ticker:hover {
    animation-play-state: paused;
}

/* Modern content sections with animations */
.content-section {
     padding: 40px 0; 
    position: relative;
}

.section-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.section-card .event-item{
        height: 24%;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.section-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;

    position: relative;
}

.photo-gallery::after,
.leadership-team::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #f15b20;
    left: 47% !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #f15b20;
}

/* Animated statistics counters */
.stats-section {
    background: linear-gradient(178deg, #fff3ed 0%, #af411621 100%);
    color: white;
    padding: 50px 0;
}

.stat-item {
    text-align: center;
    border-radius: 20% 31%;
    transition: transform 0.3s ease;
    box-shadow: inset 0 0 10px #f6662d38;
    padding: 20px;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 30px;
    font-weight: 700;
    color: #000366;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    color: #f15b20;
    opacity: 0.9;
}

/* Interactive quick links with hover effects */
.quick-link-item {
    display: block;
    padding: 0 20px;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-link-item {
    display: flex;
    /* Turns the link into a flex container */
    align-items: start;
    /* Vertically aligns the icon and text */
    gap: 8px;
    /* Adds a consistent space between the icon and text */
}

/* Optional: Ensure the icon doesn't shrink */
.quick-link-item .fas {
    flex-shrink: 0;
    margin-top: 5px;
}

.quick-link-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
    z-index: -1;
}

.link-section {
    border-right: 1px dashed #ff7945;
}

.quick-link-item:hover::before {
    left: 0;
}

.quick-link-item:hover {
    color: #9f3308;
    transform: translateX(10px);
}

/* Enhanced gallery with lightbox effect */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.home-gallery{
    padding: 100px 0px !important;
}
.gallery-item {
    height: 200px;
    background: var(--gradient-secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Modern footer with animations */
.footer {
    background-image: linear-gradient(90deg, rgb(177 66 24 / 78%) 0%, rgb(186 75 31) 35%, rgb(217 101 57 / 88%) 100%), url(../asset/home/footer-bg.gif);
    color: white;
    padding: 60px 0 30px;
    position: relative;
}
.footer .container-fluid{
        padding: 0px 66px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-link {
    color: rgb(255, 255, 255);
    display: block;
    position: relative;
    text-decoration: none;
    padding: 8px 0px;
    transition: 0.3s;
}

.footer-section h5 {
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-section p {
    text-align: justify;
}

.footer-bottom a,
.footer-section .read-more {
    color: #ffcd48;
    text-decoration: none;
}

.footer-bottom a:hover,
.footer-section .read-more:hover {
    color: #000;
}

color .footer-link {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;

    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-link:hover {
    color: white;
    transform: translateX(10px);
}

/* .fa-facebook-f{
            background:linear-gradient(135deg, #020077 0%, #5930f0 100%);
        }
           .fa-facebook-f:hover{
            background:linear-gradient(135deg, #5930f0 100%, #020077 0% );
        } */
.fb {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #020077 0%, #5930f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.youtube {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #a80000 0%, #ff3535 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Animation keyframes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive design improvements */
@media (max-width: 768px) {

    .gallery-container img {
        width: 100% !important;
        height: 190px;
        object-fit: cover;
        margin: 0px !important;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .res-menu {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: right !important;
    }

    .container-fluid {
        padding: 0px 15px !important;
    }

    .title2 {
        display: none;
    }

    .title3 {
        display: none;
    }

    .header-banner .title1 {
        text-align: center;
        color: #f15b20;
        font-family: "Saira", sans-serif;
        font-weight: 700;
        font-size: 22px !important;
    }

    .navbar-toggler {
        padding: 5px 5px;
        z-index: 9999;
        /* top: -58px; */
        position: relative;
    }

    .accreditation-badges {
        display: flex;
        gap: 15px;
        animation: slideInRight 1s ease;
        float: right;
        display: none;
    }

    .logo-section img {
        width: 100%;
    }

    .quick-links-bar {
        background: var(--gradient-primary);
        color: white;
        padding: 10px 0;
        font-size: 0.9rem;
        position: relative;
        overflow: hidden;
        display: none;
    }


    .slide h1 {
        font-size: 2.5rem;
    }

    .slide p {
        font-size: 1.1rem;
    }

    .slider-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .content-section {
        padding: 60px 0;
    }
   
    .section-card {
        padding: 30px 20px;
    }
    .upcomming-event{
        margin-top:40px;
    }
    .bishop-message{
         margin-top:40px;
    }
    .office-baears p{
        margin-bottom: 30px !important;
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: scale(1.1);
}

/* ===================================
   Multi-Level Dropdown Menu Styling
   =================================== */

/* Universal styles for dropdowns */
.dropdown-menu {
    border-radius: 0.5rem;
    width: 245px;
    border: 1px solid #eee;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.dropdown-menu .nav-link:hover::before {
    width: 100%;
}

.dropdown-item {
    transition: all 0.2s ease-in-out;
}

.dropdown-submenu {
    position: relative;
    /* Crucial for positioning the nested menu */
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    /* Aligns the submenu nicely */
}

/* Desktop Styles (for screens larger than 991px)
  This media query matches Bootstrap's 'lg' breakpoint
*/
@media (min-width: 992px) {

    /* Hide submenus by default */
    .dropdown-submenu .dropdown-menu {
        display: none;
    }

    /* Show dropdown on hover */
    .dropdown:hover>.dropdown-menu {
        display: block;
    }

    /* Show submenu on hover */
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

/* Mobile Styles (for screens smaller than 992px)
  Makes the submenu behave like an accordion
*/
@media (max-width: 991px) {
    .dropdown-submenu .dropdown-menu {
        /* Remove absolute positioning */
        position: static !important;
        left: auto !important;
        top: auto !important;

        /* Remove box shadow and borders for a cleaner nested look */
        box-shadow: none !important;
        border: none !important;

        /* Indent the submenu items */
        padding-left: 20px;
    }

    /* Keep the chevron icon for visual cue */
    .dropdown-item i.fa-chevron-right {
        transform: rotate(90deg);
    }
}

.section-card {
    align-items: center;
}

.gallery-container {
    display: flex;
    /* Turns on Flexbox for alignment */
    justify-content: center;
    /* This is what centers your images horizontally */
    flex-wrap: wrap;
    /* Allows images to wrap to the next line on smaller screens */
    gap: 10px;
    /* Adds a nice, consistent space between each image */
}

.gallery-container img {
    width: 230px;
    height: 190px;
    object-fit: cover;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

.stats-section {
    padding: 40px 0;
    overflow: hidden;
    /* Important for preventing horizontal scrollbar */
}

/* --- Stat Item Styling --- */
.stats-section .stat-item {
    text-align: center;
    padding: 20px 10px;
    color: #333;
    margin: 10px;
}

.stats-section .stat-label {
    font-size: 18px;
    color: #555;
    margin-top: 5px;
}

/* --- Custom Slick Arrow Styling (to match your image) --- */
.stats-section .slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
    background-color: rgb(46 47 145) !important;
    border-radius: 50%;
}

.slick-prev {
    left: -50px;
    /* Position outside the container */
}

.stats-section .slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
    background-color: rgb(46 47 145) !important;
    border-radius: 50%;
}

.stats-section .slick-prev:hover,
.slick-next:hover {
    background-color: rgba(0, 123, 255, 1) !important;
}

.stats-section .slick-prev:before,
.slick-next:before {
    font-size: 20px !important;
    color: white !important;
}

.latest-news {
    background-image: linear-gradient(90deg, rgb(210 96 52 / 68%) 0%, rgb(46 48 146 / 24%) 35%, rgb(203 94 57 / 57%) 100%), url(../asset/home/latest-news-bg.jpg);
    background-size: cover;
    background-position: center;
    
}
.latest-news .section-content{
        padding-left: 20px;
}
.latest-title1 {
    color: rgb(240 90 31) !important;
}

.latest-title2 {
    color: rgb(26 35 126) !important;
}

.latest-title3 {
    color: rgb(208 42 38) !important;
}

.bg-blue {
    background: linear-gradient(135deg, #001260 0%, #5254ff 100%);
    color: #fff !important;
}

.bg-blue:hover {
    background: linear-gradient(135deg, #972b00 0%, #ff9368 100%);
    color: #fff !important;
}

.welcome-section img {
    box-shadow: 0 0 10px #0033a0;
    padding: 10px;
    border-radius: 20px 30px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.welcome-section p {
    text-align: justify;
    text-justify: inter-word;
}

.bishop-message img {
    border-radius: 49%;
    padding: 10px;
    box-shadow: 0 0 10px #0033a0;
    padding: 10px;
    border-radius: 20px 30px;
}

.welcome {
    background-image: linear-gradient(90deg, rgb(255 255 255 / 81%) 0%, rgb(255 255 255 / 92%) 35%, rgb(255 255 255 / 85%) 100%), url(../asset/home/bubble.gif);
}


/* Establishes the positioning context */
.search-form-container {
    position: relative;
}

/* Positions the popup on top */
#search-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    min-width: 350px;
}

#search-collapse .card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#search-collapse .card-body button {
    margin-top: 0 !important;
}

.office-baears img {
    box-shadow: 0 0 10px #0033a0;
    padding: 10px;
    border-radius: 50%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.office-baears {
    background-image: linear-gradient(90deg, rgb(186 74 31 / 85%) 0%, rgb(166 73 35 / 76%) 35%, rgb(191 79 36 / 83%) 100%), url(../asset/home/baears.gif);
    background-size: cover;
}

.office-baears h5 {
    font-size: 19px;
}

.text-info {
    --bs-text-opacity: 1;
    color: rgb(0 134 161) !important;
}

.tour {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.illustrious-alumni img {
    width: 100%;
}

.gallery-btn a {
    font-size: 16px;
}

.gallery-section {
    padding: 80px 0;
    background-image: linear-gradient(90deg, rgb(45 48 145) 0%, rgb(49 50 143) 35%, rgb(48 49 143 / 79%) 100%);
    background-size: cover;
}

.overlay-top {
    position: absolute;
    top: 0;
}

.overlay-top img {
    width: 100%;
}

@media (min-width: 1550px) {
    .container-fluid {
        max-width: 1500px;
    }
    .latest-news .section-content {
    padding-left: 0px !important;
     }
     .footer .container-fluid {
    padding: 0px 40px !important;
}
}

/* sub Page Design */
.page-wrapper {
    display: flex;
    flex-wrap: wrap;
    min-height: 80vh;
    box-shadow: rgb(46 187 249 / 16%) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

/* Sidebar */
.sidebar {
    flex: 0 0 300px;
    background: #e1e1e1;
    color: #fff;
    padding: 20px 0 0;
    min-height: 100%;
    animation: slideInLeft 0.8s ease;
    border-left: 5px solid #7677b2;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: #992a00
}

.sidebar .nav-link {
    display: block;
    padding: 5px 15px !important;
    color: #000000 !important;
    border-bottom: 1px dotted;
    transition: all 0.3s ease;
    text-decoration: none;
    background-color: #4444;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: #2a2c9096;
    color: #ffe100;
    /* transform: translateX(5px); */
}

.sidebar .nav-link:hover::before {
    width: 100% !important;
}

/* Content */
.content {
    flex: 1;
    padding: 30px;
    animation: fadeIn 1s ease;
    background: #f9fafb;
}

.department-sub-page .content-section {
    display: none;
    animation: fadeUp 0.7s ease;
}

.department-sub-page {
    padding: 40px 0px;
    background-image: linear-gradient(90deg, rgb(255 255 255 / 92%) 0%, rgb(255 255 255 / 92%) 35%, rgb(255 255 255 / 92%) 100%), url(../asset/home/bubble.gif);
}

.content-section.active {
    display: block;
}

.content h2,
.album-gallery h2,
.latest-news h2,
.search-results h2 {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #b04117
}

.department-sub-page h3 {
    color: #001262;
    font-size: 28px;
}

.department-sub-page h4 {
    color: #006210;
    font-size: 24px;
}

.content p {
    font-size: 16px;
    line-height: 1.7;
    color: #262626;
}

/* Responsive */
@media (max-width: 991px) {
    .page-wrapper {
        flex-direction: column;
    }

    .sidebar {
        flex: 0 0 100%;
        flex-wrap: wrap;
        justify-content: center;
        min-height: auto;
    }

    .sidebar h3 {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .sidebar .nav-link {
        flex: 0 0 auto;
        margin: 5px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .content {
        margin-left: 0;
        padding: 20px;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.breadcrumb-section {

    border-bottom: 1px solid #e5e7eb;
    animation: fadeIn 0.8s ease;

    background-image: linear-gradient(90deg, rgb(223 163 145 / 49%) 0%, rgb(233 233 255 / 24%) 35%, rgb(203 94 57 / 57%) 100%), url(../asset/home/breadcrumb.jpg);
    background-size: contain;
    background-position: center;
}

.breadcrumb {
    font-size: 15px;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #27253c;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #1d4ed8;
}

.breadcrumb-item.active {
    color: #6b7280;
}

.res-menu .mx-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* news style */

.contact-info-area {
    padding-top: 30px;
    /* Increased top padding */
}

.news-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.news-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.news-excerpt {
    font-size: 1rem;
    color: #262626;
}

.news-img {
    max-height: 150px;
    object-fit: cover;
}

.btn-primary {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

.btn-primary:hover {
    background-color: #ff4757;
    border-color: #ff4757;
}

.bg-light {
    background-color: #f9f9f9;
}

/* End news style */

/* Active menu text color orange */
/* Remove background from active submenu items */
.dropdown-menu .nav-link.active,
.dropdown-menu .nav-link:active {
    background-color: transparent !important;
    color: var(--accent-color) !important;
}

/* Top-level nav active state */
.navbar-nav .nav-item.active>.nav-link,
.navbar-nav .dropdown.active>.nav-link {
    color: var(--accent-color) !important;
    background-color: transparent !important;
    /* optional underline effect */
}


/* End Active menu text color orange */


/* subpage */
.subpage {
    padding: 50px 0px;
}

.departments {
    padding: 0px;
    background-color: #ffad9100;
}

.departments-link-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-bottom: 0px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.departments-links h5 {
    background: linear-gradient(-45deg, #302ab7, #090064, #09005a, #090060) !important;
    padding: 10px;
}

.departments-links a {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;

}

.departments-links h5:hover {

    align-items: baseline;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(-45deg, #8f1300b8, #9f240e, #a31701, #5a0f02) !important;
    font-weight: 500;
}

@media screen and (max-width: 992px) {
    .res-mt {
        margin-top: 30px;
    }
}

.department-tab {

    background: linear-gradient(135deg, #932900d9 0%, #f05a2000 100% 100%), url(./images/home/tab-bg.jpg) no-repeat top center / cover;
    /* background-image:url(./images/home/tab-bg.jpg); */
    color: #fff;
    padding: 10px;
    width: 500px;
}

.department-tab h5 {
    color: #fff !important;
    text-decoration: none;
    text-align: left !important;
}

.department-tab button {
    color: #fff !important;
    text-decoration: none;
    text-align: left !important;
    border-bottom: 1px dotted #ffffff;
    border-radius: unset !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: #09005e !important;
}

.departments-tab-content {
    box-shadow: 0 0 7px #6b2004;
    width: 100%;
    padding: 50px;
    border-radius: 22px;
    border-top: 5px solid #6b2004;

}

table {
    padding: 20px !important;
}

table th {
    background: #8f2904;
    color: #fff;
    text-align: left;
    border: 1px solid #ddd !important;
    padding: 10px !important;
}

table td {

    text-align: left;
    border: 1px solid #ddd !important;
    padding: 10px !important;
}

.subpage h3 {
    color: #8f2904;
}

.subpage h4 {
    color: #09005e;
}

.subpage h5 {
    color: #3f3f3f;
}

@media only screen and (max-width: 600px) {
    .table-responsive {
        width: 100%;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .deptauxmtable {
        width: 100%;
        min-width: 400px;
        border-collapse: collapse;
        border-spacing: 0;
    }

    .deptauxmtable th,
    .deptauxmtable td {
        border: 1px solid #ddd;
        padding: 8px;
    }

    .deptauxmtable tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .tab-container {
        display: block !important;
    }

    .department-tab {
        background: linear-gradient(135deg, #932900d9 0%, #f05a2000 100% 100%), url(./images/home/tab-bg.jpg) no-repeat top center / cover;
        /* background-image: url(./images/home/tab-bg.jpg); */
        color: #fff;
        padding: 10px;
        width: 100% !important;
    }

    .mobile-container {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: flex-end !important;
    }

    .navbar-toggler {
        margin-top: -84px;
    }
}

/* 01-10-25 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.dropdown-menu .nav-link {
    padding: 5px 20px !important;
}

.lead,
.blockquote {
    font-size: 16px;
    font-weight: 400;
}

.breadcrumb-section .container-fluid {
    padding: 0px 45px;
}

.search-results a {
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
}

/* Responsive design */
@media (max-width: 767px) {
    .stats-carousel .slick-prev {
        left: -5px;
    }

    .stats-carousel .slick-next {
        right: -5px;
    }

    .mb-19 {
        margin-top: 5px;
    }
}

/* subpage */