
/* ============================================================
   PREMIUM DEVOTIONAL PAGE LOADER
   ============================================================ */
#pageLoader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: radial-gradient(circle at center, #2a0808 0%, #150000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
#pageLoader::before {
    content: ""; position: absolute; inset: 0;
    background: url("../images/mandala-bg.png") center/cover no-repeat;
    opacity: 0.05; animation: slowSpinLoader 40s linear infinite;
}
#pageLoader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 3rem;
}
.loader-icon-wrap {
    width: 120px; height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.loader-icon-wrap::before {
    content: ""; position: absolute; inset: -10px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: loaderRingPulse 2s ease-out infinite;
}
.loader-icon-wrap::after {
    content: ""; position: absolute; inset: 0;
    border: 2px dashed rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    animation: slowSpinLoader 15s linear infinite;
}
.loader-icon {
    font-size: 3.5rem;
    color: #d4af37;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
    animation: loaderIconFloat 3s ease-in-out infinite;
}
.loader-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}
.loader-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 0.4rem;
    font-family: var(--font-devanagari), serif;
    letter-spacing: 1px;
}
.loader-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-family: var(--font-devanagari), serif;
}
.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.loader-bar-fill {
    position: absolute; top: 0; left: 0; height: 100%;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    width: 50%;
    border-radius: 10px;
    animation: loaderBarShimmer 1.5s ease-in-out infinite;
}

