/* ================================================================
   KALATIRTHA SANGEET MAHAVIDYALAYA - Custom CSS
   Theme: Deep Maroon & Gold (Music Heritage)
   ================================================================ */

:root {
    /* Exact Official Kalatirtha Logo Color Shades */
    --logo-teal: #0D4744;          /* Deep Forest/Temple Teal from Outer Shield */
    --logo-teal-dark: #072B28;     /* Dark Teal Base */
    --logo-teal-light: #155E5A;    /* Medium Jewel Teal */
    --primary: #851315;            /* Sacred Crimson/Maroon from Banner Ribbon */
    --primary-dark: #5C0B0D;       /* Deep Crimson Base */
    --primary-light: #9E1B1E;      /* Rich Vibrant Maroon */
    --gold: #D4A017;               /* Traditional Temple Gold */
    --gold-light: #F5BE38;         /* Bright Gold Accent */
    --gold-warm: #FFF8E6;          /* Warm Amber Ivory */
    --dark: #07201E;               /* Deep Teal-Black */
    --dark2: #0C2E2B;              /* Dark Teal Card Background */
    --light-bg: #F4F8F7;           /* Soft Teal-White */
    --cream: #FFFDF9;              /* Clean Ivory Surface */
    --text-dark: #1A2827;          /* Rich Charcoal */
    --text-muted: #596E6D;         /* Muted Slate Teal */
    --white: #ffffff;
    --border: #D1E1DF;             /* Subtle Teal Border */
    --shadow: 0 4px 25px rgba(13,71,68,0.18);
    --shadow-lg: 0 10px 40px rgba(13,71,68,0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Poppins', 'Hind Siliguri', sans-serif;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--text-dark); }

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

/* ===== NEWS TICKER ===== */
.news-ticker-wrap {
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    height: 38px;
    overflow: hidden;
    z-index: 1100;
    position: relative;
}
.news-ticker-label {
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0 16px;
    height: 38px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}
.news-ticker-content {
    flex: 1;
    overflow: hidden;
    font-size: 0.85rem;
    padding: 0 10px;
}
.news-ticker-content marquee { color: #fff; }

/* ===== TOPBAR ===== */
.topbar-wrap {
    background: var(--cream);
    border-bottom: 2px solid var(--border);
    padding: 0;
}
.topbar-logo { height: 55px; width: auto; object-fit: contain; }
.logo-icon {
    width: 55px; height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
}
.brand-name { font-size: 1.1rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.brand-tagline { color: var(--primary); font-size: 0.75rem; font-family: 'Hind Siliguri', sans-serif; }
.topbar-info { font-size: 0.82rem; color: var(--text-dark); }
.topbar-item { display: flex; align-items: center; }
.topbar-item a { color: var(--text-dark); }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
    width: 30px; height: 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}
.topbar-social a:hover { background: var(--gold); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
.kalatirtha-nav {
    background: linear-gradient(135deg, #072B28 0%, #0D4744 55%, #5C0B0D 100%);
    padding: 0;
    box-shadow: 0 4px 20px rgba(7, 43, 40, 0.4);
    border-bottom: 2px solid var(--gold);
    transition: var(--transition);
    z-index: 1050;
}
.kalatirtha-nav.scrolled {
    box-shadow: 0 6px 30px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, rgba(7,43,40,0.98) 0%, rgba(13,71,68,0.98) 55%, rgba(92,11,13,0.98) 100%);
}
.kalatirtha-nav .navbar-brand { padding: 4px 0; }

/* Mobile Navbar Logo Frame */
.mobile-nav-logo {
    height: 48px;
    width: auto;
    max-width: 52px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 2px;
    border: 2px solid var(--gold);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

/* White High-Contrast Mobile Hamburger Toggle */
.kalatirtha-nav .navbar-toggler {
    border: 2px solid #ffffff !important;
    background: rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px !important;
    padding: 7px 11px !important;
    color: #ffffff !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}
.kalatirtha-nav .navbar-toggler:hover,
.kalatirtha-nav .navbar-toggler:focus {
    background: rgba(255, 255, 255, 0.38) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.5) !important;
}
.kalatirtha-nav .navbar-toggler .fa-bars,
.kalatirtha-nav .navbar-toggler i {
    color: #ffffff !important;
    font-size: 22px !important;
}
.kalatirtha-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    width: 24px !important;
    height: 24px !important;
}
.logo-icon-sm {
    width: 36px; height: 36px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--dark);
}
.brand-name-sm { color: #fff; font-weight: 700; font-size: 0.9rem; }

.kalatirtha-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 20px 14px !important;
    transition: var(--transition);
    position: relative;
}
.kalatirtha-nav .nav-link:hover,
.kalatirtha-nav .nav-item.active .nav-link {
    color: var(--gold-light) !important;
}
.kalatirtha-nav .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px 2px 0 0;
}

.kalatirtha-nav .dropdown-menu {
    background: var(--dark);
    border: 1px solid rgba(212,160,23,0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 220px;
    animation: fadeInDown 0.2s ease;
}
.kalatirtha-nav .dropdown-item {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    padding: 10px 16px;
    transition: var(--transition);
}
.kalatirtha-nav .dropdown-item:hover {
    background: rgba(212,160,23,0.15);
    color: var(--gold-light);
}

.btn-admission {
    background: var(--gold);
    color: var(--dark) !important;
    border-radius: 25px;
    padding: 8px 18px !important;
    font-weight: 700;
    font-size: 0.83rem;
    border: 2px solid var(--gold);
    animation: pulse-gold 2s infinite;
}
.btn-admin-access {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8) !important;
    border-radius: 25px;
    padding: 7px 16px !important;
    font-size: 0.82rem;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-admin-access:hover {
    background: rgba(255,255,255,0.2);
    color: #fff !important;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(212,160,23,0); }
}

/* ===== HERO / CAROUSEL ===== */
.hero-carousel { position: relative; }
.hero-carousel .carousel-item { min-height: 85vh; }
.hero-carousel .carousel-item img {
    width: 100%; min-height: 85vh; object-fit: cover;
    filter: brightness(0.55);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(139,26,26,0.7) 0%, rgba(26,26,46,0.5) 100%);
}
.hero-caption {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 20px;
}
.hero-caption-inner { max-width: 850px; }
.hero-subtitle {
    font-size: 1rem; font-weight: 600; letter-spacing: 6px;
    color: var(--gold-light); text-transform: uppercase; margin-bottom: 16px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800; color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    line-height: 1.2; margin-bottom: 16px;
}
.hero-title-assamese {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--gold-light);
    font-family: 'Hind Siliguri', sans-serif;
    margin-bottom: 24px;
}
.hero-desc { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 32px; }
.btn-hero-primary {
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1rem;
    border: 2px solid var(--gold);
    transition: var(--transition);
    display: inline-block;
}
.btn-hero-primary:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.6);
    transition: var(--transition);
    display: inline-block;
    margin-left: 12px;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.section-title .divider {
    width: 70px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
    margin: 0 auto 16px;
}
.section-title p { color: var(--text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ===== STATS BAR ===== */
.stats-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 30px 0;
}
.stat-item { text-align: center; padding: 10px 20px; }
.stat-number {
    font-size: 2.8rem; font-weight: 800; color: var(--gold-light);
    line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.85); font-size: 0.85rem; margin-top: 5px; }
