/* ============================================================
   BUTULA TECHNICAL AND VOCATIONAL COLLEGE
   Fully Responsive Stylesheet
   📅 Last Updated: 2026-10-01
   🛠️ Mobile Menu Fix Applied — Works in Portrait AND Landscape
   ============================================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-maroon: #6B1A2A;
    --primary-dark: #4A0F1C;
    --primary-light: #8B2A3A;
    --gold-accent: #D4AF37;
    --gold-light: #E8D5A3;
    --grey-warm: #F5F2ED;
    --grey-medium: #8A7F7A;
    --grey-dark: #2C2420;
    --text-dark: #2C2420;
    --text-light: #F8F6F3;
    --shadow: 0 4px 20px rgba(107, 26, 42, 0.08);
    --shadow-hover: 0 8px 35px rgba(107, 26, 42, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --container-width: 1200px;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: var(--grey-warm);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-maroon);
    text-align: center;
    margin-bottom: 10px;
}
.section-title span {
    color: var(--gold-accent);
}
.section-subtitle {
    text-align: center;
    color: var(--grey-medium);
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    margin-bottom: 30px;
    padding: 0 10px;
}

/* ---------- BUTTONS ---------- */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: clamp(10px, 1.2vw, 14px) clamp(20px, 2.5vw, 35px);
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.8rem, 0.9vw, 1rem);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background: var(--gold-accent);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: #C4A035;
}

.btn-secondary {
    background: var(--primary-maroon);
    color: white;
    border: 2px solid var(--primary-maroon);
}
.btn-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-maroon);
    border: 2px solid var(--primary-maroon);
}
.btn-outline:hover {
    background: var(--primary-maroon);
    color: white;
    transform: translateY(-2px);
}

/* ---------- MARQUEE ---------- */
.top-announcement {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 6px 0;
    overflow: hidden;
    border-bottom: 3px solid var(--gold-accent);
    position: relative;
    z-index: 1001;
}
.top-announcement .marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
    animation: marqueeScroll 40s linear infinite;
    font-size: clamp(0.6rem, 0.8vw, 0.85rem);
    font-weight: 500;
    opacity: 0.92;
}
.top-announcement .marquee-content i {
    color: var(--gold-accent);
    margin-right: 4px;
}
.top-announcement .marquee-content .highlight-text {
    color: var(--gold-accent);
    font-weight: 700;
}
@keyframes marqueeScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ---------- HEADER ---------- */
header {
    background: white;
    padding: 8px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 60px;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.logo-icon {
    width: clamp(35px, 4.5vw, 55px);
    height: clamp(35px, 4.5vw, 55px);
    background: var(--primary-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: clamp(1rem, 1.5vw, 1.6rem);
    font-weight: 900;
    border: 2px solid var(--gold-accent);
    flex-shrink: 0;
    overflow: hidden;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-text h1 {
    font-size: clamp(0.85rem, 1.2vw, 1.3rem);
    font-weight: 800;
    color: var(--primary-maroon);
    line-height: 1.1;
}
.logo-text h1 span {
    color: var(--gold-accent);
}
.logo-text .tagline {
    font-size: clamp(0.45rem, 0.6vw, 0.7rem);
    color: var(--grey-medium);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ========== NAVIGATION (DESKTOP ONLY) ========== */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-height: 44px;
}
nav ul {
    display: flex;
    gap: clamp(8px, 1.2vw, 20px);
    align-items: center;
    flex-wrap: nowrap;
}
nav ul li {
    position: relative;
}
nav ul li a {
    font-weight: 600;
    font-size: clamp(0.75rem, 0.85vw, 0.95rem);
    color: var(--text-dark);
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
nav ul li a i {
    font-size: clamp(0.65rem, 0.75vw, 0.85rem);
}
nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-maroon);
    background: rgba(107, 26, 42, 0.06);
}
nav ul li a.btn-nav-apply {
    background: var(--gold-accent);
    color: var(--text-dark);
    padding: clamp(6px, 0.8vw, 10px) clamp(14px, 1.5vw, 22px);
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.7rem, 0.8vw, 0.85rem);
}
nav ul li a.btn-nav-apply:hover {
    background: #C4A035;
    transform: translateY(-2px);
}

/* ===== DROPDOWN - LARGE SCREENS ONLY ===== */
@media (min-width: 993px) {
    nav ul li .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: white;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-hover);
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: var(--transition);
        border-top: 3px solid var(--gold-accent);
        z-index: 1001;
        display: flex;
        flex-direction: column;
    }
    nav ul li .dropdown li {
        display: block;
        width: 100%;
    }
    nav ul li .dropdown li a {
        padding: 10px 20px;
        font-size: clamp(0.8rem, 0.85vw, 0.9rem);
        font-weight: 500;
        color: var(--text-dark);
        border-radius: 0;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    nav ul li .dropdown li a i {
        width: 20px;
        color: var(--gold-accent);
    }
    nav ul li .dropdown li a:hover {
        background: var(--grey-warm);
        color: var(--primary-maroon);
    }
    nav ul li:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ===== MOBILE MENU TOGGLE (VISIBLE ON MOBILE ONLY) ===== */
.menu-toggle {
    display: none;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--primary-maroon);
    cursor: pointer;
    padding: 5px 8px;
    border: none;
    background: none;
    z-index: 1002;
    flex-shrink: 0;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
}

/* ===== MOBILE MENU — PREMIUM STYLES ARE INLINE IN EACH HTML PAGE =====
   The mobile menu is defined in each HTML file's inline <style> block
   using #navMenu selector, so there's a SINGLE source of truth per page.

   style.css only handles:
   - Desktop dropdown menus (above)
   - All non-menu components (below)
   ============================================================ */

/* ---------- FOOTER ---------- */
footer {
    background: var(--grey-dark);
    color: #c8c0bc;
    padding: 30px 0 15px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}
.footer-grid h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
    position: relative;
}
.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--gold-accent);
}
.footer-grid p {
    font-size: 0.8rem;
    margin-bottom: 3px;
    line-height: 1.6;
}
.footer-grid p i {
    color: var(--gold-accent);
    width: 18px;
    font-size: 0.8rem;
}
.footer-grid ul li {
    margin-bottom: 3px;
}
.footer-grid ul li a {
    font-size: 0.8rem;
    transition: var(--transition);
    color: #c8c0bc;
}
.footer-grid ul li a:hover {
    color: var(--gold-accent);
    padding-left: 4px;
}
.social-links {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    font-size: 0.9rem;
}
.social-links a:hover {
    background: var(--gold-accent);
    color: var(--grey-dark);
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
    text-align: center;
    font-size: 0.75rem;
    color: #888;
}

