/* ============================================
   BTECH TECHNICAL COLLEGE - UNIVERSITY HYBRID THEME
   Reference: WITL (Colors), IITD (Layout), LNMU (Social)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --uni-maroon: #7c0000;
    /* WITL Primary Maroon */
    --uni-green: #007a23;
    /* WITL Vibrant Green (Titles) */
    --uni-green-dark: #3d6344;
    /* WITL Dark Forest Green (Footer) */
    --uni-gold: #D4AF37;
    /* Accent */
    --uni-light: #f4f6f9;
    --uni-dark: #212329;
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
}

.bg-university-forest {
    background-color: var(--uni-green-dark) !important;
}

/* ============================================
   PRELOADER
   ============================================ */
/* ============================================
   EVENTS / RESEARCH SECTION STANDARDIZATION
   ============================================ */
.uni-card {
    transition: all 0.3s ease;
    display: flex !important;
    flex-direction: column !important;
}

.uni-card img {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-bottom: 3px solid var(--uni-gold);
}

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

.uni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Blueprint Blue/White Theme */
    background-color: #f7f9fb;
    background-image:
        linear-gradient(rgba(124, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(124, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: center;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    overflow: hidden;
}

#preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(244, 247, 246, 0.8) 100%);
    pointer-events: none;
}

.scanner-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 122, 35, 0.1), transparent);
    border-bottom: 2px solid rgba(0, 122, 35, 0.2);
    box-shadow: 0 5px 15px rgba(0, 122, 35, 0.05);
    z-index: 1;
    animation: scanAnimation 4s linear infinite;
}

@keyframes scanAnimation {
    0% {
        top: -100px;
    }

    100% {
        top: 100%;
    }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.circuit-loader {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto;
}

/* Logo styles removed as requested */

.loader-progress-container {
    width: 250px;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto 0;
    position: relative;
    z-index: 2;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--uni-green);
    animation: progressFill 3s ease-in-out infinite;
}

@keyframes progressFill {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }

    50% {
        width: 70%;
        transform: translateX(0);
    }

    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

.loading-text {
    position: relative;
    z-index: 2;
    letter-spacing: 2px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: var(--uni-dark);
    opacity: 0.8;
}

.loading-dots span {
    display: inline-block;
    animation: dotPulse 1.5s infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes progressFill {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }

    50% {
        width: 70%;
        transform: translateX(0);
    }

    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

.loading-dots span {
    display: inline-block;
    animation: dotPulse 1.5s infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

.orbit:nth-child(3) {
    animation-duration: 1.5s;
    border-right-color: transparent;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* ============================================
   GLOBAL BEAUTY & TEXTURES
   ============================================ */
:root {
    --uni-maroon: #7c0000;
    --uni-green: #007a23;
    --uni-gold: #c5a059;
    --bg-light-textured: #f8f9fa;
}

body {
    background-color: #fff;
    background-image: radial-gradient(var(--uni-gold) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    /* Very subtle technical grid globally */
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* Technical Blueprint / Grid Patterns */
.bg-tech-grid {
    background-image:
        linear-gradient(rgba(124, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.bg-grand-gradient {
    background: linear-gradient(135deg, #259816 0%, #e2e8f0 100%);
    position: relative;
    /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
    /* Subtle separation */
}

.bg-university-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Section Depth */
section {
    position: relative;
    padding: 50px 0;
    /* Reduced from 80px for a more compact look */
}

/* Premium Glass Cards (Global) */
.glass-card-premium {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    border-bottom: 4px solid transparent;
}

.glass-card-premium:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--uni-gold);
}

.text-gold {
    color: var(--uni-gold) !important;
}

.bg-maroon {
    background-color: var(--uni-maroon) !important;
    color: #fff !important;
}

.bg-gold {
    background-color: var(--uni-gold) !important;
}

.text-green-accent {
    color: #ffd700 !important;
    /* Gold icons on green background look premium */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.text-maroon {
    color: var(--uni-maroon) !important;
}

.text-green {
    color: #007a23 !important;
}

/* Section Header Beauty */
.section-title-premium {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section-title-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--uni-gold);
    border-radius: 2px;
}

/* Base Responsive */
img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

.display-1 {
    font-size: 3.5rem;
}

.display-2 {
    font-size: 3rem;
}

.display-3 {
    font-size: 2.5rem;
}

.display-4 {
    font-size: 2.25rem !important;
}

.display-5 {
    font-size: 1.75rem !important;
}

.display-6 {
    font-size: 1.5rem !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
    /* Classic Academic Font */
    color: var(--uni-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 2.5rem;
    }

    .display-2 {
        font-size: 2.25rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.75rem !important;
    }

    .display-5 {
        font-size: 1.5rem !important;
    }

    .display-6 {
        font-size: 1.25rem !important;
    }
}

/* ============================================
   HEADER SYSTEM (IITD Style)
   ============================================ */
/* 1. Top Strip (LNMU Social Style) */
.top-bar {
    background: var(--uni-green);
    color: #fff;
    padding: 2px 0;
    /* Reduced height */
    font-size: 0.85rem;
    border-bottom: 2px solid var(--uni-gold);
}

.social-links a {
    color: #fff;
    margin-right: 15px;
    font-size: 1rem;
    transition: 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: var(--uni-gold);
    transform: rotateY(360deg);
    /* Tadak Spin */
}

/* 2. Main Logo Area */
.main-header {
    background: #fff;
    padding: 0.5rem 0;
    /* Ultra Compact */
    position: relative;
    z-index: 10;
}

.uni-logo-text h1 {
    font-size: 1.25rem;
    /* Scaled down from 1.5rem */
    font-weight: 900;
    color: var(--uni-green);
    margin-bottom: 0;
}

.uni-logo-text p {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--uni-maroon);
    text-transform: uppercase;
    font-size: 0.7rem;
    margin-bottom: 0;
}

/* 3. Navigation Bar */
.navbar-uni {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--uni-gold);
    transition: all 0.4s ease;
    padding: 0;
    border-top: 3px solid var(--uni-gold);
}

.navbar-uni.section-padding {
    padding: 80px 0;
}

.navbar-uni.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-uni .nav-link {
    color: var(--uni-green) !important;
    /* color: var(--uni-maroon) !important; */
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.8rem 1.2rem !important;
    /* Compact Nav */
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
}

.navbar-uni .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--uni-gold);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.navbar-uni .nav-link:hover::after {
    width: 80%;
}

.navbar-uni .nav-link:hover {
    color: var(--uni-gold) !important;
}

.hero-slider-section {
    position: relative;
    height: 560px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 0 !important;
    overflow: hidden;
}

@media (max-width: 991px) {
    .hero-slider-section {
        height: auto;
        padding-bottom: 50px !important;
    }

    #heroCarousel {
        height: 400px !important;
    }
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: kenBurnsGrand 25s ease-in-out infinite alternate;
    z-index: 1;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-caption-custom {
    position: absolute;
    bottom: 25%;
    left: 10%;
    width: 50%;
    z-index: 10;
    text-align: left;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    border-left: 6px solid var(--uni-green);
    padding-left: 35px !important;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.9);
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .carousel-caption-custom {
        bottom: 15%;
        left: 5%;
        width: 90%;
        padding-left: 20px !important;
        border-left-width: 4px;
    }

    .carousel-caption-custom h4 {
        font-size: 1.8rem !important;
    }

    .carousel-caption-custom p {
        font-size: 1rem !important;
        margin-bottom: 15px;
    }

    .carousel-caption-custom .btn-uni {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

.carousel-caption-custom h4 {
    font-size: 2.5rem;
    /* Reduced from 4rem for impact without being too large */
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff !important;
    word-wrap: break-word;
}

.carousel-caption-custom p {
    font-size: 1.25rem;
    /* Reduced from 2rem */
    font-weight: 400;
    color: #fff !important;
    margin-bottom: 25px;
}

/* Fix for Button Visibility */
.carousel-caption-custom .btn-uni {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: var(--uni-maroon);
    border: 2px solid var(--uni-gold);
    color: #fff !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.carousel-caption-custom .btn-uni:hover {
    background: var(--uni-gold);
    color: var(--uni-maroon) !important;
    transform: translateY(-5px);
}

.hero-tag-premium {
    display: inline-block;
    padding: 5px 15px;
    background: var(--uni-gold);
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-slider-section h1.display-4 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Side Notice Card */
.side-notice-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 0;
    padding: 20px !important;
}

@media (max-width: 991px) {
    .side-notice-card {
        margin-top: 20px;
        border-radius: 30px !important;
    }
}

.side-profile-img-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.side-profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 4px solid #fff;
    z-index: 2;
    position: relative;
}

.gold-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed var(--uni-gold);
    border-radius: 50%;
    animation: rotateGold 15s linear infinite;
}

@keyframes rotateGold {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .zigzag-accent {
        right: 0px;
        bottom: 0px;
    }
}

/* Improved Wavy Divider - Layered for depth */
.wavy-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 10;
}

.wavy-divider svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 80px;
}

.wavy-divider .shape-fill {
    fill: #f1f5f9;
}

/* ============================================
   PRINCIPAL SECTION ENHANCEMENTS
   ============================================ */
.principal-section {
    position: relative;
    overflow: hidden;
}

.principal-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--uni-gold) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