.stat-divider { border-left: 1px solid rgba(255,255,255,0.2); height: 60px; margin: auto; }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--light-bg); padding: 80px 0; }
.about-image-wrap { position: relative; }
.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}
.about-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--gold);
    color: var(--dark);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 800;
    box-shadow: var(--shadow);
}
.about-badge .badge-num { font-size: 2rem; line-height: 1; }
.about-badge .badge-text { font-size: 0.75rem; }
.about-features { list-style: none; padding: 0; margin: 20px 0; }
.about-features li {
    padding: 8px 0;
    display: flex; align-items: center;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}
.about-features li:last-child { border-bottom: none; }
.about-features li i { color: var(--gold); margin-right: 12px; width: 20px; }
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    display: inline-block;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139,26,26,0.35);
}

/* ===== COURSES SECTION ===== */
.courses-section { padding: 80px 0; }
.course-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.course-card-img { position: relative; overflow: hidden; height: 200px; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.course-card:hover .course-card-img img { transform: scale(1.08); }
.course-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 15px;
}
.course-card-body { padding: 20px; }
.course-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.course-title a { color: inherit; }
.course-title a:hover { color: var(--primary); }
.course-assamese { font-family: 'Hind Siliguri', sans-serif; font-size: 0.85rem; color: var(--primary); margin-bottom: 10px; }
.course-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.course-meta { display: flex; justify-content: space-between; align-items: center; }
.course-meta-item { font-size: 0.78rem; color: var(--text-muted); }
.course-meta-item i { color: var(--primary); margin-right: 4px; }
.course-fee { font-size: 1.1rem; font-weight: 800; color: var(--primary); }

