/* 
   College Management System - Custom Styles
   Palette:
   #515661 (Text)
   #2e9f82 (Accent/Secondary)
   #68c170 (Success)
   #d6ec8c (Highlight)
   #66e1b4 (Mint)
   #006159 (Primary/Sidebar BG)
   #00796f (Hover)
   #009589 (Buttons)
   #93e4c1 (Light BG)
   #3baea0 (Info)
   #118a7e (Active)
   #1f6f78 (Dark/Border)
*/

:root {
    /* Layout Variables */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 60px;
    --topbar-height: 60px;

    /* Project Palette */
    --col-text: #515661;
    --col-accent: #2e9f82;
    --col-success: #68c170;
    --col-highlight: #d6ec8c;
    --col-mint: #66e1b4;
    --col-sidebar-bg: #006159;
    --col-hover: #00796f;
    --col-primary: #009589;
    --col-light-bg: #93e4c1;
    --col-info: #3baea0;
    --col-active: #118a7e;
    --col-dark: #1f6f78;

    /* Semantic Mappings */
    --primary-color: var(--col-sidebar-bg);
    --secondary-color: var(--col-accent);
    --accent-color: var(--col-mint);
    --text-dark: var(--col-text);
    --text-light: #ffffff;
}

body {
    background-color: #ffffff;
    color: var(--col-text);
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
}

/* Urdu & Arabic Support */
.urdu-text {
    font-family: 'Noto Nastaliq Urdu', serif !important;
    line-height: 2.2 !important;
    direction: rtl;
    text-align: right;
}

.arabic-text {
    font-family: 'Noto Sans Arabic', sans-serif !important;
    direction: rtl;
    text-align: right;
}

.rtl {
    direction: rtl;
    text-align: right;
}

.ltr {
    direction: ltr;
    text-align: left;
}

/* Modern UI Utilities */
.glass-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.hover-scale {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hover-scale:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-5px);
}

.hover-glow:hover {
    box-shadow: 0 0 20px var(--col-accent);
}

/* Micro-animations */
.btn {
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    /* Stable on hover without vertical jumping */
}

.btn:active {
    /* Stable on click */
}

/* Global Focus Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--col-accent);
    box-shadow: 0 0 0 0.25rem rgba(46, 159, 130, 0.2);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: #181a19;
    color: #fff;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--col-dark);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--col-dark);
    border-radius: 4px;
}

.sidebar-brand {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--col-dark);
    background: var(--col-dark);
    display: flex;
    align-items: center;
}

.sidebar-brand a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    white-space: normal;
    overflow: visible;
}

.sidebar-brand i {
    margin-right: 10px;
    color: var(--col-mint);
    flex-shrink: 0;
}

.sidebar-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 10px;
    background: white;
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
}

.sidebar.collapsed .sidebar-brand span {
    display: none;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu>li {
    border-bottom: 1px solid var(--col-dark);
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 13.5px;
}

.sidebar-menu a:hover {
    background: var(--col-hover);
    color: #fff;
}

.sidebar-menu a.active {
    background: var(--col-active);
    color: #fff;
    border-left: 4px solid var(--col-mint);
}

.sidebar-menu a i {
    width: 20px;
    margin-right: 12px;
    text-align: center;
    color: var(--col-mint);
}

.sidebar.collapsed .sidebar-menu a span {
    display: none;
}

/* Submenu */
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(31, 111, 120, 0.35);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.submenu.show {
    max-height: 600px;
}

.submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    padding: 10px 20px 10px 52px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    transition: all 0.2s ease;
}

.submenu a:hover {
    color: #fff;
    background: var(--col-hover);
    padding-left: 56px;
}

.submenu a.active {
    color: var(--col-mint);
    background: rgba(17, 138, 126, 0.4);
    border-left: 3px solid var(--col-mint);
    padding-left: 49px;
    font-weight: 600;
}

.submenu a.active::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--col-mint);
}

.sidebar.collapsed .submenu {
    display: none;
}

.sidebar-heading {
    padding: 15px 20px 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.sidebar.collapsed .sidebar-heading {
    display: none;
}

.menu-toggle-icon {
    float: right;
    transition: transform 0.3s;
}

.menu-toggle-icon.rotated {
    transform: rotate(90deg);
}

/* =========================================
   Top Bar Styles
   ========================================= */
.topbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--topbar-height);
    background: #fff;
    border-bottom: 1px solid var(--col-light-bg);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar.collapsed~.main-wrapper .topbar {
    left: var(--sidebar-collapsed-width);
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--col-text);
    margin-right: 15px;
}

.sidebar-toggle:hover {
    color: var(--col-primary);
}

.topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =========================================
   Main Content Styles
   ========================================= */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--topbar-height);
    padding: 20px;
    transition: margin-left 0.3s ease;
    min-height: calc(100vh - var(--topbar-height));
    background-color: #ffffff;
}

.sidebar.collapsed~.main-wrapper .main-content,
.sidebar.collapsed~.main-content {
    margin-left: var(--sidebar-collapsed-width);
}

/* =========================================
   Login Page Styles
   ========================================= */
