/* 
 * Shreeja College Dehradun — Premium Academic Theme v3.0
 * Brand: Blue (#2E5DA8) · Orange (#F0901A) · Dark (#1A1A1A)
 * Design System: 2026 Modern Academic — Glassmorphism, Micro-animations, Premium Cards
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --primary: #2E5DA8;
    --primary-dark: #1B3A6B;
    --primary-deeper: #0F2444;
    --primary-light: #4A7FCC;
    --primary-tint: #EAF0F9;

    --accent: #F0901A;
    --accent-hover: #D47A0F;
    --accent-light: #FEF3E2;
    --accent-tint: #FCEFDC;

    --text-dark: #1A1A1A;
    --text-main: #2D3748;
    --text-muted: #718096;
    --text-light: #A0AEC0;
    --text-white: #FFFFFF;

    --bg-white: #FFFFFF;
    --bg-light: #F7F8FC;
    --bg-subtle: #F0F1F5;
    --bg-card: #FFFFFF;

    --border-color: #E2E8F0;
    --border-light: #EDF2F7;

    /* Shadows — Layered for Depth */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(46,93,168,0.06);
    --shadow-md: 0 8px 24px rgba(46,93,168,0.08);
    --shadow-lg: 0 16px 48px rgba(46,93,168,0.10);
    --shadow-xl: 0 24px 64px rgba(46,93,168,0.14);
    --shadow-accent: 0 8px 24px rgba(240,144,26,0.20);
    --shadow-card-hover: 0 20px 48px rgba(46,93,168,0.12);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-normal: 0.4s var(--ease-smooth);
    --transition-slow: 0.6s var(--ease-smooth);

    /* Typography */
    --font-heading: "Outfit", sans-serif;
    --font-body: "Inter", sans-serif;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-pill: 100px;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   TOP INFO BAR
   ═══════════════════════════════════════════ */
.header-top {
    background: var(--primary-deeper);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: none;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.header-top-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.header-top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top-info i {
    color: var(--accent);
    font-size: 12px;
}

.header-top-info a {
    color: rgba(255,255,255,0.9);
}

.header-top-info a:hover {
    color: var(--accent);
}

.header-top-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-top-socials a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.header-top-socials a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   MAIN HEADER & NAVIGATION
   ═══════════════════════════════════════════ */
header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-normal);
}

header:hover {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    min-height: 72px;
}

.logo-container img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform var(--transition-fast);
}

.logo-container img:hover {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 15px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background-color: var(--primary-tint);
}

.nav-link::after {
    display: none; /* Removing old dot indicator */
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    list-style: none;
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all var(--transition-fast);
    z-index: 999;
    padding: 8px;
    overflow: hidden;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-item a:hover {
    background-color: var(--primary-tint);
    color: var(--primary);
    padding-left: 20px;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    text-align: center;
    font-family: var(--font-body);
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46,93,168,0.25);
}

.btn-accent {
    background: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46,93,168,0.20);
}

/* ═══════════════════════════════════════════
   HERO SLIDER
   ═══════════════════════════════════════════ */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    background: var(--primary-deeper);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Subtle gradient overlay — NOT a solid black overlay */
.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15,36,68,0.88) 0%,
        rgba(15,36,68,0.60) 40%,
        rgba(15,36,68,0.15) 70%,
        transparent 100%
    );
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

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

.hero-slide-content {
    max-width: 520px;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border-left: none;
    box-shadow: none;
    border-radius: 0;
    animation: heroFadeUp 0.9s var(--ease-smooth) forwards;
    opacity: 0;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text-white);
    padding: 6px 16px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-white) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    text-shadow: none;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 17px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    text-shadow: none;
    font-weight: 400;
}

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

.hero-buttons .btn {
    font-size: 14px;
    padding: 13px 28px;
}

/* Slider Nav Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.3);
    border-color: rgba(255,255,255,0.4);
}

.dot:hover {
    background: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════
   PAGE HEADER (Inner Pages)
   ═══════════════════════════════════════════ */
.page-header {
    background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary) 100%);
    color: var(--text-white);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(240,144,26,0.06);
    pointer-events: none;
}

