/* assets/css/style.css */
/* Fonts loaded via <link> in header.php — no @import needed here */

:root {
    --primary-color: #FF671F;      /* Rich Deep Bhagwa Saffron */
    --secondary-color: #E65100;    /* Darker Saffron / Burnt Orange */
    --accent-color: #FFAA00;       /* Gold / Amber */
    --text-dark: #1E293B;          /* Slate Blue / Charcoal */
    --text-muted: #64748B;         /* Soft Slate */
    --bg-light: #FFF7F2;           /* Soft Saffron Cream Background */
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #FAF9F6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: #ffffff;
}

/* Global Card Styling Override */
.card {
    border-radius: 24px 8px 24px 8px !important;
    transition: var(--transition-smooth) !important;
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 13px;
    padding: 10px 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.top-bar a:hover {
    color: var(--accent-color);
}

.main-nav {
    box-shadow: 0 10px 30px rgba(255, 103, 31, 0.05);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.main-nav:hover {
    box-shadow: 0 15px 40px rgba(255, 103, 31, 0.12) !important;
    border-color: rgba(255, 103, 31, 0.25) !important;
}

@media (min-width: 992px) {
    .main-nav.sticky-top {
        margin: 15px auto;
        max-width: 1280px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        background-color: rgba(255, 255, 255, 0.8);
        box-shadow: 0 12px 35px rgba(255, 103, 31, 0.08);
    }
}

.navbar-brand {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
}
.navbar-brand span {
    color: var(--secondary-color);
}
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14.5px;
    padding: 12px 12px !important;
    transition: var(--transition-smooth);
}
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}
.navbar-nav .nav-item {
    position: relative;
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Dropdowns */
.dropdown-menu {
    border: 1px solid rgba(255, 103, 31, 0.06);
    box-shadow: 0 15px 40px rgba(255, 103, 31, 0.08);
    border-radius: 16px;
    padding: 10px;
}
.dropdown-item {
    font-weight: 600;
    padding: 10px 18px;
    color: var(--primary-color);
    border-radius: 8px;
    transition: var(--transition-smooth);
}
.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    padding-left: 22px;
}

/* Home Slider */
.hero-slider {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(255, 103, 31, 0.08);
}
.hero-slider .carousel-item {
    height: 580px;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
}
.slider-caption {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
    z-index: 10;
}
.slider-title {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 22px;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.2s;
}
.slider-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 680px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.4s;
}
.slider-btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.6s;
}

/* Info Cards */
.info-card {
    border-radius: 30px 8px 30px 8px;
    transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
    padding: 35px 30px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.info-card:hover {
    transform: translateY(-10px) scale(1.03) !important;
}
.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-grad-start) 0%, var(--accent-grad-end) 100%) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 15px var(--accent-shadow) !important;
    position: relative;
    z-index: 2;
}
.info-card:hover .info-icon {
    transform: scale(1.15) rotate(8deg) !important;
    box-shadow: 0 8px 22px var(--accent-shadow) !important;
}
.info-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #0c231a;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}
.info-card p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}
.info-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--accent-bg) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0.8;
    pointer-events: none;
}
.info-card:hover::after {
    transform: scale(1.6);
    opacity: 1;
}