body.login-page {
    background: linear-gradient(-45deg, #006159, #009589, #2e9f82, #3baea0);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: auto !important;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating particles effect */
body.login-page::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: floatParticles 20s ease-in-out infinite;
}

@keyframes floatParticles {

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

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.login-card {
    background: rgba(50, 172, 131, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    overflow: hidden;
    max-width: 440px;
    width: 100%;
    margin: 20px;
    animation: slideUp 0.6s ease-out;
    position: relative;
}

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

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

.login-header {
    background: linear-gradient(135deg, var(--col-primary) 0%, var(--col-secondary) 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Animated shine effect on header */
.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.login-header i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

.login-header img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
    background: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: pulse 2s ease-in-out infinite;
}

.login-header h3 {
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.login-header p {
    opacity: 0.95;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.login-body {
    padding: 40px 35px;
}

.login-body .form-label {
    font-weight: 600;
    color: var(--col-text);
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-body .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.login-body .form-control:focus {
    border-color: var(--col-secondary);
    box-shadow: 0 0 0 0.25rem rgba(46, 159, 130, 0.15);
    background-color: white;
}

.login-body .form-control:hover:not(:focus) {
    border-color: #c0c0c0;
}

/* Enhanced input icons */
.login-body .form-label i {
    color: var(--col-secondary);
    margin-right: 6px;
}

/* Checkbox styling */
.login-body .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-body .form-check-input:checked {
    background-color: var(--col-secondary);
    border-color: var(--col-secondary);
}

.login-body .form-check-label {
    margin-left: 8px;
    cursor: pointer;
    user-select: none;
    color: var(--col-text);
}

/* Enhanced login button */
.btn-login {
    background: linear-gradient(135deg, var(--col-primary) 0%, var(--col-secondary) 100%);
    border: none;
    color: white;
    padding: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 149, 137, 0.3);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    box-shadow: 0 8px 25px rgba(46, 159, 130, 0.5);
    color: white;
}

.btn-login:active {
    box-shadow: 0 4px 15px rgba(46, 159, 130, 0.4);
}

.btn-login i {
    margin-right: 8px;
}

/* Alert styling */
.login-body .alert {
    border-radius: 10px;
    border: none;
    animation: slideDown 0.3s ease-out;
}

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

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

.login-body .alert-danger {
    background-color: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .login-card {
        margin: 15px;
        max-width: 100%;
    }

    .login-header {
        padding: 30px 20px;
    }

    .login-body {
        padding: 30px 25px;
    }

    .login-header h3 {
        font-size: 1.3rem;
    }
}

/* =========================================
   Public Layout Styles
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--col-highlight) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--col-highlight);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-public-login {
    background-color: var(--col-highlight);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
}

.btn-public-login:hover {
    background-color: white;
    color: var(--primary-color);
}

.hero-section {
    background: linear-gradient(rgba(0, 97, 89, 0.9), rgba(0, 97, 89, 0.8)), url('/images/college-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


.public-footer::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--col-highlight), var(--col-accent), var(--col-highlight));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.public-footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 25px;
    margin-top: 50px;
    position: relative;
}

.public-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 0.5rem;
}

.public-footer a:hover {
    color: var(--col-highlight);
}

.public-footer .footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* =========================================
   Public News & Gallery Styles
   ========================================= */
.hover-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.object-fit-cover {
    object-fit: cover;
}

/* ===========================================
   New Public Homepage Utilities
   =========================================== */

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--col-highlight), var(--col-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shine button effect */
.shine-btn {
    position: relative;
    overflow: hidden;
}
.shine-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}
.shine-btn:hover::before {
    left: 100%;
}

/* Section tag (e.g. 'OUR TEAM') */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--col-primary);
    background: color-mix(in srgb, var(--col-primary) 12%, transparent);
    border-radius: 30px;
    padding: 4px 16px;
    margin-bottom: 12px;
}

/* Feature icon boxes */
.feature-icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    transition: transform 0.3s ease;
}
.feature-icon-box:hover {
    transform: rotate(6deg) scale(1.1);
}

/* 3D Flip Card */
.flip-card {
    perspective: 1000px;
    height: 320px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}
.flip-card-front {
    background: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.flip-card-back {
    background: linear-gradient(135deg, var(--col-primary), var(--col-dark));
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

/* Stats gradient icon circles */
.stat-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    transition: transform 0.3s ease;
}
.stat-icon-circle:hover {
    transform: scale(1.12);
}

/* Animated CountUp number */
.countup-stat {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

/* Hero typed cursor animation */
.typed-cursor {
    color: var(--col-highlight);
    font-weight: 300;
    animation: blink 0.7s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Hero floating badges */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    margin: 6px;
    animation: floatBadge 3s ease-in-out infinite;
}
.hero-badge:nth-child(2) {
    animation-delay: 1.5s;
}
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Scroll down chevron */
.scroll-chevron {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s ease-in-out infinite;
    color: rgba(255,255,255,0.7);
    font-size: 1.6rem;
    text-decoration: none;
    z-index: 5;
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Hero decorative floating shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.07;
    pointer-events: none;
}
.hero-shape-1 {
    width: 400px; height: 400px;
    background: white;
    top: -100px; right: -100px;
    animation: shapeFloat 8s ease-in-out infinite;
}
.hero-shape-2 {
    width: 200px; height: 200px;
    background: white;
    bottom: 50px; left: -50px;
    animation: shapeFloat 6s ease-in-out infinite reverse;
}
@keyframes shapeFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(15deg); }
}

/* CTA animated gradient */
.cta-section {
    background: linear-gradient(-45deg, var(--col-primary), var(--col-dark), var(--col-accent), var(--col-hover));
    background-size: 400% 400%;
    animation: ctaGradient 10s ease infinite;
    position: relative;
    overflow: hidden;
}
@keyframes ctaGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Pulse CTA button */
.btn-pulse {
    animation: pulseCta 2.5s ease-in-out infinite;
}
@keyframes pulseCta {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255,255,255,0); }
}