/* ---------- RESPONSIVE FOOTER ---------- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .footer-grid h4 { font-size: 0.85rem; }
    .footer-grid p,
    .footer-grid ul li a { font-size: 0.75rem; }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    footer {
        padding: 20px 0 10px;
        margin-top: 30px;
    }
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .footer-bottom { font-size: 0.65rem; }
}

/* ---------- COURSE CARDS ---------- */
.course-card {
    background: white;
    border-radius: var(--border-radius);
    padding: clamp(15px, 1.5vw, 25px);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold-accent);
    transition: var(--transition);
    height: 100%;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.course-card .level-badge {
    background: var(--gold-accent);
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-block;
    color: var(--text-dark);
}
.course-card h3 {
    margin: 10px 0 6px;
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    color: var(--primary-maroon);
}
.course-card .info-text {
    color: var(--grey-medium);
    font-size: clamp(0.8rem, 0.85vw, 0.9rem);
}
.course-card .info-text i {
    color: var(--primary-maroon);
    width: 16px;
}
.course-card .requirements {
    background: var(--grey-warm);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: clamp(0.75rem, 0.8vw, 0.85rem);
    margin: 8px 0;
}

/* ---------- STAT CARDS ---------- */
.stat-card {
    text-align: center;
    padding: clamp(20px, 2vw, 30px) clamp(12px, 1.5vw, 20px);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.stat-card i {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    color: var(--gold-accent);
}
.stat-card h3 {
    color: var(--primary-maroon);
    margin: 10px 0 4px;
    font-size: clamp(1.1rem, 1.8vw, 1.8rem);
}
.stat-card p {
    color: var(--grey-medium);
    font-size: clamp(0.8rem, 0.85vw, 0.95rem);
}

/* ---------- GRID LAYOUTS ---------- */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: clamp(15px, 2vw, 30px);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ---------- SECTION PADDING ---------- */
.section-padding { padding: clamp(30px, 5vw, 60px) 0; }
.section-padding-sm { padding: clamp(20px, 3vw, 35px) 0; }
.section-padding-lg { padding: clamp(40px, 7vw, 80px) 0; }

/* ---------- BG COLORS ---------- */
.bg-white { background: white; }
.bg-warm { background: var(--grey-warm); }
.bg-maroon { background: var(--primary-maroon); color: white; }
.bg-dark { background: var(--grey-dark); color: white; }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.5vw, 15px);
    flex-wrap: wrap;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.w-100 { width: 100%; }
.max-width-700 { max-width: 700px; margin: 0 auto; }
.max-width-800 { max-width: 800px; margin: 0 auto; }

/* ---------- RESPONSIVE IMAGES ---------- */
.responsive-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (NON-MENU)
   ============================================================ */

@media (max-width: 1200px) {
    nav ul { gap: clamp(4px, 0.8vw, 12px); }
    nav ul li a {
        font-size: clamp(0.7rem, 0.75vw, 0.85rem);
        padding: 6px 8px;
    }
    nav ul li a.btn-nav-apply {
        font-size: clamp(0.65rem, 0.7vw, 0.8rem);
        padding: clamp(4px, 0.6vw, 8px) clamp(10px, 1vw, 16px);
    }
}

