:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --gradient-1: linear-gradient(135deg, #dd572d 0%, #35308c 100%);

    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
    font-weight: 800;
}

p {
    letter-spacing: 0.5px;
}

h2 {
    font-size: 48px;
    color: #111;
}

.color {
    color: #8b2800;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #f8fafc;
}

/* Modern Animated Header */
.top-header {
    background: linear-gradient(-45deg, #7f2501, #8b2801, #df572b, #902b02);
    background-size: 400% 400%;
    animation: modernGradient 8s ease infinite;
    padding: 12px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.top-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    /* animation: shimmer 3s infinite; */
}

@keyframes modernGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Modern Logo Banner */
.logo-banner {
    background: linear-gradient(135deg, #ffffffde 0%, #fffffff7 100%), url(./images/home/header-bg.gif) repeat top center / contain;
    padding: 10px 0;
    /* color: white; */
    position: relative;
    overflow: hidden;
}

.logo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(255 255 255 / 3%) 0%, #3b328a00 70%);
    animation: rotate 10s linear infinite;
}

.logo-banner img {
    width: 110px;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logo-banner .college-name {
    font-size: 3.5rem;
    font-weight: 800;
    animation: floatIn 2s ease-out;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
    font-family: "Inter", sans-serif;
    font-size: 30px;
    line-height: 37px;
    color: #58240f;
    padding-top: 10px;
}

.sub-title {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: #f15a21;
}

.sub-title1 {
    font-size: 25px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #5a2612;
    font-family: "Inter", sans-serif;
}

.anniversary-badge {
    position: relative;
    display: inline-block;
    padding: 5px;
    /* animation: float 3s ease-in-out infinite; */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modern Navigation */
.navbar {
    background: linear-gradient(-45deg, #ab3108, #912b02, #892700, #7e2501) !important;
    /* backdrop-filter: blur(20px); */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: all 0.3s ease;
    padding: 0px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--dark-color) !important;
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 400;
    margin: 0 5px;
    padding: 8px 15px !important;

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f4b756 0%, #ab6c00 100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: white !important;

}

/* Dropdown Styles */
/* Show dropdown menu on hover */
.navbar-nav li.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
    /* Prevents jump */
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* border-radius: 15px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 10px;
}

.dropdown-item {
    color: #fff;
    padding: 5px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0px 8px;
}

.dropdown-menu li {
    background-color: #d65531;
    border: 1px dotted #ffffff;
}

.dropdown-item:hover {
    background: var(--gradient-1);
    color: white;
    margin: 0px;

    /* transform: translateX(5px); */
}

/* Multi-level dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    border-radius: 0 8px 8px 8px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

/* Hide offcanvas on desktop */
@media (min-width: 992px) {
    .offcanvas {
        display: none !important;
    }
}

/* Enhanced Offcanvas Styles for Mobile */
.offcanvas {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    color: white;
    width: 320px !important;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.offcanvas-title {
    font-weight: 700;
    font-size: 1.2rem;
}

.offcanvas-body {
    padding: 0;
}

.accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-button {
    background: transparent;
    color: white;
    border: none;
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: none;
}

.accordion-button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
}

.accordion-body ul li {
    margin-bottom: 8px;
}

.accordion-body ul li a {
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.accordion-body ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

/* Modern Hero Slider */
.video-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full screen height */
    overflow: hidden;
}

.video-slider video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop video to fill area */
}

.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    animation: slideContentIn 1s ease-out 0.5s both;
}

@keyframes slideContentIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(50px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0);
    }
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)); */
    z-index: 1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Modern Welcome Section */
.welcome-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section p {
    text-align: justify;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(-60px) translateY(-60px);
    }
}

.welcome-card {

    padding: 50px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.welcome-img {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    border-radius: 30px;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

.welcome-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 3px 38px rgb(215 85 48 / 23%);
}

/* Modern Alumni Carousel */
.alumni-section {
    padding: 60px 0;
    background: #00025008;
    color: white;
    position: relative;
    overflow: hidden;
}

.alumni-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    z-index: -1;
}

.alumni-section h2 {
    color: #fff;
}

