/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* SPVN BRAND THEME COLORS */
    --spvn-theme: #b7410e;             /* Main Theme Color: #b7410e (Rust / Terracotta) */
    --spvn-theme-dark: #92340b;
    --spvn-theme-light: #cf531d;
    --spvn-secondary: #3a3a0e;         /* Secondary Color: #3a3a0e (Deep Olive) */
    --spvn-secondary-dark: #242408;
    --spvn-secondary-light: #505016;

    /* Theme Aliases */
    --spvn-primary: #b7410e;
    --spvn-primary-dark: #92340b;
    --spvn-primary-light: #cf531d;
    --spvn-header-bg: #3a3a0e;

    --spvn-accent: #b7410e;
    --spvn-accent-light: #cf531d;
    --spvn-gold: #fbbf24;
    --spvn-surface: #ffffff;
    --spvn-bg-light: #fdfcfb;
    --spvn-bg-alt: #f7f5f2;
    --spvn-text-dark: #1e1b18;
    --spvn-text-body: #3d3935;
    --spvn-text-muted: #6b6560;
    --spvn-border: #e8e2dc;
    --spvn-radius: 12px;
    --spvn-radius-lg: 20px;
    --spvn-shadow-sm: 0 2px 4px rgba(58, 58, 14, 0.05);
    --spvn-shadow-md: 0 6px 18px rgba(58, 58, 14, 0.08);
    --spvn-shadow-lg: 0 12px 30px rgba(58, 58, 14, 0.12);
    --spvn-transition: all 0.25s ease-in-out;

    /* Bootstrap 5 Overrides */
    --bs-primary: #b7410e;
    --bs-primary-rgb: 183, 65, 14;
    --bs-link-color: #b7410e;
    --bs-link-hover-color: #3a3a0e;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--spvn-text-body);
    background-color: var(--spvn-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Headings in Main Theme Color #b7410e */
h1, h2, h3, h4, h5, h6, .brand-font {
    color: var(--spvn-theme);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.heading-serif {
    font-family: 'Cinzel', serif;
}

/* White Headings and Text when on dark surfaces/overlays */
.text-white,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: #ffffff !important;
}

/* Universal Heading & Primary Text Overrides */
.text-primary,
h1.text-primary,
h2.text-primary,
h3.text-primary,
h4.text-primary,
h5.text-primary,
h6.text-primary {
    color: var(--spvn-theme) !important;
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(183, 65, 14, var(--bs-bg-opacity)) !important;
}

.bg-opacity-10 {
    --bs-bg-opacity: 0.1 !important;
}

.bg-opacity-25 {
    --bs-bg-opacity: 0.25 !important;
}

.bg-opacity-50 {
    --bs-bg-opacity: 0.5 !important;
}

.bg-opacity-75 {
    --bs-bg-opacity: 0.75 !important;
}

.bg-opacity-100 {
    --bs-bg-opacity: 1 !important;
}

.border-primary {
    border-color: var(--spvn-theme) !important;
}

/* Universal Link Styling & Hover in Secondary Color #3a3a0e */
a {
    color: var(--spvn-theme);
    text-decoration: none;
    transition: var(--spvn-transition);
}

a:hover {
    color: var(--spvn-secondary) !important;
}

/* ========================================================
   UNIVERSAL BUTTON STYLING (ALWAYS SINGLE LINE ON ALL DEVICES)
======================================================== */
.btn {
    white-space: nowrap !important;
    font-family: inherit;
    transition: var(--spvn-transition);
}

/* Button Color Theming: Main Theme #b7410e, Hover: Secondary #3a3a0e */
.btn-primary {
    background-color: var(--spvn-theme) !important;
    border-color: var(--spvn-theme) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--spvn-secondary) !important; /* #3a3a0e */
    border-color: var(--spvn-secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(58, 58, 14, 0.35);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--spvn-secondary) !important; /* #3a3a0e */
    border-color: var(--spvn-secondary) !important;
    color: #ffffff !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: var(--spvn-secondary) !important; /* #3a3a0e */
    border-color: var(--spvn-secondary) !important;
    color: #ffffff !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: var(--spvn-secondary) !important; /* #3a3a0e */
    border-color: var(--spvn-secondary) !important;
    color: #ffffff !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background-color: var(--spvn-secondary) !important; /* #3a3a0e */
    border-color: var(--spvn-secondary) !important;
    color: #ffffff !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: var(--spvn-secondary) !important; /* #3a3a0e */
    border-color: var(--spvn-secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(58, 58, 14, 0.35);
}

/* Responsive Button Scaling for Laptop, Tablet and Mobile */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .btn-lg {
        font-size: 0.94rem !important;
        padding: 9px 18px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .btn-lg {
        font-size: 0.90rem !important;
        padding: 8px 16px !important;
    }
}

@media (max-width: 767.98px) {
    .btn-lg {
        font-size: 0.88rem !important;
        padding: 8px 16px !important;
    }
    .btn {
        font-size: 0.86rem;
    }
}

/* ========================================================
   RESPONSIVE HEADER & NAVBAR CONTAINER
   - Mobile & Tablet (< 992px): 100% width with 14px padding
   - Laptop (992px to 1399.98px): Full col-12 width with snug padding (no wrap)
   - Desktop / Big Screen (>= 1400px): Centered 1320px grid (aligned with page content)
======================================================== */
.spvn-header-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 16px;
    padding-left: 16px;
}