/* Accent Themes for Info Cards */
.info-card.accent-gold {
    --accent-theme: #FFAA00;
    --accent-bg: rgba(255, 170, 0, 0.08);
    --accent-grad-start: #FFAA00;
    --accent-grad-end: #FF8800;
    --accent-shadow: rgba(255, 170, 0, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 253, 246, 0.96) 100%) !important;
    border: 1px solid rgba(255, 170, 0, 0.15) !important;
    border-left: 5px solid #FFAA00 !important;
    box-shadow: 0 12px 35px rgba(255, 170, 0, 0.04) !important;
}
.info-card.accent-gold:hover {
    box-shadow: 0 20px 40px rgba(255, 170, 0, 0.18) !important;
    border-color: rgba(255, 170, 0, 0.4) !important;
    border-left-color: #FFAA00 !important;
}
.info-card.accent-blue {
    --accent-theme: #FF671F;
    --accent-bg: rgba(255, 103, 31, 0.08);
    --accent-grad-start: #FF671F;
    --accent-grad-end: #E65100;
    --accent-shadow: rgba(255, 103, 31, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 247, 242, 0.96) 100%) !important;
    border: 1px solid rgba(255, 103, 31, 0.15) !important;
    border-left: 5px solid #FF671F !important;
    box-shadow: 0 12px 35px rgba(255, 103, 31, 0.04) !important;
}
.info-card.accent-blue:hover {
    box-shadow: 0 20px 40px rgba(255, 103, 31, 0.18) !important;
    border-color: rgba(255, 103, 31, 0.4) !important;
    border-left-color: #FF671F !important;
}
.info-card.accent-purple {
    --accent-theme: #E65100;
    --accent-bg: rgba(230, 81, 0, 0.08);
    --accent-grad-start: #E65100;
    --accent-grad-end: #B71C1C;
    --accent-shadow: rgba(230, 81, 0, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 242, 235, 0.96) 100%) !important;
    border: 1px solid rgba(230, 81, 0, 0.15) !important;
    border-left: 5px solid #E65100 !important;
    box-shadow: 0 12px 35px rgba(230, 81, 0, 0.04) !important;
}
.info-card.accent-purple:hover {
    box-shadow: 0 20px 40px rgba(230, 81, 0, 0.18) !important;
    border-color: rgba(230, 81, 0, 0.4) !important;
    border-left-color: #E65100 !important;
}
.info-card.accent-green {
    --accent-theme: #B71C1C;
    --accent-bg: rgba(183, 28, 28, 0.08);
    --accent-grad-start: #D32F2F;
    --accent-grad-end: #8B0000;
    --accent-shadow: rgba(183, 28, 28, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 240, 240, 0.96) 100%) !important;
    border: 1px solid rgba(183, 28, 28, 0.15) !important;
    border-left: 5px solid #B71C1C !important;
    box-shadow: 0 12px 35px rgba(183, 28, 28, 0.04) !important;
}
.info-card.accent-green:hover {
    box-shadow: 0 20px 40px rgba(183, 28, 28, 0.18) !important;
    border-color: rgba(183, 28, 28, 0.4) !important;
    border-left-color: #B71C1C !important;
}

body.dark-mode .info-card.accent-gold {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(26, 22, 12, 0.95) 100%) !important;
    border: 1px solid rgba(255, 170, 0, 0.2) !important;
    border-left: 5px solid #FFAA00 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}
body.dark-mode .info-card.accent-blue {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(10, 20, 38, 0.95) 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    border-left: 5px solid #3b82f6 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}
body.dark-mode .info-card.accent-purple {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(20, 15, 32, 0.95) 100%) !important;
    border: 1px solid rgba(142, 68, 173, 0.2) !important;
    border-left: 5px solid #8e44ad !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}
body.dark-mode .info-card.accent-green {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(10, 25, 20, 0.95) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    border-left: 5px solid #10b981 !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}
body.dark-mode .info-card h5 {
    color: #ffffff !important;
}
body.dark-mode .info-card p {
    color: #94a3b8 !important;
}

/* Section Header */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}
.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Departments Grid */
.dept-card {
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 103, 31, 0.03);
    border: 1px solid rgba(255, 103, 31, 0.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 103, 31, 0.08);
    border-color: rgba(230, 81, 0, 0.15);
}
.dept-img-container {
    overflow: hidden;
    height: 230px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 103, 31, 0.05);
}
.dept-img {
    height: 230px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.dept-card:hover .dept-img {
    transform: scale(1.08);
}
.dept-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dept-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Buttons */
.btn-custom {
    padding: 12px 30px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 103, 31, 0.12);
}
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
}
.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}
.btn-secondary-custom {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}
.btn-secondary-custom:hover {
    background-color: transparent;
    color: var(--accent-color);
}
.btn-outline-custom {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}
.btn-outline-custom:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

/* Statistics Counter Section */
.counter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    position: relative;
    z-index: 1;
    border-radius: 36px;
    margin: 40px auto;
    max-width: calc(100% - 40px);
    box-shadow: 0 15px 40px rgba(255, 103, 31, 0.12);
}
.counter-box {
    text-align: center;
    padding: 35px 20px;
}
.counter-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

/* Message Card (Chairman/Principal) */
.message-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(255, 103, 31, 0.04);
    border: 1px solid rgba(255, 103, 31, 0.05);
    overflow: hidden;
}
.message-img {
    height: 100%;
    object-fit: cover;
    min-height: 260px;
}

/* Floating Elements */
.floating-whatsapp {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background-color: #25D366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition-smooth);
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: #ffffff;
}