@keyframes loaderRingPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
@keyframes slowSpinLoader { 100% { transform: rotate(360deg); } }
@keyframes loaderIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes loaderBarShimmer {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* @import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Tiro+Devanagari+Hindi:ital@0;1&display=swap');
/* ============================================================
   Pt. Mahadev Prasad Mishra Sangeet Sansthan Varanasi
   Main Stylesheet - Elegant Redesign
   ============================================================ */

/* ---------- CSS Variables (overridden by PHP inline) ---------- */
:root {
    --primary: #4A1515;
    --primary-dark: #2D0C0C;
    --secondary: #C59B4C;
    --secondary-dark: #A37A34;
    --accent: #E26D5C;
    --bg-light: #FAF8F5;
    --text-dark: #2C2C2C;
    --text-muted: #6C757D;
    --border-color: #EAE3D9;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
    --shadow: 0 10px 30px rgba(74, 21, 21, 0.08);
    --shadow-hover: 0 15px 40px rgba(197, 155, 76, 0.15);
    --font-primary: 'Lora', serif;
    --font-heading: 'Playfair Display', serif;
    --font-hindi: 'Tiro Devanagari Hindi', serif;
}

/* ---------- Base Styles ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; color: var(--primary); letter-spacing: 0.5px; }

h1, h2 { letter-spacing: -0.5px; }

.hindi-text {
    font-family: var(--font-hindi);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

section { position: relative; overflow: hidden; padding: 100px 0; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary); }

/* ---------- Music Loader ---------- */
.music-loader {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 40px;
    gap: 6px;
}
.music-loader span {
    width: 6px;
    background-color: var(--secondary);
    animation: music-bounce 1s infinite ease-in-out;
    border-radius: 3px;
}
.music-loader span:nth-child(1) { animation-delay: 0.1s; height: 10px; }
.music-loader span:nth-child(2) { animation-delay: 0.2s; height: 20px; }
.music-loader span:nth-child(3) { animation-delay: 0.3s; height: 35px; }
.music-loader span:nth-child(4) { animation-delay: 0.4s; height: 25px; }
.music-loader span:nth-child(5) { animation-delay: 0.5s; height: 15px; }

@keyframes music-bounce {
    0%, 100% { transform: scaleY(0.5); background-color: var(--primary); }
    50% { transform: scaleY(1.5); background-color: var(--secondary); }
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1050;
}

.announcement-ticker {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-label {
    font-weight: 600;
    white-space: nowrap;
    color: var(--secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticker-label i { margin-right: 5px; }

.ticker-wrap {
    flex: 1;
    overflow: hidden;
}

.ticker-items {
    display: inline-block;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

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

.ticker-item a {
    color: var(--secondary);
    font-weight: 600;
    margin-left: 5px;
}

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

.announcement-close {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    transition: var(--transition);
    white-space: nowrap;
}
.announcement-close:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--primary); /* Rich burgundy instead of black */
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-left { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.top-bar-left a, .top-bar-left span {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.top-bar-left a:hover { color: var(--secondary); }
.top-bar-left i { color: var(--secondary); font-size: 14px; }

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.admission-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}
.admission-badge.open { color: #fff; border-color: var(--secondary); }
.admission-badge.open i { color: var(--secondary); font-size: 8px; animation: blink 1.5s infinite; }
.admission-badge.closed { color: #fff; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.top-bar .social-links { display: flex; gap: 10px; }
.top-bar .social-links a {
    width: 30px; height: 30px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    transition: var(--transition);
}
.top-bar .social-links a:hover { background: var(--secondary); color: var(--primary); border-color: var(--secondary); }

/* Google Translate Specific Styling */
#google_translate_element select {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}
#google_translate_element select option { background: white; color: black; }
.goog-te-gadget { color: transparent !important; font-size:0px; }
.goog-te-gadget .goog-te-combo { margin: 0; }
.goog-logo-link { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 15px 0;
    transition: all 0.4s ease;
    z-index: 1040;
    border-bottom: 1px solid var(--border-color);
}

#mainNav.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 25px rgba(128, 0, 32, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand { display: flex; align-items: center; gap: 15px; }

.nav-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: var(--transition);
}

#mainNav.scrolled .nav-logo { width: 55px; height: 55px; }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    padding-left: 15px;
    border-left: 1px solid var(--border-color);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.brand-sub {
    font-family: var(--font-main);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark) !important;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after { width: 60%; }

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

/* Dropdown */
.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 10px;
    min-width: 250px;
    animation: dropIn 0.2s ease;
}

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

.dropdown-item {
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-weight: 500;
}

.dropdown-item i { color: var(--secondary); width: 20px; font-size: 16px; text-align: center; }
.dropdown-item .badge { margin-left: auto; background: var(--bg-light); color: var(--primary); font-size: 11px; }
.dropdown-item:hover { background: var(--primary); color: white; }
.dropdown-item:hover i { color: white; }
.dropdown-item:hover .badge { background: rgba(255,255,255,0.2); color: white; }
.dropdown-item.view-all { background: var(--bg-light); color: var(--primary) !important; justify-content: center; margin-top: 10px; border: 1px solid var(--border-color); }
.dropdown-item.view-all:hover { background: var(--primary); color: white !important; border-color: var(--primary); }
.dropdown-item.view-all i { color: var(--primary); }
.dropdown-item.view-all:hover i { color: white; }

/* Enroll Button */
.btn-enroll {
    background: var(--primary);
    color: white !important;
    border: 1px solid var(--primary);
    padding: 10px 24px !important;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-enroll:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Mobile Navbar Toggle */
.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: var(--border-radius);
}
.navbar-toggler span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    margin: 4px 0;
    transition: var(--transition);
}

/* ============================================================
   HERO / SLIDER SECTION
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-swiper { width: 100%; height: 80vh; }

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease;
    z-index: 0;
}

.hero-swiper .swiper-slide-active .hero-slide-bg {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.7) 40%, rgba(26,26,26,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 2px solid var(--secondary);
    padding-left: 15px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
    font-family: var(--font-display);
}

.hero-title span {
    color: var(--secondary);
    display: block;
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 650px;
    line-height: 1.6;
}

.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.btn-hero-primary {
    background: var(--secondary);
    color: var(--text-dark);
    font-weight: 600;
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid var(--secondary);
}
.btn-hero-primary:hover {
    background: transparent;
    color: var(--secondary);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-size: 15px;
    border: 1px solid white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}
.btn-hero-secondary:hover {
    background: white;
    color: var(--text-dark);
}



/* Hero Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 20px 0;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat-item:last-child { border-right: none; }

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-display);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* Swiper Navigation */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: 16px; color: white; }
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover { background: var(--primary); border-color: var(--primary); }

.hero-swiper .swiper-pagination-bullet { background: white; opacity: 0.6; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--secondary); opacity: 1; width: 24px; border-radius: 3px; }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section-padding { padding: 90px 0; }
.section-padding-sm { padding: 60px 0; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-tag::before, .section-tag::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
}

.section-title span { color: var(--primary); }

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}
.section-divider::before, .section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color));
}
.section-divider::after { background: linear-gradient(to left, transparent, var(--border-color)); }
.section-divider-icon {
    color: var(--secondary);
    font-size: 24px;
}