.principal-img {
    transition: all 0.5s ease;
    border: 8px solid #fff;
}

.principal-image-container:hover .principal-img {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2) !important;
}

.signature-box {
    position: absolute;
    bottom: -20px;
    right: -30px;
    min-width: 220px;
    z-index: 10;
    border-left: 5px solid var(--uni-maroon) !important;
}

@media (max-width: 991px) {
    .signature-box {
        bottom: 10px;
        right: 10px;
        min-width: auto;
        position: relative;
        margin-top: 20px;
    }
}

.principal-quote {
    background: rgba(255, 255, 255, 0.9) !important;
    border-left-color: var(--uni-maroon) !important;
    position: relative;
}

.principal-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 8rem;
    color: var(--uni-gold);
    opacity: 0.1;
    font-family: serif;
}

/* ============================================
   NOTICE & NEWS - PREMIUM FLOATING DESIGN
   ============================================ */
.gov-notice-board {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
}



.gov-notice-title {
    font-size: 1.3rem !important;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .gov-notice-title {
        font-size: 1.1rem !important;
    }
}

.gov-notice-body {
    padding: 15px !important;
    background: #f8fafc !important;
    height: 350px !important;
    /* Reduced from 480px for a more compact look */
}

/* Floating Card for each news item */
.gov-news-item {
    background: #fff !important;
    padding: 10px 15px !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
    border-left: 4px solid var(--uni-maroon) !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    border-bottom: none !important;
}

.gov-news-item:hover {
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-left-color: var(--uni-gold) !important;
    background: #fffcf5 !important;
}

@media (max-width: 768px) {
    .gov-news-item:hover {
        transform: translateY(-2px);
    }
}

.gov-date-badge {
    background: var(--uni-maroon) !important;
    min-width: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(124, 0, 0, 0.2);
}

.gov-date-day {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 800;
}

.gov-date-month {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.6rem !important;
}

.gov-news-text {
    font-weight: 600 !important;
    color: #2d3436 !important;
    font-size: 0.95rem !important;
}

.gov-new-badge {
    background: #ff4757 !important;
    padding: 2px 8px !important;
    font-size: 0.65rem !important;
}

/* Quick Links Sidebar */
.gov-notice-board.sidebar-links {
    background: transparent;
    box-shadow: none;
    border: none;
}