/* Footer styling */
.main-footer {
    background: linear-gradient(180deg, #091324 0%, #030811 100%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.5px;
    border-top: 2px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.25);
}
.footer-top {
    padding: 75px 0 45px;
}
.footer-title {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3.5px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 14px;
}
.footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: var(--transition-smooth);
}
.footer-links li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--accent-color);
    transition: var(--transition-smooth);
    font-weight: 700;
}
.footer-links li a:hover {
    color: var(--accent-color);
    transform: translateX(15px);
}
.footer-links li a:hover::before {
    opacity: 1;
}
.footer-social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85) !important;
    transition: var(--transition-smooth);
    font-size: 15px;
    text-decoration: none;
}
.footer-social-icon:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color) !important;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 5px 15px rgba(244, 180, 0, 0.45);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 22px 0;
    font-size: 13px;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Sidebar notice widget */
.notice-widget {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.notice-list {
    list-style: none;
    padding: 0;
}
.notice-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}
.notice-item:last-child {
    border-bottom: none;
}
.notice-date {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Gallery item */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 31, 59, 0.8);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    .navbar-nav .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 12px 10px !important;
    }
    .navbar-nav .nav-link:hover, 
    .navbar-nav .nav-link.active {
        color: var(--accent-color) !important;
    }
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        border-top: none !important;
        position: static !important;
        float: none !important;
        margin-top: 0;
        padding-left: 15px;
    }
    .dropdown-item {
        color: rgba(255, 255, 255, 0.8) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        padding: 8px 15px !important;
    }
    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.08) !important;
        color: var(--accent-color) !important;
        padding-left: 20px !important;
    }
    .hero-slider .carousel-item {
        height: 450px;
    }
    .slider-title {
        font-size: 32px;
    }
    .slider-subtitle {
        font-size: 16px;
    }
}