.bg-light-custom { background-color: var(--bg-light); }
.bg-primary-custom { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); }
.bg-dark-pattern {
    background: #0d0d0d;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(139,0,0,0.03) 0px,
        rgba(139,0,0,0.03) 1px,
        transparent 1px,
        transparent 20px
    );
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: white; }

.about-image-wrapper {
    position: relative;
    padding: 20px 20px 40px 0;
}

.about-main-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 15px 15px 40px rgba(139,0,0,0.15);
    position: relative;
    z-index: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: 0;
    right: -10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 20px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(139,0,0,0.3);
    z-index: 2;
}

.experience-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    display: block;
    color: var(--secondary);
}

.experience-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.1;
}

.about-decoration-2 {
    position: absolute;
    bottom: 40px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(139,0,0,0.1) 0%, rgba(212,175,55,0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(139,0,0,0.1);
}

.feature-text h6 {
    font-size: 14px;
    margin-bottom: 3px;
    color: var(--text-dark);
}
.feature-text p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.courses-section { background: var(--bg-light); }

.course-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212,175,55,0.3);
}

.course-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-card-image img { transform: scale(1.08); }

.course-level-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.course-mode-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}
.course-mode-badge.online { background: rgba(46,125,50,0.85); }

.course-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.course-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-title a { color: inherit; }
.course-title a:hover { color: var(--primary); }

.course-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
}

.course-meta-item i { color: var(--primary); font-size: 12px; }

.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.course-fee {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.course-fee span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.btn-course {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-course:hover { color: white; transform: translateX(3px); box-shadow: 0 4px 15px rgba(139,0,0,0.3); }

/* Featured Badge */
.featured-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: #1A1A1A;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */
.why-choose-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
}

.why-choose-section::before {
    content: 'ॐ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-hindi);
    font-size: 300px;
    color: rgba(255,255,255,0.03);
    pointer-events: none;
    line-height: 1;
}

.why-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(212,175,55,0.4);
    transform: translateY(-5px);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0.1) 100%);
    border: 2px solid rgba(212,175,55,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--secondary);
    font-size: 26px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: rotate(10deg) scale(1.1);
}

.why-title { color: white; font-size: 18px; margin-bottom: 12px; }
.why-desc { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.7; margin: 0; }

/* ============================================================
   FACULTY SECTION
   ============================================================ */
.faculty-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.faculty-image-wrap {
    position: relative;
    overflow: hidden;
}

.faculty-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.faculty-card:hover .faculty-image { transform: scale(1.05); }

.faculty-image-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0e8d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--secondary);
}

.faculty-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(139,0,0,0.8) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    gap: 10px;
}

.faculty-card:hover .faculty-overlay { opacity: 1; }

.faculty-social-btn {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    transition: var(--transition);
    transform: translateY(10px);
}
.faculty-card:hover .faculty-social-btn { transform: translateY(0); }
.faculty-social-btn:hover { background: var(--primary); color: white; }

.faculty-body { padding: 22px; }
.faculty-name { font-size: 19px; color: var(--text-dark); margin-bottom: 5px; }
.faculty-name a { color: inherit; }
.faculty-name a:hover { color: var(--primary); }
.faculty-designation {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.faculty-specialization { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.faculty-experience {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg-light); }

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    height: 100%;
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 60px;
    line-height: 0.5;
    color: var(--secondary);
    opacity: 0.3;
    font-family: Georgia, serif;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-rating { color: var(--secondary); margin-bottom: 15px; font-size: 14px; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
}

.testimonial-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-display);
    flex-shrink: 0;
}