.gov-link-item {
    background: #fff !important;
    padding: 18px 20px !important;
    border-radius: 15px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    border-left: 4px solid var(--uni-gold) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.gov-link-item:hover {
    transform: scale(1.02) !important;
    padding-left: 25px !important;
    background: var(--uni-maroon) !important;
    color: #fff !important;
}

.gov-link-item:hover .link-label {
    color: #fff !important;
}

.gov-link-item:hover .gov-link-icon {
    background: #fff !important;
    color: var(--uni-maroon) !important;
}

.carousel-caption-custom h1 {
    animation: fadeInUp 1s both 0.5s;
}

.carousel-caption-custom p {
    animation: fadeInUp 1s both 0.8s;
}

.carousel-caption-custom .btn {
    animation: fadeInUp 1s both 1.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag-premium {
    display: inline-block;
    padding: 6px 25px;
    background: var(--uni-maroon);
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 30px;
    text-transform: uppercase;
}

.btn-uni-lg {
    background: linear-gradient(135deg, var(--uni-maroon) 0%, #a00000 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    transition: 0.4s;
    text-decoration: none;
    display: inline-block;
}

.btn-uni-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(124, 0, 0, 0.3);
    color: #fff;
}

.btn-outline-maroon-lg {
    border: 2.5px solid var(--uni-maroon);
    color: var(--uni-maroon);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 50px;
    transition: 0.4s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-maroon-lg:hover {
    background: var(--uni-maroon);
    color: #fff;
    transform: translateY(-5px);
}

.bg-success-soft {
    background-color: rgba(61, 99, 68, 0.15) !important;
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.15) !important;
}

@keyframes kenBurnsGrand {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

/* Improved Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) sepia(100%) saturate(10000%) hue-rotate(320deg);
    /* Maroon tint */
}

.hero-tag {
    background: var(--uni-gold);
    color: var(--uni-maroon);
    display: inline-block;
    padding: 5px 20px;
    font-weight: bold;
    margin-bottom: 20px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

/* ============================================
   ACADEMIC CARDS (IITD/WITL Hybrid)
   ============================================ */
.section-title {
    color: var(--uni-maroon);
    border-left: 5px solid var(--uni-green);
    padding-left: 15px;
    margin-bottom: 3rem;
}

.uni-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 8px;
    overflow: hidden;
}

/* Top colored strip */
.uni-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--uni-maroon), var(--uni-green));
    transition: height 0.3s;
}

.uni-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(124, 0, 0, 0.15);
}

.uni-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.uni-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--uni-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--uni-maroon);
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: 0.5s;
    border: 2px solid var(--uni-maroon);
}

.uni-card:hover .icon-wrapper {
    background: var(--uni-maroon);
    color: var(--uni-gold);
    transform: rotate(360deg);
}

/* Buttons */
.btn-uni {
    background: var(--uni-maroon);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    /* Pill shape for classic look */
    border: 2px solid var(--uni-maroon);
    font-weight: bold;
    transition: 0.3s;
}

.btn-uni:hover {
    background: transparent;
    color: var(--uni-maroon);
    transform: scale(1.05);
}

/* ============================================
   FLOATING STRIP & SECTIONS
   ============================================ */
.floating-strip {
    margin-top: 40px;
    /* Separates from Facilities */
    margin-bottom: 40px;
    /* Separates from Departments */
    position: relative;
    z-index: 10;
}

.floating-strip .row {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.info-box {
    background: transparent !important;
    padding: 30px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    color: #fff;
    /* Keep existing color for text */
    /* Remove redundant border-right, height, display, flex-direction, justify-content, align-items if they are meant to be overridden */
    /* The original .info-box had these, but the new one seems to replace them. */
    /* Assuming the intent is to keep the layout properties from the original .info-box */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-box:hover {
    background: var(--uni-maroon);
    transform: translateY(-5px);
}

.info-box i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--uni-gold);
}

.info-box h5 {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
}