@media (max-width: 991.98px) {
    .spvn-header-container {
        padding-right: 14px;
        padding-left: 14px;
    }
}

/* Laptop screens (992px to 1399.98px): 100% col-12 full width */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .spvn-header-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
}

/* Desktop / Big Screens (>= 1400px): Centered matching 1320px grid */
@media (min-width: 1400px) {
    .spvn-header-container {
        max-width: 1320px !important;
        padding-right: 16px !important;
        padding-left: 16px !important;
    }
}

/* ========================================================
   1. TOP NOTIFICATION & CONTACT STRIP
======================================================== */
.top-bar {
    background: linear-gradient(90deg, var(--spvn-secondary-dark), var(--spvn-secondary));
    color: #f1f1e6;
    font-size: 0.83rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--spvn-theme);
}

.top-bar a {
    color: #f1f1e6;
    text-decoration: none;
    transition: var(--spvn-transition);
}

.top-bar a:hover {
    color: var(--spvn-gold);
}

.top-bar .badge-cbse {
    background: rgba(183, 65, 14, 0.25);
    color: #fde68a;
    border: 1px solid rgba(183, 65, 14, 0.45);
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ========================================================
   2. MAIN BRAND HEADER
======================================================== */
.brand-header {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid var(--spvn-border);
}

.brand-logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.brand-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--spvn-theme) !important;
    line-height: 1.15;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-size: 0.80rem;
    color: var(--spvn-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.brand-motto {
    font-size: 0.82rem;
    color: var(--spvn-theme);
    font-weight: 600;
}

.header-cta-box {
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 2px dashed var(--spvn-border);
    padding-left: 18px;
}

/* ========================================================
   3. NAVIGATION BAR (RESPONSIVE & NO-WRAP ON ALL DEVICES)
   Header Background: Secondary Color #3a3a0e
======================================================== */
.main-navbar {
    background: var(--spvn-header-bg) !important; /* Secondary #3a3a0e */
    box-shadow: var(--spvn-shadow-md);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0;
    border-bottom: 2px solid var(--spvn-theme);
}

.main-navbar .navbar-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* Keep items horizontal on desktop/laptop */
}

.main-navbar .nav-link {
    color: #f1f1e6 !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 13px 12px !important;
    letter-spacing: 0.02em;
    transition: var(--spvn-transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap !important; /* Critical: Never break text */
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
}

.main-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 3px;
    background: var(--spvn-theme);
    border-radius: 3px 3px 0 0;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--spvn-shadow-lg);
    border-radius: var(--spvn-radius);
    padding: 8px 0;
    animation: fadeInDown 0.2s ease-out;
    background: #ffffff;
    border-top: 3px solid var(--spvn-theme);
}

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

.dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 18px;
    color: var(--spvn-text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--spvn-transition);
    white-space: nowrap;
}

.dropdown-item:hover {
    background-color: var(--spvn-bg-alt);
    color: var(--spvn-secondary) !important;
    padding-left: 22px;
}

/* Admission Form Button - Theme Default, Secondary #3a3a0e on hover */
.btn-nav-apply {
    background: linear-gradient(135deg, var(--spvn-theme), #92340b);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(183, 65, 14, 0.3);
    transition: var(--spvn-transition);
    white-space: nowrap !important; /* Never wrap "Admission Form" */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 0.86rem;
}

.btn-nav-apply:hover {
    background: var(--spvn-secondary) !important; /* Secondary #3a3a0e */
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(58, 58, 14, 0.45);
    color: #ffffff !important;
}

/* ========================================================
   RESPONSIVE MENU STYLES (LAPTOPS, TABLETS & MOBILES)
======================================================== */

/* Laptop screens: 992px to 1279px (e.g. 1366x768, 1280x800) */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .main-navbar .nav-link {
        font-size: 0.79rem !important;
        padding: 12px 6px !important;
        letter-spacing: 0;
        gap: 3px;
    }
    .main-navbar .nav-link i {
        font-size: 0.78rem;
    }
    .btn-nav-apply {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
    }
    .brand-title {
        font-size: 1.35rem;
    }
    .brand-logo-img {
        width: 60px;
        height: 60px;
    }
}