.testimonial-name { font-size: 16px; font-weight: 700; margin-bottom: 2px; color: var(--text-dark); }
.testimonial-course { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   EVENTS SECTION
   ============================================================ */
.event-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    display: flex;
    border: 1px solid var(--border-color);
}

.event-card:hover { transform: translateX(5px); box-shadow: var(--shadow-hover); }

.event-date-badge {
    min-width: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    color: white;
    text-align: center;
    flex-shrink: 0;
}

.event-day { font-size: 2.2rem; font-weight: 900; line-height: 1; color: var(--secondary); }
.event-month { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.event-year { font-size: 11px; opacity: 0.8; }

.event-info { padding: 20px; flex: 1; }
.event-title { font-size: 17px; margin-bottom: 8px; }
.event-title a { color: var(--text-dark); }
.event-title a:hover { color: var(--primary); }

.event-meta { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 10px; }
.event-meta span { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.event-meta i { color: var(--primary); }

.event-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.event-status-badge.upcoming { background: rgba(46,125,50,0.1); color: var(--green); }
.event-status-badge.completed { background: rgba(108,117,125,0.1); color: #6c757d; }
.event-status-badge.ongoing { background: rgba(255,107,0,0.1); color: var(--accent); }
.event-free-badge { background: rgba(46,125,50,0.1); color: var(--green); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.event-paid-badge { background: rgba(212,175,55,0.1); color: var(--secondary-dark); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    cursor: pointer;
}

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

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(139,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-zoom-icon { font-size: 28px; color: var(--secondary); margin-bottom: 10px; }
.gallery-caption { font-size: 13px; text-align: center; padding: 0 15px; }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.06); }

.blog-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.blog-body { padding: 22px; }
.blog-meta { display: flex; gap: 15px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-meta span { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.blog-meta i { color: var(--primary); }

.blog-title { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.blog-title a { color: var(--text-dark); }
.blog-title a:hover { color: var(--primary); }

.blog-excerpt { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; line-height: 1.7; }

.btn-read-more {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.btn-read-more i { transition: var(--transition); }
.btn-read-more:hover { color: var(--primary-dark); }
.btn-read-more:hover i { transform: translateX(5px); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, #1A1A1A 0%, #2d1a1a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(139,0,0,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: luminosity;
}

.cta-content { position: relative; z-index: 2; }

.cta-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: white;
    margin-bottom: 15px;
}
.cta-title span { color: var(--secondary); }

.cta-text { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 30px; }

.btn-cta-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #1A1A1A;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 15px;
    border: none;
    box-shadow: 0 6px 25px rgba(212,175,55,0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-cta-primary:hover { transform: translateY(-3px); color: #1A1A1A; box-shadow: 0 10px 35px rgba(212,175,55,0.5); }

.btn-cta-secondary {
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-cta-secondary:hover { background: white; color: var(--primary); border-color: white; transform: translateY(-3px); }

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, rgba(212,175,55,0.3) 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    color: white;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90" opacity="0.03">ॐ</text></svg>') no-repeat center;
    background-size: 300px;
}

.page-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.02) 0px,
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 30px
    );
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.2);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}
.breadcrumb-item { color: rgba(255,255,255,0.7); }
.breadcrumb-item a { color: var(--secondary); }
.breadcrumb-item.active { color: white; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(139,0,0,0.1) 0%, rgba(212,175,55,0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
    border: 1px solid rgba(139,0,0,0.1);
}

.contact-info-text h6 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-info-text p, .contact-info-text a { font-size: 14px; color: var(--text-muted); margin: 0; }

.contact-form-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

/* Form Styles */
.form-label { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
    color: var(--text-dark);
    background: #fafafa;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,0,0,0.1);
    background: white;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(139,0,0,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139,0,0,0.4);
    color: white;
}

/* ============================================================
   ENROLLMENT PAGE
   ============================================================ */
.enrollment-form-wrapper {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.enrollment-form-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 30px 40px;
    color: white;
}

.enrollment-form-body { padding: 40px; }

.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fee-plan-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.fee-plan-card:hover, .fee-plan-card.selected {
    border-color: var(--primary);
    background: rgba(139,0,0,0.04);
}
.fee-plan-card.selected { border-color: var(--secondary); background: rgba(212,175,55,0.05); }

.fee-plan-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.fee-plan-amount { font-size: 1.8rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.fee-plan-period { font-size: 12px; color: var(--text-muted); }
.fee-plan-save { font-size: 11px; color: var(--green); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0a 100%);
    color: rgba(255,255,255,0.7);
    position: relative;
}

.footer-wave {
    position: relative;
    height: 0;
    overflow: hidden;
}

.footer-wave svg { width: 100%; height: 80px; display: block; }

.footer-top { padding: 70px 0 50px; }

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 8px rgba(212,175,55,0.3));
}

.footer-brand-name {
    font-family: var(--font-hindi);
    font-size: 18px;
    color: white;
    margin-bottom: 5px;
    line-height: 1.4;
}

.footer-tagline {
    color: var(--secondary);
    font-size: 14px;
    font-style: italic;
    margin-bottom: 12px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}

.social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; color: white; }
.social-btn.instagram:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; color: white; }
.social-btn.youtube:hover { background: #ff0000; border-color: #ff0000; color: white; }
.social-btn.twitter:hover { background: #1da1f2; border-color: #1da1f2; color: white; }
.social-btn.whatsapp:hover { background: #25d366; border-color: #25d366; color: white; }

.social-btn:hover { transform: translateY(-3px); }

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    border-radius: 1px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a i { color: var(--secondary); font-size: 10px; }
.footer-links a:hover { color: var(--secondary); transform: translateX(5px); }
.footer-links .view-all-link { color: var(--primary-light) !important; font-weight: 600; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    align-items: flex-start;
}
.footer-contact-list i { color: var(--secondary); margin-top: 3px; width: 16px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.6); }
.footer-contact-list a:hover { color: var(--secondary); }

.footer-timing { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 15px; }
.footer-timing h6 { font-size: 13px; color: white; margin-bottom: 10px; }
.footer-timing h6 i { color: var(--secondary); margin-right: 6px; }

.timing-table { width: 100%; font-size: 13px; color: rgba(255,255,255,0.6); }
.timing-table td { padding: 3px 0; }
.timing-table td:last-child { text-align: right; color: var(--secondary-light); }

.footer-bottom {
    background: rgba(0,0,0,0.4);
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); font-size: 13px; transition: var(--transition); }
.footer-bottom a:hover { color: var(--secondary); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(139,0,0,0.3);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: white; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(139,0,0,0.5); }

/* ============================================================
   BUTTONS (Global)
   ============================================================ */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139,0,0,0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-custom:hover { color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139,0,0,0.35); }

.btn-secondary-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 11px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary-custom:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.btn-gold {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #1A1A1A;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-gold:hover { color: #1A1A1A; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,175,55,0.4); }

/* ============================================================
   ALERTS & FLASH MESSAGES
   ============================================================ */
.flash-message {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 380px;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   ACHIEVEMENTS / STATS
   ============================================================ */
.achievement-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid var(--secondary);
    height: 100%;
}

.achievement-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212,175,55,0.15) 0%, rgba(139,0,0,0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--secondary);
    font-size: 24px;
}