/* Mobile adjustments (576px and below) */
@media (max-width: 576px) {
    /* Prevent brand overflow */
    .navbar-brand img {
        height: 45px !important;
        width: auto !important;
        max-width: 100% !important;
        margin-right: 8px !important;
    }
    .navbar-brand span {
        font-size: 16px !important;
    }
    .navbar-brand small {
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Hero Carousel on Mobile */
    .hero-slider .carousel-item {
        height: 300px !important;
        min-height: 280px !important;
    }
    .slider-caption {
        padding: 0 15px !important;
    }
    .slider-title {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    .slider-subtitle {
        font-size: 13px !important;
        margin-bottom: 12px !important;
    }
    .slider-btn {
        padding: 8px 18px !important;
        font-size: 12px !important;
    }
    
    /* Stats counter on mobile */
    .counter-box {
        padding: 15px 5px !important;
    }
    .counter-number {
        font-size: 26px !important;
    }
    
    /* Sections padding */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .section-title {
        font-size: 24px !important;
        margin-bottom: 25px !important;
    }
    
    /* Info Card custom margins on mobile */
    .hero-slider + section > .container {
        margin-top: -20px !important;
    }
    .info-card {
        padding: 20px !important;
    }
}

/* Universal patch to prevent horizontal scroll bars */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* ==================== DARK MODE VARIABLES & STYLES ==================== */
body.dark-mode {
    background-color: #060c18 !important;
    color: #e2e8f0 !important;
}

body.dark-mode :root {
    --bg-light: #0d1b2a;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .navbar-brand,
body.dark-mode .navbar-brand span {
    color: #f8fafc !important;
}

body.dark-mode .text-muted,
body.dark-mode .text-secondary {
    color: #94a3b8 !important;
}

body.dark-mode .bg-white,
body.dark-mode .card,
body.dark-mode .dropdown-menu,
body.dark-mode .accordion-item,
body.dark-mode .modal-content {
    background-color: #0d1b2a !important;
    color: #f8fafc !important;
    border-color: #1e293b !important;
}

body.dark-mode .bg-light {
    background-color: #081225 !important;
}

body.dark-mode .main-nav {
    background-color: #0a1128 !important;
    border-bottom: 3px solid var(--accent-color);
}

body.dark-mode .navbar-nav .nav-link {
    color: #e2e8f0 !important;
}

body.dark-mode .navbar-nav .nav-link:hover,
body.dark-mode .navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

body.dark-mode #darkModeToggle {
    color: #e2e8f0 !important;
}

body.dark-mode .dropdown-item {
    color: #e2e8f0 !important;
}

body.dark-mode .dropdown-item:hover {
    background-color: #1e293b !important;
    color: var(--accent-color) !important;
}

body.dark-mode .dept-card,
body.dark-mode .message-card {
    background-color: #0d1b2a !important;
    border: 1px solid #1e293b !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

body.dark-mode .dept-card .dept-title,
body.dark-mode .dept-card p {
    color: #f8fafc !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #152238 !important;
    border-color: #1e293b !important;
    color: #ffffff !important;
}

body.dark-mode .form-control::placeholder {
    color: #64748b !important;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: #152238 !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(30, 136, 229, 0.25) !important;
}

body.dark-mode .table {
    color: #e2e8f0 !important;
    border-color: #1e293b !important;
}

body.dark-mode .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

body.dark-mode .table td,
body.dark-mode .table th {
    background-color: #0d1b2a !important;
    border-color: #1e293b !important;
}

body.dark-mode .accordion-button {
    background-color: #0d1b2a !important;
    color: #f8fafc !important;
}

body.dark-mode .accordion-button:not(.collapsed) {
    background-color: #152238 !important;
    color: var(--accent-color) !important;
}

body.dark-mode .accordion-body {
    background-color: #0d1b2a !important;
    color: #e2e8f0 !important;
}

body.dark-mode .btn-outline-primary {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

body.dark-mode .btn-outline-primary:hover {
    background-color: var(--secondary-color) !important;
    color: #ffffff !important;
}

/* Scroll-triggered Fade-in animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* delay variations */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* Dynamic section title underline animation */
.section-title::after {
    content: '';
    display: block;
    width: 0%;
    height: 4px;
    background-color: var(--accent-color);
    margin: 12px auto 0;
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.section-title.center::after {
    margin: 12px auto 0;
}
.section-title.animated::after,
.animated .section-title::after {
    width: 80px;
}

/* Glassmorphism preview cards */
.glass-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04) !important;
    transition: var(--transition-smooth);
}
body.dark-mode .glass-card {
    background: rgba(13, 27, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.08) !important;
}

/* Image zoom in gallery */
.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.gallery-item:hover img {
    transform: scale(1.1) !important;
}

/* Placement cards */
.placement-card {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border-left: 5px solid var(--secondary-color) !important;
}
.placement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.15) !important;
}
body.dark-mode .placement-card {
    background: #0d1b2a !important;
    border-color: #1e293b !important;
}

/* Notice & News Board */
.notice-card {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--accent-color) !important;
    padding: 24px;
    transition: var(--transition-smooth);
}
body.dark-mode .notice-card {
    background: #0d1b2a !important;
    border-color: #1e293b !important;
}
.notice-item-styled {
    position: relative;
    padding: 15px 15px 15px 25px;
    border-radius: 8px;
    background-color: var(--bg-light);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
    border-left: 4px solid #6c757d;
}
.notice-item-styled.type-notice {
    border-left-color: #dc3545; /* Red for Notice */
}
.notice-item-styled.type-news {
    border-left-color: #198754; /* Green for News */
}
.notice-item-styled:hover {
    transform: translateX(5px);
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
body.dark-mode .notice-item-styled {
    background-color: #152238 !important;
}
body.dark-mode .notice-item-styled:hover {
    background-color: #1c2d4a !important;
}
.notice-item-styled .notice-title-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    transition: var(--transition-smooth);
}
.notice-item-styled:hover .notice-title-link {
    color: var(--secondary-color) !important;
}
body.dark-mode .notice-item-styled .notice-title-link {
    color: #f8fafc !important;
}
body.dark-mode .notice-item-styled:hover .notice-title-link {
    color: var(--accent-color) !important;
}