/* Section Backgrounds */
.bg-soft-gray {
    background-color: #f8f9fa;
    background-image: radial-gradient(#dee2e6 1px, transparent 1px);
    background-size: 20px 20px;
    /* Subtle texture */
}

.bg-soft-green {
    background-color: rgba(61, 99, 68, 0.05);
    /* Very light green tint */
    border-top: 1px solid rgba(61, 99, 68, 0.1);
    border-bottom: 1px solid rgba(61, 99, 68, 0.1);
}

/* Card Updates */
.uni-card {
    border-top: 4px solid var(--uni-gold) !important;
    /* Stronger definition */
}

.uni-card:hover {
    border-top-color: var(--uni-maroon) !important;
}

/* Footer (WITL Green) */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    position: relative;
    overflow: hidden;
    color: #e0e0e0;
    border-top: 5px solid var(--uni-gold);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(197, 160, 89, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.footer-link-premium {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.footer-link-premium:hover {
    color: var(--uni-gold);
    transform: translateX(5px);
}

footer h5 {
    color: #fff;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

footer a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

footer a:hover {
    opacity: 1;
    color: var(--uni-gold);
    padding-left: 5px;
    transition: 0.3s;
}

/* ============================================
   UIVERSE ADVANCED UI ENHANCEMENTS
   ============================================ */

/* 1. Cyber-Glow Buttons */
.btn-uni {
    background: linear-gradient(45deg, var(--uni-maroon), #a00000);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn-uni::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--uni-gold);
    transition: all 0.4s ease;
    z-index: -1;
    transform: skewX(45deg) translateX(-150%);
}

.btn-uni:hover::before {
    width: 200%;
    transform: skewX(45deg) translateX(0);
}

.btn-uni:hover {
    color: var(--uni-maroon);
    box-shadow: 0 0 20px var(--uni-maroon);
    /* GLOW EFFECT */
    transform: translateY(-3px);
}

/* 2. 3D Lifting Cards */
.uni-card {
    border-top: 4px solid var(--uni-gold) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    /* Bouncy Spring */
}

.uni-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(61, 99, 68, 0.2) !important;
    /* Green Shadow */
    border-top-color: var(--uni-maroon) !important;
}

.uni-card .icon-wrapper {
    transition: all 0.6s ease;
}

.uni-card:hover .icon-wrapper {
    background: var(--uni-maroon);
    color: var(--uni-gold);
    transform: rotateY(180deg) scale(1.1);
    /* 3D Spin */
    box-shadow: 0 0 15px var(--uni-gold);
}

/* 3. Glassmorphism Info Strip */
.floating-strip .info-box {
    background: rgba(61, 99, 68, 0.85);
    /* Semi-transparent Green */
    backdrop-filter: blur(10px);
    /* FROSTED GLASS */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.floating-strip .info-box:hover {
    background: rgba(124, 0, 0, 0.9);
    transform: translateY(-5px);
}

/* 4. Organic SVG Waves */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: #f8f9fa;
    /* Matches bg-soft-gray */
}

.section-relative {
    position: relative;
}

/* Global Polish */
.hover-gold:hover {
    color: var(--uni-gold) !important;
    text-shadow: 0 0 5px var(--uni-gold);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 10001;
    transition: opacity 0.3s, transform 0.3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--uni-maroon);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--uni-green);
    transition: all 0.1s ease-out;
}

body {
    cursor: none;
}

a,
button,
.uni-card,
.info-box {
    cursor: none;
}

/* ============================================
   UIVERSE 3D CARD SYSTEM (Smart Liger Ref)
   ============================================ */
.uiverse-card-parent {
    perspective: 1000px;
    width: 100%;
    height: 100%;
    display: flex;
}

.uiverse-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 60px 30px;
    background: linear-gradient(135deg, var(--uni-maroon) 0%, #a00000 100%);
    border-radius: 40px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 25px 50px rgba(124, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.uiverse-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    border-radius: 40px;
    z-index: 1;
}

.uiverse-card-parent:hover .uiverse-card {
    transform: rotate3d(1, 1, 0, 20deg);
    box-shadow: 0 40px 80px rgba(124, 0, 0, 0.4);
}

/* Glass Layer */
.uiverse-glass {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transform: translateZ(30px);
    z-index: 2;
    pointer-events: none;
}

/* Concentric Circle Logo Stack */
.circles-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    transform-style: preserve-3d;
    transform: translateZ(50px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s ease;
}

.circles-container i {
    font-size: 3rem;
    color: var(--uni-gold);
    z-index: 10;
    transform: translateZ(110px);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.6s ease;
}

/* Premium Campus Stats - Uiverse Inspired */
.campus-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.stat-card-premium {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    color: var(--uni-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.stat-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--uni-gold), transparent, transparent);
    animation: rotateGlow 4s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card-premium:hover::before {
    opacity: 1;
}

.stat-card-premium::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #fff;
    border-radius: 17px;
    z-index: -1;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.stat-card-premium:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.2);
}

.stat-card-premium i {
    font-size: 1.5rem;
    color: var(--uni-maroon);
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.stat-card-premium:hover i {
    transform: translateZ(20px) scale(1.2);
    color: var(--uni-gold);
}

.stat-card-premium h3 {
    font-size: 1.5rem !important;
    font-weight: 800;
    margin: 0;
    color: var(--uni-maroon);
}

.stat-card-premium p {
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0;
    opacity: 0.8;
}

.about-section p.lead {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    line-height: 1.2;
}

.uiverse-circle {
    position: absolute;
    border: 2px solid var(--uni-gold);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.6s ease;
}

.circle-1 {
    width: 50px;
    height: 50px;
    transform: translateZ(20px);
    opacity: 0.3;
}

.circle-2 {
    width: 70px;
    height: 70px;
    transform: translateZ(40px);
    opacity: 0.4;
}

.circle-3 {
    width: 90px;
    height: 90px;
    transform: translateZ(60px);
    opacity: 0.5;
}

.circle-4 {
    width: 110px;
    height: 110px;
    transform: translateZ(80px);
    opacity: 0.6;
}

.circle-5 {
    width: 130px;
    height: 130px;
    transform: translateZ(100px);
    opacity: 0.7;
}

.uiverse-card-parent:hover .circle-5 {
    transform: translateZ(125px);
    opacity: 1;
    border-width: 3px;
}

.uiverse-card-parent:hover .circle-4 {
    transform: translateZ(105px);
    opacity: 0.9;
}

.uiverse-card-parent:hover .circle-3 {
    transform: translateZ(85px);
    opacity: 0.8;
}

.uiverse-card-parent:hover i {
    transform: translateZ(140px) scale(1.1);
    color: #fff;
}

/* Card Content Overlay */
.uiverse-content {
    position: relative;
    z-index: 5;
    transform: translateZ(60px);
    text-align: center;
}

.uiverse-content h4 {
    color: #fff !important;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.uiverse-content p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   NOTICE & NEWS FEED SECTION
   ============================================ */
.notice-news-section {
    background: linear-gradient(135deg, #f8fcf9 0%, #f0f7f2 100%);
    position: relative;
    overflow: hidden;
}

.notice-news-tabs {
    border: none;
    gap: 10px;
}

.notice-news-tabs .nav-link {
    color: #666;
    font-weight: 700;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    position: relative;
    transition: 0.3s;
    font-size: 0.9rem;
}

.notice-news-tabs .nav-link.active {
    background: var(--uni-maroon) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(128, 0, 0, 0.2);
}

.news-item-modern {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.news-item-modern:hover {
    background: rgba(128, 0, 0, 0.03);
    transform: translateX(5px);
}

/* Compact News Items */
.news-date-box-compact {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-item-modern:hover .news-date-box-compact {
    background: var(--uni-gold);
    transform: scale(1.05);
}

.news-title-compact {
    font-size: 0.75rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.x-small {
    font-size: 0.65rem;
}

/* Vertical Marquee Animation */
.news-feed-container {
    position: relative;
    overflow: hidden;
    height: 480px;
    /* Fixed height for marquee */
}

.news-list-marquee {
    display: flex;
    flex-direction: column;
    animation: marquee-vertical 25s linear infinite;
}

.news-feed-container:hover .news-list-marquee {
    animation-play-state: paused;
}

@keyframes marquee-vertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* Ensure pulse badge is compact */
.badge-pulse-new {
    background: var(--uni-maroon);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    animation: pulse-red 2s infinite;
}

/* Sidebar Links (Uiverse Inspired) */
.uiverse-link-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: #fff;
    border-radius: 18px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.uiverse-link-item:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--uni-gold);
    color: var(--uni-maroon) !important;
}

.link-icon-circle {
    width: 35px;
    height: 35px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
    transition: 0.3s;
}

.uiverse-link-item:hover .link-icon-circle {
    transform: rotate(15deg) scale(1.1);
}

.link-label {
    flex-grow: 1;
    font-size: 1rem;
}

.arrow {
    opacity: 0.3;
    transition: 0.3s;
    font-size: 0.8rem;
}

.uiverse-link-item:hover .arrow {
    opacity: 1;
    transform: translateX(5px);
    color: var(--uni-gold);
}

/* Color Helpers for Icons */
.bg-maroon-soft {
    background: rgba(128, 0, 0, 0.08);
}

.bg-green-soft {
    background: rgba(0, 122, 35, 0.08);
}

.bg-gold-soft {
    background: rgba(197, 160, 89, 0.08);
}

.bg-info-soft {
    background: rgba(13, 202, 240, 0.08);
}

.bg-danger-soft {
    background: rgba(220, 53, 69, 0.08);
}

.hover-gold:hover {
    color: var(--uni-gold) !important;
}

/* ============================================
   MENTOR SECTION STYLES
   ============================================ */
.mentor-card-uiverse {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 30px;
    padding: 10px;
    transition: all 0.5s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.mentor-card-inner {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 122, 35, 0.1);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.5s ease;
}

.mentor-card-uiverse:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 122, 35, 0.15);
}

.mentor-card-uiverse:hover .mentor-card-inner {
    border-color: var(--uni-green);
    background: #fff;
}

.mentor-img-box {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--uni-green) 0%, var(--uni-gold) 100%);
    position: relative;
    transition: 0.5s;
}

.mentor-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
}