.achievement-year { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; font-weight: 600; text-transform: uppercase; }
.achievement-title { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.achievement-desc { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   VIDEO GALLERY
   ============================================================ */
.video-card {
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 16/9;
}

.video-card:hover { transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.video-thumbnail { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: var(--transition); }
.video-card:hover .video-thumbnail { opacity: 0.5; }

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
    padding-left: 4px;
}

.video-card:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); background: var(--secondary); color: #1A1A1A; }

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px 15px 12px;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================================
   RAZORPAY PAYMENT BUTTON
   ============================================================ */
.btn-pay {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(46,204,113,0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.btn-pay:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(46,204,113,0.5); color: white; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
#pageLoader { transition: opacity 0.8s ease, visibility 0.8s ease;
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#pageLoader.hide { opacity: 0; visibility: hidden; }

.loader-logo { width: 100px; height: 100px; object-fit: contain; margin-bottom: 20px; animation: pulse 1.5s ease infinite; }

.loader-text {
    color: var(--secondary);
    font-family: var(--font-hindi);
    font-size: 18px;
    margin-bottom: 25px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212,175,55,0.2);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        padding: 15px;
        margin-top: 10px;
    }
    
    .navbar-nav .nav-link { padding: 12px 15px !important; border-radius: 8px; }
    .navbar-nav .nav-link:hover { background: var(--bg-light); }
    
    .btn-enroll { display: block; text-align: center; margin-top: 10px; }
    
    .hero-swiper, .hero-section { height: 70vh; min-height: 70vh; }
    .hero-content { padding: 80px 0 100px; }
    
    .brand-name { font-size: 14px; }
    .brand-sub { font-size: 11px; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 60px 0; }
    .hero-swiper, .hero-section { height: 85vh; }
    
    .hero-stats { position: relative; }
    .stat-number { font-size: 1.8rem; }
    
    .about-features { grid-template-columns: 1fr; }
    .about-image-wrapper { padding: 0 0 20px; }
    .about-experience-badge { position: relative; right: auto; bottom: auto; margin-top: 15px; display: inline-block; }
    
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    
    .contact-form-card, .contact-info-card { padding: 25px; }
    .enrollment-form-body { padding: 25px; }
    
    .event-card { flex-direction: column; }
    .event-date-badge { min-width: auto; padding: 15px; flex-direction: row; gap: 5px; align-items: center; }
    .event-day { font-size: 1.5rem; }
}

@media (max-width: 575.98px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons a, .hero-buttons button { width: 100%; text-align: center; justify-content: center; }
    
    .nav-logo { width: 45px; height: 45px; }
    .brand-name { font-size: 13px; }
    .brand-sub { font-size: 10px; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-gold { color: var(--secondary) !important; }

.bg-primary-gradient { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important; }
.bg-gold-gradient { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%) !important; }

.rounded-custom { border-radius: var(--border-radius) !important; }
.rounded-custom-lg { border-radius: var(--border-radius-lg) !important; }

.shadow-custom { box-shadow: var(--shadow) !important; }
.shadow-hover:hover { box-shadow: var(--shadow-hover) !important; }

.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-5px); }