/* Testimonial section */
.testimonial-section {
    background: linear-gradient(135deg, #0d1b2a, #1b2a3b);
    color: white;
    position: relative;
    overflow: hidden;
}
.testimonial-section::before {
    content: '\201C';
    position: absolute;
    top: -30px;
    left: 30px;
    font-size: 20rem;
    color: rgba(255,255,255,0.03);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    pointer-events: none;
}
.testimonial-item {
    display: none;
    animation: fadeInQuote 0.6s ease;
}
.testimonial-item.active {
    display: block;
}
@keyframes fadeInQuote {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Principal quote decoration */
.principal-quote-mark {
    font-size: 8rem;
    line-height: 0.7;
    color: var(--col-primary);
    opacity: 0.12;
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: 20px;
    left: -10px;
    pointer-events: none;
}

/* Download file type badges */
.file-type-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* News card left border accent */
.news-card-accent {
    border-left: 4px solid var(--col-primary) !important;
}
.news-card-accent.type-event {
    border-left-color: #28a745 !important;
}
.news-card-accent.type-announcement {
    border-left-color: #ffc107 !important;
}

/* Stats connector line (desktop) */
@media (min-width: 768px) {
    .stats-row {
        position: relative;
    }
    .stats-row::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--col-primary) 0, var(--col-primary) 8px, transparent 8px, transparent 16px);
        opacity: 0.2;
        pointer-events: none;
        transform: translateY(-50%);
        z-index: 0;
    }
}

/* Back to top button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
#backToTop.visible {
    opacity: 1;
    transform: translateY(0);
}
#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* =========================================
   Dashboard Styles
   ========================================= */
:root {
    /* Mapping Dashboard Variables to Project Palette */
    --dash-primary: var(--col-text);
    --dash-secondary: var(--col-hover);
    --dash-accent: var(--col-accent);
    --dash-success: var(--col-success);
    --dash-warning: var(--col-info);
    /* Mapped to Info/Teal */
    --dash-danger: var(--col-sidebar-bg);
    /* Mapped to Dark Teal */
    --dash-light: var(--col-light-bg);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-container {
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--col-light-bg);
    padding-bottom: 1rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--col-sidebar-bg);
    margin: 0;
}

.page-subtitle {
    color: var(--col-text);
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s;
    height: 100%;
    border-left: 4px solid var(--col-accent);
}

.stat-card:hover {
    box-shadow: var(--hover-shadow);
}

.stat-card.primary {
    border-left-color: var(--col-accent);
}

.stat-card.success {
    border-left-color: var(--col-success);
}

.stat-card.warning {
    border-left-color: var(--col-info);
}

.stat-card.danger {
    border-left-color: var(--col-sidebar-bg);
}

.stat-card.info {
    border-left-color: var(--col-mint);
}

.stat-card.dark {
    border-left-color: var(--col-text);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--col-sidebar-bg);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--col-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Chart Cards */
.chart-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--col-hover);
    margin: 0;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.chart-container-large {
    height: 400px;
}

/* Tables */
.table-card {
    background: white;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.table-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--col-light-bg);
    background-color: white;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: var(--col-light-bg);
    color: var(--col-hover);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--col-light-bg);
}

.table td {
    vertical-align: middle;
    color: var(--col-text);
}

.badge-custom {
    padding: 0.5em 0.8em;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

.badge-active {
    background-color: var(--col-light-bg);
    color: var(--col-success);
}

.badge-graduated {
    background-color: #eaf2f8;
    color: var(--col-accent);
}

.badge-dropped {
    background-color: #fdedec;
    color: var(--col-sidebar-bg);
}

.badge-class {
    background-color: #f4f6f6;
    color: var(--col-text);
    border: 1px solid #bdc3c7;
}

/* =========================================
   Footer Styles
   ========================================= */
.dashboard-footer {
    margin-left: var(--sidebar-width);
    margin-top: 0;
    padding: 15px 20px;
    text-align: center;
    background-color: #fff;
    color: var(--col-text);
    border-top: 1px solid var(--col-light-bg);
    transition: margin-left 0.3s ease;
}

.sidebar.collapsed~.main-wrapper .dashboard-footer {
    margin-left: var(--sidebar-collapsed-width);
}

/* =========================================
   Responsive Styles
   ========================================= */

/* Lock body scroll when mobile sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
        box-shadow: none;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar.show {
        transform: translateX(0);
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.3);
    }

    /* Better sidebar brand on mobile */
    .sidebar-brand {
        padding: 12px 15px;
        font-size: 16px;
    }

    .sidebar-brand #mobileSidebarClose {
        opacity: 1;
        padding: 4px 8px;
    }

    /* Larger touch targets on mobile */
    .sidebar-menu a {
        padding: 14px 20px;
        font-size: 15px;
    }

    .submenu a {
        padding: 12px 20px 12px 52px;
        font-size: 14px;
    }

    .submenu a.active {
        padding-left: 49px;
    }

    .topbar {
        left: 0 !important;
    }

    .main-wrapper {
        margin-left: 0 !important;
    }

    .main-content {
        margin-left: 0 !important;
        padding: 12px;
    }

    .dashboard-footer {
        margin-left: 0 !important;
    }

    /* Overlay for mobile drawer */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

    /* Form responsiveness */
    .card-body {
        padding: 1rem !important;
    }

    /* Better table scrolling */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    /* Stack stat cards */
    .stat-card {
        margin-bottom: 1rem;
    }

    /* Dashboard container padding */
    .dashboard-container {
        padding: 1rem;
    }

    /* Page header mobile */
    .page-title {
        font-size: 1.35rem;
    }

    /* Topbar adjustments */
    .topbar {
        padding: 0 12px;
    }

    .topbar-right {
        gap: 8px;
    }

    .topbar-right .btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .topbar-right .img-profile {
        width: 32px !important;
        height: 32px !important;
    }

    .topbar-right span.text-muted {
        display: none;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .sidebar {
        width: 260px;
    }

    .main-content {
        padding: 8px;
    }

    .dashboard-container {
        padding: 0.75rem;
    }

    .chart-container {
        height: 220px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.2rem;
    }
}