.page-header h1 {
    color: var(--text-white);
    font-size: clamp(32px, 5vw, 44px);
    margin-bottom: 12px;
    font-weight: 800;
}

.breadcrumbs {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumbs a {
    color: var(--accent);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-normal);
    position: relative;
}

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

.card-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════
   COURSE CARDS
   ═══════════════════════════════════════════ */
.course-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.course-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.course-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
}

.course-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: var(--text-white);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    z-index: 1;
}

.course-card-body {
    padding: 28px;
}

.course-card-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.course-card-title a {
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

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

.course-card-info {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.course-card-info strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   TABLE
   ═══════════════════════════════════════════ */
.table-responsive {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

th, td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

th {
    background: var(--primary);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: var(--bg-light);
}

tr:hover td {
    background-color: var(--primary-tint);
}

/* ═══════════════════════════════════════════
   FAQ / ACCORDION
   ═══════════════════════════════════════════ */
.faq-container {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all var(--transition-fast);
    color: var(--text-dark);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--accent);
    font-size: 14px;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    border-top: 0 solid transparent;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
    border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46,93,168,0.85), rgba(15,36,68,0.9));
    opacity: 0;
    transition: opacity var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 16px;
}

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

/* ═══════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════ */
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.sidebar-card h3 {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 20px;
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    color: var(--text-main);
    background: var(--bg-light);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(46,93,168,0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit-container {
    margin-top: 28px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
    background: var(--primary-deeper);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 28px;
    border-top: 4px solid var(--accent);
}

footer h3, footer h4 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 18px;
}

footer a {
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--transition-fast);
}

footer a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 2fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-logo img {
    height: 56px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

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

.footer-links li a {
    font-size: 14px;
}

.footer-enquiry-widget {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
}

.footer-enquiry-widget .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
}

.footer-enquiry-widget .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-enquiry-widget .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
}

.footer-enquiry-widget .form-label {
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ═══════════════════════════════════════════
   STATS GRID (Placements)
   ═══════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    text-align: center;
}

.stat-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-white);
    padding: 32px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.stat-box:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 4px;
    color: var(--accent);
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
}

/* Info Box */
.info-box {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
}

.info-box ul {
    margin-left: 20px;
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for child cards */
.reveal.active .card,
.reveal.active .course-card,
.reveal.active .faq-item {
    animation: cardReveal 0.6s var(--ease-smooth) forwards;
    opacity: 0;
}

.reveal.active .card:nth-child(1),
.reveal.active .course-card:nth-child(1),
.reveal.active .faq-item:nth-child(1) { animation-delay: 0.05s; }
.reveal.active .card:nth-child(2),
.reveal.active .course-card:nth-child(2),
.reveal.active .faq-item:nth-child(2) { animation-delay: 0.1s; }
.reveal.active .card:nth-child(3),
.reveal.active .course-card:nth-child(3),
.reveal.active .faq-item:nth-child(3) { animation-delay: 0.15s; }
.reveal.active .card:nth-child(4),
.reveal.active .faq-item:nth-child(4) { animation-delay: 0.2s; }
.reveal.active .card:nth-child(5) { animation-delay: 0.25s; }
.reveal.active .card:nth-child(6) { animation-delay: 0.3s; }
.reveal.active .card:nth-child(7) { animation-delay: 0.35s; }
.reveal.active .card:nth-child(8) { animation-delay: 0.4s; }
.reveal.active .card:nth-child(9) { animation-delay: 0.45s; }

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════
   FLOATING BUTTONS
   ═══════════════════════════════════════════ */
.floating-btn {
    position: fixed;
    bottom: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.float-call {
    right: 28px;
    background: #16a34a;
    font-size: 22px;
    animation: pulseGreen 2s infinite;
}

.float-call:hover {
    background: #15803d;
    transform: scale(1.1);
}

.float-enquiry {
    left: 28px;
    background: var(--accent);
    font-size: 18px;
    width: auto;
    border-radius: var(--radius-pill);
    padding: 0 24px;
    gap: 8px;
}

.float-enquiry .btn-text {
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-white);
}

.float-enquiry:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: var(--shadow-accent);
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ═══════════════════════════════════════════
   ENQUIRY DRAWER
   ═══════════════════════════════════════════ */
.enquiry-drawer {
    position: fixed;
    top: 0;
    left: -400px;
    width: 380px;
    height: 100%;
    background: var(--bg-white);
    z-index: 2000;
    box-shadow: var(--shadow-xl);
    transition: left 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
}

.enquiry-drawer.open {
    left: 0;
}

.drawer-header {
    background: var(--primary);
    color: var(--text-white);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--accent);
}