@media (max-width: 992px) {
    .grid-2, .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) and (orientation: portrait) {
    /* ⚠️ NOTE: nav ul / nav ul li styles REMOVED — mobile menu is now
       handled entirely by the inline #navMenu styles in each HTML file.
       Re-adding nav ul rules here will BREAK the premium mobile menu. */
    .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 1.5rem; }
    .page-hero h1 { font-size: 1.6rem; }
    .container { padding: 0 15px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    .gallery-grid .gallery-item .overlay {
        opacity: 1;
        font-size: 0.65rem;
        padding: 6px 8px;
    }
    .hero-stats-grid { gap: 15px; justify-content: center; }
    .hero-stats-grid .stat-item { text-align: center; }
    .hero-stats-grid .stat-item .number { font-size: 1.5rem; }
    .feature-banner { grid-template-columns: 1fr; text-align: center; }
    .feature-banner .feature-content ul li { justify-content: center; }
    .feature-banner .feature-image { min-height: 180px; }
    .feature-banner .feature-image img { min-height: 180px; }
    .marketing-banner::before { font-size: 4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) and (orientation: landscape) {
    /* ⚠️ NOTE: nav ul / nav ul li styles REMOVED — see portrait note above */
    .top-announcement .marquee-content { font-size: 0.55rem; gap: 20px; }
    .hero-with-bg { padding: 30px 0 25px !important; }
    .hero-with-bg .hero-content h1 { font-size: 1.5rem !important; }
    .hero-stats-grid { gap: 12px !important; }
    .hero-stats-grid .stat-item .number { font-size: 1.3rem !important; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .gallery-grid .gallery-item:nth-child(1) {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }
    .grid-2, .grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

@media (max-width: 480px) {
    /* ⚠️ NOTE: nav ul / nav ul li styles REMOVED — see portrait note above */
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 1.2rem; }
    .section-subtitle { font-size: 0.85rem; margin-bottom: 20px; }
    .page-hero h1 { font-size: 1.3rem; }
    .page-hero p { font-size: 0.85rem; }
    .container { padding: 0 10px; }
    .logo-icon { width: 35px; height: 35px; font-size: 1rem; }
    .logo-text h1 { font-size: 0.9rem; }
    .logo-text .tagline { font-size: 0.5rem; }
    .top-announcement .marquee-content { font-size: 0.6rem; gap: 15px; }
    .btn-primary, .btn-secondary {
        padding: 10px 18px;
        font-size: 0.75rem;
        min-height: 40px;
        min-width: 40px;
        width: 100%;
        max-width: 100%;
    }
    .btn-outline { padding: 8px 16px; font-size: 0.75rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .hero-with-bg { padding: 30px 0 20px !important; }
    .hero-with-bg .hero-content h1 { font-size: 1.4rem !important; }
    .hero-with-bg .hero-content p { font-size: 0.85rem !important; }
    .hero-stats-grid { gap: 10px; justify-content: center; }
    .hero-stats-grid .stat-item .number { font-size: 1.2rem !important; }
    .hero-stats-grid .stat-item .label { font-size: 0.65rem !important; }
    .feature-banner .feature-image { min-height: 140px; }
    .feature-banner .feature-image img { min-height: 140px; }
    .feature-banner .feature-content h2 { font-size: 1.2rem; }
    .feature-banner .feature-content p { font-size: 0.85rem; }
    .marketing-banner::before { display: none; }
    .marketing-banner h2 { font-size: 1.2rem; }
    .marketing-banner p { font-size: 0.85rem; }
    .marketing-banner .btn-apply {
        font-size: 0.85rem;
        padding: 10px 25px;
        width: 100%;
    }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid h4::after { width: 30px; }
    .footer-bottom { font-size: 0.6rem; }
    .flex-center { flex-direction: column; width: 100%; }
    .flex-center .btn-primary,
    .flex-center .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .recognition-card { padding: 15px !important; }
    .recognition-card .avatar-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    .recognition-card h4 { font-size: 0.95rem !important; }
    .recognition-card p { font-size: 0.8rem !important; }
    .testimonial-card { padding: 15px !important; }
    .testimonial-card .avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    .testimonial-card blockquote { font-size: 0.85rem !important; }
    .project-card { padding: 15px !important; }
    .project-card h4 { font-size: 0.95rem !important; }
    .project-card p { font-size: 0.8rem !important; }
    .course-card { padding: 15px !important; }
    .course-card h3 { font-size: 1rem !important; }
    .stat-card { padding: 15px !important; }
    .stat-card h3 { font-size: 1.1rem !important; }
    .stat-card p { font-size: 0.8rem !important; }
    .stat-card i { font-size: 1.8rem !important; }
    .hero-with-bg .hero-content .flex-center {
        flex-direction: column;
        width: 100%;
        align-items: stretch !important;
    }
    .hero-with-bg .hero-content .flex-center a {
        width: 100%;
        text-align: center;
    }
    header .flex-center {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 360px) {
    /* ⚠️ NOTE: nav ul / nav ul li styles REMOVED — see portrait note above */
    .logo-text h1 { font-size: 0.75rem; }
    .logo-text .tagline { font-size: 0.4rem; }
    .logo-icon { width: 30px; height: 30px; font-size: 0.8rem; }
    .menu-toggle {
        font-size: 1.2rem;
        padding: 4px 6px;
        min-height: 36px;
        min-width: 36px;
    }
    .section-title { font-size: 1rem; }
    .grid-4 { grid-template-columns: 1fr 1fr; gap: 8px; }
    .grid-4 .stat-card { padding: 12px 8px !important; }
    .grid-4 .stat-card h3 { font-size: 0.9rem !important; }
    .grid-4 .stat-card p { font-size: 0.65rem !important; }
    .grid-4 .stat-card i { font-size: 1.3rem !important; }
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--grey-warm); }
::-webkit-scrollbar-thumb {
    background: var(--primary-maroon);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

::selection {
    background: var(--gold-accent);
    color: var(--text-dark);
}

/* ============================================================
   SAFARI FIXES
   ============================================================ */
@supports (-webkit-touch-callout: none) {
    .container { padding: 0 15px; }
    nav ul { -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   LANDSCAPE ORIENTATION FIXES
   ============================================================ */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-with-bg { padding: 20px 0 15px !important; }
    .hero-with-bg .hero-content h1 { font-size: 1.4rem !important; }
    .hero-with-bg .hero-content p {
        font-size: 0.8rem !important;
        max-width: 80% !important;
    }
    .hero-stats-grid { gap: 10px !important; }
    .hero-stats-grid .stat-item .number { font-size: 1.1rem !important; }
    .hero-stats-grid .stat-item .label { font-size: 0.6rem !important; }
    .section-padding { padding: 15px 0 !important; }
    .top-announcement .marquee-content {
        font-size: 0.5rem !important;
        gap: 15px !important;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }
    .gallery-grid .gallery-item:nth-child(1) {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }
    .gallery-grid .gallery-item .overlay {
        font-size: 0.5rem !important;
        padding: 3px 5px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 10px !important;
    }
    .footer-grid h4 { font-size: 0.8rem !important; }
    .footer-grid p, .footer-grid ul li a { font-size: 0.65rem !important; }
}

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)), url('images/1.jpg') center/cover no-repeat;
    color: var(--text-light);
    padding: clamp(40px, 8vw, 70px) 0 clamp(30px, 5vw, 50px);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(212, 175, 55, 0.03);
    border-radius: 50%;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.page-hero h1 span { color: var(--gold-accent); }
.page-hero p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.staff-hero,
.contact-hero,
.gallery-hero,
.charter-hero,
.portal-hero,
.lms-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)), url('images/1.jpg') center/cover no-repeat;
    color: var(--text-light);
    padding: clamp(40px, 8vw, 60px) 0 clamp(30px, 5vw, 50px);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
}
.staff-hero h1,
.contact-hero h1,
.gallery-hero h1,
.charter-hero h1,
.portal-hero h1,
.lms-hero h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.staff-hero h1 span,
.contact-hero h1 span,
.gallery-hero h1 span,
.charter-hero h1 span,
.portal-hero h1 span,
.lms-hero h1 span { color: var(--gold-accent); }
.staff-hero p,
.contact-hero p,
.gallery-hero p,
.charter-hero p,
.portal-hero p,
.lms-hero p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 10px 0;
}
.search-container .search-input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}
.search-container .search-input:focus {
    border-color: var(--gold-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.search-container .search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold-accent);
    color: var(--text-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}
.search-container .search-btn:hover { background: #C4A035; }

.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    margin-top: 5px;
    border: 1px solid #eee;
}
.search-results.active {
    display: block;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-results .search-result-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}
.search-results .search-result-item:hover { background: var(--grey-warm); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
    background: var(--grey-warm);
    padding: 5px 20px;
    border-radius: 8px;
    margin: 10px 0 20px;
    border-left: 4px solid var(--gold-accent);
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    padding: 8px 0;
    list-style: none;
}
.breadcrumbs ol li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs ol li a {
    color: var(--primary-maroon);
    text-decoration: none;
    transition: var(--transition);
}
.breadcrumbs ol li a:hover { color: var(--gold-accent); }
.breadcrumbs ol li span { color: var(--grey-medium); }
.breadcrumbs ol li .current {
    color: var(--gold-accent);
    font-weight: 600;
}
.breadcrumbs ol li .separator { color: var(--grey-medium); }

/* ============================================================
   LAZY LOADING
   ============================================================ */
img.lazy-blur {
    filter: blur(10px);
    transition: filter 0.5s ease;
}
img.lazy-loaded {
    filter: blur(0);
    animation: fadeInImage 0.5s ease;
}
@keyframes fadeInImage {
    from { opacity: 0; }
    to { opacity: 1; }
}
img[data-src] {
    background: var(--grey-warm);
    min-height: 100px;
}

/* ============================================================
   LIVE STATS DASHBOARD
   ============================================================ */
.live-stats-dashboard {
    background: var(--primary-maroon);
    padding: 30px 0;
    color: white;
}
.live-stats-dashboard .stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}
.live-stats-dashboard .stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold-accent);
    display: block;
}
.live-stats-dashboard .stat-item .label {
    font-size: 0.9rem;
    opacity: 0.85;
}
.live-stats-dashboard .stat-item .trend {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 3px;
}
.live-stats-dashboard .live-badge {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (max-width: 768px) {
    .search-container { max-width: 100%; padding: 5px 0; }
    .search-container .search-input {
        font-size: 0.9rem;
        padding: 10px 45px 10px 15px;
    }
    .search-container .search-btn { padding: 6px 12px; font-size: 0.8rem; }
    .search-results { max-height: 300px; }
    .search-results .search-result-item { padding: 8px 12px; font-size: 0.85rem; }
    .breadcrumbs { padding: 3px 15px; margin: 5px 0 15px; }
    .breadcrumbs ol { font-size: 0.75rem; gap: 5px; }
    .live-stats-dashboard .stat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .live-stats-dashboard .stat-item .number { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .search-container .search-input {
        font-size: 0.8rem;
        padding: 8px 40px 8px 12px;
    }
    .search-container .search-btn { padding: 4px 10px; font-size: 0.7rem; }
    .search-results .search-result-item {
        padding: 6px 10px;
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    .breadcrumbs { padding: 2px 10px; }
    .breadcrumbs ol { font-size: 0.65rem; gap: 3px; padding: 5px 0; }
    .live-stats-dashboard .stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .live-stats-dashboard .stat-item .number { font-size: 1.4rem; }
    .live-stats-dashboard .stat-item .label { font-size: 0.7rem; }
}

/* ============================================================
   WHATSAPP FLOAT (LEFT) & CHATBOT (RIGHT)
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: auto;
    z-index: 9999;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
    border: none;
    cursor: pointer;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: white;
}
.whatsapp-float .tooltip {
    position: absolute;
    left: 70px;
    right: auto;
    background: #2C2420;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 500;
}
.whatsapp-float .tooltip::after {
    content: '';
    position: absolute;
    left: -8px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    border-right: 8px solid #2C2420;
    border-left: none;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
.whatsapp-float:hover .tooltip { opacity: 1; }

.whatsapp-badge {
    position: fixed;
    bottom: 85px;
    left: 25px;
    right: auto;
    z-index: 9999;
    background: #e74c3c;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    animation: blink 1.5s infinite;
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    background: #6B1A2A;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(107, 26, 42, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    animation: pulse-chatbot 2s infinite;
}
.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(107, 26, 42, 0.6);
}
.chatbot-toggle .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 400px;
    max-width: calc(100vw - 40px);
    height: 550px;
    max-height: 70vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    z-index: 9997;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}
.chatbot-window.active { display: flex; }

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 80px;
        left: 15px;
    }
    .whatsapp-badge {
        bottom: 140px;
        left: 18px;
        font-size: 0.5rem;
        padding: 2px 8px;
    }
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 15px;
        right: 15px;
    }
    .chatbot-window {
        bottom: 80px;
        right: 10px;
        left: 10px;
        width: auto;
        height: 60vh;
        max-height: 60vh;
        border-radius: 12px;
    }
    .whatsapp-float .tooltip { display: none; }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        bottom: 75px;
        left: 10px;
    }
    .whatsapp-badge {
        bottom: 130px;
        left: 12px;
        font-size: 0.45rem;
        padding: 2px 6px;
    }
    .chatbot-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 15px;
        right: 10px;
    }
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.8); }
}
@keyframes pulse-chatbot {
    0%, 100% { box-shadow: 0 4px 20px rgba(107, 26, 42, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(107, 26, 42, 0.7); }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============================================================
   3D VACUUM SLIDESHOW
   ============================================================ */
.hero-slideshow-3d {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    perspective: 1200px;
}
.hero-slideshow-3d .slide-3d {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transform: scale(0.7) rotateX(15deg) rotateY(-10deg);
    transition: none;
    will-change: transform, opacity, clip-path;
}
.hero-slideshow-3d .slide-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

@keyframes popIn3D {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateX(20deg) rotateY(-15deg) translateZ(-200px);
        clip-path: inset(0 0 100% 0);
    }
    30% {
        opacity: 0.5;
        transform: scale(0.85) rotateX(5deg) rotateY(-5deg) translateZ(-50px);
        clip-path: inset(0 0 30% 0);
    }
    60% {
        opacity: 0.9;
        transform: scale(1.05) rotateX(0deg) rotateY(0deg) translateZ(20px);
    }
    80% {
        opacity: 1;
        transform: scale(0.98) rotateX(0deg) rotateY(0deg) translateZ(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg) rotateY(0deg) translateZ(0px);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes vacuumOut3D {
    0% {
        opacity: 1;
        transform: scale(1) rotateX(0deg) rotateY(0deg) translateZ(0px);
        clip-path: inset(0 0 0 0);
        filter: brightness(1);
    }
    20% {
        opacity: 1;
        transform: scale(1.1) rotateX(0deg) rotateY(0deg) translateZ(20px);
        filter: brightness(1.2);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.8) rotateX(15deg) rotateY(10deg) translateZ(-100px);
        clip-path: inset(20% 20% 20% 20%);
        filter: brightness(0.8) blur(2px);
    }
    80% {
        opacity: 0.3;
        transform: scale(0.4) rotateX(30deg) rotateY(20deg) translateZ(-300px);
        clip-path: inset(40% 40% 40% 40%);
        filter: brightness(0.5) blur(5px);
    }
    100% {
        opacity: 0;
        transform: scale(0.1) rotateX(45deg) rotateY(30deg) translateZ(-500px);
        clip-path: inset(50% 50% 50% 50%);
        filter: brightness(0) blur(10px);
    }
}

.hero-slideshow-3d .slide-3d.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1) rotateX(0deg) rotateY(0deg) translateZ(0px);
}
.hero-slideshow-3d .slide-3d.pop-in {
    animation: popIn3D 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 1 !important;
    z-index: 3 !important;
}
.hero-slideshow-3d .slide-3d.vacuum-out {
    animation: vacuumOut3D 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    z-index: 4 !important;
}

.slide-counter-3d {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
}
.slide-counter-3d .dot-3d {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.slide-counter-3d .dot-3d::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.5s ease;
}
.slide-counter-3d .dot-3d.active {
    background: var(--gold-accent);
    border-color: var(--gold-accent);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.slide-counter-3d .dot-3d.active::after {
    border-color: var(--gold-accent);
    animation: pulse-ring 1.5s infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}
.slide-counter-3d .dot-3d:hover {
    transform: scale(1.2);
    background: var(--gold-accent);
}

.slide-number-3d {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 14px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.slide-number-3d .current {
    color: var(--gold-accent);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-slideshow-3d .slide-3d { background-size: cover; }
    .slide-counter-3d { bottom: 20px; gap: 8px; }
    .slide-counter-3d .dot-3d { width: 10px; height: 10px; }
    .slide-number-3d {
        bottom: 20px;
        right: 15px;
        font-size: 0.65rem;
        padding: 2px 10px;
    }
}

@media (max-width: 480px) {
    .slide-counter-3d .dot-3d { width: 8px; height: 8px; }
    .slide-number-3d {
        font-size: 0.55rem;
        padding: 2px 8px;
        bottom: 15px;
        right: 10px;
    }
}

/* ============================================================
   ============================================================
   ⭐ PREMIUM SECTION STYLES — ADDED 2026-10-01 ⭐
   ============================================================
   ============================================================ */

/* ===== PREMIUM SECTION — SHARED GRADIENT ===== */
.premium-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--gold-accent) 0%, #C4A035 50%, rgb(128,0,0) 100%);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-maroon);
    border-bottom: 4px solid var(--primary-maroon);
    color: var(--text-dark);
}

.premium-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(50px, 8vw, 80px) clamp(16px, 5vw, 60px);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.premium-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.2;
    word-break: break-word;
}
.premium-title span { color: var(--primary-maroon); }