/* =========================================
   Component Styles
   ========================================= */
.card {
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Fix pagination arrow size */
.pagination .page-link {
    font-size: 1rem !important;
    padding: 0.375rem 0.75rem !important;
}

.pagination .page-link svg {
    width: 1rem !important;
    height: 1rem !important;
}

/* =========================================
   Seating Plan Print Styles
   ========================================= */
.seating-plan-page {
    font-family: Arial, sans-serif;
    font-size: 11px;
    background-color: white !important;
}

@media print {
    .seating-plan-page .no-print {
        display: none !important;
    }

    .seating-plan-page .page-break {
        page-break-after: always;
    }

    .seating-plan-page {
        font-size: 10pt;
    }
}

.seating-plan-page .page-header {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    color: black;
}

.seating-plan-page .page-number {
    font-size: 12px;
    float: right;
}

.seating-plan-page .room-section {
    margin-bottom: 15px;
    border: 2px solid #000;
    padding: 8px;
    page-break-inside: avoid;
}

.seating-plan-page .room-title {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    background: #000;
    color: #fff;
    padding: 4px;
}

.seating-plan-page .roll-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 3px;
    margin-bottom: 5px;
}

.seating-plan-page .roll-cell {
    border: 1px solid #333;
    padding: 3px 2px;
    text-align: center;
    font-weight: bold;
    font-size: 11px;
    background: #f8f9fa;
    line-height: 1.2;
}

.seating-plan-page .student-name {
    font-size: 6px;
    font-weight: normal;
    color: #555;
    margin-top: 1px;
    line-height: 1;
}

.seating-plan-page .year-divider {
    grid-column: 1 / -1;
    background: #6c757d;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 3px;
    margin: 5px 0;
    font-size: 11px;
}

.seating-plan-page .room-stats {
    text-align: right;
    font-size: 10px;
    margin-top: 5px;
    font-weight: bold;
}

/* =========================================
   ID Card Print Styles
   ========================================= */
.id-card-page {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    font-family: 'Outfit', sans-serif;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.id-card-page .page {
    width: 210mm;
    min-height: 297mm;
    padding: 10mm;
    margin: 10mm auto;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 5mm;
    box-sizing: border-box;
}

.id-card-page .id-card {
    width: 85.6mm;
    height: 54mm;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    background: white;
    page-break-inside: avoid;
}

.id-card-page .id-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: var(--col-primary);
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0% 100%);
    z-index: 0;
}

.id-card-page .id-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    height: 40%;
    background: var(--col-accent);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.2;
    z-index: 0;
}

.id-card-page .header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 3mm 3mm 0 3mm;
}

