/* ===================================================================
   JRRSU UNIVERSAL PORTAL STYLESHEET (Jagadguru Ramanandacharya Rajasthan Sanskrit University)
   Imperial Crimson / Red Gradient Theme with Gold Accents & Academic Heritage
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Noto+Serif+Devanagari:wght@400;600;700;800&display=swap');

/* --- Kruti Dev & Typography Definition --- */
@font-face {
    font-family: 'Kruti Dev 010';
    src: local('Kruti Dev 010'), local('KrutiDev010'), url('/webfonts/Kruti_Dev_010.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Rich Red / Crimson / Maroon Palette */
    --primary-red: #8b1422;
    --red-dark: #5c0b16;
    --red-deep: #43060e;
    --red-light: #ad1e30;
    --red-vibrant: #cb243a;
    --royal-crimson: #8b1422;
    --crimson-dark: #5c0b16;
    --primary-navy: #43060e;
    --navy-light: #7c121e;
    --red-gradient-main: linear-gradient(135deg, #7c121e 0%, #a61c2e 50%, #5e0b16 100%);
    --red-gradient-card: linear-gradient(135deg, #871322 0%, #ba1e33 100%);
    --red-gradient-nav: linear-gradient(90deg, #5a0912 0%, #851220 50%, #630c16 100%);
    --red-gradient-footer: linear-gradient(180deg, #42060d 0%, #200206 100%);

    /* Royal Heritage Gold Accents */
    --heritage-gold: #c89524;
    --gold-light: #e4b23d;
    --gold-foil: #f9d86b;
    --gold-gradient: linear-gradient(135deg, #c89524 0%, #f9d86b 50%, #b88318 100%);

    /* Backgrounds & Text */
    --canvas-bg: #f8f6f4;
    --card-bg: #ffffff;
    --border-color: #ebdcd5;
    --text-primary: #1f1a1a;
    --text-secondary: #5e5353;
    
    /* Typography: Royal University Hybrid (Cinzel Royal Headings + Outfit Modern UI Body) */
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-english: var(--font-body);
    --font-hindi: 'Noto Serif Devanagari', 'Mangal', 'Noto Sans Devanagari', serif;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(92, 11, 22, 0.08);
    --shadow-md: 0 6px 20px rgba(92, 11, 22, 0.12);
    --shadow-lg: 0 14px 35px rgba(92, 11, 22, 0.18);
    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--canvas-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Royal Headings Typography */
.royal-heading, .brand-text h2, .footer-col h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.6px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.hindi-title, .kruti-text, .shloka, .brand-text h1 {
    font-family: var(--font-hindi);
}

/* ===================================================================
   0. BESPOKE ROYAL VEDIC PRELOADER (LUXURY GOLD & IMPERIAL VELVET)
   =================================================================== */
.jrrsu-luxury-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 45%, #2a0309 0%, #150104 55%, #080002 100%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s ease;
}

.jrrsu-luxury-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.jrrsu-luxury-loader.loaded .luxury-loader-center {
    transform: scale(1.05);
    opacity: 0;
    transition: transform 0.45s ease, opacity 0.4s ease;
}

/* Ambient Royal Silk Aura */
.luxury-aura-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(200, 149, 36, 0.15) 0%, rgba(124, 18, 30, 0.22) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: luxuryAuraPulse 4s ease-in-out infinite;
}

.luxury-loader-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    width: 92%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease, opacity 0.35s ease;
}

/* 1. Mandala & Seal Frame */
.luxury-mandala-box {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.mandala-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mandala-svg.outer-spin {
    animation: spinClockwiseSlow 24s linear infinite;
}

.mandala-inner-ring {
    position: absolute;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    border: 1px solid rgba(249, 216, 107, 0.4);
    border-top: 1.5px solid #f9d86b;
    border-bottom: 1.5px solid #d4af37;
    animation: spinCounterSlow 12s linear infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.luxury-seal-frame {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle, #3d050d 0%, #1c0205 100%);
    border: 2px solid #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), inset 0 0 12px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.luxury-seal-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    animation: sealBreathe 3s ease-in-out infinite;
}

/* 2. Sacred Shloka with Golden Light Sheen */
.luxury-shloka-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.shloka-wing {
    color: #c99738;
    font-size: 13px;
    opacity: 0.8;
    animation: starTwinkle 2s ease-in-out infinite;
}

.luxury-shloka-text {
    font-family: var(--font-hindi);
    font-size: clamp(16px, 2.2vw, 21px);
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(120deg, #d4af37 0%, #ffffff 35%, #f9d86b 65%, #aa771c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShineSweep 3.2s linear infinite;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

/* 3. University Dignified Name */
.luxury-uni-name {
    font-family: var(--font-hindi);
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.luxury-latin-name {
    font-family: var(--font-english);
    font-size: clamp(10px, 1.3vw, 12px);
    font-weight: 600;
    color: #e5b972;
    letter-spacing: 2px;
    margin-top: 6px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* 4. Royal Hairline Gauge with Diamond Pip */
.luxury-gauge-container {
    margin-top: 22px;
    margin-bottom: 14px;
    width: 220px;
    position: relative;
}

.luxury-gauge-track {
    width: 100%;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    border-radius: 2px;
    overflow: visible;
}

.luxury-gauge-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, transparent, #c99738, #f9e295);
    animation: gaugeSlide 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    box-shadow: 0 0 8px #f9d86b;
}

.luxury-gauge-sparkle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background: #ffffff;
    box-shadow: 0 0 10px #f9d86b, 0 0 4px #ffffff;
    animation: sparkleSlide 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 5. Micro Typography */
.luxury-meta-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-english);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 235, 238, 0.55);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 6px;
}

.meta-separator {
    color: #c99738;
    font-size: 8px;
    opacity: 0.7;
}

/* Keyframes */
@keyframes spinClockwiseSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinCounterSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes sealBreathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6)); }
    50% { transform: scale(1.04); filter: drop-shadow(0 4px 14px rgba(249, 216, 107, 0.4)); }
}

@keyframes goldShineSweep {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes luxuryAuraPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes gaugeSlide {
    0% { left: -35%; }
    100% { left: 100%; }
}

@keyframes sparkleSlide {
    0% { left: 0%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@media (max-width: 600px) {
    .luxury-mandala-box {
        width: 130px;
        height: 130px;
        margin-bottom: 16px;
    }
    .mandala-inner-ring {
        width: 86px;
        height: 86px;
    }
    .luxury-seal-frame {
        width: 62px;
        height: 62px;
    }
    .luxury-seal-img {
        width: 42px;
        height: 42px;
    }
    .luxury-gauge-container {
        width: 170px;
    }
    .luxury-meta-strip {
        font-size: 8.5px;
        letter-spacing: 1.5px;
        gap: 6px;
    }
}

/* Image Shimmer Skeleton Placeholders */
.img-loading-shimmer {
    background: linear-gradient(90deg, #f0e6e7 25%, #fcebed 50%, #f0e6e7 75%);
    background-size: 200% 100%;
    animation: shimmerEffect 1.5s infinite;
}

@keyframes shimmerEffect {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===================================================================
   1. TOP UTILITY BAR (DEEP MAROON GRADIENT)
   =================================================================== */
.jrrsu-topbar {
    background: linear-gradient(90deg, #3d050c 0%, #610a14 50%, #3d050c 100%);
    color: #f7e8ea;
    padding: 7px 4%;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--heritage-gold);
    flex-wrap: wrap;
    gap: 8px;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.topbar-left i {
    color: var(--gold-foil);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-link {
    color: #fdf2f4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.topbar-link:hover {
    color: var(--gold-foil);
    text-shadow: 0 0 6px rgba(249, 216, 107, 0.4);
}

.topbar-badge-new {
    background: #e62020;
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: bold;
    animation: pulse-glow 1.8s infinite;
}

/* ===================================================================
   2. GRAND UNIVERSITY BRANDING HEADER
   =================================================================== */
.jrrsu-brand-header {
    background: linear-gradient(180deg, #ffffff 0%, #fffcfc 100%);
    padding: 16px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    gap: 20px;
    flex-wrap: wrap;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.university-crest {
    width: 108px;
    height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(139, 20, 34, 0.15));
    transition: var(--transition);
}

.university-crest:hover {
    transform: scale(1.04);
}

.brand-text h1 {
    font-family: var(--font-hindi);
    color: var(--primary-red);
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.brand-text h2 {
    font-family: var(--font-heading);
    color: #38070e;
    font-size: clamp(14px, 1.7vw, 22px);
    font-weight: 700;
    margin-top: 3px;
    letter-spacing: 0.8px;
}

.brand-text .tagline {
    font-family: var(--font-hindi);
    color: var(--heritage-gold);
    font-size: 15.5px;
    font-weight: 700;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-helpdesk-card {
    background: linear-gradient(135deg, #fff7f7 0%, #fcedef 100%);
    border: 1.5px solid #f2c7ce;
    border-radius: 9px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    box-shadow: var(--shadow-sm);
}

.helpdesk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--primary-red);
}

.helpdesk-item i {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-red), var(--red-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
    box-shadow: 0 2px 5px rgba(139, 20, 34, 0.3);
}

.helpdesk-item strong {
    color: #240509;
}

/* Mobile Quick Elements (Hidden by default on Desktop) */
.mobile-header-call {
    display: none;
}

.mobile-drawer-helpdesk {
    display: none;
}

/* ===================================================================
   3. ACADEMIC NAVIGATION BAR (RICH RED GRADIENT)
   =================================================================== */
.jrrsu-navbar {
    background: var(--red-gradient-nav);
    box-shadow: 0 4px 15px rgba(67, 6, 14, 0.35);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 2px solid var(--heritage-gold);
}

.nav-container {
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 14px 17px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.nav-link i {
    font-size: 13px;
    color: var(--gold-foil);
}

.nav-link:hover, .nav-item.active .nav-link {
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
}

.nav-item.active .nav-link {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.45) 100%);
    border-bottom: 3px solid var(--gold-foil);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 6px 6px;
    border-top: 3px solid var(--heritage-gold);
    list-style: none;
    display: none;
    z-index: 100;
    overflow: hidden;
}

.nav-item:hover .nav-dropdown {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    color: var(--text-primary);
    font-size: 14px;
    border-bottom: 1px solid #f6eeee;
}

.nav-dropdown a:hover {
    background: #fff3f5;
    color: var(--primary-red);
    padding-left: 22px;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta-btn {
    background: var(--gold-gradient);
    color: #38070e;
    font-size: 13px;
    padding: 7px 15px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 8px rgba(200, 149, 36, 0.4);
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}

.nav-cta-btn:hover {
    background: linear-gradient(135deg, #f9d86b, #c89524);
    color: #1f0307;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 149, 36, 0.6);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.mobile-drawer-cta-wrapper {
    display: none;
}

/* ===================================================================
   4. MARQUEE ALERT TICKER
   =================================================================== */
.jrrsu-alert-ticker {
    background: #fff2f3;
    border-bottom: 1.5px solid #f4c2c7;
    display: flex;
    align-items: stretch;
    min-height: 44px;
    overflow: hidden;
}

.ticker-badge {
    background: var(--red-gradient-card);
    color: white;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    border-right: 3px solid var(--heritage-gold);
    z-index: 2;
    box-shadow: 2px 0 6px rgba(0,0,0,0.15);
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-marquee {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee-slide 32s linear infinite;
    color: #7a0e19;
    font-weight: 600;
    font-size: 14px;
}

.ticker-marquee:hover {
    animation-play-state: paused;
}

/* ===================================================================
   5. UNIVERSITY HERO VIDEO BANNER (AUTOPLAY, MUTED, LOOP, PLAYSINLINE)
   =================================================================== */
.jrrsu-video-hero-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #190205;
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.6);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 2, 6, 0.25) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(20, 2, 5, 0.4) 100%);
    pointer-events: none;
}

.video-floating-badge {
    position: absolute;
    bottom: 24px;
    left: 4%;
    background: rgba(25, 2, 5, 0.78);
    border: 1.5px solid var(--heritage-gold);
    color: var(--gold-foil);
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 3;
}

.video-mute-toggle {
    position: absolute;
    bottom: 24px;
    right: 4%;
    width: 44px;
    height: 44px;
    background: rgba(43, 4, 8, 0.85);
    border: 1.5px solid var(--heritage-gold);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 3;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.video-mute-toggle:hover {
    background: var(--primary-red);
    color: var(--gold-foil);
    transform: scale(1.08);
}

/* ===================================================================
   5.1 GRAND 3-IMAGE CAROUSEL / SLIDER (COMPACT HERO BANNER)
   =================================================================== */
.jrrsu-slider-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #2b0408;
    box-shadow: inset 0 4px 20px rgba(0,0,0,0.5);
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Outgoing slide firmly stays visible underneath (Zero blank flicker) */
.slider-slide.last-active {
    opacity: 1 !important;
    z-index: 1 !important;
    pointer-events: none;
    transition: none !important;
}

/* Incoming active slide dissolves in on top smoothly and immediately */
.slider-slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
    pointer-events: auto;
    transition: opacity 0.5s ease-in-out !important;
}

/* Crystal Clear Image Overlay with centered vignette */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 2, 4, 0.45) 0%, rgba(28, 3, 7, 0.58) 70%, rgba(10, 1, 2, 0.72) 100%);
}

/* Seamless Direct Centered Text Presentation */
.slider-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
    width: 90%;
    padding: 0 16px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
}

.slider-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(25, 2, 5, 0.7);
    border: 1.5px solid var(--heritage-gold);
    color: var(--gold-foil);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 700;
    margin: 0 auto 12px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.slider-content h2 {
    font-size: clamp(22px, 2.7vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 3px 25px rgba(0, 0, 0, 0.85), 0 1px 3px #000;
}

.slider-content h2 span {
    color: var(--gold-foil);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 3px #000;
}

.slider-content p {
    font-size: clamp(14px, 1.4vw, 16px);
    color: #ffdce0;
    margin: 6px auto 0 auto;
    max-width: 680px;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 3px 20px rgba(0, 0, 0, 0.8), 0 1px 2px #000;
    font-weight: 500;
}

.slider-buttons {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.slider-btn-gold {
    background: var(--gold-gradient);
    color: #38070e;
    font-weight: bold;
    font-size: 14px;
    padding: 9px 20px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(200, 149, 36, 0.5);
    transition: var(--transition);
}

.slider-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(200, 149, 36, 0.7);
}

.slider-btn-glass {
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.slider-btn-glass:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

/* Slider Controls (Prev / Next Arrows) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    background: rgba(67, 6, 14, 0.65);
    border: 1.5px solid rgba(249, 216, 107, 0.5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: var(--primary-red);
    color: var(--gold-foil);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 14px rgba(249, 216, 107, 0.5);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* Slider Indicators (Dots) */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--gold-foil);
    border-color: var(--gold-foil);
    width: 38px;
    border-radius: 10px;
}

/* ===================================================================
   6. LEADERSHIP MESSAGE & STATS STRIP (AUTHENTIC INDIAN UNIVERSITY LOOK)
   =================================================================== */
.jrrsu-leadership-strip {
    background: #ffffff;
    border-bottom: 2px solid var(--border-color);
    padding: 24px 4%;
    box-shadow: var(--shadow-sm);
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.leader-card {
    background: linear-gradient(135deg, #fff7f8 0%, #fff0f2 100%);
    border: 1.5px solid #f4c2c7;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

.leader-photo {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--heritage-gold);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.leader-info h4 {
    font-size: 17px;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 2px;
}

.leader-info .designation {
    font-size: 13.5px;
    color: #45080f;
    font-weight: 600;
}

.leader-info .quote {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.5;
    font-style: italic;
}

/* University Stats Counter Strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e5c9cd;
}

.stat-item {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-red);
    font-family: var(--font-english);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 2px;
}

/* ===================================================================
   7. MAIN 3-COLUMN PORTAL GRID (RED GRADIENTS)
   =================================================================== */
.portal-main-grid {
    display: grid;
    grid-template-columns: 28% 44% 28%;
    gap: 22px;
    padding: 26px 4%;
    align-items: start;
}

/* Card Shell */
.portal-panel {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 22px;
    transition: var(--transition);
}

.portal-panel:hover {
    box-shadow: var(--shadow-md);
    border-color: #e5a7b0;
}

/* Card Header */
.panel-header {
    background: var(--red-gradient-card);
    color: #ffffff;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2.5px solid var(--heritage-gold);
}

.panel-header.dark {
    background: linear-gradient(135deg, #4d070f 0%, #750f1d 100%);
}

.panel-header h3 {
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 9px;
    letter-spacing: 0.3px;
}

.panel-header h3 i {
    color: var(--gold-foil);
    font-size: 15px;
}

.panel-header-action {
    color: var(--gold-foil);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.panel-header-action:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

.panel-body {
    padding: 14px;
}

/* Login Action Link Buttons */
.portal-action-btn {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    margin-bottom: 9px;
    background: #fffafa;
    border: 1px solid #f2d5d8;
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14.5px;
    transition: var(--transition);
    gap: 12px;
}

.portal-action-btn:last-child {
    margin-bottom: 0;
}

.portal-action-btn:hover {
    background: #ffecee;
    border-color: var(--primary-red);
    transform: translateX(4px);
    color: var(--primary-red);
}

.btn-icon-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

.icon-red { background: linear-gradient(135deg, #b71c1c, #d32f2f); }
.icon-crimson { background: linear-gradient(135deg, #7c121e, #ad1e30); }
.icon-maroon { background: linear-gradient(135deg, #4e0811, #80121f); }
.icon-gold { background: linear-gradient(135deg, #b88318, #e4b23d); }
.icon-purple { background: linear-gradient(135deg, #51125e, #851e9b); }
.icon-navy { background: linear-gradient(135deg, #0d284f, #1b4d8f); }

.action-arrow {
    margin-left: auto;
    color: #c9939a;
    font-size: 14px;
    transition: var(--transition);
}

.portal-action-btn:hover .action-arrow {
    color: var(--primary-red);
    transform: translateX(3px);
}

/* Service Row & Notification Rows */
.data-row {
    display: flex;
    align-items: center;
    padding: 11px 8px;
    border-bottom: 1px dashed #ebd6d8;
    gap: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.data-row:last-child {
    border-bottom: none;
}

.data-row:hover {
    background: #fff4f5;
}

.data-icon {
    color: var(--primary-red);
    font-size: 15px;
    flex-shrink: 0;
}

.data-link {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.data-link:hover {
    color: var(--primary-red);
}

.data-tag-new {
    background: #d32f2f;
    color: #fff;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 700;
    animation: pulse-glow 1.6s infinite;
}

.data-date {
    font-size: 11.5px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.data-action-icon {
    color: var(--primary-red);
    font-size: 15px;
    padding-left: 5px;
}

/* Quick Services 4-Column Grid */
.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

.quick-box {
    background: #fff8f8;
    border: 1px solid #f2d5d8;
    border-radius: 7px;
    padding: 14px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    transition: var(--transition);
    color: var(--primary-red);
    font-weight: 700;
    font-size: 12.5px;
}

.quick-box i {
    font-size: 24px;
    color: var(--primary-red);
    transition: var(--transition);
}

.quick-box:hover {
    background: #ffeaec;
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    color: #4a060e;
}

.quick-box:hover i {
    transform: scale(1.12);
}

/* ===================================================================
   8. FOOTER WITH VISIBLE OFFICIAL LOGO MEDALLION
   =================================================================== */
.jrrsu-footer {
    background: var(--red-gradient-footer);
    color: #e5cbce;
    border-top: 3.5px solid var(--heritage-gold);
    padding: 45px 4% 22px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 32px;
    margin-bottom: 35px;
}

.footer-logo-badge {
    width: 78px;
    height: 78px;
    background: #ffffff;
    border-radius: 50%;
    border: 3px solid var(--heritage-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.footer-logo-badge img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}

.footer-col h4 {
    color: var(--gold-foil);
    font-size: 17.5px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    font-weight: 700;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2.5px;
    background: var(--heritage-gold);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    color: #dfbec3;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #dfbec3;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-foil);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(249, 216, 107, 0.2);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #bfa3a6;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-powered-link {
    color: var(--gold-foil);
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.footer-powered-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(249, 216, 107, 0.7);
}

/* ===================================================================
   9. LOGIN & FORM STYLES
   =================================================================== */
.login-page-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 4%;
    background: linear-gradient(135deg, rgba(67, 6, 14, 0.94), rgba(124, 18, 30, 0.90)), 
                url('/images/arc.jpg') center center / cover fixed;
}

.login-glass-container {
    width: 100%;
    max-width: 1100px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0,0,0,0.35);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.login-guide-side {
    background: linear-gradient(145deg, #43060e 0%, #7c121e 100%);
    color: white;
    padding: 42px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--gold-foil);
    margin-bottom: 16px;
    width: fit-content;
}

.guide-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.guide-text {
    font-size: 15px;
    color: #ffdce0;
    line-height: 1.7;
    margin-bottom: 24px;
}

.guide-feature-list {
    list-style: none;
    margin-bottom: 24px;
}

.guide-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #ffeef0;
    margin-bottom: 12px;
}

.guide-feature-list li i {
    color: var(--gold-foil);
    font-size: 14px;
    margin-top: 3px;
}

.abc-card-cta {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-top: auto;
}

.abc-card-cta h4 {
    font-size: 15px;
    color: var(--gold-foil);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.abc-card-cta p {
    font-size: 13px;
    color: #ffdce0;
    line-height: 1.5;
}

.login-form-side {
    padding: 42px 36px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-form-header img {
    width: 68px;
    height: 68px;
    margin-bottom: 10px;
}

.login-form-header h2 {
    font-size: 24px;
    color: var(--primary-red);
    font-weight: 700;
}

.login-form-header p {
    color: var(--text-secondary);
    font-size: 13.5px;
    margin-top: 4px;
}

.form-group-custom {
    margin-bottom: 18px;
}

.form-group-custom label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    color: #ab797f;
    font-size: 14px;
}

.input-with-icon input, .input-with-icon select {
    width: 100%;
    height: 46px;
    border: 1.5px solid #e5c3c8;
    border-radius: 6px;
    padding: 0 14px 0 40px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
    background: #ffffff;
    color: var(--text-primary);
}

.input-with-icon input:focus, .input-with-icon select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(139, 20, 34, 0.15);
}

.btn-submit-login {
    width: 100%;
    height: 48px;
    background: var(--red-gradient-card);
    color: white;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 4px 12px rgba(139, 20, 34, 0.35);
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit-login:hover {
    background: linear-gradient(135deg, #ad1e30 0%, #7c121e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 20, 34, 0.45);
}

.login-extra-links {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--primary-red);
}

.login-extra-links a:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

/* Fee Matrix Table */
.services-matrix-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 26px;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
}

.table-custom th {
    background: var(--red-gradient-card);
    color: #ffffff;
    padding: 13px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 2px solid var(--heritage-gold);
}

.table-custom td {
    padding: 12px 16px;
    border-bottom: 1px solid #f6eeee;
    font-size: 14px;
    color: var(--text-primary);
}

.table-custom tr:hover td {
    background: #fff8f8;
}

.fee-badge {
    background: #ffeaec;
    color: var(--primary-red);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #f2c7ce;
}

/* Keyframe Animations */
@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; filter: drop-shadow(0 0 4px #e52d27); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes marquee-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes mobileMenuSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1080px) {
    .portal-main-grid {
        grid-template-columns: 1fr 1fr;
    }
    .grid-col-right {
        grid-column: 1 / -1;
    }
    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
    }
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .login-glass-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* 1. Mobile Topbar: Sleek, Single-Row Horizontal Scroll */
    .jrrsu-topbar {
        padding: 5px 10px;
        font-size: 11px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1.5px solid var(--heritage-gold);
        gap: 12px;
    }
    .topbar-left {
        display: none;
    }
    .topbar-right {
        display: flex;
        gap: 12px;
        flex-wrap: nowrap;
        width: max-content;
    }
    .topbar-link {
        font-size: 11px;
    }

    /* 2. Mobile Brand Header: Compact & Horizontal (Top Universities Style) */
    .jrrsu-brand-header {
        flex-direction: row !important;
        text-align: left !important;
        padding: 8px 12px !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    }
    .brand-identity {
        flex-direction: row !important;
        text-align: left !important;
        gap: 10px !important;
        align-items: center !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .brand-logo-link {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    .university-crest {
        width: 48px !important;
        height: 48px !important;
        flex-shrink: 0 !important;
        filter: drop-shadow(0 2px 5px rgba(139, 20, 34, 0.2)) !important;
    }
    .brand-text {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .brand-text h1 {
        font-size: 13.5px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        color: var(--primary-red) !important;
        font-weight: 700 !important;
        white-space: normal !important;
    }
    .brand-text h2 {
        font-size: 10.5px !important;
        line-height: 1.25 !important;
        margin-top: 1px !important;
        color: #2b0509 !important;
        font-weight: 600 !important;
        white-space: normal !important;
    }
    .brand-text .tagline {
        display: none !important; /* Hide multi-line tagline on mobile to keep header clean & elegant */
    }
    .header-helpdesk-card {
        display: none !important; /* Remove giant box from header, placed in drawer menu & footer */
    }

    /* Quick Call Button on Mobile Header */
    .mobile-header-call {
        display: flex !important;
        flex-shrink: 0;
    }
    .mobile-quick-call-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #fff2f4, #ffe3e6);
        border: 1.5px solid #f2bec5;
        color: var(--primary-red);
        padding: 5px 9px;
        border-radius: 6px;
        font-size: 10px;
        font-weight: 700;
        text-decoration: none;
        gap: 2px;
        box-shadow: 0 2px 5px rgba(139, 20, 34, 0.12);
    }
    .mobile-quick-call-btn i {
        font-size: 13px;
        color: var(--primary-red);
    }

    /* 3. Mobile Navbar with Quick CTAs */
    .jrrsu-navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 3px 12px rgba(0,0,0,0.3);
    }
    .nav-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        min-height: 48px;
        width: 100%;
    }
    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
        color: #ffffff;
        padding: 7px 13px;
        background: rgba(0, 0, 0, 0.35);
        border-radius: 5px;
        border: 1.5px solid var(--heritage-gold);
        cursor: pointer;
        transition: all 0.2s ease;
        letter-spacing: 0.5px;
    }
    .mobile-toggle i {
        font-size: 14px;
        color: var(--gold-foil);
    }
    .mobile-toggle:hover, .mobile-toggle:active {
        background: rgba(0, 0, 0, 0.55);
        border-color: var(--gold-foil);
    }
    .nav-cta-group {
        display: flex !important;
        align-items: center;
        gap: 7px;
    }
    .nav-cta-btn {
        font-size: 11px !important;
        padding: 6px 11px !important;
        border-radius: 4px;
        white-space: nowrap;
    }
    .nav-cta-btn i {
        font-size: 11px;
    }

    /* Mobile Nav Drawer: Full 100% Screen-Width Dropdown (Oxford / Top Universities Style) */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(180deg, #44050e 0%, #260206 100%);
        border-top: 2px solid var(--heritage-gold);
        border-bottom: 4px solid var(--heritage-gold);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
        padding: 6px 0 16px;
        z-index: 1001;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu.show {
        display: flex !important;
        animation: mobileMenuSlide 0.22s ease-out;
    }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-link {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 13px 20px;
        font-size: 14.5px;
        font-weight: 600;
        color: #ffffff;
        letter-spacing: 0.3px;
        transition: background 0.2s ease, color 0.2s ease;
    }
    .nav-link:hover, .nav-link:active, .nav-item.active .nav-link {
        background: rgba(0, 0, 0, 0.25);
        color: var(--gold-foil);
    }
    .nav-link i:first-child {
        width: 20px;
        font-size: 14px;
        color: var(--gold-foil);
        text-align: center;
        margin-right: 10px;
    }
    .nav-link .fa-chevron-down {
        margin-left: auto;
        font-size: 11px !important;
        color: var(--gold-foil);
        transition: transform 0.25s ease;
    }
    .nav-item.open > .nav-link .fa-chevron-down {
        transform: rotate(180deg);
    }

    /* Sub-dropdown inside Mobile Menu */
    .nav-dropdown {
        position: static !important;
        box-shadow: none !important;
        background: #1e0205 !important;
        border: none !important;
        border-left: 4px solid var(--heritage-gold) !important;
        border-radius: 0 !important;
        display: none;
        padding: 4px 0 !important;
        margin: 0 !important;
    }
    .nav-item.open > .nav-dropdown {
        display: block !important;
        animation: fadeIn 0.2s ease-out;
    }
    .nav-dropdown li {
        width: 100%;
    }
    .nav-dropdown li a {
        color: #ffdce0 !important;
        padding: 11px 20px 11px 36px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        transition: all 0.2s ease !important;
    }
    .nav-dropdown li a i {
        font-size: 12px !important;
        color: var(--gold-foil) !important;
        width: 16px;
        text-align: center;
    }
    .nav-dropdown li a:hover,
    .nav-dropdown li a:active {
        background: rgba(255, 255, 255, 0.07) !important;
        color: var(--gold-foil) !important;
        padding-left: 42px !important;
    }

    /* Mobile Drawer Quick Action Buttons */
    .mobile-drawer-cta-wrapper {
        display: flex !important;
        gap: 10px;
        padding: 12px 16px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-drawer-cta-btn {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        border-radius: 5px;
        font-size: 12px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-decoration: none;
        letter-spacing: 0.3px;
    }
    .mobile-drawer-cta-btn.gold {
        background: var(--gold-gradient);
        color: #38070e;
        box-shadow: 0 3px 8px rgba(200, 149, 36, 0.4);
    }
    .mobile-drawer-cta-btn.red {
        background: linear-gradient(135deg, #e62020, #961111);
        color: #fff;
        box-shadow: 0 3px 8px rgba(230, 32, 32, 0.35);
    }

    /* Mobile Drawer Helpdesk Support */
    .mobile-drawer-helpdesk {
        display: block !important;
        margin: 14px 16px 6px !important;
        padding: 13px 16px !important;
        background: rgba(0, 0, 0, 0.45) !important;
        border: 1px solid rgba(249, 216, 107, 0.35) !important;
        border-radius: 6px !important;
        color: #ffffff !important;
    }

    /* 4. Hero Slider & Video Banner on Mobile */
    .jrrsu-video-hero-wrapper,
    .jrrsu-slider-wrapper {
        height: 270px !important;
    }
    .video-floating-badge {
        font-size: 11px !important;
        padding: 5px 12px !important;
        bottom: 14px !important;
        left: 14px !important;
    }
    .video-mute-toggle {
        width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
        bottom: 14px !important;
        right: 14px !important;
    }
    .slider-overlay {
        background: rgba(15, 2, 4, 0.48) !important;
    }
    .slider-content {
        margin: 0 auto !important;
        padding: 0 12px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        max-width: 100% !important;
    }
    .slider-badge {
        font-size: 11px !important;
        padding: 4px 12px !important;
        margin: 0 auto 8px auto !important;
    }
    .slider-content h2 {
        font-size: 19px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        margin: 0 auto !important;
    }
    .slider-content p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin: 6px auto 0 auto !important;
        text-align: center !important;
    }
    .slider-buttons {
        margin-top: 14px !important;
        gap: 8px !important;
        justify-content: center !important;
    }
    .slider-btn-gold, .slider-btn-glass {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
    .slider-arrow {
        display: none !important;
    }

    /* 5. Portal Grid & Widgets on Mobile */
    .portal-main-grid {
        grid-template-columns: 1fr;
        padding: 16px 3%;
    }
    .grid-col-right {
        grid-column: auto;
    }
    .quick-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    .leader-card {
        padding: 14px;
        gap: 12px;
    }
    .leader-photo {
        width: 68px;
        height: 68px;
    }
    .stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .stat-number {
        font-size: 22px;
    }
    .stat-label {
        font-size: 11.5px;
    }

    /* 6. Footer on Mobile */
    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-cta-form {
        display: none !important;
    }
    .nav-cta-btn {
        padding: 5px 9px !important;
        font-size: 10.5px !important;
    }
    .mobile-toggle {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
}

/* Exam Form Responsive Grid Utilities */
.exam-form-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .exam-form-2col {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}