.premium-subtitle {
    max-width: 780px;
    margin: 0 auto 40px;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    opacity: 0.92;
    line-height: 1.7;
    color: var(--text-dark);
    padding: 0 8px;
}
.premium-subtitle strong { color: var(--primary-maroon); }

/* Decorative emojis per section */
.premium-section.sec-foundation::before  { content: '🎯'; position: absolute; top: -30px; right: -20px; font-size: 12rem; opacity: 0.08; transform: rotate(15deg); pointer-events: none; }
.premium-section.sec-foundation::after   { content: '💎'; position: absolute; bottom: -20px; left: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(-10deg); pointer-events: none; }
.premium-section.sec-stats::before       { content: '📊'; position: absolute; top: -20px; left: -20px; font-size: 12rem; opacity: 0.07; transform: rotate(-15deg); pointer-events: none; }
.premium-section.sec-stats::after        { content: '🏆'; position: absolute; bottom: -20px; right: -10px; font-size: 10rem; opacity: 0.07; transform: rotate(10deg); pointer-events: none; }
.premium-section.sec-history::before     { content: '📖'; position: absolute; top: -20px; right: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(15deg); pointer-events: none; }
.premium-section.sec-history::after      { content: '🕰️'; position: absolute; bottom: -20px; left: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(-10deg); pointer-events: none; }
.premium-section.sec-why::before         { content: '⭐'; position: absolute; top: -20px; left: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(-15deg); pointer-events: none; }
.premium-section.sec-why::after          { content: '🚀'; position: absolute; bottom: -20px; right: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(10deg); pointer-events: none; }
.premium-section.sec-facilities::before  { content: '🏛️'; position: absolute; top: -20px; right: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(15deg); pointer-events: none; }
.premium-section.sec-facilities::after   { content: '🔬'; position: absolute; bottom: -20px; left: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(-10deg); pointer-events: none; }
.premium-section.sec-leadership::before  { content: '👥'; position: absolute; top: -20px; left: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(-15deg); pointer-events: none; }
.premium-section.sec-leadership::after   { content: '🏅'; position: absolute; bottom: -20px; right: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(10deg); pointer-events: none; }
.premium-section.sec-faculty::before     { content: '👨‍🏫'; position: absolute; top: -20px; right: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(15deg); pointer-events: none; }
.premium-section.sec-faculty::after      { content: '📚'; position: absolute; bottom: -20px; left: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(-10deg); pointer-events: none; }
.premium-section.sec-awards::before      { content: '🏆'; position: absolute; top: -20px; left: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(-15deg); pointer-events: none; }
.premium-section.sec-awards::after       { content: '🎖️'; position: absolute; bottom: -20px; right: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(10deg); pointer-events: none; }
.premium-section.sec-partners::before    { content: '🤝'; position: absolute; top: -20px; right: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(15deg); pointer-events: none; }
.premium-section.sec-partners::after     { content: '🌍'; position: absolute; bottom: -20px; left: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(-10deg); pointer-events: none; }
.premium-section.sec-testimonials::before{ content: '💬'; position: absolute; top: -20px; left: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(-15deg); pointer-events: none; }
.premium-section.sec-testimonials::after { content: '⭐'; position: absolute; bottom: -20px; right: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(10deg); pointer-events: none; }
.premium-section.sec-faq::before         { content: '❓'; position: absolute; top: -20px; right: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(15deg); pointer-events: none; }
.premium-section.sec-faq::after          { content: '💡'; position: absolute; bottom: -20px; left: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(-10deg); pointer-events: none; }
.premium-section.sec-accred::before      { content: '🏅'; position: absolute; top: -20px; left: -20px; font-size: 12rem; opacity: 0.06; transform: rotate(-15deg); pointer-events: none; }
.premium-section.sec-accred::after       { content: '✅'; position: absolute; bottom: -20px; right: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(10deg); pointer-events: none; }
.premium-section.sec-cta::before         { content: '🎓'; position: absolute; top: -30px; right: -20px; font-size: 12rem; opacity: 0.08; transform: rotate(15deg); pointer-events: none; }
.premium-section.sec-cta::after          { content: '✨'; position: absolute; bottom: -20px; left: -10px; font-size: 10rem; opacity: 0.06; transform: rotate(-10deg); pointer-events: none; }