.id-card-page .logo {
    width: 12mm;
    height: 12mm;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2mm;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.id-card-page .logo img {
    width: 8mm;
}

.id-card-page .college-name {
    flex: 1;
}

.id-card-page .college-name h1 {
    margin: 0;
    font-size: 9pt;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

.id-card-page .college-name span {
    font-size: 6pt;
    color: var(--col-accent);
    font-weight: 600;
}

.id-card-page .content {
    position: relative;
    z-index: 1;
    display: flex;
    padding: 3mm;
    margin-top: 1mm;
}

.id-card-page .photo-area {
    width: 22mm;
    margin-right: 3mm;
    text-align: center;
}

.id-card-page .photo-box {
    width: 22mm;
    height: 26mm;
    border: 2px solid var(--col-accent);
    border-radius: 4px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 1mm;
}

.id-card-page .photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-card-page .student-id {
    font-size: 7pt;
    font-weight: bold;
    color: var(--col-primary);
    background: #eef2f7;
    padding: 1px 4px;
    border-radius: 3px;
    display: inline-block;
}

.id-card-page .details-area {
    flex: 1;
}

.id-card-page .student-name {
    margin: 0 0 1mm 0;
    font-size: 11pt;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    line-height: 1.1;
}

.id-card-page .info-row {
    display: flex;
    margin-bottom: 1mm;
    font-size: 7.5pt;
    line-height: 1.2;
}

.id-card-page .label {
    width: 18mm;
    color: #666;
    font-weight: 500;
}

.id-card-page .value {
    flex: 1;
    color: #000;
    font-weight: 600;
}

.id-card-page .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6mm;
    background: var(--col-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3mm;
    box-sizing: border-box;
    color: white;
    font-size: 6pt;
    z-index: 1;
}

.id-card-page .principal-sign {
    position: absolute;
    bottom: 8mm;
    right: 3mm;
    text-align: center;
    width: 25mm;
}

.id-card-page .principal-sign img {
    height: 6mm;
    display: block;
    margin: 0 auto 1mm auto;
}

.id-card-page .principal-sign .name {
    font-size: 5.5pt;
    color: #000;
    font-weight: 600;
    display: block;
    margin-bottom: 1px;
}

.id-card-page .principal-sign span {
    font-size: 5pt;
    color: #666;
    border-top: 1px solid #999;
    display: block;
    width: 100%;
    padding-top: 1px;
}

.id-card-page .barcode-area {
    position: absolute;
    bottom: 1mm;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.id-card-page .barcode-area img {
    width: 25mm;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: scaleY(0.4);
}

.id-card-page .barcode-area span {
    font-size: 5pt;
    color: #333;
    display: block;
    margin-top: 1px;
}

@media print {
    .id-card-page .no-print {
        display: none !important;
    }

    .id-card-page {
        margin: 0;
        padding: 0;
        background: white;
    }

    .id-card-page .page {
        margin: 0;
        padding: 0;
        box-shadow: none;
        width: auto;
        min-height: auto;
    }
}

/* =========================================
   Report Print Utilities
   ========================================= */
@media print {
    .print-hidden-body * {
        visibility: hidden;
    }

    .print-visible-area,
    .print-visible-area * {
        visibility: visible;
    }

    .print-visible-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    .print-hide-ui .btn,
    .print-hide-ui .d-flex-ui,
    .print-hide-ui nav,
    .print-hide-ui footer,
    .print-hide-ui .card-shadow {
        display: none !important;
    }

    .print-clean-card {
        border: none !important;
        box-shadow: none !important;
    }

    .print-table-bordered {
        width: 100% !important;
        border: 1px solid #000 !important;
    }

    .print-badge {
        border: 1px solid #000;
        color: #000 !important;
        background: none !important;
        font-weight: normal;
    }
}

/* Bootstrap Overrides */
/* Only override buttons and specific elements, not utility classes that are used for icons */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Override bg-primary only for sections, not for icon containers */
section.bg-primary,
.page-header.bg-primary,
.hero-section.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Mobile Responsive Table Name & Father Name Styling */
.col-name-father {
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .col-name-father {
        white-space: nowrap !important;
        font-size: 0.8rem !important;
        vertical-align: middle;
    }
    .attendance-table th,
    .attendance-table td {
        padding: 0.45rem 0.4rem !important;
    }
    .attendance-table .col-name-father .badge {
        font-size: 0.65rem !important;
        padding: 0.25em 0.4em !important;
    }
    .attendance-table .btn-group .btn {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.75rem !important;
    }
}

/* ======================================================
   AESTHETIC UPGRADE v2 — Premium Public Homepage Styles
   ====================================================== */

/* ── Google Font: Playfair Display for headings ────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap');

/* ── Section heading decoration ────────────────────────── */
.section-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 12px auto 0;
    width: fit-content;
}
.section-divider::before,
.section-divider::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--col-primary));
}
.section-divider::after {
    background: linear-gradient(90deg, var(--col-primary), transparent);
}
.section-divider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--col-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--col-primary) 20%, transparent);
}