/* ===== CATEGORY GRID ===== */
.category-section { background: var(--cream); padding: 80px 0; }
.cat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
}
.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.cat-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
    margin: 0 auto 16px;
    transition: var(--transition);
}
.cat-card:hover .cat-icon { transform: rotate(10deg) scale(1.1); }
.cat-name { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.cat-count { font-size: 0.8rem; color: var(--text-muted); }

/* ===== TEACHERS ===== */
.teachers-section { padding: 80px 0; }
.teacher-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}
.teacher-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.teacher-img-wrap { position: relative; overflow: hidden; }
.teacher-img-wrap img { width: 100%; height: 250px; object-fit: cover; object-position: top; transition: transform 0.5s; }
.teacher-card:hover .teacher-img-wrap img { transform: scale(1.05); }
.teacher-social-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(139,26,26,0.85) 0%, transparent 60%);
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 20px;
    opacity: 0; transition: var(--transition);
}
.teacher-card:hover .teacher-social-overlay { opacity: 1; }
.teacher-social-overlay a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 4px; font-size: 14px;
    border: 1px solid rgba(255,255,255,0.4);
    transition: var(--transition);
}
.teacher-social-overlay a:hover { background: var(--gold); color: var(--dark); }
.teacher-info { padding: 20px; }
.teacher-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.teacher-designation { font-size: 0.82rem; color: var(--primary); font-weight: 600; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--dark));
    padding: 80px 0;
}
.testimonial-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
}
.testimonial-quote { color: var(--gold); font-size: 2.5rem; margin-bottom: 20px; }
.testimonial-text { color: rgba(255,255,255,0.9); font-size: 1rem; line-height: 1.8; margin-bottom: 24px; }
.testimonial-avatar img {
    width: 70px; height: 70px; border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 12px;
    object-fit: cover;
}
.testimonial-name { color: #fff; font-weight: 700; font-size: 1rem; }
.testimonial-role { color: var(--gold-light); font-size: 0.82rem; }
.testimonial-stars { color: var(--gold); font-size: 14px; margin-top: 6px; }

/* ===== GALLERY ===== */
.gallery-section { padding: 80px 0; background: var(--light-bg); }
.gallery-item {
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(139,26,26,0.9) 0%, transparent 60%);
    display: flex; align-items: flex-end; justify-content: center;
    padding: 20px;
    opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-title { color: #fff; font-size: 0.9rem; font-weight: 600; text-align: center; }

/* ===== NEWS / BLOG ===== */
.news-section { padding: 80px 0; }
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { overflow: hidden; height: 200px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.07); }
.blog-card-body { padding: 20px; }
.blog-category {
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}
.blog-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-title a { color: var(--text-dark); }
.blog-title a:hover { color: var(--primary); }
.blog-meta { font-size: 0.78rem; color: var(--text-muted); }
.blog-meta i { color: var(--primary); margin-right: 4px; }

/* ===== ENROLLMENT SECTION ===== */
.enrollment-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.enrollment-section::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"><circle cx="10" cy="10" r="3" fill="rgba(212,160,23,0.1)"/><circle cx="50" cy="50" r="5" fill="rgba(212,160,23,0.08)"/><circle cx="90" cy="90" r="3" fill="rgba(212,160,23,0.1)"/></svg>');
    background-size: 150px;
}
.enrollment-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.enrollment-form-card h3 { color: var(--primary); font-weight: 800; margin-bottom: 24px; }
.form-control-custom {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
    outline: none;
}
.btn-enroll {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    transition: var(--transition);
}
.btn-enroll:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139,26,26,0.4);
}