.border-gold { border-color: var(--secondary) !important; }
.border-primary-custom { border-color: var(--primary) !important; }

/* Decorative Elements */
.om-decoration {
    color: rgba(212,175,55,0.08);
    font-family: var(--font-hindi);
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.indian-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.indian-divider::before,
.indian-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

.indian-divider-symbol {
    color: var(--secondary);
    font-family: var(--font-hindi);
    font-size: 20px;
}

@media (max-width: 991.98px) {
    .hero-title { font-size: 3.5rem; }
}
@media (max-width: 767.98px) {
    .hero-title { font-size: 2.3rem; margin-bottom: 15px; }
    .hero-subtitle { font-size: 1.1rem; line-height: 1.4; }
}

/* Global Responsive Guardrails */
html, body { width: 100%; max-width: 100vw; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
@media (max-width: 767.98px) {
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }
    h2.display-6 { font-size: 1.8rem; }
    .hero-content { padding: 40px 15px; }
    .container { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   PREMIUM STATIC HERO
   ============================================================ */
.hero-premium {
    min-height: 90vh;
    overflow: hidden;
    padding: 100px 0;
}
.hero-premium-bg {
    top: 0; left: 0;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    animation: slowZoom 25s ease-in-out infinite alternate;
    z-index: 1;
}
.hero-premium-overlay {
    top: 0; left: 0;
    background: linear-gradient(135deg, rgba(20,0,0,0.5) 0%, rgba(139,0,0,0.4) 100%);
    z-index: 2;
}
.hero-premium-content {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    max-width: 900px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    margin-top: 50px;
}
.premium-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 25px;
    border: 1px solid var(--secondary);
    border-radius: 50px;
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    background: rgba(212,175,55,0.1);
}
.hero-premium-title {
    font-size: 4rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-premium-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
}
.btn-gold-filled {
    background: var(--secondary);
    color: #000;
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
}
.btn-gold-filled:hover {
    background: transparent;
    color: var(--secondary);
    transform: translateY(-3px);
}
.btn-gold-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
}
.btn-gold-outline:hover {
    background: var(--secondary);
    color: #000;
    transform: translateY(-3px);
}
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@media (max-width: 991.98px) {
    .hero-premium-title { font-size: 3rem; }
}
@media (max-width: 767.98px) {
    .hero-premium { min-height: 80vh; padding: 60px 0; }
    .hero-premium-content { margin-top: 0; padding: 30px 15px !important; }
    .hero-premium-title { font-size: 2.2rem; }
    .hero-premium-subtitle { font-size: 1rem; }
    .premium-badge { font-size: 0.8rem; padding: 6px 15px; }
}

.navbar-nav .nav-link { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; letter-spacing: 1px; }
.btn { font-family: var(--font-heading); letter-spacing: 1px; font-weight: 700; }
.bg-light-custom, .courses-section, .blog-section { background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png'); }
.hero-premium-bg { filter: sepia(0.2) contrast(1.1); }
/* Elegant Card Hover Animations */
.course-card, .why-card, .faculty-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: center bottom;
}
.course-card:hover, .why-card:hover, .faculty-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(74, 21, 21, 0.15) !important;
    border-color: var(--secondary) !important;
}
.course-card img {
    transition: transform 0.8s ease;
}
.course-card:hover img {
    transform: scale(1.1);
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(74, 21, 21, 0.3);
}