/* ===== UNIFIED PREMIUM CARD ===== */
.premium-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: clamp(22px, 3vw, 34px) clamp(18px, 2.5vw, 28px);
    box-shadow: 0 12px 40px rgba(107, 26, 42, 0.22);
    transition: var(--transition);
    text-align: center;
    border-top: 5px solid var(--primary-maroon);
    height: 100%;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold-accent), var(--primary-maroon));
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(107, 26, 42, 0.38);
}
.premium-card .card-icon {
    width: clamp(64px, 8vw, 90px);
    height: clamp(64px, 8vw, 90px);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-accent), #C4A035);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
}
.premium-card .card-icon i {
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    color: var(--primary-maroon);
    line-height: 1;
}
.premium-card h3,
.premium-card h4 {
    color: var(--primary-maroon);
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}
.premium-card p {
    color: #4a4a4a;
    font-size: clamp(0.85rem, 0.98vw, 0.98rem);
    line-height: 1.65;
    margin-bottom: 12px;
    word-break: break-word;
}
.premium-card .badge {
    display: inline-block;
    background: var(--primary-maroon);
    color: var(--gold-accent);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid var(--gold-accent);
}

.value-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.value-badges span {
    background: var(--primary-maroon);
    color: var(--gold-accent);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 2px solid var(--gold-accent);
    white-space: nowrap;
}
.value-badges span i { margin-right: 4px; }