.drawer-header h3 {
    color: var(--text-white);
    margin: 0;
    font-size: 20px;
}

.drawer-header button {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 28px;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.drawer-header button:hover {
    transform: rotate(90deg);
}

.drawer-body {
    padding: 28px 24px;
    overflow-y: auto;
    flex: 1;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 68, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ═══════════════════════════════════════════
   HAMBURGER MENU (Mobile)
   ═══════════════════════════════════════════ */
.nav-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: var(--primary-tint);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — 1024px
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .header-top {
        display: none;
    }

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

    .grid-2 {
        gap: 40px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

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

    .hero-slider-container {
        height: 520px;
    }

    .hero-title {
        font-size: 32px;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — 768px (Tablet & Mobile)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .section-padding {
        padding: 56px 0;
    }

    .container {
        padding: 0 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 15px;
    }

    /* --- Hero Slider Mobile --- */
    .hero-slider-container {
        height: auto;
        min-height: 0;
    }

    .slide {
        position: relative;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        background-size: cover !important;
        background-position: center !important;
    }

    .slide::before {
        background: linear-gradient(
            180deg,
            rgba(15,36,68,0.30) 0%,
            rgba(15,36,68,0.75) 50%,
            rgba(15,36,68,0.92) 100%
        );
    }

    /* Hide non-active slides on mobile for proper auto-height */
    .slide:not(.active) {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
    }

    .slide.active {
        position: relative;
    }

    .slide .container {
        padding-top: 200px;
        padding-bottom: 48px;
    }

    .hero-slide-content {
        max-width: 100%;
    }

    .slide-badge {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .slider-arrow {
        display: none;
    }

    .slider-dots {
        bottom: 16px;
    }

    /* --- Header Mobile --- */
    .navbar {
        padding: 6px 0;
        min-height: 56px;
    }

    .logo-container img {
        height: 44px;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
    }

    nav {
        display: contents;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-deeper);
        padding: 16px 20px;
        box-shadow: var(--shadow-lg);
        gap: 4px;
        z-index: 1001;
        border-top: 3px solid var(--accent);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        color: rgba(255,255,255,0.9);
        padding: 12px 16px;
        border-radius: var(--radius-sm);
        font-size: 15px;
        width: 100%;
        display: flex;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255,255,255,0.08);
        color: var(--accent);
    }

    /* Dropdown on mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        display: none;
        background: transparent;
        min-width: auto;
        border-radius: 0;
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .dropdown-item a {
        color: rgba(255,255,255,0.75);
        padding: 10px 16px;
        font-size: 14px;
    }

    .dropdown-item a:hover {
        color: var(--accent);
        background: rgba(255,255,255,0.05);
        padding-left: 20px;
    }

    /* --- Footer Mobile --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* --- General Mobile --- */
    .page-header {
        padding: 48px 0 40px;
    }

    .page-header h1 {
        font-size: 28px;
    }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — 480px (Small Mobile)
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
    .section-padding {
        padding: 44px 0;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .slide .container {
        padding-top: 160px;
        padding-bottom: 36px;
    }

    .btn {
        padding: 11px 22px;
        font-size: 13px;
    }

    .enquiry-drawer {
        width: 100%;
        left: -100%;
    }

    .float-enquiry .btn-text {
        display: none;
    }

    .float-enquiry {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        left: 16px;
    }

    .float-call {
        right: 16px;
    }

    .card {
        padding: 24px;
    }

    .course-card-body {
        padding: 20px;
    }
}