/* Premium Gallery Card Layout */
.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.12) !important;
    border-color: rgba(30, 136, 229, 0.2);
}
body.dark-mode .gallery-card {
    background: #0d1b2a !important;
    border-color: #1e293b !important;
}
.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background-color: #f1f5f9;
}
body.dark-mode .gallery-img-wrapper {
    background-color: #081225;
}
.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.08) !important;
}
.gallery-card-body {
    padding: 16px 20px;
    background: #ffffff;
    transition: var(--transition-smooth);
}
body.dark-mode .gallery-card-body {
    background: #0d1b2a !important;
}
.gallery-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}
body.dark-mode .gallery-card-title {
    color: #f8fafc !important;
}
.gallery-card:hover .gallery-card-title {
    color: var(--secondary-color);
}
body.dark-mode .gallery-card:hover .gallery-card-title {
    color: var(--accent-color) !important;
}
.gallery-card-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--accent-color);
}
body.dark-mode .gallery-card-category {
    color: var(--accent-color) !important;
}
.gallery-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(244, 180, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(244, 180, 0, 0.4);
    transition: var(--transition-smooth);
    z-index: 2;
}
.gallery-card:hover .gallery-video-overlay {
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ==================== FEE STRUCTURE PAGE ==================== */

/* Tab Toggle */
.fee-toggle-tabs {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    gap: 4px;
}
body.dark-mode .fee-toggle-tabs {
    background: #152238;
}
.fee-tab-btn {
    border: none;
    background: transparent;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #64748b;
    transition: var(--transition-smooth);
    cursor: pointer;
}
.fee-tab-btn:hover {
    color: var(--primary-color);
}
.fee-tab-btn.active {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(11, 31, 59, 0.25);
}
body.dark-mode .fee-tab-btn {
    color: #94a3b8;
}
body.dark-mode .fee-tab-btn.active {
    background: var(--secondary-color) !important;
}

/* Year Card */
.fee-year-card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}
.fee-year-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.1);
    border-color: rgba(30, 136, 229, 0.15);
}
body.dark-mode .fee-year-card {
    background: #0d1b2a;
    border-color: #1e293b;
}

.fee-year-header {
    background: linear-gradient(135deg, var(--primary-color), #13305B);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fee-year-header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.fee-year-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(244, 180, 0, 0.1);
}

.fee-header-alt {
    background: linear-gradient(135deg, #13305B, #1E88E5) !important;
}

.fee-year-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.fee-year-amount {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}
.fee-year-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 0;
}

.fee-year-body {
    padding: 20px 24px;
}

.fee-line-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
    color: #475569;
}
body.dark-mode .fee-line-item {
    border-bottom-color: #1e293b;
    color: #94a3b8;
}
.fee-line-item:last-child {
    border-bottom: none;
}

/* Grand Total Banner */
.fee-grand-total {
    margin-top: 32px;
    padding: 28px 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), #13305B);
    position: relative;
    overflow: hidden;
}
.fee-grand-total::before {
    content: '';
    position: absolute;
    top: -40px;
    right: 10%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(244, 180, 0, 0.08);
}
.fee-grand-alt {
    background: linear-gradient(135deg, #13305B, #1E88E5) !important;
}
.fee-grand-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(244, 180, 0, 0.2);
}

/* Highlight Boxes */
.fee-highlight-box {
    text-align: center;
    padding: 24px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}
.fee-highlight-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.1);
    border-color: rgba(30, 136, 229, 0.15);
}
body.dark-mode .fee-highlight-box {
    background: #0d1b2a;
    border-color: #1e293b;
}
.fee-highlight-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E88E5, #0B1F3B);
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 14px;
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.25);
}

/* CTA Banner */
.fee-cta-banner {
    padding: 28px 32px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border-left: 5px solid var(--accent-color);
}
body.dark-mode .fee-cta-banner {
    background: #0d1b2a;
    border-color: #1e293b;
    border-left-color: var(--accent-color);
}

/* Mobile responsiveness for fee cards */
@media (max-width: 767px) {
    .fee-grand-total {
        text-align: center;
    }
    .fee-grand-total .text-md-end {
        text-align: center !important;
        margin-top: 12px;
    }
    .fee-grand-amount {
        font-size: 28px;
    }
    .fee-cta-banner {
        text-align: center;
    }
    .fee-cta-banner .text-lg-end {
        text-align: center !important;
    }
    .fee-tab-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* ==================== PLACEMENT PAGE ==================== */

/* Stats Counter Strip */
.placement-stats-strip {
    background: #ffffff;
    padding: 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}
body.dark-mode .placement-stats-strip {
    background: transparent;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}
.stat-item:hover {
    background: #f8fafc;
}
body.dark-mode .stat-item {
    background: #0d1b2a;
    border-color: #1e293b;
}
body.dark-mode .stat-item:hover {
    background: #152238;
}
.stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), #13305B);
    color: var(--accent-color);
    font-size: 18px;
}
.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.2;
}
body.dark-mode .stat-value {
    color: var(--accent-color);
}
.stat-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Placement Support Cards */
.placement-support-card {
    padding: 24px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}
.placement-support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.1);
    border-color: rgba(30, 136, 229, 0.15);
}
body.dark-mode .placement-support-card {
    background: #0d1b2a;
    border-color: #1e293b;
}
.psc-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    margin-bottom: 14px;
}

