/* ==========================================================================
   Dr. Rizvi College of Law - Unified Modern Theme
   Maroon / Gold / White professional law college design system
   ========================================================================== */

:root {
    --maroon: #7b1f3d;
    --maroon-dark: #5c1229;
    --maroon-light: #9e2a4e;
    --gold: #d4af37;
    --gold-light: #e6c850;
    --gold-dark: #b8952e;
    --navy: #1a2e47;
    --navy-dark: #0d1f2d;
    --white: #ffffff;
    --off-white: #f8f6f3;
    --gray-100: #f4f4f4;
    --gray-200: #e9e9e9;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --text-dark: #2b2b2b;
    --text-body: #555555;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
}

/* ================= BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

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

a:hover {
    color: var(--maroon-dark);
}

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

.section-padding {
    padding: 80px 0;
}

.section-bg-light {
    background: var(--off-white);
}

/* ================= SECTION HEADINGS ================= */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading .section-subtitle {
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--maroon));
    border-radius: 3px;
}

.section-heading p {
    max-width: 650px;
    margin: 20px auto 0;
    color: var(--gray-600);
}

.text-maroon { color: var(--maroon); }
.text-gold { color: var(--gold); }

/* ================= PRELOADER ================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-inner .loader-icon {
    font-size: 48px;
    color: var(--maroon);
    animation: pulse 1.2s infinite;
}

.preloader-inner p {
    margin-top: 15px;
    color: var(--maroon-dark);
    font-weight: 600;
    letter-spacing: 2px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* ================= BUTTONS ================= */
.btn-maroon {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 14px rgba(123, 31, 61, 0.3);
}

.btn-maroon:hover {
    background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 31, 61, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--maroon);
    transform: translateY(-2px);
}

.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ================= CARDS ================= */
.card-modern {
    background: var(--white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-modern .card-body {
    padding: 24px;
}

.card-modern .card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-modern .card-text {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 15px;
}

/* ================= WELCOME TICKER ================= */
.welcome-ticker {
    background: linear-gradient(90deg, var(--maroon-dark), var(--maroon), var(--maroon-dark));
    color: var(--white);
    font-size: 14px;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.welcome-ticker .ticker-label {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    display: inline-block;
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    padding-right: 28px;
}

.welcome-ticker .ticker-text {
    display: inline-block;
    padding-left: 140px;
    animation: ticker-scroll 35s linear infinite;
}

.welcome-ticker .ticker-text span {
    margin: 0 40px;
}

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

/* ================= TOP BAR ================= */
.top-bar {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

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

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    color: var(--gold);
    margin-right: 6px;
}

.top-bar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 6px;
    font-size: 12px;
    transition: var(--transition);
}

.top-bar .social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* ================= MAIN HEADER / NAVIGATION ================= */
/* Sticky wrapper containing the logo header + navigation bar */
.header-sticky-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1000;
    width: 100%;
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
}

/* Header decorative gold line */
.site-header::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #7b1f3d);
}

/* Logo (Left) */
.site-header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header .logo img {
    height: 72px;
    width: auto;
}

/* Center: College Name & Details */
.header-center {
    flex: 1;
    text-align: center;
    padding: 0 15px;
}

.header-center h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    margin: 0 0 2px 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.header-center .header-tagline {
    font-size: 13px;
    color: var(--gold-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.header-center .header-accreditation {
    font-size: 11px;
    color: var(--gray-600);
    display: block;
    line-height: 1.4;
}

.header-center .header-accreditation i {
    color: var(--gold-dark);
    margin-right: 2px;
}

/* Right: CTA Buttons */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-right .btn-enquire,
.header-right .btn-admission {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
}

.header-right .btn-enquire i,
.header-right .btn-admission i {
    margin-right: 6px;
    font-size: 12px;
}

.btn-outline-maroon {
    background: transparent;
    color: var(--maroon);
    border: 2px solid var(--maroon);
    transition: var(--transition);
}

.btn-outline-maroon:hover {
    background: var(--maroon);
    color: var(--white);
}

/* ============ SEPARATE NAVIGATION BAR ============ */
.main-nav {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--maroon-dark) 100%);
    width: 100%;
    position: relative; /* Sticky handled by .header-sticky-wrap parent */
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.main-nav ul > li {
    position: relative;
}

.main-nav ul > li > a {
    display: block;
    padding: 14px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 13.5px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
}

.main-nav ul > li > a:hover,
.main-nav ul > li.active > a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--gold);
}