/* ===== RESPONSIVE GRIDS (inside premium sections) ===== */
.premium-section .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(16px, 2.5vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.premium-section .grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 2.5vw, 30px);
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* ===== STATS COUNTER ===== */
.stats-premium-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 2vw, 20px);
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}
.stats-premium-item {
    background: rgba(107, 26, 42, 0.9);
    border: 2px solid var(--gold-accent);
    border-radius: 18px;
    padding: clamp(16px, 2.5vw, 30px) 12px;
    text-align: center;
    color: white;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(107, 26, 42, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 110px;
}
.stats-premium-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(107, 26, 42, 0.5);
}
.stats-premium-item .number {
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--gold-accent);
    display: block;
    line-height: 1.1;
    word-break: break-word;
}
.stats-premium-item .label {
    font-size: clamp(0.68rem, 0.9vw, 0.9rem);
    opacity: 0.9;
    margin-top: 5px;
    color: white;
    line-height: 1.2;
    word-break: break-word;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 28px;
    border-left: 3px solid var(--primary-maroon);
    margin: 30px 0;
    text-align: left;
}
.timeline-item {
    margin-bottom: 28px;
    padding-left: 18px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-accent);
    border: 3px solid var(--primary-maroon);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}
.timeline-item .year {
    font-weight: 800;
    color: var(--primary-maroon);
    font-size: 1.1rem;
}
.timeline-item h4 {
    color: var(--primary-maroon);
    font-size: 1.05rem;
    margin: 5px 0;
}
.timeline-item p {
    color: #4a4a4a;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== HISTORY GRID ===== */
.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 50px);
    align-items: center;
    text-align: left;
    width: 100%;
}
.history-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--primary-maroon);
    box-shadow: 0 15px 45px rgba(107, 26, 42, 0.3);
    width: 100%;
}
.history-img-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.history-quote {
    background: rgba(107, 26, 42, 0.1);
    padding: 18px;
    border-radius: 16px;
    margin-top: 20px;
    border-left: 4px solid var(--primary-maroon);
}
.history-quote p {
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
    line-height: 1.7;
    font-size: 0.92rem;
}
.history-quote i {
    color: var(--primary-maroon);
    margin-right: 8px;
}

/* ===== LEADERSHIP CARD ===== */
.leader-card-premium {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 30px) clamp(16px, 2vw, 24px);
    text-align: center;
    box-shadow: 0 10px 30px rgba(107, 26, 42, 0.2);
    transition: var(--transition);
    border-bottom: 4px solid var(--gold-accent);
    height: 100%;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.leader-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(107, 26, 42, 0.35);
}
.leader-card-premium .photo {
    width: clamp(70px, 10vw, 100px);
    height: clamp(70px, 10vw, 100px);
    border-radius: 50%;
    margin: 0 auto 15px;
    background: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--gold-accent);
    font-weight: 800;
    border: 3px solid var(--gold-accent);
    box-shadow: 0 6px 20px rgba(107, 26, 42, 0.3);
    flex-shrink: 0;
}
.leader-card-premium h4 {
    color: var(--primary-maroon);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    margin-bottom: 3px;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}
.leader-card-premium .title {
    color: var(--primary-maroon);
    font-weight: 700;
    font-size: clamp(0.78rem, 0.9vw, 0.85rem);
    opacity: 0.85;
    margin-bottom: 8px;
    line-height: 1.3;
}
.leader-card-premium .bio {
    color: #4a4a4a;
    font-size: clamp(0.78rem, 0.85vw, 0.82rem);
    line-height: 1.6;
    word-break: break-word;
}

/* ===== FACULTY CARD ===== */
.faculty-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: clamp(14px, 2vw, 20px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.faculty-card-premium {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: clamp(18px, 2vw, 22px) clamp(12px, 1.5vw, 16px);
    text-align: center;
    box-shadow: 0 8px 25px rgba(107, 26, 42, 0.15);
    transition: var(--transition);
    border-top: 4px solid var(--gold-accent);
    width: 100%;
}
.faculty-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(107, 26, 42, 0.3);
}
.faculty-card-premium .avatar {
    width: clamp(50px, 7vw, 65px);
    height: clamp(50px, 7vw, 65px);
    border-radius: 50%;
    margin: 0 auto 10px;
    background: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    color: var(--gold-accent);
    font-weight: 800;
    border: 2.5px solid var(--gold-accent);
    flex-shrink: 0;
}
.faculty-card-premium h5 {
    color: var(--primary-maroon);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    margin-bottom: 3px;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}
.faculty-card-premium .position {
    color: #4a4a4a;
    font-size: clamp(0.68rem, 0.8vw, 0.75rem);
    font-weight: 600;
    line-height: 1.3;
}
.faculty-card-premium .dept {
    color: var(--primary-maroon);
    font-size: clamp(0.66rem, 0.75vw, 0.72rem);
    font-weight: 700;
    margin-top: 3px;
    letter-spacing: 0.3px;
    line-height: 1.3;
    word-break: break-word;
}

/* ===== AWARDS CARD ===== */
.awards-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: clamp(14px, 2vw, 20px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.award-card-premium {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: clamp(20px, 2.5vw, 25px) clamp(14px, 1.8vw, 18px);
    text-align: center;
    box-shadow: 0 8px 25px rgba(107, 26, 42, 0.15);
    transition: var(--transition);
    border-bottom: 4px solid var(--gold-accent);
    width: 100%;
}
.award-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(107, 26, 42, 0.3);
}
.award-card-premium .award-icon {
    width: clamp(55px, 7vw, 70px);
    height: clamp(55px, 7vw, 70px);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-accent), #C4A035);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
}
.award-card-premium .award-icon i {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: var(--primary-maroon);
}
.award-card-premium h5 {
    color: var(--primary-maroon);
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
    word-break: break-word;
}
.award-card-premium p {
    color: #4a4a4a;
    font-size: clamp(0.75rem, 0.85vw, 0.82rem);
    line-height: 1.55;
    word-break: break-word;
}