/* Navbar Overlap Fix */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 50%; white-space: normal;
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}
.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.nav-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Elegant Enroll Button in Nav */
.btn-enroll {
    background-color: var(--secondary) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(197, 155, 76, 0.4) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.btn-enroll:hover {
    background-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 21, 21, 0.4) !important;
}

/* Course Category Filters (Remove Blue) */
.btn-filter {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    padding: 8px 20px;
    margin: 5px;
    transition: all 0.3s ease;
}
.btn-filter.active, .btn-filter:hover {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(74, 21, 21, 0.2);
}

/* Fix music toggle overlapping footer */
.music-toggle {
    bottom: 80px !important; /* Raised above footer copyright */
}


    50% { opacity: 1; }
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 155, 76, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(197, 155, 76, 0); transform: scale(1.1); }
    100% { box-shadow: 0 0 0 0 rgba(197, 155, 76, 0); transform: scale(1); }
}
.pulse-animation {
    animation: glowPulse 2s infinite !important;
    background-color: var(--primary) !important;
}
.music-toggle.playing {
    background-color: var(--secondary) !important;
}

.navbar-nav .nav-link { white-space: nowrap !important; font-size: 0.95rem; }
.nav-logo { border-radius: 50%; border: 2px solid var(--secondary); box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.btn-enroll { padding: 0.5rem 1.2rem !important; font-size: 0.9rem !important; white-space: nowrap; }

/* Developer Credit */
.footer-dev { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.dev-credit-link { color: var(--secondary) !important; font-weight: 700; text-decoration: none; letter-spacing: 0.5px; transition: color 0.3s, text-shadow 0.3s; }
.dev-credit-link:hover { color: #fff !important; text-shadow: 0 0 8px rgba(197,155,76,0.8); }
.footer-logo-placeholder { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem; }
/* Footer logo fix - no mix-blend-mode black */
.footer-logo { max-width: 90px; height: 90px; object-fit: contain; border-radius: 50%; background: transparent; margin-bottom: 1rem; border: 3px solid var(--secondary); }
/* Music toggle button icon */
.music-toggle-btn i { font-size: 1.2rem; }
#musicToggle { background: linear-gradient(135deg, var(--primary), var(--secondary)) !important; border: 2px solid var(--secondary) !important; }

.hero-content-container { margin-top: 25vh; }
@media (max-width: 767.98px) { .hero-content-container { margin-top: 10vh; } }