/* ── Stats Band ─────────────────────────────────────────── */
.stats-band {
    background: linear-gradient(135deg, var(--col-primary) 0%, var(--col-dark) 50%, #0d1b2a 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    margin-top: -70px;
    z-index: 10;
}
.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.stats-band::after {
    content: '';
    position: absolute;
    top: -40px; left: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.stat-band-card {
    position: relative;
    text-align: center;
    padding: 28px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}
.stat-band-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 0 0 20px 20px;
    transition: height 0.3s ease;
}
.stat-band-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.stat-band-card:hover::before {
    height: 4px;
}
.stat-band-card.s1::before { background: linear-gradient(90deg,#3b82f6,#60a5fa); }
.stat-band-card.s2::before { background: linear-gradient(90deg,#f59e0b,#fcd34d); }
.stat-band-card.s3::before { background: linear-gradient(90deg,#10b981,#6ee7b7); }
.stat-band-card.s4::before { background: linear-gradient(90deg,#ef4444,#fca5a5); }

.stat-band-icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    position: relative;
}
.stat-band-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.15);
}
.stat-band-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    letter-spacing: -2px;
    font-family: 'Outfit', sans-serif;
}
.stat-band-suffix {
    font-size: 1.6rem;
    font-weight: 700;
    opacity: 0.7;
    color: white;
}
.stat-band-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}

@media (max-width: 768px) {
    .stats-band {
        margin-top: 0;
        padding: 35px 0 25px;
    }
    .stat-band-card {
        padding: 16px 8px;
        border-radius: 14px;
    }
    .stat-band-icon {
        width: 46px; height: 46px;
        border-radius: 12px;
        font-size: 1.15rem;
        margin: 0 auto 10px;
    }
    .stat-band-icon::after {
        inset: -2px;
        border-radius: 14px;
    }
    .stat-band-number {
        font-size: 1.5rem;
        letter-spacing: -0.5px;
    }
    .stat-band-suffix {
        font-size: 1.1rem;
        opacity: 0.9;
    }
    .stat-band-label {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
        margin-top: 4px;
        color: rgba(255,255,255,0.85);
        line-height: 1.2;
    }
    .principal-experience-chip {
        right: 10px;
    }
    .hero-swiper {
        height: 75vh;
        min-height: 480px;
    }
}

/* ── Principal Section ─────────────────────────────────── */
.principal-image-wrap {
    position: relative;
    display: inline-block;
}
.principal-image-wrap::before {
    content: '';
    position: absolute;
    top: 20px; left: 20px;
    right: -20px; bottom: -20px;
    background: linear-gradient(135deg, var(--col-primary), var(--col-dark));
    border-radius: 20px;
    z-index: 0;
    opacity: 0.35;
}
.principal-image-wrap img {
    position: relative;
    z-index: 1;
}
.principal-experience-chip {
    position: absolute;
    top: 20px; right: -15px;
    background: white;
    border-radius: 50px;
    padding: 10px 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 8px;
    z-index: 3;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--col-primary);
}

/* ── Feature Cards (Why Choose Us) ────────────────────── */
.feature-card-v2 {
    padding: 36px 28px;
    border-radius: 20px;
    background: white;
    border: 1px solid #f0f4f8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.feature-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}
.feature-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.13);
    border-color: transparent;
}
.feature-card-v2:hover::before { opacity: 1; }
.feature-card-v2:hover .fc-icon { transform: scale(1.15) rotate(-5deg); }
.feature-card-v2:hover h5,
.feature-card-v2:hover p { color: white !important; }
.feature-card-v2:hover .fc-number { opacity: 0.15; }

.fc-bg-1::before { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.fc-bg-2::before { background: linear-gradient(135deg,#8b5cf6,#6d28d9); }
.fc-bg-3::before { background: linear-gradient(135deg,#10b981,#059669); }
.fc-bg-4::before { background: linear-gradient(135deg,#f59e0b,#d97706); }
.fc-bg-5::before { background: linear-gradient(135deg,#ef4444,#b91c1c); }
.fc-bg-6::before { background: linear-gradient(135deg,#06b6d4,#0284c7); }

.fc-icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
    position: relative; z-index: 1;
}
.fc-number {
    position: absolute;
    bottom: 10px; right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: #f0f4f8;
    line-height: 1;
    transition: opacity 0.4s ease;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -3px;
    pointer-events: none;
}
.feature-card-v2 h5 {
    position: relative; z-index: 1;
    transition: color 0.4s ease;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card-v2 p {
    position: relative; z-index: 1;
    transition: color 0.4s ease;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ── Faculty Cards (improved) ──────────────────────────── */
.faculty-card-v2 {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.07);
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    height: 100%;
}
.faculty-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
}
.faculty-card-top {
    background: linear-gradient(135deg, var(--col-primary), var(--col-dark));
    padding: 32px 20px 60px;
    position: relative;
    text-align: center;
}
.faculty-card-top::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 40px;
    background: white;
    border-radius: 50% 50% 0 0 / 40px 40px 0 0;
}
.faculty-avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.5);
    position: relative; z-index: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.faculty-card-body {
    padding: 8px 20px 24px;
    text-align: center;
}
.faculty-dept-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
    background: color-mix(in srgb, var(--col-primary) 12%, transparent);
    color: var(--col-primary);
}

/* ── Testimonial v2 ─────────────────────────────────────── */
.testimonial-v2-section {
    background: linear-gradient(150deg, #0a1628 0%, #0d2137 50%, #0a1628 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.testimonial-v2-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.testimonial-card-v2 {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}
.testimonial-card-v2:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.testimonial-card-v2::before {
    content: '\201C';
    position: absolute;
    top: 16px; left: 24px;
    font-size: 5rem;
    line-height: 1;
    color: var(--col-primary);
    opacity: 0.4;
    font-family: 'Playfair Display', serif;
}
.star-rating { color: #fbbf24; letter-spacing: 2px; font-size: 0.9rem; }
.testimonial-author-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--col-primary), var(--col-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: white;
    flex-shrink: 0;
}

/* ── Downloads v2 ──────────────────────────────────────── */
.download-card-v2 {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #f0f4f8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.download-card-v2::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    border-radius: 0 20px 0 80px;
    opacity: 0.07;
}
.download-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: var(--col-primary);
}
.download-icon-v2 {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* ── News Cards v2 ─────────────────────────────────────── */
.news-card-v2 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    height: 100%;
    border: 1px solid #f0f4f8;
}
.news-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    border-color: transparent;
}
.news-card-v2 .news-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}
.news-card-v2 .news-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.news-card-v2:hover .news-img-wrap img {
    transform: scale(1.08);
}
.news-img-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}
.news-card-body-v2 {
    padding: 24px;
}
.news-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
}
.news-card-v2 h5 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
    color: #1e293b;
}

/* ── CTA Section v2 ────────────────────────────────────── */
.cta-v2 {
    background: linear-gradient(135deg, var(--col-primary) 0%, #0d1b2a 60%, var(--col-dark) 100%);
    position: relative; overflow: hidden; padding: 100px 0;
}
.cta-v2::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(59,130,246,0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(139,92,246,0.12) 0%, transparent 50%);
    pointer-events: none;
}
.cta-v2-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    pointer-events: none;
}
.cta-v2-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: white;
    margin-bottom: 20px;
}

/* ── Alumni Carousel v2 ────────────────────────────────── */
.alumni-card-v2 {
    background: white;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid #f0f4f8;
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
}
.alumni-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: var(--col-primary);
}
.alumni-avatar {
    width: 86px; height: 86px;
    border-radius: 50%; object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--col-primary);
    margin: 0 auto 16px;
    display: block;
    transition: transform 0.3s ease;
}
.alumni-card-v2:hover .alumni-avatar { transform: scale(1.06); }

/* ── Hover lift utility ────────────────────────────────── */
.hover-lift {
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1) !important;
}