/* ===== MAP SECTION ===== */
.map-section { padding: 0; }
.map-section iframe { width: 100%; height: 400px; border: none; display: block; }

/* ===== FOOTER ===== */
.kalatirtha-footer { background: var(--dark); color: rgba(255,255,255,0.8); }
.footer-top { background: var(--dark2); }
.footer-logo-icon {
    width: 52px; height: 52px;
    background: #fff;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--primary);
    overflow: hidden;
    padding: 2px;
    flex-shrink: 0;
}
.footer-logo-icon img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.footer-brand-name { color: #fff; font-weight: 800; font-size: 1rem; }
.footer-brand-tagline { color: var(--gold-light); font-size: 0.72rem; font-family: 'Hind Siliguri', sans-serif; }
.footer-about-text { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.footer-heading {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212,160,23,0.3);
}
.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: 0.88rem;
    transition: var(--transition);
    display: block;
}
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-contact-info p {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex; align-items: flex-start;
}
.footer-contact-info p i { color: var(--gold); margin-right: 10px; margin-top: 2px; min-width: 16px; }
.footer-contact-info a { color: rgba(255,255,255,0.65); }
.footer-contact-info a:hover { color: var(--gold-light); }
.footer-newsletter-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 8px;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter-input:focus { background: rgba(255,255,255,0.15); border-color: var(--gold); box-shadow: none; color: #fff; }
.footer-bottom {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 90px; right: 24px;
    width: 60px; height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    z-index: 9999;
    transition: var(--transition);
    animation: whatsapp-bounce 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 8px 30px rgba(37,211,102,0.7); }
.whatsapp-tooltip {
    position: absolute;
    right: 70px; top: 50%;
    transform: translateY(-50%);
    background: #25D366;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 20px;
    opacity: 0; pointer-events: none;
    transition: var(--transition);
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute; right: -8px; top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #25D366;
    border-right: none;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@keyframes whatsapp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ===== BACK TO TOP ===== */
.btn-back-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow);
    z-index: 9998;
    opacity: 0; pointer-events: none;
    transition: var(--transition);
    text-decoration: none;
}
.btn-back-top.show { opacity: 1; pointer-events: all; }
.btn-back-top:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute; inset: 0;
    background: url('/img/page-header.jpg') center/cover;
    opacity: 0.15;
}
.page-header h1 { color: #fff; font-weight: 800; position: relative; }
.page-header .breadcrumb { background: transparent; padding: 0; position: relative; }
.page-header .breadcrumb-item a { color: var(--gold-light); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ===== FAQs ===== */
.faq-section { padding: 80px 0; background: var(--light-bg); }
.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-dark);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}
.faq-question:hover { background: var(--light-bg); }
.faq-question i { color: var(--primary); transition: var(--transition); }
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 15px 20px 18px; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

/* ===== FORMS & CONTACT ===== */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #fff;
    height: 100%;
}
.contact-info-item {
    display: flex; align-items: flex-start;
    margin-bottom: 24px;
}
.contact-info-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--gold-light);
    margin-right: 16px; flex-shrink: 0;
}
.contact-info-text h6 { color: var(--gold-light); font-weight: 700; margin-bottom: 4px; }
.contact-info-text p { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.9rem; }

/* ===== STUDENT ZONE CARDS ===== */
.student-zone-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: var(--transition);
}
.student-zone-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.student-zone-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: #fff;
    margin: 0 auto 20px;
}