/* Standard Desktops: 1280px to 1439px */
@media (min-width: 1280px) and (max-width: 1439.98px) {
    .main-navbar .nav-link {
        font-size: 0.84rem !important;
        padding: 13px 9px !important;
        gap: 4px;
    }
    .btn-nav-apply {
        padding: 7px 13px !important;
        font-size: 0.83rem !important;
    }
}

/* Large Screens: >= 1440px */
@media (min-width: 1440px) {
    .main-navbar .nav-link {
        font-size: 0.90rem !important;
        padding: 14px 14px !important;
    }
    .btn-nav-apply {
        padding: 8px 18px !important;
        font-size: 0.88rem !important;
    }
}

/* Mobile & Tablet (< 992px) */
@media (max-width: 991.98px) {
    .main-navbar {
        padding: 6px 0;
    }
    .main-navbar .navbar-nav {
        flex-wrap: wrap;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-navbar .nav-link {
        padding: 10px 14px !important;
        font-size: 0.94rem !important;
        border-radius: 8px;
        margin-bottom: 2px;
        width: 100%;
        display: flex;
    }
    .main-navbar .dropdown-menu {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        margin: 4px 8px 10px 8px;
        padding: 6px;
    }
    .main-navbar .dropdown-item {
        color: #e2e8f0;
        border-radius: 6px;
        padding: 8px 14px;
        font-size: 0.88rem;
    }
    .main-navbar .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }
    .btn-nav-apply {
        width: 100%;
        justify-content: center;
        padding: 11px 18px !important;
        margin-top: 8px;
        margin-bottom: 12px;
        font-size: 0.95rem !important;
    }
    .brand-title {
        font-size: 1.25rem;
    }
    .brand-logo-img {
        width: 54px;
        height: 54px;
    }
    .stat-box {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .hero-carousel-item {
        height: 420px;
    }
    .hero-title {
        font-size: 1.9rem;
    }
}

/* ========================================================
   4. TICKER / ANNOUNCEMENT BAR
======================================================== */
.announcement-bar {
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    padding: 7px 0;
    font-size: 0.86rem;
    position: relative;
    z-index: 10;
}

.announcement-tag {
    background: var(--spvn-theme);
    color: #ffffff;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.announcement-ticker {
    min-width: 0;
    flex: 1 1 auto;
}

.announcement-ticker .carousel-item {
    transition: opacity 0.4s ease-in-out;
}

.announcement-link {
    color: var(--spvn-text-dark);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    width: 100%;
    line-height: 1.4;
}

.announcement-link:hover {
    color: var(--spvn-secondary) !important;
}

.announcement-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-nav-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    cursor: pointer;
    transition: var(--spvn-transition);
    padding: 0;
    line-height: 1;
}

.announcement-nav-btn:hover {
    background: var(--spvn-secondary) !important;
    color: #ffffff !important;
    border-color: var(--spvn-secondary) !important;
}

@media (max-width: 767.98px) {
    .announcement-bar {
        padding: 6px 0;
        font-size: 0.80rem;
    }
    .announcement-tag {
        padding: 2px 7px;
        font-size: 0.68rem;
    }
    .announcement-text {
        white-space: normal;
        line-height: 1.3;
    }
}

/* Mobile Header Admission Pill */
.mobile-admission-pill {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    transition: var(--spvn-transition);
}

.mobile-admission-pill:hover {
    background: #ffe4e6;
    border-color: #fda4af;
}

/* ========================================================
   5. HERO CAROUSEL & SLIDERS
======================================================== */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-carousel-item {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(58, 58, 14, 0.92) 0%, rgba(58, 58, 14, 0.70) 60%, rgba(58, 58, 14, 0.35) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    color: #ffffff;
    max-width: 680px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(183, 65, 14, 0.25);
    border: 1px solid var(--spvn-gold);
    color: #fef08a;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin-bottom: 26px;
    font-weight: 400;
}

/* ========================================================
   6. QUICK ACTION BADGES / STATS COUNTERS
======================================================== */
.quick-feature-card {
    background: #ffffff;
    border-radius: var(--spvn-radius);
    padding: 24px;
    box-shadow: var(--spvn-shadow-md);
    border: 1px solid var(--spvn-border);
    transition: var(--spvn-transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .quick-feature-card {
        padding: 20px 16px;
    }
    .quick-feature-card h5 {
        font-size: 1.05rem;
    }
}

.quick-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--spvn-theme);
    transform: scaleX(0);
    transition: var(--spvn-transition);
}