/* Recruiter Card */
.recruiter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    min-height: 120px;
}
.recruiter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.1);
    border-color: rgba(30, 136, 229, 0.15);
}
body.dark-mode .recruiter-card {
    background: #0d1b2a;
    border-color: #1e293b;
}
.recruiter-logo {
    max-height: 50px;
    max-width: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: var(--transition-smooth);
}
.recruiter-card:hover .recruiter-logo {
    filter: grayscale(0%);
    opacity: 1;
}
.recruiter-name {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
body.dark-mode .recruiter-name {
    color: #94a3b8;
}

/* Placed Student Card */
.placed-student-card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}
.placed-student-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.12);
    border-color: rgba(30, 136, 229, 0.15);
}
body.dark-mode .placed-student-card {
    background: #0d1b2a;
    border-color: #1e293b;
}
.psc-photo-wrapper {
    position: relative;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 28px 0 20px;
    text-align: center;
}
body.dark-mode .psc-photo-wrapper {
    background: linear-gradient(135deg, #081225, #152238);
}
.psc-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
body.dark-mode .psc-photo {
    border-color: #0d1b2a;
}
.psc-year-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
body.dark-mode .psc-year-badge {
    background: var(--secondary-color);
}
.psc-body {
    padding: 20px;
    text-align: center;
}
.psc-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}
body.dark-mode .psc-name {
    color: #f8fafc;
}
.psc-company {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}
body.dark-mode .psc-company {
    color: #94a3b8;
}
.psc-package {
    display: inline-block;
    background: linear-gradient(135deg, #F4B400, #FF8F00);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(244, 180, 0, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .placement-stats-strip {
        margin-top: 0;
    }
    .stat-item {
        padding: 20px 16px;
    }
    .stat-value {
        font-size: 18px;
    }
    .stat-label {
        font-size: 10px;
    }
}

/* ==================== RECRUITER MARQUEE ==================== */
.recruiter-section {
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.recruiter-marquee-wrapper {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    padding: 10px 0;
}
.recruiter-marquee-track {
    display: flex;
    gap: 24px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}
.recruiter-marquee-track:hover {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-logo-item-new {
    flex-shrink: 0;
}
.logo-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    width: 190px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: none;
}
.logo-card:hover {
    filter: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: rgba(0,0,0,0.1);
}
.logo-card svg, .logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* Keep old styles for backward compat */
.marquee-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 120px;
    padding: 12px 16px;
}
.marquee-logo-item img {
    max-height: 55px;
    max-width: 140px;
    object-fit: contain;
    transition: var(--transition-smooth);
    border-radius: 8px;
}
.marquee-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.marquee-logo-item span {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== WHY CHOOSE US ==================== */
.why-choose-card {
    padding: 28px 24px;
    border-radius: 24px 8px 24px 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}
.why-choose-card:hover::before {
    opacity: 1;
}
.why-choose-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.1);
    border-color: rgba(30, 136, 229, 0.1);
}
body.dark-mode .why-choose-card {
    background: #0d1b2a;
    border-color: #1e293b;
}
.wcc-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
    transition: var(--transition-smooth);
}
.why-choose-card:hover .wcc-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    padding: 32px 28px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.1);
    border-color: rgba(30, 136, 229, 0.1);
}
body.dark-mode .testimonial-card {
    background: #0d1b2a;
    border-color: #1e293b;
}
.testimonial-quote {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 12px;
    opacity: 0.5;
}
.testimonial-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
}

/* ==================== NEW HOME PAGE ENHANCEMENTS ==================== */

/* 1. Affiliations Section */
.affiliation-section {
    background-color: #F8F9FA;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.dark-mode .affiliation-section {
    background-color: #081225 !important;
}
.affiliation-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}
.affiliation-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 170px;
    text-align: center;
    position: relative;
    border-bottom: 3.5px solid transparent;
}
body.dark-mode .affiliation-card {
    background: #0d1b2a !important;
    border-color: #1e293b !important;
}
.affiliation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}
.affiliation-card.accent-aicte:hover {
    border-bottom-color: #F4B400;
}
.affiliation-card.accent-pci:hover {
    border-bottom-color: #198754;
}
.affiliation-card.accent-sbte:hover {
    border-bottom-color: #1E88E5;
}
.affiliation-card.accent-dst:hover {
    border-bottom-color: #dc3545;
}
.affiliation-logo-wrap {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    margin-bottom: 12px;
    transition: all 0.4s;
}
body.dark-mode .affiliation-logo-wrap {
    background: #152238;
}
.affiliation-card:hover .affiliation-logo-wrap {
    transform: scale(1.06);
    background: #ffffff;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
}
body.dark-mode .affiliation-card:hover .affiliation-logo-wrap {
    background: #0d1b2a;
}
.affiliation-logo-wrap img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    transition: all 0.4s;
}
.affiliation-card span.affiliation-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}
body.dark-mode .affiliation-card span.affiliation-label {
    color: #ffffff;
}
.affiliation-card span.affiliation-sublabel {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 2px;
}
body.dark-mode .affiliation-card span.affiliation-sublabel {
    color: #94a3b8;
}