/* ── Glass card (improved) ─────────────────────────────── */
.glass-card {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.7);
}

/* ==========================================
   DECORATED PREMIUM FOOTER STYLES
   ========================================== */

.footer-wave-container {
    line-height: 0;
    margin-bottom: -1px;
    background: transparent;
    overflow: hidden;
}
.footer-wave-container svg {
    display: block;
    width: 100%;
    height: 50px;
}
@media (min-width: 768px) {
    .footer-wave-container svg { height: 85px; }
}

.public-footer {
    color: #e2e8f0;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

/* Dynamic top border indicator line */
.public-footer::before {
    content: '';
    display: block;
    height: 4px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* Ambient glow blobs */
.footer-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}
.footer-ambient-glow.glow-1 {
    width: 420px;
    height: 420px;
    background: var(--col-primary);
    top: -100px;
    left: -100px;
}
.footer-ambient-glow.glow-2 {
    width: 380px;
    height: 380px;
    background: var(--col-secondary, #2e9f82);
    bottom: -50px;
    right: -50px;
}

/* Footer Brand Header */
.footer-logo-wrap {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.footer-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.footer-logo-badge {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--col-primary), var(--col-secondary, #2e9f82));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: 0.2px;
    line-height: 1.25;
}
.footer-brand-sub {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--col-highlight, #d6ec8c);
    display: block;
    margin-top: 3px;
}
.footer-motto {
    color: rgba(226, 232, 240, 0.75);
    line-height: 1.65;
    font-size: 0.92rem;
}

/* Info Badges */
.footer-info-pill {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 6px 12px !important;
    font-weight: 500 !important;
    border-radius: 30px !important;
    font-size: 0.78rem !important;
}

/* Social Buttons */
.footer-social-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
}
.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box;
}
.footer-social-btn i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-align: center !important;
}
.footer-social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    color: #ffffff !important;
    border-color: transparent;
}
.social-fb:hover { background: #1877F2 !important; box-shadow: 0 10px 20px rgba(24, 119, 242, 0.4); }
.social-tw:hover { background: #1DA1F2 !important; box-shadow: 0 10px 20px rgba(29, 161, 242, 0.4); }
.social-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4); }
.social-wa:hover { background: #25D366 !important; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4); }
.social-map:hover { background: #EA4335 !important; box-shadow: 0 10px 20px rgba(234, 67, 53, 0.4); }

/* Footer Title */
.public-footer .footer-title {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}
.footer-title-line {
    display: block;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, var(--col-secondary, #2e9f82), var(--col-highlight, #d6ec8c));
    border-radius: 2px;
    margin-top: 6px;
}

/* Links List */
.footer-links-list li {
    margin-bottom: 0.6rem;
}
.public-footer .footer-link {
    color: rgba(226, 232, 240, 0.72) !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: inline-flex !important;
    align-items: center;
    font-size: 0.92rem;
    padding: 2px 0;
}
.public-footer .footer-link .link-icon {
    font-size: 0.65rem;
    margin-right: 8px;
    color: var(--col-secondary, #2e9f82);
    transition: transform 0.3s ease, color 0.3s ease;
}
.public-footer .footer-link:hover {
    color: #ffffff !important;
    transform: translateX(6px);
}
.public-footer .footer-link:hover .link-icon {
    color: var(--col-highlight, #d6ec8c);
    transform: translateX(3px);
}

/* Contact Card Container */
.footer-contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.footer-contact-item:last-child {
    margin-bottom: 0;
}
.contact-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 0.95rem;
}
.contact-text {
    display: flex;
    flex-direction: column;
}
.contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}
.contact-val {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}
a.contact-val.contact-link {
    text-decoration: none !important;
    transition: color 0.25s ease;
}
a.contact-val.contact-link:hover {
    color: var(--col-highlight, #d6ec8c) !important;
}

/* Bottom Sub-Footer Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-footer-top {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-footer-top:hover {
    background: var(--col-primary);
    border-color: var(--col-highlight);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.bg-white-10 { background: rgba(255, 255, 255, 0.06); }
.border-white-10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.fs-7 { font-size: 0.85rem !important; }
.fs-8 { font-size: 0.78rem !important; }

/* ── Page Hero v2 & Public Page Styling ───────────────────── */
.page-hero-v2 {
    background: linear-gradient(145deg, var(--col-primary) 0%, var(--col-dark) 60%, #071322 100%);
    position: relative;
    overflow: hidden;
    padding: 70px 0 90px;
    color: white;
}
.page-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--col-accent) 25%, transparent) 0%, transparent 50%);
    pointer-events: none;
}
.page-hero-v2 .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.page-hero-v2 h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.page-hero-v2 p.lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 650px;
    margin: 0 auto;
}
.page-hero-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    line-height: 0;
    z-index: 2;
}
.page-hero-wave svg {
    display: block;
    width: 100%;
    height: 50px;
}
.page-card-v2 {
    background: white;
    border-radius: 20px;
    border: 1px solid #f0f4f8;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    transition: all 0.35s cubic-bezier(0.23,1,0.32,1);
    overflow: hidden;
}
.page-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Glassmorphism Login Page */
.login-page-v2 {
    background: linear-gradient(135deg, var(--col-primary) 0%, var(--col-dark) 55%, #06101e 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}
.login-page-v2::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--col-accent) 35%, transparent) 0%, transparent 70%);
    top: -120px; right: -120px;
    pointer-events: none;
}
.login-card-v2 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