.quick-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--spvn-shadow-lg);
}

.quick-feature-card:hover::before {
    transform: scaleX(1);
}

.quick-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.quick-feature-icon.bg-primary,
.quick-feature-icon.bg-primary.bg-opacity-10 {
    background-color: rgba(183, 65, 14, 0.12) !important;
    color: var(--spvn-theme) !important;
}

.stat-box {
    text-align: center;
    padding: 22px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-box:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--spvn-gold);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.88rem;
    color: #e2e8f0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================================
   7. SECTION HEADERS & GENERAL CARDS
======================================================== */
.section-header {
    margin-bottom: 38px;
}

.section-badge {
    display: inline-block;
    background: rgba(183, 65, 14, 0.08);
    color: var(--spvn-theme);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--spvn-theme);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--spvn-text-muted);
    font-size: 1.02rem;
    max-width: 680px;
    margin: 0 auto;
}

.modern-card {
    background: #ffffff;
    border-radius: var(--spvn-radius);
    border: 1px solid var(--spvn-border);
    box-shadow: var(--spvn-shadow-sm);
    transition: var(--spvn-transition);
    overflow: hidden;
}

.modern-card:hover {
    box-shadow: var(--spvn-shadow-md);
    transform: translateY(-4px);
}

/* ========================================================
   8. PRINCIPAL & ABOUT SECTION
======================================================== */
.principal-spotlight {
    background: #ffffff;
    border-radius: var(--spvn-radius-lg);
    box-shadow: var(--spvn-shadow-md);
    border: 1px solid var(--spvn-border);
    overflow: hidden;
}

.quote-decor {
    font-size: 3rem;
    line-height: 1;
    color: var(--spvn-theme);
    opacity: 0.3;
}

.milestone-badge {
    background: var(--spvn-bg-light);
    border: 1px solid var(--spvn-border);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--spvn-theme);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================================
   9. TABLES & DOCUMENT CARDS
======================================================== */
.table-spvn {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: var(--spvn-radius);
    overflow: hidden;
    box-shadow: var(--spvn-shadow-sm);
    border: 1px solid var(--spvn-border);
}

.table-spvn thead th {
    background: var(--spvn-secondary); /* Secondary Color #3a3a0e */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 18px;
    border: none;
    letter-spacing: 0.03em;
}

.table-spvn tbody td {
    padding: 12px 18px;
    border-top: 1px solid var(--spvn-border);
    color: var(--spvn-text-body);
    font-size: 0.92rem;
    vertical-align: middle;
}

.table-spvn tbody tr:hover {
    background-color: #f8fafc;
}

.doc-download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: var(--spvn-radius);
    border: 1px solid var(--spvn-border);
    transition: var(--spvn-transition);
    box-shadow: var(--spvn-shadow-sm);
    text-decoration: none;
}

.doc-download-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--spvn-shadow-md);
    border-color: var(--spvn-theme);
}

.doc-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fee2e2;
    color: var(--spvn-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* ========================================================
   10. GALLERY STYLING
======================================================== */
.gallery-card {
    position: relative;
    border-radius: var(--spvn-radius);
    overflow: hidden;
    box-shadow: var(--spvn-shadow-sm);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(20, 20, 5, 0.60) 60%, rgba(20, 20, 5, 0.94) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #ffffff;
    opacity: 0.98;
    transition: var(--spvn-transition);
}

.gallery-card-overlay h1,
.gallery-card-overlay h2,
.gallery-card-overlay h3,
.gallery-card-overlay h4,
.gallery-card-overlay h5,
.gallery-card-overlay h6 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 4px;
}

.gallery-card-overlay small {
    color: #f1f5f9 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* ========================================================
   11. FOOTER
======================================================== */
.spvn-footer {
    background: var(--spvn-secondary-dark); /* Dark tone of Secondary #3a3a0e */
    color: #cbd5e1;
    padding-top: 50px;
    border-top: 4px solid var(--spvn-theme);
}

.spvn-footer p {
    color: #cbd5e1;
}

.spvn-footer h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.spvn-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--spvn-theme);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--spvn-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--spvn-gold) !important;
    transform: translateX(3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 16px 0;
    margin-top: 40px;
    font-size: 0.83rem;
    color: #94a3b8;
}

/* ========================================================
   12. FLOATING ADMISSION BUTTON
======================================================== */
.floating-apply-btn {
    display: none !important;
}