.mentor-card-uiverse:hover .mentor-img-box {
    transform: scale(1.1) rotate(5deg);
}

.mentor-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--uni-green);
    margin-bottom: 5px;
}

.mentor-designation {
    font-size: 0.85rem;
    color: #7f100b;
    font-weight: 600;
    margin-bottom: 20px;
}

.mentor-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mentor-socials a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    color: var(--uni-green);
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.mentor-socials a:hover {
    background: var(--uni-green);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================
   VERTICAL MANUAL + AUTO SCROLL MARQUEE
   ============================================ */
.vertical-scroll-container {
    height: 100%;
    overflow-y: auto;
    /* Allows manual scroll */
    scrollbar-width: thin;
    /* Firefox: makes scrollbar thinner */
    scrollbar-color: var(--uni-gold) var(--uni-light);
    /* Firefox styling */
    position: relative;
    padding-right: 5px;
    /* Prevent content overlapping scrollbar */
}

/* Custom scrollbar for Webkit (Chrome, Safari, Edge) */
.vertical-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.vertical-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.vertical-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--uni-gold);
    border-radius: 10px;
}

/* ============================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ============================================ */

/* Tablet & Mobile (Below 992px) */
@media (max-width: 991.98px) {

    /* Header */
    .main-header {
        text-align: center !important;
        padding: 30px 0;
    }

    .main-header .row {
        flex-direction: column;
        gap: 20px;
    }

    .uni-logo-text h1 {
        font-size: 1.8rem;
    }

    .uni-logo-text p {
        font-size: 0.9rem;
    }

    /* Navigation */
    .navbar-uni .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }

    /* Hero */
    .hero-slider-section .carousel-caption-custom {
        padding: 2rem !important;
    }

    .hero-slider-section h1.display-4 {
        font-size: 2.5rem;
    }

    .hero-tag-premium {
        font-size: 0.7rem;
    }
}

/* Mobile (Below 768px) */
@media (max-width: 767.98px) {

    /* Top Bar */
    .top-bar .row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar .col-md-6 {
        width: 100%;
        text-align: center !important;
    }

    .top-bar .social-links {
        justify-content: center;
        display: flex;
        width: 100%;
    }

    /* Header Icon */
    .main-header i.fa-5x {
        font-size: 4em;
        /* Scale down logo icon */
    }

    .uni-logo-text h1 {
        font-size: 1.5rem;
        /* Smaller title */
        line-height: 1.2;
    }

    /* Hero Slider */
    .hero-slider-section {
        min-height: auto;
    }

    .hero-slider-section .row {
        min-height: auto !important;
        height: auto !important;
    }

    .hero-slider-section .carousel-item {
        min-height: 400px;
        /* Ensure visible height */
    }

    .hero-slider-section h1.display-4 {
        font-size: 1.8rem;
    }

    .hero-slider-section .lead {
        font-size: 0.9rem;
    }

    /* Notice & News Section */
    .section-header-news {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    .notice-news-tabs {
        width: 100%;
        justify-content: space-between;
    }

    .notice-news-tabs .nav-link {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .news-feed-container {
        height: 400px !important;
        /* Slightly taller for mobile scroll */
    }

    /* Sidebar Links on Mobile */
    .col-lg-4 .sidebar-links-container.sticky-top {
        position: static !important;
        /* Disable sticky on mobile stack */
    }

    /* .section-header-links {
        margin-top: 2rem;
    } */

    .uiverse-link-item {
        padding: 12px 15px;
        /* Comfortable touch target */
    }

    /* Footer */
    footer .col-lg-4,
    footer .col-lg-2,
    footer .col-lg-3 {
        text-align: center;
        margin-bottom: 30px;
    }

    footer .d-flex.gap-3 {
        justify-content: center;
    }
}

/* ============================================
   IMPROVED NOTICE SECTION STYLING
   ============================================ */
.section-header-news {
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 15px;
    margin-bottom: 25px !important;
}

/* Enhancing the container look */
/* Enhancing the container look (Uiverse Inspired) */
.news-feed-container {
    background: #ffffff !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 2px rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px !important;
    margin-bottom: 30px !important;
    padding: 25px !important;
    /* Internal breathing room */
    position: relative;

    /* VITAL: Fade Effect for Scrolling (Top/Bottom) */
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

/* Optional: Add a subtle inner glow or decoration */
.news-feed-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--uni-gold), var(--uni-maroon));
    opacity: 0.8;
    border-radius: 24px 24px 0 0;
}