/* ======================================================
   MOBILE-FIRST MASTER RESPONSIVE STYLESHEET (<= 768px & <= 576px)
   ====================================================== */

@media (max-width: 768px) {
    /* ── Navbar & Brand ───────────────────────────────── */
    .navbar-brand img {
        height: 38px !important;
    }
    .navbar-brand div {
        font-size: 0.95rem !important;
    }
    .navbar-collapse {
        background: color-mix(in srgb, var(--col-primary) 95%, black);
        padding: 18px;
        border-radius: 16px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .navbar-nav .nav-link {
        padding: 10px 14px !important;
        font-size: 0.95rem !important;
    }

    /* ── Page Hero v2 ─────────────────────────────────── */
    .page-hero-v2 {
        padding: 40px 15px 55px !important;
    }
    .page-hero-v2 h1 {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
    }
    .page-hero-v2 p.lead {
        font-size: 0.95rem !important;
    }
    .page-hero-v2 .hero-badge {
        font-size: 0.72rem !important;
        padding: 4px 14px !important;
    }
    .page-hero-wave svg {
        height: 32px !important;
    }

    /* ── Cards & Containers ───────────────────────────── */
    .page-card-v2 {
        border-radius: 16px !important;
    }
    .feature-card-v2 {
        padding: 22px 18px !important;
        border-radius: 16px !important;
    }
    .fc-icon {
        width: 52px !important; height: 52px !important;
        font-size: 1.3rem !important;
        margin-bottom: 12px !important;
    }
    .fc-number {
        font-size: 3.5rem !important;
    }
    .faculty-card-v2 {
        border-radius: 18px !important;
    }
    .faculty-card-top {
        padding: 22px 14px 45px !important;
    }
    .faculty-avatar {
        width: 80px !important; height: 80px !important;
    }
    .download-card-v2 {
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }
    .testimonial-card-v2 {
        padding: 24px 18px !important;
        border-radius: 18px !important;
    }

    /* ── Form Controls & Touch Targets ───────────────── */
    .form-control, .form-select {
        min-height: 44px;
    }
    .input-group-lg > .form-control,
    .input-group-lg > .btn,
    .input-group-lg > .input-group-text {
        font-size: 0.92rem !important;
        padding: 10px 14px !important;
    }

    /* ── Data Tables Touch Scroll ────────────────────── */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }
    .table th, .table td {
        white-space: nowrap;
        padding: 10px 12px !important;
        font-size: 0.84rem !important;
    }

    /* ── Footer ───────────────────────────────────────── */
    .public-footer {
        padding-top: 40px !important;
    }
}

@media (max-width: 576px) {
    /* Extra Small Phones (320px - 480px) */
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .page-hero-v2 h1 {
        font-size: 1.55rem !important;
    }
    .stat-band-card {
        padding: 14px 6px !important;
    }
    .stat-band-number {
        font-size: 1.35rem !important;
    }
    .stat-band-label {
        font-size: 0.65rem !important;
        letter-spacing: 0 !important;
    }
    .nav-pills .nav-link {
        font-size: 0.82rem !important;
        padding: 8px 14px !important;
    }
    .login-card-v2 {
        border-radius: 18px !important;
        padding: 24px 16px !important;
    }
}


/* =========================================
   Notification Bell & Dropdown Styles
   ========================================= */
.notification-bell-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease-in-out;
}
.notification-bell-btn:hover, 
.notification-bell-btn:focus,
.notification-bell-btn[aria-expanded="true"] {
    background: #e2e8f0;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}
.notification-bell-btn:hover i {
    animation: bellRing 0.6s ease-in-out;
}
@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-15deg); }
    60% { transform: rotate(8deg); }
    80% { transform: rotate(-8deg); }
}
.notification-pulse {
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.6); }
    70% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}
.notification-dropdown-menu {
    border-radius: 14px !important;
    animation: fadeInDropdown 0.2s ease-out;
}
@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.notification-dropdown-scroll::-webkit-scrollbar {
    width: 5px;
}
.notification-dropdown-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