/* ===== PARTNER CARD ===== */
.partner-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: clamp(14px, 2vw, 20px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.partner-card-premium {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: clamp(14px, 1.8vw, 18px);
    text-align: center;
    box-shadow: 0 8px 25px rgba(107, 26, 42, 0.15);
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.partner-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(107, 26, 42, 0.3);
    border-color: var(--primary-maroon);
}
.partner-card-premium .partner-logo {
    width: 100%;
    height: clamp(85px, 12vw, 110px);
    border-radius: 12px;
    overflow: hidden;
    background: var(--grey-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--grey-warm);
    transition: var(--transition);
}
.partner-card-premium:hover .partner-logo {
    border-color: var(--gold-accent);
}
.partner-card-premium .partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.partner-card-premium:hover .partner-logo img {
    transform: scale(1.08);
}
.partner-card-premium h5 {
    color: var(--primary-maroon);
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    margin: 0;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}
.partner-card-premium p {
    color: #4a4a4a;
    font-size: clamp(0.7rem, 0.8vw, 0.78rem);
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-premium {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: clamp(20px, 3vw, 30px) clamp(16px, 2vw, 24px);
    box-shadow: 0 10px 30px rgba(107, 26, 42, 0.2);
    border-top: 5px solid var(--primary-maroon);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.testimonial-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold-accent), var(--primary-maroon));
}
.testimonial-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(107, 26, 42, 0.35);
}
.testimonial-premium .quote-icon {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: var(--gold-accent);
    opacity: 0.6;
    margin-bottom: 12px;
}
.testimonial-premium blockquote {
    font-style: italic;
    color: #3a3a3a;
    font-size: clamp(0.85rem, 0.95vw, 0.92rem);
    line-height: 1.7;
    margin-bottom: 15px;
    word-break: break-word;
}
.testimonial-premium .author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.testimonial-premium .author .avatar {
    width: clamp(40px, 6vw, 45px);
    height: clamp(40px, 6vw, 45px);
    border-radius: 50%;
    background: var(--primary-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-weight: 800;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    border: 2px solid var(--gold-accent);
    flex-shrink: 0;
}
.testimonial-premium .author .info h5 {
    color: var(--primary-maroon);
    font-size: clamp(0.82rem, 0.95vw, 0.9rem);
    margin-bottom: 1px;
    font-weight: 800;
    text-align: left;
    line-height: 1.2;
}
.testimonial-premium .author .info p {
    color: #6a6a6a;
    font-size: clamp(0.7rem, 0.8vw, 0.78rem);
    text-align: left;
    line-height: 1.2;
}

/* ===== FAQ CARD ===== */
.faq-premium-item {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: clamp(16px, 2.2vw, 20px) clamp(16px, 2.2vw, 25px);
    box-shadow: 0 8px 25px rgba(107, 26, 42, 0.15);
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-maroon);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}
.faq-premium-item:hover {
    box-shadow: 0 15px 40px rgba(107, 26, 42, 0.25);
}
.faq-premium-item .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    color: var(--primary-maroon);
    font-size: clamp(0.88rem, 1vw, 1rem);
    gap: 10px;
    line-height: 1.4;
    word-break: break-word;
}
.faq-premium-item .question i {
    color: var(--gold-accent);
    transition: var(--transition);
    flex-shrink: 0;
}
.faq-premium-item .answer {
    display: none;
    margin-top: 10px;
    color: #4a4a4a;
    font-size: clamp(0.82rem, 0.92vw, 0.95rem);
    line-height: 1.7;
    padding-top: 10px;
    border-top: 1px solid rgba(107, 26, 42, 0.1);
    word-break: break-word;
}
.faq-premium-item.active .answer { display: block; }
.faq-premium-item.active .question i { transform: rotate(180deg); }

/* ===== ACCREDITATION BADGES ===== */
.accreditation-badge {
    background: var(--primary-maroon);
    padding: clamp(8px, 1.4vw, 14px) clamp(14px, 2.8vw, 34px);
    border-radius: 50px;
    font-weight: 800;
    color: var(--gold-accent);
    border: 2px solid var(--primary-maroon);
    font-size: clamp(0.68rem, 0.95vw, 0.9rem);
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(107, 26, 42, 0.3);
    transition: var(--transition);
    display: inline-block;
    margin: 4px;
    white-space: nowrap;
}
.accreditation-badge:hover { transform: translateY(-3px) scale(1.03); }
.accreditation-badge-light {
    background: rgba(255, 255, 255, 0.9);
    padding: clamp(8px, 1.4vw, 14px) clamp(14px, 2.8vw, 34px);
    border-radius: 50px;
    font-weight: 700;
    color: var(--primary-maroon);
    font-size: clamp(0.68rem, 0.95vw, 0.9rem);
    border: 2px solid var(--primary-maroon);
    transition: var(--transition);
    display: inline-block;
    margin: 4px;
    white-space: nowrap;
}
.accreditation-badge-light:hover { transform: translateY(-3px) scale(1.03); }

/* ===== CTA BUTTONS ===== */
.cta-btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: clamp(11px, 1.4vw, 14px) clamp(22px, 2.8vw, 34px);
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.85rem, 1.05vw, 1rem);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-maroon);
    cursor: pointer;
    text-align: center;
}
.cta-btn-premium.primary {
    background: var(--primary-maroon);
    color: var(--gold-accent);
    box-shadow: 0 6px 25px rgba(107, 26, 42, 0.35);
}
.cta-btn-premium.primary:hover {
    background: transparent;
    color: var(--primary-maroon);
    transform: translateY(-3px);
}
.cta-btn-premium.secondary {
    background: transparent;
    color: var(--primary-maroon);
}
.cta-btn-premium.secondary:hover {
    background: var(--primary-maroon);
    color: var(--gold-accent);
    transform: translateY(-3px);
}