.main-nav ul > li > a.has-dropdown::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.7;
}

.main-nav .dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: 999;
}

.main-nav ul > li:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu-custom li a {
    display: block;
    padding: 10px 14px;
    color: var(--text-body);
    font-size: 13.5px;
    border-radius: 6px;
}

.main-nav .dropdown-menu-custom li a:hover {
    background: rgba(123, 31, 61, 0.06);
    color: var(--maroon);
    padding-left: 18px;
}

.main-nav .nav-cta-btn {
    display: none; /* Hidden on desktop, shown on mobile in the drawer */
}

/* Mobile toggle */
.mobile-nav-toggle-custom {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.mobile-nav-toggle-custom span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--maroon);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* ================= HERO / SLIDER ================= */
.hero {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 31, 45, 0.92) 0%, rgba(92, 18, 41, 0.75) 60%, rgba(13, 31, 45, 0.4) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero .hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.85);
}

.hero .hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero slider controls */
.hero-slider {
    position: relative;
    height: 620px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Strech the background image to fill the entire slider area */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slide .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-slide .hero {
    position: relative;
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

.hero-slider .hero-nav {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.hero-slider .hero-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.hero-slider .hero-nav button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.hero-slider .hero-dots {
    position: absolute;
    bottom: 44px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.hero-slider .hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.hero-slider .hero-dots .dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 10px;
}

/* ================= STATS ================= */
.stats-section {
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border: 3px solid rgba(212, 175, 55, 0.15);
    border-radius: 50%;
}

.stat-box {
    text-align: center;
    color: var(--white);
    padding: 20px;
    position: relative;
    z-index: 2;
}

.stat-box .stat-icon {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-box .stat-number {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.1;
}

.stat-box .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    margin-top: 5px;
}

/* ================= NOTIFICATIONS ================= */
.notification-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid var(--gold);
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.notification-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.notification-card .notif-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(123, 31, 61, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon);
    font-size: 18px;
}

.notification-card .notif-content h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.notification-card .notif-content .notif-date {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.notification-card .notif-content p {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

/* ================= NOTIFICATION CARD SLIDER ================= */
.notif-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1250px;
    margin: 0 auto;
}

.notif-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
    scroll-snap-type: x mandatory;
}

.notif-slider::-webkit-scrollbar {
    height: 6px;
}

.notif-slider::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.notif-slider::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.notif-card {
    flex: 0 0 calc((100% - 60px) / 4); /* 4 cards per view on desktop */
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.notif-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon), var(--gold));
}

.notif-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.notif-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.notif-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 31, 61, 0.1), rgba(212, 175, 55, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--maroon);
}

.notif-card-badge {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
}

.notif-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.notif-card-date {
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.notif-card-date i {
    color: var(--gold-dark);
}

.notif-card-text {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.notif-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-light));
    color: var(--white);
    font-size: 12.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    align-self: flex-start;
    transition: var(--transition);
    margin-top: 4px;
}

.notif-card-link:hover {
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(123, 31, 61, 0.35);
}

.notif-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--maroon);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.notif-arrow:hover {
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    border-color: var(--maroon);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(123, 31, 61, 0.35);
    transform: scale(1.05);
}

/* Responsive: 2 cards on tablet, 1 card on mobile */
@media (max-width: 991px) {
    .notif-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: 220px;
    }
}

@media (max-width: 575px) {
    .notif-card {
        flex: 0 0 100%;
        min-width: 0;
    }
    .notif-arrow {
        width: 38px;
        height: 38px;
    }
}

/* ================= FEATURE / ICON BOX ================= */
.icon-box {
    text-align: center;
    padding: 35px 25px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.icon-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
}

.icon-box .icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123, 31, 61, 0.1), rgba(212, 175, 55, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--maroon);
    transition: var(--transition);
}

.icon-box:hover .icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: var(--gold);
}