/* ===== MODAL DIRECTOR ===== */
.director-modal { background: var(--dark); color: rgba(255,255,255,0.9); border: 1px solid rgba(212,160,23,0.3); border-radius: var(--radius-lg); }
.director-modal .modal-header { background: linear-gradient(135deg, var(--primary), var(--gold)); border: none; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.director-modal .modal-title { color: #fff; }
.director-avatar-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
    flex-shrink: 0;
}
.director-msg-text { color: rgba(255,255,255,0.85); line-height: 1.8; font-size: 0.95rem; }
.director-msg-signature { color: var(--gold-light); font-size: 0.9rem; }

/* ===== RESULT / CERTIFICATE SEARCH ===== */
.search-portal-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}
.search-portal-card h3 { color: var(--primary); text-align: center; margin-bottom: 10px; }
.search-portal-card p { text-align: center; color: var(--text-muted); margin-bottom: 30px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.aos-item { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.aos-item.animated { opacity: 1; transform: translateY(0); }

/* ===== ALERT CUSTOM ===== */
.alert-kalatirtha {
    background: linear-gradient(135deg, rgba(139,26,26,0.1), rgba(212,160,23,0.1));
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    color: var(--primary);
    padding: 14px 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .kalatirtha-nav {
        padding: 8px 0 !important;
    }
    .kalatirtha-nav .navbar-collapse {
        background: #072B28 !important; /* Deep Logo Forest Teal */
        border-top: 2px solid var(--gold) !important;
        border-radius: 0 0 16px 16px !important;
        padding: 16px 18px 22px !important;
        margin-top: 8px !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.55) !important;
    }
    .kalatirtha-nav .navbar-nav {
        width: 100% !important;
    }
    .kalatirtha-nav .nav-link {
        color: #ffffff !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        padding: 12px 14px !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        display: flex !important;
        align-items: center !important;
    }
    .kalatirtha-nav .nav-link:hover,
    .kalatirtha-nav .nav-item.active .nav-link {
        color: var(--gold-light) !important;
        background: rgba(255,255,255,0.08) !important;
        border-radius: 8px !important;
    }
    .kalatirtha-nav .dropdown-menu {
        background: rgba(0,0,0,0.3) !important;
        border: 1px solid rgba(212,160,23,0.3) !important;
        margin: 6px 10px 12px !important;
        border-radius: 10px !important;
    }
    .kalatirtha-nav .dropdown-item {
        color: #ffffff !important;
        padding: 10px 16px !important;
        font-weight: 500 !important;
    }
    .kalatirtha-nav .dropdown-item:hover {
        color: var(--gold-light) !important;
        background: rgba(212,160,23,0.2) !important;
    }
    .kalatirtha-nav .btn-admission {
        display: block !important;
        text-align: center !important;
        margin: 12px 0 6px !important;
        width: 100% !important;
    }
    .kalatirtha-nav .btn-admin-access {
        display: block !important;
        text-align: center !important;
        margin: 6px 0 !important;
        width: 100% !important;
    }
    .hero-carousel .carousel-item, .hero-carousel .carousel-item img { min-height: 60vh; }
    .hero-title { font-size: 2rem; }
    .stats-bar .stat-divider { display: none; }
    .about-badge { bottom: 10px; right: 10px; }
    .enrollment-form-card { padding: 24px; }
}

@media (max-width: 767px) {
    .hero-carousel .carousel-item, .hero-carousel .carousel-item img { min-height: 50vh; }
    .section-title h2 { font-size: 1.6rem; }
    .search-portal-card { padding: 30px 20px; }
    .contact-info-card { margin-bottom: 30px; }
}

/* ===== UTILITIES ===== */
.mt-90 { margin-top: 90px; }
.mb-90 { margin-bottom: 90px; }
.py-80 { padding: 80px 0; }
.text-assamese { font-family: 'Hind Siliguri', sans-serif; }
.gold-text { color: var(--gold); }
.primary-text { color: var(--primary); }
.bg-light-warm { background: var(--light-bg); }
.bg-cream { background: var(--cream); }
.rounded-xl { border-radius: var(--radius-lg); }
.shadow-custom { box-shadow: var(--shadow); }
.shadow-custom-lg { box-shadow: var(--shadow-lg); }