.alumni-section img {
    border-radius: 20px;
    width: 100%;
}

.alumni-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.alumni-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

@media (min-width: 1500px) {
    .alumni-card {
        min-width: 400px !important;
    }
}

.alumni-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    min-width: 350px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.alumni-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.8s ease;
}

.alumni-card:hover::before {
    left: 100%;
}

.alumni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.alumni-card img {
    width: 280px;
    height: 280px;
    border-radius: 20% 30%;

    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.alumni-card:hover img {
    transform: scale(1.1);
    border-color: var(--accent-color);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* Modern Office Bearers */
.office-bearers {
    padding: 60px 0;
    background: #fff;
    color: white;
    position: relative;
    overflow: hidden;
}

.bearer-card img {
    width: 190px;
    border-radius: 65% !important;
}

/* .office-bearers::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 30s linear infinite;
    } */

.bearer-card {
    background: rgb(126 32 0);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    height: 412px;
}

.bearer-card p {
    color: #fffdfd;
}

.bearer-card h5 {
    color: #ffffff;
}

.bearer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 50deg, #a11e1e05, rgb(227 227 227 / 24%), #e7592824);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

.bearer-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.bearer-card i {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

/* Modern Bishop Desk */
.bishop-desk {
    padding: 60px 0;
    background: linear-gradient(135deg, #00038b03 0%, #ffdcb9 100%), url('./images/home/bishop-bg.png') no-repeat top center/contain;
    color: white;
    position: relative;
    overflow: hidden;
}

.bishop-desk h2 {
    color: #8b2800;
}

.blockquote p {
    color: #000;
    text-align: justify;
    font-size: 16px;

}

.blockquote-footer {
    margin-top: -1rem;
    margin-bottom: 1rem;
    font-size: 16px;
    color: #8b2800 !important;
    float: right;
}

.blockquote-footer strong {
    font-size: 19px;
}

/* .bishop-desk::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'%3E%3Cpath d='M50,0 L75,50 50,100 25,50 Z' fill='%23ffffff1a'/%3E%3C/svg%3E");
        animation: backgroundMove 15s linear infinite;
    } */

.bishop-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

.bishop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Modern Quick Links */
.quick-links {
    padding: 60px 0;
    background: #fff;
    color: white;
    position: relative;
    overflow: hidden;
}


/* Common style for all boxes */
.quick-link-item {
    background: rgb(49 47 143);
    backdrop-filter: blur(20px);
    padding: 30px;
    text-align: center;
    transition: all 0.5s ease;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 5%;
    box-shadow: 0 0 10px #140500;
}

/* 2nd Box */
.row>.col-md-2:nth-child(2) .quick-link-item {
    background: #00796b;
    /* Teal */
}

/* 3rd Box */
.row>.col-md-2:nth-child(3) .quick-link-item {
    background: #e65100;
    /* Deep Orange */
}

/* 2nd Box */
.row>.col-md-2:nth-child(4) .quick-link-item {
    background: #d42d23;
}

/* 3rd Box */
.row>.col-md-2:nth-child(5) .quick-link-item {
    background: #005778;
}

/* 3rd Box */
.row>.col-md-2:nth-child(3) .quick-link-item {
    background: #e65100;
    /* Deep Orange */
}

.quick-link-item a {
    color: #fff !important;
    text-decoration: none;
}

.quick-link-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.quick-link-item:hover::before {
    width: 300px;
    height: 300px;
}

.quick-link-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Modern News and Events */
.news-events {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.news-card,
.event-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    height: 260px;
}

.news-card {
    height: 280px;
}

.news-card::before,
.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transition: all 0.5s ease;
}

.news-card a {
    text-decoration: none;
    color: #8b2800;
}

.news-card a:hover {
    text-decoration: none;
    color: #e4582a;
}

.news-card:hover::before,
.event-card:hover::before {
    left: 0;
}

.news-events h2 {
    text-align: center;
}

.news-card:hover,
.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

/* Modern Videos Section */
.videos-section {
    padding: 60px 0;
    background: url(./images/home/events-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
    background-size: 400% 400%;
    /* animation: bgAnimation 8s ease infinite; */
}

.videos-section .color {
    color: #f9b81c;
}

@keyframes bgAnimation {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.videos-section h2 {
    text-align: center;
    color: #fff;
}

.video-title {
    text-align: center;
}

.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: var(--shadow-dark);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(25, 40, 104, 0), rgba(118, 75, 162, 0));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.video-card:hover::before {
    opacity: 1;
}

.video-card:hover {
    transform: scale(1.05) translateY(-10px);
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 4rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.video-card:hover .video-overlay {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Modern Gallery */
.gallery-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.ml-auto {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 30px;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    transition: all 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(45deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9)); */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

/* Modern Footer */
.footer {
    background-image: linear-gradient(rgb(32 32 32 / 93%), rgb(28 30 32 / 95%)),
        url(./images/home/footer-bg.png);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;

    background-position: top;
    overflow: hidden;
}

/* .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    background-image: linear-gradient(rgb(255 236 177 / 43%), rgb(15 45 100 / 85%)), url(./images/logo/site-logo.png);
        opacity: 0.1;
        background-size: contain;
        background-repeat: no-repeat;
    
            background-position: top;
    } */
.footer-bottom p {
    text-align: center;
}

.footer-section h5 {
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 24px;
}

.footer-bottom a {
    color: #ffc9b7;
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    /* background: var(--gradient-1); */
    color: white;
    text-align: center;
    line-height: 41px;
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.social-icons a:hover::before {
    width: 60px;
    height: 60px;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

/* News Images Styles */
.news-image {
    overflow: hidden;
    border-radius: 10px;
    float: left;

}

.news-image img {
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img,
.event-card:hover .news-image img {
    transform: scale(1.05);
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after,
.event-card:hover .news-image::after {
    opacity: 1;
}

#courses .text-primary,
#courses .text-warning,
#courses .text-success {
    color: rgb(147 44 3) !important;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgb(163 47 6) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-banner .sub-title {
        display: none;
    }

    .arrow::after {
        filter: none;
    }

    .sub-title1 {
        display: none;
    }

    .logo-banner .college-name {
        font-size: 12px;
    }

    .bishop-desk img {
        float: none !important;
    }

    .anniversary-badge {
        position: relative;
        display: inline-block;
        padding: 0px !important;
        /* animation: float 3s ease-in-out infinite; */
    }

    .hero-slider {
        height: 60vh;
    }

    .alumni-card {
        min-width: 280px;
    }

    .welcome-card,
    .bishop-card {
        padding: 30px;
    }

    .slider-nav,
    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Modern scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating elements animation */
@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating-element {
    animation: floatUpDown 4s ease-in-out infinite;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators .indicator.active {
    background: white;
    transform: scale(1.2);
}

.carousel-indicators .indicator:hover {
    border-color: white;
    transform: scale(1.1);
}

.top-header a {
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f15b22 0%, #8e2a01 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8e2a01 0%, #f15b22 100%);
    border: none;
}

.color1 {
    color: #8b2800;
}

.mission-section {
    background-color: #111;
}

.mission-section .office-bearers {
    background: #00025008;
}

.mission-section .office-bearers h2 {
    color: #fff;
}

.particle-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%s;
}

.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Or set lower than content */
    overflow: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
    /* 🔥 This is the key */
}

.bubble {
    position: absolute;
    bottom: -100px;
    /* background: #2e2d8e; */
    border-radius: 10%;
    opacity: .5;
    animation: rise 10s infinite ease-in;
    background: linear-gradient(135deg, #f15b22 0%, #2c2e92 100%);
}

.bubble:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 10%;
    animation-duration: 8s
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s
}

.bubble:nth-child(4) {
    width: 35px;
    height: 35px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s
}

.bubble:nth-child(5) {
    width: 30px;
    height: 30px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s
}

.bubble:nth-child(6) {
    width: 50px;
    height: 50px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s
}

.bubble:nth-child(7) {
    width: 30px;
    height: 30px;
    left: 70%;
    animation-duration: 7s;
    animation-delay: 2s
}

.bubble:nth-child(8) {
    width: 15px;
    height: 15px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 1s
}

.bubble:nth-child(9) {
    width: 50px;
    height: 50px;
    left: 70%;
    animation-duration: 5s;
    animation-delay: 1s
}

.bubble:nth-child(10) {
    width: 60px;
    height: 16px;
    left: 25%;
    animation-duration: 10s;
    animation-delay: 4s
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translate(0)
    }

    50% {
        transform: translate(100px)
    }

    to {
        bottom: 100vh;
        transform: translate(-200px)
    }
}

.news-events .btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.latest-news-card h5 img {
    height: 35px;
    width: 40px;
    transform: rotate(30deg);
}

.latest-news-card .news-card {
    padding: 30px 30px;
    height: 590px;
}

.latest-news h5:not(:first-child) {
    border-top: 1px dashed #e4582a;
    padding-top: 20px;

}

.latest-news .text-muted {
    margin-bottom: 0px !important;
}

.upcoming-events-title {
    margin-left: auto;
    margin-right: auto;
    display: table;
    background: #fff;
    width: 100%;
    padding: 40px;
    border-radius: 10px;

}

.upcoming-events-title h5 {
    color: #8b2800;
}

.news-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #029598 50%, var(--dark-bg) 100%);
    color: white;
    position: relative;
    overflow: hidden;

}

.news-scroller small {
    color: #fff;
}

.text-muted {
    --bs-text-opacity: 1;
    color: rgb(33 37 41) !important;
}

.news-container {
    height: 290px;
    overflow: hidden;
}

.news-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    height: 18 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.badge-news {
    background: rgb(249 184 28) !important;
    color: #070708 !important;
}

#uniqueness {
    background: linear-gradient(135deg, #fff2b3 0%, #f9933991 100%);
}

.badge-event {
    background: rgba(236, 72, 153, 0.3) !important;
    color: #fce7f3 !important;
}

.section-padding {
    padding: 80px 0;
}

.star {
    position: absolute;
    animation: starTwinkle 2s ease-in-out infinite alternate;
    color: #fbbf24;
}

.star-subtle {
    color: #6b7280;
    animation: starGlow 3s ease-in-out infinite;
}

.star-soft {
    color: #a855f7;
    animation: starPulse 1.5s ease-in-out infinite;
}

.star-gentle {
    color: #ec4899;
    animation: starFloat 3s ease-in-out infinite;
}



@keyframes starTwinkle {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes starGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes starPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes starFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(120deg);
    }

    66% {
        transform: translateY(4px) rotate(240deg);
    }
}

@media (min-width: 960px) and (max-width: 1400px) {
    .gradient-text {
        background: linear-gradient(135deg, #384b73 0%, #009799 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 30px !important;
        text-transform: uppercase;
        font-weight: bold;
    }
}

.upcomming-events .btn-primary {
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.downloads {
    padding: 60px 0px;
}

.add {
    display: inline-flex;
}

@media (max-width: 767.98px) {
    .top-header {
        display: none !important;
    }

    h2 {
        font-size: 25px !important;
        color: #8b2800;
    }

    .news-card,
    .event-card {
        height: auto !important;
    }

    .latest-news-card img {
        margin-left: 50px;
    }

}

.add i {
    margin-top: 6px;
    margin-right: 6px;
}

.adminssion-link a {
    color: #fff !important;
    font-family: "Inter", sans-serif;
    transition: all 0.3s ease;
    padding: 5px;

}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;

    }
}

.adminssion-link a:hover {
    background: #384b73;
    box-shadow: 0 0 10px #384b73;
    padding: 5px;
}

@media (min-width: 1600px) {
    .container-fluid {
        width: 1600px !important;
    }
}

.announcements img {
    height: 30px;
    width: 30px;
    transform: rotate(30deg);
}

.announcements {
    background-color: #8b2800;
    padding: 5px 10px;
    height: 50px;
}

.announcements a {
    color: #fff !important;
    text-decoration: none;
}

marquee {
    margin-top: 6px;
}

.announcements i {
    color: #f8c96a !important;
    animation: colorChange 1s ease-in-out infinite alternate;
}

@keyframes colorChange {
    0% {
        color: #f8c96a;
    }

    100% {
        color: #feca57;
    }
}

.msg1 {
    margin-bottom: 0px;
    float: right;
}

.msg2 {
    margin-bottom: 0px;
    text-align: end !important;
}

.visiter-count img {
    margin-top: -60px;
}

.important-links {
    background-color: #ffad9129;
    padding: 60px 0;
}

.link-title h4 {
    color: #ffffff;
    /* border-bottom: 1px dashed #ffffff; */
    width: fit-content;
    margin: 0 auto;

}

.important-links .news-card {
    padding: 0px;
}

.link-title {
    padding: 15px;
    background-color: #e4582a;
}

.page-links {
    padding: 20px;
}

.page-links a {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    color: #8b2800;
    font-weight: 500;

}

.page-links i {
    color: #8b2800;
    font-size: 17px;
    margin-right: 8px;
    line-height: 1;
}



@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1250px !important;
    }
}

.logo-link a {
    text-decoration: none;
    float: right;
    color: #242426;
}

.logo-link a:hover {
    color: #de572c;
}

.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;
}

.fb:hover {
    background: linear-gradient(135deg, #5930f0 100%, #020077 0%);
}

.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;
}

.youtube:hover {
    background: linear-gradient(135deg, #a80000 0%, #ff3535 100%);
}

/* breadcrumb */
.breadcrumb-section {
    background: linear-gradient(68deg, rgb(255 255 255 / 93%) 0%, rgb(251 255 249 / 34%) 35%, rgb(255 255 255 / 0%) 100%),
        url(./images/home/breadcrumb.jpg);
    /* background-image: url(./images/home/breadcrumb.jpg); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 100%;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #000000;
}

.breadcrumb-item a:hover {
    text-decoration: none;
    color: #00014d;
}

.breadcrumb-section {
    background-color: #f7f7f7;
    padding: 20px 0;
}

.breadcrumb-section .breadcrumb {
    justify-content: flex-end;
    background-color: transparent;
}

.breadcrumb-section .breadcrumb-item {
    color: #337ab7;
}

.breadcrumb-section .breadcrumb-item.active {
    color: #09005f;
}

/* breadcrumb */
/* 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;
    padding: 30px;
    margin-bottom: 0px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    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 {
    background-color: #ffece4;
    padding: 20px !important;

}

table th {
    background: #8f2904;
    color: #fff;
    text-align: center;
    border: 1px solid #ddd !important;
    padding: 10px !important;
}

table td {

    text-align: center;
    border: 1px solid #ddd !important;
    padding: 10px !important;
}

.subpage h3 {
    color: #8f2904;
}

.subpage h4 {
    color: #09005e;
}

.subpage h5 {
    color: #3f3f3f;
}

.bishop-desk img {
    float: left;
    margin-right: 40px;
    height: 470px;
    padding: 0px 10px;
}

#courses .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#courses .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hover-card {
    transition: all 0.3s ease;
    background: #fff;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#uniqueness i {
    transition: color 0.3s ease;
}

.hover-card:hover i {
    color: #0d6efd;
}

@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;
    }
}

/* subpage */
.news-list-card {
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.news-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}

.news-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.news-title {
    font-size: 22px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-list-card:hover .news-title {
    color: #007bff;
}

.news-date {
    font-size: 14px;
    color: #888;
}

.news-list-card .btn {
    width: 100px !important;
    display: inline-block !important;
}

.news-header-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background: linear-gradient(135deg, #8e2a01 0%, #f15b22 100%);
    border-color: #8e2a01;
}

.page-link {
    color: #8e2a01;
    border: 1px solid #8e2a0161;
}

.subpage-section {
    background: #fff;
}

.subpage-section .go-back-btn {
    text-align: right;
    align-items: end;
}

.album-gallery,
.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery img,
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.album-gallery,
.gallery-item {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.album-gallery:hover img,
.gallery-item:hover img {
    transform: scale(1.05);
    /* Zoom effect */
}

.gallery h3 {
    text-align: center;
}

.gallery a h3:hover {
    color: #333;
}

.gallery a {
    text-decoration: none;
}