/* 2. Upcoming Events Section */
.event-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(30, 136, 229, 0.2);
}
body.dark-mode .event-card {
    background: #0d1b2a !important;
    border-color: #1e293b !important;
}
.event-date-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, #051020 100%);
    color: #ffffff;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 80px;
}
body.dark-mode .event-date-wrapper {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}
.event-day {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-color);
}
.event-month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.event-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.event-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}
body.dark-mode .event-title {
    color: #ffffff !important;
}
.event-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
body.dark-mode .event-meta {
    color: #94a3b8 !important;
}

/* 3. Floating Action Buttons (Mobile) */
.floating-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0b1f3b;
    height: 55px;
    display: flex;
    z-index: 2000;
    border-top: 3px solid var(--accent-color);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
}
.floating-mobile-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}
.floating-mobile-item:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.floating-mobile-item:hover, .floating-mobile-item:active {
    background-color: rgba(255, 255, 255, 0.05);
}
.floating-mobile-item i {
    font-size: 16px;
    margin-right: 8px;
    color: var(--accent-color);
}

@media (min-width: 769px) {
    .floating-mobile-bar {
        display: none !important;
    }
}
@media (max-width: 768px) {
    body {
        padding-bottom: 55px !important;
    }
    .floating-whatsapp {
        bottom: 135px !important; /* Move WhatsApp button up on mobile so it doesn't overlap the mobile bar */
    }

}

/* ==================== PREMIUM VISUAL POLISHING (JUNE 2026) ==================== */

/* 1. Gradient Section Titles */
.section-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}
body.dark-mode .section-title {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* 2. Glassmorphism Info & Course Cards Glow */
.dept-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.dept-card:hover {
    transform: translateY(-8px) scale(1.015) !important;
    box-shadow: 0 20px 40px rgba(255, 103, 31, 0.12) !important;
    border-color: var(--secondary-color) !important;
}

/* 3. Background Blobs (Modern Backdrop Blur Technique) */
.position-relative {
    position: relative !important;
}
.bg-blob {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 81, 0, 0.08) 0%, rgba(255, 103, 31, 0.02) 60%, transparent 80%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}
.bg-blob-1 {
    top: 5%;
    left: -80px;
}
.bg-blob-2 {
    bottom: 10%;
    right: -100px;
    background: radial-gradient(circle, rgba(255, 170, 0, 0.08) 0%, rgba(255, 136, 0, 0.02) 60%, transparent 80%);
}
.bg-blob-3 {
    top: 30%;
    left: 45%;
    background: radial-gradient(circle, rgba(230, 81, 0, 0.06) 0%, transparent 70%);
}

/* 4. Pulsing Call-to-Action Callbacks */
@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(230, 81, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 81, 0, 0);
    }
}
.btn-pulse {
    animation: buttonPulse 2.2s infinite;
}
.btn-pulse:hover {
    animation: none !important;
}

/* 5. Custom Styling for Hero Slider Overlay & Fading */
.hero-slider .carousel-item::before {
    display: none !important;
}
.slider-caption {
    background: rgba(255, 255, 255, 0.04);
    padding: 30px 40px !important;
    border-radius: 24px;
    border-left: 5px solid var(--accent-color);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
    .slider-caption {
        padding: 20px !important;
        border-radius: 12px;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border-left: none;
    }
}

/* 6. Why Choose Us Card upgrades */
.why-choose-card {
    border: 1px solid rgba(255, 103, 31, 0.08) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(5px);
    border-radius: 24px 8px 24px 8px !important;
}
.why-choose-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(255, 103, 31, 0.12) !important;
    border-color: var(--secondary-color) !important;
}