/* Ensure Tabs look integrated */
.notice-news-tabs .nav-link {
    background: rgba(0, 0, 0, 0.03);
    /* Slight grey background for inactive */
    margin-left: 5px;
}

/* Add top space to the whole section if needed, though py-5 handles it. 
   Let's ensure the row gap is sufficient. */
.notice-news-section .row {
    row-gap: 40px;
    /* Better vertical separation on mobile/stack */
}

/* ============================================
   PREMIUM DASHBOARD CARD DESIGN (Redesign)
   ============================================ */
.dashboard-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Deep premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    /* Fill column */
    display: flex;
    flex-direction: column;
}

.dashboard-card-header {
    background: linear-gradient(135deg, var(--uni-maroon) 0%, #800000 100%);
    padding: 0 20px;
    min-height: 60px;
    /* Fixed height for alignment */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--uni-gold);
}

.dashboard-card-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card-body {
    background: #fff;
    flex: 1;
    /* Take remaining space */
    position: relative;
    padding: 0;
    /* Edge-to-edge for lists */
    height: 350px;
    /* Enforced height from previous requirement, or auto if flexible */
}

/* Customizing Tabs in Header */
.dashboard-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.dashboard-tabs .nav-link.active {
    background: var(--uni-gold) !important;
    color: #000 !important;
    border-color: var(--uni-gold) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* List Item Polish inside Card */
.news-item-modern {
    padding: 10px 15px !important;
    /* Restore some padding inside the clean box */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.news-item-modern:last-child {
    border-bottom: none !important;
}

.news-item-modern:hover {
    background: #fffcf5;
    /* Subtle gold tint */
}

/* ============================================
   PREMIUM DASHBOARD CARD DESIGN (Clean/Light Edition)
   ============================================ */
.dashboard-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    /* Gentle float for the whole card */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.dashboard-card-header {
    background: #ffffff;
    /* Clean White */
    padding: 0 25px;
    min-height: 70px;
    /* Taller, cleaner header */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.dashboard-card-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 5px;
    background: var(--uni-maroon);
    border-radius: 0 5px 5px 0;
}

.dashboard-card-title {
    color: var(--uni-maroon);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-card-title i {
    color: var(--uni-gold);
}

.dashboard-card-body {
    background: #fff;
    flex: 1;
    position: relative;
    padding: 0;
    height: 350px;
}

/* Tabs: Clean Pills */
.dashboard-tabs .nav-link {
    color: #888 !important;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: #f4f4f4 !important;
    border: none !important;
    margin-left: 5px;
}

.dashboard-tabs .nav-link.active {
    background: var(--uni-maroon) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.2);
}

/* List Items */
.news-item-modern {
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.news-item-modern:hover {
    background: linear-gradient(to right, #fffcf5, #fff);
    border-left: 3px solid var(--uni-gold);
}

/* FIX: Strict Height Control to prevent 'Full Screen' expansion */
.dashboard-card-body {
    overflow: hidden !important;
    /* Force crop */
    height: 350px !important;
    /* Force strict height */
    flex: none !important;
    /* Disable flex growing */
}

.news-list-marquee {
    height: 100%;
    overflow: hidden;
    /* Hide scrollbars, JS does the moving */
    position: relative;
}

.news-item-modern {
    padding: 10px 15px !important;
    /* Compact again for 5-6 items */
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ============================================
   GOVERNMENT OFFICIAL THEME (UGC Style)
   ============================================ */
.gov-notice-board {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gov-notice-header {
    background: linear-gradient(60deg, #007a23cf, #007a23);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    /* Alignment lock */
}

.gov-notice-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.gov-notice-body {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    height: 350px;
    /* Strict Height */
    overflow: hidden;
    /* Cut off overflow */
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    /* Uiverse soft shadow */
}

/* MARQUEE CONTAINER */
.gov-news-marquee {
    height: 100%;
    overflow: hidden;
}

/* ITEMS */
.gov-news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px dashed #e0e0e0;
    /* Official dashed divider */
    transition: background 0.2s;
    text-decoration: none;
    color: #333;
    background: #fff;
}

.gov-news-item:hover {
    background: #fffaf0;
    /* Light gold tint hover */
}

.gov-news-item:last-child {
    border-bottom: none;
}

.gov-date-badge {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #444;
    min-width: 50px;
    text-align: center;
    border-radius: 6px;
    padding: 4px;
    line-height: 1.2;
}

.gov-date-day {
    font-size: 1.2rem;
    display: block;
    color: var(--uni-maroon);
    font-weight: 800;
}

.gov-date-month {
    font-size: 0.7rem;
    display: block;
    text-transform: uppercase;
    color: #666;
    font-weight: 700;
}

.gov-news-text {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
    color: #2c3e50;
    display: block;
}

.gov-new-badge {
    background: #dc3545;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    animation: blink 1.5s infinite;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* TABS in Header */
.gov-tabs .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.gov-tabs .nav-link.active {
    background: #fff !important;
    color: var(--uni-maroon) !important;
    border-color: #fff !important;
    font-weight: bold;
}

/* Links tweak for Gov Theme */
.gov-link-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px dashed #e0e0e0;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: 0.2s;
}

.gov-link-item:hover {
    background: #f8f9fa;
    color: var(--uni-maroon);
    padding-left: 20px;
    /* Slight movement */
}

.gov-link-icon {
    width: 30px;
    height: 30px;
    background: var(--uni-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 12px;
}

/* ============================================
   FLOATING CARD DESIGN (User Image Inspired)
   ============================================ */

/* Container */
.gov-notice-body {
    background: #fdfdfd;
    padding: 6px;
    /* Further reduced */
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 10px 10px;
    height: 260px;
    /* Drastically reduced from 320px */
    overflow: hidden;
    perspective: 1000px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

/* The Floating Card Item */
.gov-news-item {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Nano gap */
    padding: 4px 8px;
    /* Nano padding */
    background: #fff;
    border-radius: 6px;
    margin-bottom: 4px;
    /* Tight margin */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--uni-green);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(5deg);
    /* Subtle tilt */
}

.gov-news-item:hover {
    transform: perspective(1000px) rotateX(0deg) translateZ(10px);
    box-shadow: 0 15px 35px rgba(0, 122, 35, 0.15);
    background: #f0f7f2;
    border-left-color: var(--uni-gold);
}

/* Big Maroon Date Box - RESIZED SMALLER */
.gov-date-badge {
    background: linear-gradient(135deg, var(--uni-green) 0%, #005a1a 100%);
    color: #fff;
    min-width: 30px;
    /* Nano width */
    height: 30px;
    /* Nano height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 122, 35, 0.2);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    transform: translateZ(10px);
}

.gov-date-day {
    font-size: 0.75rem;
    /* Nano font */
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.gov-date-month {
    font-size: 0.4rem;
    /* Nano font */
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* Header & Tabs */
.gov-notice-header {
    background: linear-gradient(60deg, #007a23cf, #007a23);
    padding: 8px 12px;
    /* Nano header padding */
    border-radius: 10px 10px 0 0;
}

.gov-tabs .nav-link {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    padding: 4px 10px;
    /* Reduced padding */
    margin-left: 4px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    /* Shrunk font */
}

.gov-tabs .nav-link.active {
    background: var(--uni-gold) !important;
    /* YELLOW ACTIVE TAB */
    color: #000 !important;
    /* Bold Black Text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* News Text */
.gov-news-text {
    font-weight: 600;
    color: #222;
    font-size: 0.75rem;
    /* Nano font */
    line-height: 1.2;
}

.gov-new-badge {
    background: #ff5757;
    padding: 3px 8px;
    font-size: 0.7rem;
    margin-right: 8px;
    box-shadow: 0 2px 5px rgba(255, 87, 87, 0.4);
}

.gov-link-item {
    background: #fff;
    padding: 6px 10px;
    /* Nano link padding */
    border-radius: 6px;
    margin-bottom: 4px;
    /* Tight margin */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--uni-gold);
    font-size: 0.75rem;
    /* Nano font */
}

.gov-link-item:hover {
    background: #fff;
    transform: translateX(5px);
    border-left-width: 8px;
    /* Grow border on hover */
    padding-left: 15px;
    /* Maintain text position */
}

.gov-link-icon {
    background: #f0f7f2;
    color: var(--uni-green);
    border: 1px solid var(--uni-green);
}

/* ============================================
   FACILITIES MAGIC CARDS (lovely-donkey-55 inspired)
   ============================================ */
.facility-card-magic {
    --bg-gradient: linear-gradient(to right, #007a23 0%, #7c0000 100%);
    --before-gradient: linear-gradient(to bottom right, #ffd700 0%, #007a23 100%);
    --after-gradient: linear-gradient(to top right, #9eca8b 0%, #7c0000 100%);

    width: 100%;
    height: 100%;
    padding: 6px;
    border-radius: 20px;
    overflow: visible;
    background: var(--bg-gradient);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.facility-card-magic::before,
.facility-card-magic::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: -1;
    transition: all 0.5s ease;
}

.facility-card-magic::before {
    background: var(--before-gradient);
    transform: rotate(3deg);
}

.facility-card-magic::after {
    background: var(--after-gradient);
    transform: rotate(-3deg);
}

.magic-card-info {
    background: #ffffff;
    /* Light Background */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 17px;
    position: relative;
    z-index: 2;
    padding: 40px 30px;
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Soft border for light theme */
}

.facility-heading {
    font-size: 1.5rem;
    color: #7c0000 !important;
    /* WITLNMU Maroon */
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Merriweather', serif;
}

.facility-text {
    color: #555 !important;
    /* Professional Dark Gray */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hover effects */
.facility-card-magic:hover {
    transform: translateY(-10px);
}

.facility-card-magic:hover::before,
.facility-card-magic:hover::after {
    transform: rotate(0deg);
    opacity: 0.5;
}

.facility-card-magic:hover .magic-card-info {
    background: #fdfdfd;
    border-bottom: 5px solid #7c0000;
    /* Maroon Underline */
}

.facility-card-magic .facility-icon i {
    color: #007a23;
    /* WITLNMU Green */
    transition: transform 0.5s ease;
}

.facility-card-magic:hover .facility-icon i {
    transform: scale(1.1) rotate(5deg);
}

/* ============================================
   PREMIUM PLACED STUDENTS GRID (Tasty Frog Inspired)
   ============================================ */
.placements-section {
    background: var(--bg-tech-grid);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.student-card-tasty {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.student-card-tasty::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.student-card-tasty:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--color-brand);
    box-shadow: 0 20px 40px rgba(var(--color-rgb), 0.15);
}

.student-card-tasty:hover::before {
    opacity: 1;
}

.tasty-img-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--color-brand), #fff);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(var(--color-rgb), 0.2);
    transition: transform 0.4s;
}

.student-card-tasty:hover .tasty-img-ring {
    transform: scale(1.1) rotate(5deg);
}

.tasty-img-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.tasty-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--uni-maroon);
    position: relative;
    z-index: 2;
}

.tasty-company {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-brand);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.tasty-package {
    background: rgba(var(--color-rgb), 0.1);
    color: var(--color-brand);
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    border: 1px solid rgba(var(--color-rgb), 0.2);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.student-card-tasty:hover .tasty-package {
    background: var(--color-brand);
    color: #fff;
    box-shadow: 0 5px 15px rgba(var(--color-rgb), 0.3);
}

/* Social Hover Reveal */
.tasty-socials {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 5;
}

.student-card-tasty:hover .tasty-socials {
    transform: translateY(0);
    opacity: 1;
}

.tasty-social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #fff;
    color: var(--uni-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.tasty-social-icon:hover {
    background: var(--uni-gold);
    color: #fff;
    transform: translateY(-3px);
}

/* ============================================
   PREMIUM NAVIGATION DROPDOWNS
   ============================================ */

/* Mobile Enhancements */
.navbar-uni .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-top: 10px;
    padding: 10px 0;
    overflow: hidden;
}

.navbar-uni .dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--uni-dark);
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.navbar-uni .dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    /* Gold tint */
    color: var(--uni-maroon);
    border-left: 3px solid var(--uni-gold);
    padding-left: 25px;
    /* Slide effect */
}

/* Desktop Hover & Animation */
@media (min-width: 992px) {
    .navbar-uni .dropdown:hover .dropdown-menu {
        display: block;
        animation: fadeInUp 0.3s ease forwards;
        opacity: 0;
        transform: translateY(10px);
    }

    /* Chevron rotation on hover */
    .navbar-uni .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .navbar-uni .dropdown-toggle::after {
        transition: transform 0.3s ease;
    }

    /* Connect dropdown to nav item to prevent closing on gap */
    .navbar-uni .dropdown-menu {
        margin-top: 0;
        display: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ============================================
   PREMIUM BREADCRUMBS (FINALv3 - SPACED & GRADIENT)
   ============================================ */
/* ============================================
   PREMIUM BREADCRUMBS (FINALv3 - SPACED & GRADIENT)
   ============================================ */
.breadcrumb {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    /* Solid White-Platinum Gradient */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    padding: 10px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    /* Safety for small screens */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Stronger shadow for lift */
    margin-bottom: 0;
    transition: all 0.3s ease;
    gap: 15px;
    /* Use Gap for clean separation */
}

.breadcrumb:hover {
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.breadcrumb-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--uni-dark);
    /* Dark Text since BG is light */
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    padding: 0 !important;
}

/* Custom Separator (Gold Chevron) */
.breadcrumb-item+.breadcrumb-item {
    position: relative;
    padding-left: 0 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '\f0da';
    /* FontAwesome Caret Right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--uni-gold);
    padding-right: 15px;
    padding-left: 0;
    float: none;
    font-size: 0.9rem;
    opacity: 1;
    /* Full opacity */
    position: static;
    display: inline-block;
}

.breadcrumb-item a {
    color: var(--uni-maroon) !important;
    /* Maroon Links */
    text-decoration: none;
    position: relative;
    padding: 2px 0;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

/* Underline effect on hover */
.breadcrumb-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--uni-gold);
    transition: width 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--uni-gold) !important;
    text-shadow: none;
    /* Clean text */
}

.breadcrumb-item a:hover::after {
    width: 100%;
}

.breadcrumb-item.active {
    color: var(--uni-green) !important;
    /* Green for current page */
    font-weight: 700;
    background: transparent;
    padding: 0;
    border: none;
    text-shadow: none;
}

/* Home Icon Styling */
.breadcrumb-item:first-child a::before {
    content: '\f015';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--uni-gold);
}

/* ============================================
   ACADEMIC DEPARTMENTS (RED CARDS)
   ============================================ */
.department-card-red {
    background: #8B0000;
    /* Deep Red */
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.department-card-red:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.dept-icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.dept-icon-circle i {
    font-size: 2.5rem;
    color: #ffd700;
    /* Gold */
}

/* Concentric Circles (Ripple Effect) */
.dept-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    /* Gold Transparent */
    border-radius: 50%;
    pointer-events: none;
}

.ripple-1 {
    width: 100px;
    height: 100px;
}

.ripple-2 {
    width: 140px;
    height: 140px;
    opacity: 0.8;
}

.ripple-3 {
    width: 180px;
    height: 180px;
    opacity: 0.6;
}

.ripple-4 {
    width: 220px;
    height: 220px;
    opacity: 0.4;
}

.ripple-5 {
    width: 260px;
    height: 260px;
    opacity: 0.2;
}

.department-card-red h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    font-family: 'Merriweather', serif;
}

.department-card-red p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE FORTRESS - ZERO OVERFLOW POLICY
   ============================================ */
html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
}

@media (max-width: 991px) {

    .container,
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    /* Prevent animations from breaking layout on small screens */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Fixed Preloader Centering */
    #preloader {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f7f9fb !important;
        z-index: 999999 !important;
        opacity: 1;
        visibility: visible;
    }

    #preloader.fade-out {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .loader-content {
        position: relative !important;
        margin: 0 !important;
        padding: 20px !important;
        width: 100% !important;
        max-width: 320px !important;
        text-align: center !important;
    }

    /* Typography Responsive Overrides */
    h1,
    .display-4 {
        font-size: 1.8rem !important;
    }

    h2,
    .display-5 {
        font-size: 1.5rem !important;
    }

    h3,
    .display-6 {
        font-size: 1.3rem !important;
    }

    h4 {
        font-size: 1.2rem !important;
    }

    h5 {
        font-size: 1.1rem !important;
    }

    /* Notice Board Fixes */
    .gov-notice-header {
        padding: 10px !important;
    }

    .gov-notice-title {
        font-size: 0.9rem !important;
        letter-spacing: 0px !important;
        white-space: normal !important;
    }

    .gov-date-badge {
        min-width: 40px !important;
        height: 40px !important;
    }

    .gov-date-day {
        font-size: 1rem !important;
    }

    /* Vanta Globe Fix */
    #canvas-container {
        display: none !important;
    }

    /* Stats grid */
    .stat-card-premium {
        min-width: 100% !important;
        margin-bottom: 10px !important;
    }
}