/* ===== PREMIUM RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 992px) {
    .premium-section .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .stats-premium-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .history-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .history-img-wrap img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .premium-section .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
    }
    .premium-section .grid-2 {
        grid-template-columns: 1fr;
    }
    .stats-premium-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .timeline {
        padding-left: 18px;
    }
    .timeline-item::before {
        left: -24px;
        width: 10px;
        height: 10px;
        border-width: 2px;
    }
    .timeline-item {
        padding-left: 12px;
    }
    .faq-premium-item {
        padding: 14px 16px;
    }
    .history-img-wrap img {
        height: 240px;
    }
    .history-quote {
        padding: 14px;
    }
    .accreditation-badge,
    .accreditation-badge-light {
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
    .faculty-grid-premium {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    .awards-grid-premium {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    .partner-grid-premium {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    .premium-inner {
        padding: 40px 14px;
    }
}

@media (max-width: 480px) {
    .premium-section .grid-3 {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .stats-premium-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .stats-premium-item {
        padding: 14px 8px;
        min-height: 90px;
    }
    .stats-premium-item .number {
        font-size: 1.5rem;
    }
    .stats-premium-item .label {
        font-size: 0.65rem;
    }
    .premium-title {
        font-size: 1.4rem;
    }
    .premium-subtitle {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }
    .premium-card .card-icon {
        width: 56px;
        height: 56px;
    }
    .premium-card .card-icon i {
        font-size: 1.3rem;
    }
    .value-badges span {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    .history-img-wrap img {
        height: 200px;
    }
    .faculty-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .awards-grid-premium {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .partner-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .leader-card-premium .photo {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }
    .leader-card-premium h4 {
        font-size: 0.85rem;
    }
    .leader-card-premium .title {
        font-size: 0.7rem;
    }
    .leader-card-premium .bio {
        font-size: 0.72rem;
    }
    .testimonial-premium .author {
        flex-direction: column;
        gap: 8px;
    }
    .testimonial-premium .author .info h5,
    .testimonial-premium .author .info p {
        text-align: center;
    }
    .cta-btn-premium {
        width: 100%;
        padding: 12px 18px;
        font-size: 0.85rem;
    }
    .premium-inner {
        padding: 30px 12px;
    }
    .accreditation-badge,
    .accreditation-badge-light {
        font-size: 0.65rem;
        padding: 6px 14px;
    }
}

@media (max-width: 360px) {
    .stats-premium-wrap {
        grid-template-columns: 1fr;
    }
    .faculty-grid-premium {
        grid-template-columns: 1fr;
    }
    .partner-grid-premium {
        grid-template-columns: 1fr;
    }
    .premium-title {
        font-size: 1.25rem;
    }
}

/* ===== PREMIUM DARK MODE ===== */
[data-theme="dark"] .premium-section {
    background: linear-gradient(135deg, #8a6d1f 0%, #6b1a2a 50%, #2a0810 100%);
    color: #f0f0f0;
}
[data-theme="dark"] .premium-title { color: #f0f0f0; }
[data-theme="dark"] .premium-title span { color: var(--gold-accent); }
[data-theme="dark"] .premium-subtitle { color: #e0e0e0; }
[data-theme="dark"] .premium-subtitle strong { color: var(--gold-accent); }
[data-theme="dark"] .premium-card,
[data-theme="dark"] .leader-card-premium,
[data-theme="dark"] .faculty-card-premium,
[data-theme="dark"] .award-card-premium,
[data-theme="dark"] .partner-card-premium,
[data-theme="dark"] .testimonial-premium,
[data-theme="dark"] .faq-premium-item {
    background: #1e2a4a;
    color: #e0e0e0;
}
[data-theme="dark"] .premium-card h3,
[data-theme="dark"] .premium-card h4,
[data-theme="dark"] .leader-card-premium h4,
[data-theme="dark"] .leader-card-premium .title,
[data-theme="dark"] .faculty-card-premium h5,
[data-theme="dark"] .faculty-card-premium .dept,
[data-theme="dark"] .award-card-premium h5,
[data-theme="dark"] .partner-card-premium h5,
[data-theme="dark"] .testimonial-premium .author .info h5,
[data-theme="dark"] .faq-premium-item .question {
    color: #D4AF37;
}
[data-theme="dark"] .premium-card p,
[data-theme="dark"] .leader-card-premium .bio,
[data-theme="dark"] .award-card-premium p,
[data-theme="dark"] .partner-card-premium p,
[data-theme="dark"] .testimonial-premium blockquote,
[data-theme="dark"] .faq-premium-item .answer,
[data-theme="dark"] .timeline-item p {
    color: #c0c0c0;
}
[data-theme="dark"] .timeline-item h4 { color: #D4AF37; }
[data-theme="dark"] .history-quote {
    background: rgba(212, 175, 55, 0.12);
    border-left-color: var(--gold-accent);
}
[data-theme="dark"] .history-quote p { color: #e0e0e0; }
[data-theme="dark"] .accreditation-badge-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-accent);
    border-color: var(--gold-accent);
}

/* ============================================================
   ⭐ END PREMIUM SECTION STYLES ⭐
   ============================================================ */

/* ============================================================
   🛡️ EMERGENCY MOBILE MENU OVERRIDE
   ============================================================
   This block FORCE-FIXES the mobile menu in portrait AND landscape.
   Placed at the very bottom so it wins ALL specificity battles.
   If you re-add nav ul rules elsewhere, THIS block still wins.
   ============================================================ */
@media (max-width: 992px) {
    /* Reset any conflicting padding/display from other blocks */
    nav ul#navMenu {
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 78px !important;
        left: 12px !important;
        right: 12px !important;
        bottom: auto !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100vh - 100px) !important;
        overflow-y: auto !important;
        background: #ffffff !important;
        border-radius: 24px !important;
        box-shadow: 0 25px 50px -12px rgba(107, 26, 42, 0.35),
                    0 0 0 1px rgba(107, 26, 42, 0.06) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-12px) scale(0.98) !important;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s !important;
        z-index: 1100 !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        list-style: none !important;
    }

    nav ul#navMenu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
    }

    /* Ensure toggle is visible in all orientations */
    .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1002 !important;
        width: 44px !important;
        height: 44px !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(107, 26, 42, 0.06) !important;
        border: none !important;
        border-radius: 12px !important;
        color: var(--primary-maroon) !important;
        font-size: 1.3rem !important;
        cursor: pointer !important;
    }

    /* Hide the menu-close helper if it exists */
    .menu-close {
        display: none !important;
    }
}

/* ============================================================
   💬 CHATBOT LANDSCAPE RESPONSIVE FIX
   ============================================================
   Makes chatbot smaller and better positioned on landscape phones
   (short viewport, e.g. 800x400 or 640x360)
   ============================================================ */
@media (max-height: 600px) and (orientation: landscape) {
    .chatbot-window {
        width: 380px !important;
        max-width: calc(100vw - 40px) !important;
        height: auto !important;
        max-height: calc(100vh - 80px) !important;
        bottom: 70px !important;
        right: 10px !important;
        border-radius: 12px !important;
    }

    .chatbot-window .chatbot-messages {
        max-height: calc(100vh - 300px) !important;
        padding: 10px 15px !important;
    }

    .chatbot-window .chatbot-messages .message {
        font-size: 0.82rem !important;
        padding: 7px 12px !important;
        line-height: 1.5 !important;
    }

    .chatbot-window .chatbot-header {
        padding: 10px 14px !important;
    }

    .chatbot-window .chatbot-header .avatar {
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
    }

    .chatbot-window .chatbot-header .info h4 {
        font-size: 0.92rem !important;
    }

    .chatbot-window .chatbot-header .info p {
        font-size: 0.65rem !important;
    }

    .chatbot-window .chatbot-quick-replies {
        padding: 6px 12px !important;
        gap: 6px !important;
    }

    .chatbot-window .chatbot-quick-replies .qr-btn {
        font-size: 0.68rem !important;
        padding: 4px 10px !important;
    }

    .chatbot-window .chatbot-input {
        padding: 6px 12px 10px !important;
    }

    .chatbot-window .chatbot-input input {
        padding: 7px 12px !important;
        font-size: 0.82rem !important;
    }

    .chatbot-window .chatbot-input button {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
    }

    .chatbot-toggle {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
        bottom: 10px !important;
        right: 10px !important;
    }

    .whatsapp-float {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.3rem !important;
        bottom: 10px !important;
        left: 10px !important;
    }

    .whatsapp-badge {
        bottom: 60px !important;
        left: 12px !important;
        font-size: 0.45rem !important;
        padding: 2px 6px !important;
    }
}