/* 7. Enhanced Accordion Design */
#homepageFAQ .accordion-item {
    border-radius: 12px !important;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 103, 31, 0.06) !important;
}
#homepageFAQ .accordion-button {
    border-radius: 12px !important;
    font-size: 15px;
    padding: 18px 20px;
    transition: var(--transition-smooth);
}
#homepageFAQ .accordion-button:not(.collapsed) {
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 103, 31, 0.06) !important;
    background-color: var(--bg-light) !important;
    color: var(--primary-color) !important;
}
body.dark-mode #homepageFAQ .accordion-button:not(.collapsed) {
    background-color: #152238 !important;
    color: var(--accent-color) !important;
}

/* 8. Professional Approval Cards UI */
.approval-card {
    background: #ffffff;
    border: 1px solid rgba(255, 103, 31, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(255, 103, 31, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    height: 100%;
    border-top: 4px solid var(--secondary-color) !important;
    position: relative;
    overflow: hidden;
}
body.dark-mode .approval-card {
    background: #0d1b2a !important;
    border-color: #1e293b !important;
    border-top-color: var(--secondary-color) !important;
}
.approval-card:hover {
    transform: translateY(-8px) scale(1.025) !important;
    box-shadow: 0 20px 40px rgba(230, 81, 0, 0.08) !important;
    border-color: var(--secondary-color) !important;
}
.approval-icon-wrap {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0faf5;
    transition: var(--transition-smooth);
}
body.dark-mode .approval-icon-wrap {
    background: #152238;
}
.approval-card:hover .approval-icon-wrap {
    transform: scale(1.08) rotate(5deg) !important;
    background: #ffffff !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04) !important;
}
body.dark-mode .approval-card:hover .approval-icon-wrap {
    background: #0d1b2a !important;
}
.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
}
.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1) !important;
}
.text-success {
    color: #198754 !important;
}
.text-primary {
    color: #0F5132 !important;
}
body.dark-mode .text-primary {
    color: #ffffff !important;
}

/* Center Section Title text and line */
.section-title.center {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
}
.section-title.center::after {
    position: relative !important;
    display: block !important;
    margin: 12px auto 0 !important;
    left: 0 !important;
    transform: none !important;
}

/* ==================== PREMIUM ANIMATIONS & EFFECTS ==================== */

/* 1. Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), #2196f3);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease;
}

/* 2. Molecular Canvas Background */
.molecular-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.65;
}
.hero-slider, .about-section-container {
    position: relative;
    overflow: hidden;
}

/* 3. Card Shine Hover Effect & Interactive Hover Card */
.interactive-hover-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px 8px 24px 8px !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease !important;
}
.interactive-hover-card:hover {
    transform: translateY(-10px) scale(1.025) !important;
    box-shadow: 0 20px 40px rgba(255, 103, 31, 0.15) !important;
    border-color: var(--secondary-color) !important;
}
body.dark-mode .interactive-hover-card:hover {
    box-shadow: 0 20px 40px rgba(244, 180, 0, 0.08) !important;
}

.card-shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 30%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.1s ease;
    pointer-events: none;
    z-index: 5;
}
.card-shine-effect:hover::after {
    opacity: 1;
    animation: shine-effect-anim 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes shine-effect-anim {
    0% {
        left: -60%;
    }
    100% {
        left: 140%;
    }
}

/* 4. Stats Counter Icon micro-animations */
.stat-item {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(360deg);
}
.stat-icon {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 5. Floating Helpline with Pulsing Rings */
.floating-helpline-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-floating-helpline {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(255, 103, 31, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    z-index: 10;
}
body.dark-mode .btn-floating-helpline {
    background: linear-gradient(135deg, var(--secondary-color), #228b22);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.35);
}
.btn-floating-helpline:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 103, 31, 0.55);
}
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--secondary-color);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}
.pulse-ring.ring-1 {
    animation: pulse-ring-anim 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}
.pulse-ring.ring-2 {
    animation: pulse-ring-anim 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    animation-delay: 1.25s;
}

@keyframes pulse-ring-anim {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* 6. Slider Text Reveal Animation */
.slider-caption .slider-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-reveal-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.slider-caption .slider-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-reveal-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}
.slider-caption .slider-btn {
    opacity: 0;
    transform: translateY(15px);
    animation: fade-reveal-up 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.5s;
}

@keyframes fade-reveal-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Push back-to-top button up to avoid overlap */
.sp-backtotop {
    bottom: 105px !important;
}