.icon-box h4 {
    font-size: 17px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.icon-box p {
    font-size: 13.5px;
    color: var(--gray-600);
    margin: 0;
    transition: var(--transition);
}

.icon-box:hover h4,
.icon-box:hover p {
    color: var(--white);
}

/* ================= GALLERY ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 260px;
    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-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(13, 31, 45, 0.9));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item .gallery-overlay h5 {
    color: var(--white);
    font-size: 16px;
    margin: 0;
}

.gallery-item .gallery-overlay .gallery-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* ================= TESTIMONIALS ================= */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: rgba(212, 175, 55, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-card .testimonial-text {
    font-style: italic;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

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

.testimonial-card .testimonial-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon), var(--gold));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-card .testimonial-author h6 {
    margin: 0;
    font-size: 15px;
}

.testimonial-card .testimonial-author span {
    font-size: 12px;
    color: var(--gray-600);
}

/* ================= FORMS ================= */
.form-control-modern {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    width: 100%;
}

.form-control-modern:focus {
    background: var(--white);
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(123, 31, 61, 0.1);
    outline: none;
}

.form-control-modern::placeholder {
    color: var(--gray-600);
    opacity: 0.7;
}

label.form-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* ================= ALERT ================= */
.alert-modern {
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    font-size: 14px;
    border: none;
    margin-bottom: 20px;
}

.alert-modern.alert-warning {
    background: #fff8e6;
    border-left: 4px solid var(--gold);
    color: #7a5c00;
}

.alert-modern.alert-info {
    background: #e6f4f8;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

/* ================= BACK TO TOP ================= */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 18px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

/* ================= PAGE HEADER (Inner pages) ================= */
.page-banner {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--maroon) 100%);
    padding: 70px 0;
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 40%);
}

.page-banner h1 {
    color: var(--white);
    font-size: 40px;
    font-weight: 700;
    position: relative;
}

.page-banner .breadcrumb-custom {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 10px;
}

.page-banner .breadcrumb-custom a {
    color: var(--gold);
}

/* ================= TABLE (News/Downloads) ================= */
.table-modern {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-collapse: separate;
    border-spacing: 0;
}

.table-modern thead th {
    background: var(--maroon);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    padding: 15px 20px;
    text-align: left;
}

.table-modern tbody td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-200);
}

.table-modern tbody tr {
    transition: var(--transition);
}

.table-modern tbody tr:hover {
    background: rgba(123, 31, 61, 0.03);
}

.table-modern tbody tr:last-child td {
    border-bottom: none;
}

.table-modern .btn-sm-gold {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.table-modern .btn-sm-gold:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ================= MEDIA PAGE ================= */
.video-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--navy-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.fb-embed-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

/* ================= ANIMATION UTILITIES ================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .mobile-nav-toggle-custom {
        display: block;
    }

    .header-center .header-accreditation {
        display: none;
    }

    .header-right .btn-admission {
        display: none;
    }

    .header-right .btn-enquire {
        padding: 6px 14px;
        font-size: 12px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        transition: right 0.4s ease;
        overflow-y: auto;
        z-index: 9999;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav .container {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul > li {
        width: 100%;
    }

    .main-nav ul > li > a {
        width: 100%;
        color: var(--text-dark) !important;
        text-transform: none;
        border-bottom: none;
        padding: 12px 16px;
        border-radius: 6px;
    }

    .main-nav ul > li > a:hover,
    .main-nav ul > li.active > a {
        color: var(--maroon) !important;
        background: rgba(123, 31, 61, 0.06) !important;
        border-bottom: none;
    }

    .main-nav .dropdown-menu-custom {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding: 0 0 0 15px;
        background: transparent;
    }

    .main-nav ul > li.open .dropdown-menu-custom {
        display: block;
    }

    .main-nav .nav-cta-btn {
        display: block;
        margin: 15px 0 0;
        width: 100%;
    }

    .main-nav .nav-cta-btn .btn-gold {
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero-slider {
        height: 520px;
    }
    .hero {
        height: 100%;
        min-height: 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .top-bar .contact-info span:nth-child(2),
    .top-bar .contact-info span:nth-child(3) {
        display: none;
    }

    .hero-slider {
        height: 480px;
    }
    .hero {
        height: 100%;
        min-height: 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .stats-section {
        padding: 40px 0;
    }

    .stat-box .stat-number {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .page-banner h1 {
        font-size: 30px;
    }

    .site-header .logo img {
        height: 50px;
    }

.site-header .logo {
        justify-content: center;
    }

    .header-center h1 {
        font-size: 16px;
    }

    .header-center .header-tagline {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .site-header .logo-text span {
        display: none;
    }

    .hero-btns .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }
}

