/* ============================================
   CITC Website — Frontend Design System
   Brand: Navy + Electric Blue + Gold
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;
    --gold: #F59E0B;
    --gold-dark: #D97706;
    --navy: #0A1628;
    --navy-mid: #0F2444;
    --success: #10B981;
    --danger: #EF4444;

    --text-primary: #0A1628;
    --text-secondary: #1E3A5F;
    --text-muted: #64748B;
    --bg: #FFFFFF;
    --bg-soft: #F8FAFF;
    --bg-alt: #F1F5FE;
    --border: #E2E8F0;

    --shadow-sm: 0 1px 4px rgba(10,22,40,0.06);
    --shadow: 0 4px 20px rgba(10,22,40,0.08);
    --shadow-md: 0 8px 40px rgba(10,22,40,0.10);
    --shadow-lg: 0 16px 60px rgba(10,22,40,0.14);
    --shadow-glow: 0 0 40px rgba(37,99,235,0.15);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text-primary); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── Container ─────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-md { padding: 64px 0; }
.section-sm { padding: 48px 0; }

/* ── Navbar ────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: 72px; z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(10,22,40,0.08);
}
.navbar.navbar-interior {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(10,22,40,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.logo-text { display: flex; align-items: center; gap: 10px; color: white; transition: color 0.3s; }
.navbar.scrolled .logo-text, .navbar.navbar-interior .logo-text { color: var(--text-primary); }
.logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    font-weight: 500; font-size: 15px;
    color: rgba(255,255,255,0.88);
    padding: 8px 14px; border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.12); }
.nav-link.active { color: white; background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-link, .navbar.navbar-interior .nav-link { color: var(--text-secondary); }
.navbar.scrolled .nav-link:hover, .navbar.navbar-interior .nav-link:hover { color: var(--primary); background: var(--primary-light); }
.navbar.scrolled .nav-link.active, .navbar.navbar-interior .nav-link.active { color: var(--primary); background: var(--primary-light); }
.nav-cta {
    margin-left: 12px;
    background: var(--primary); color: white !important;
    padding: 10px 22px !important; border-radius: 10px !important;
    font-weight: 700 !important; font-size: 14px;
    transition: var(--transition);
    border: 2px solid transparent;
}
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-toggle span, .navbar.navbar-interior .nav-toggle span { background: var(--text-primary); }

/* Nav Dropdowns (3-Level Support) */
.nav-dropdown-wrapper { position: relative; }
.nav-dropdown-icon { font-size: 10px; margin-left: 4px; transition: transform 0.2s; opacity: 0.7; }
.nav-dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: white; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    border-radius: 12px; padding: 12px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition); z-index: 100;
}
.nav-dropdown-wrapper:hover > .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-wrapper:hover > .nav-link .nav-dropdown-icon { transform: rotate(180deg); opacity: 1; }
.nav-dropdown .nav-link { 
    color: var(--text-secondary); display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px; margin-bottom: 2px; 
}
.nav-dropdown .nav-link:hover { color: var(--primary); background: var(--primary-light); }
.nav-dropdown .nav-dropdown-icon { transform: rotate(-90deg); }
.nav-dropdown-wrapper:hover > .nav-link .nav-dropdown-icon.nav-dropdown-icon { transform: rotate(0deg); } /* for deeper levels */

/* Level 2+ Dropdowns appear to the right */
.nav-dropdown .nav-dropdown-wrapper > .nav-dropdown {
    top: 0; left: 100%; transform: translateX(10px);
}
.nav-dropdown .nav-dropdown-wrapper:hover > .nav-dropdown {
    transform: translateX(0);
}

/* ── Hero Section ─────────────────────────── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #142850 100%);
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding-top: 72px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(37,99,235,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-grid-lines {
    position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
    background-image: linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.8) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 80px 0; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(37,99,235,0.2); border: 1px solid rgba(37,99,235,0.4);
    color: #93C5FD; font-size: 13px; font-weight: 600;
    padding: 6px 16px; border-radius: 50px; margin-bottom: 32px;
    backdrop-filter: blur(8px);
    animation: fadeDown 0.6s ease forwards;
}
.hero-badge-dot { width: 6px; height: 6px; background: #60A5FA; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.2)} }
.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900; line-height: 1.08;
    color: white; margin-bottom: 24px;
    animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 span { color: var(--gold); position: relative; }
.hero p {
    font-size: clamp(16px, 2.2vw, 20px);
    color: rgba(255,255,255,0.72); max-width: 600px; margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeUp 0.7s 0.2s ease both;
}
.hero-buttons {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.7s 0.3s ease both;
}
.btn-hero-primary {
    background: var(--primary); color: white;
    padding: 16px 36px; border-radius: 12px;
    font-weight: 700; font-size: 16px;
    transition: var(--transition); border: 2px solid var(--primary);
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-hero-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37,99,235,0.4); color: white; }
.btn-hero-secondary {
    background: transparent; color: white;
    padding: 16px 36px; border-radius: 12px;
    font-weight: 700; font-size: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-hero-secondary:hover { border-color: white; background: rgba(255,255,255,0.1); color: white; }
.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); overflow: hidden;
    max-width: 700px; margin: 64px auto 0;
    animation: fadeUp 0.7s 0.4s ease both;
}
.hero-stat-item {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    padding: 24px 20px; text-align: center;
    transition: background 0.2s;
}
.hero-stat-item:hover { background: rgba(255,255,255,0.08); }
.hero-stat-num { font-size: 32px; font-weight: 800; color: white; line-height: 1; }
.hero-stat-num span { color: var(--gold); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 6px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Section Headers ──────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
    display: inline-block; font-size: 12px; font-weight: 700;
    color: var(--primary); text-transform: uppercase; letter-spacing: 1.5px;
    background: var(--primary-light); padding: 5px 14px;
    border-radius: 20px; margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.2; color: var(--text-primary); margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-title-left { text-align: left; }
.section-header.left { text-align: left; }
.section-header.left .section-subtitle { margin: 0; }

/* ── Service Cards ────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: white; border-radius: var(--radius-lg);
    padding: 36px 30px; border: 1.5px solid var(--border);
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px; height: 60px;
    background: var(--primary-light); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--primary); margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--primary); color: white; transform: scale(1.1); }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ── Course Cards ─────────────────────────── */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
    background: white; border-radius: var(--radius-lg);
    overflow: hidden; border: 1.5px solid var(--border);
    transition: var(--transition); display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.course-img-wrap { position: relative; overflow: hidden; height: 200px; }
.course-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.course-card:hover .course-img-wrap img { transform: scale(1.06); }
.course-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--primary); color: white;
    font-size: 11px; font-weight: 700; padding: 4px 12px;
    border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}
.course-price-badge {
    position: absolute; top: 14px; right: 14px;
    background: var(--gold); color: white;
    font-size: 15px; font-weight: 800; padding: 6px 12px;
    border-radius: 10px;
}
.course-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.course-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.course-meta i { color: var(--primary); }
.course-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.course-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.course-card .btn-card { margin-top: auto; }

/* ── Testimonials ─────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: white; border-radius: var(--radius-lg);
    padding: 32px; border: 1.5px solid var(--border);
    transition: var(--transition); position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-mark {
    font-size: 80px; line-height: 0.6; color: var(--primary); opacity: 0.12;
    font-family: Georgia, serif; position: absolute; top: 20px; right: 24px;
}
.stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; }
.testimonial-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    object-fit: cover; background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: var(--primary);
    flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 15px; }
.author-role { font-size: 13px; color: var(--text-muted); }

/* ── Blog Cards ───────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
    background: white; border-radius: var(--radius-lg);
    overflow: hidden; border: 1.5px solid var(--border);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.blog-img-wrap { height: 200px; overflow: hidden; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-cat-badge {
    display: inline-block; font-size: 11px; font-weight: 600;
    background: var(--primary-light); color: var(--primary);
    padding: 3px 10px; border-radius: 20px; text-transform: uppercase;
    letter-spacing: 0.4px; margin-bottom: 10px;
}
.blog-card h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.blog-card h3 a { color: var(--text-primary); transition: color 0.2s; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.blog-card-meta { display: flex; gap: 16px; font-size: 12px; color: var(--text-muted); padding-top: 14px; border-top: 1px solid var(--border); }
.blog-card-meta i { color: var(--primary); }

/* ── Buttons ──────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: var(--transition); border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.btn-secondary { background: white; color: var(--text-primary); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: var(--gold-dark); color: white; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }
.btn-card { padding: 10px 20px; font-size: 14px; width: 100%; justify-content: center; }

/* ── CTA Banner ───────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    padding: 96px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,0.15) 0%, transparent 70%);
}
.cta-section * { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; color: white; margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 36px; }

/* ── FAQ Accordion ────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none;
    padding: 22px 0; font-size: 16px; font-weight: 600;
    color: var(--text-primary); display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; transition: color 0.2s; gap: 16px;
}
.faq-question:hover { color: var(--primary); }
.faq-question i { flex-shrink: 0; transition: transform 0.3s; color: var(--primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.faq-answer-inner { padding-bottom: 20px; color: var(--text-muted); font-size: 15px; line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ── Newsletter ───────────────────────────── */
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-input {
    flex: 1; padding: 14px 18px; border: 1.5px solid var(--border);
    border-radius: 10px; font-size: 15px; font-family: inherit;
    transition: var(--transition);
}
.newsletter-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

/* ── Contact Page ─────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon { width: 48px; height: 48px; background: var(--primary-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon i { color: var(--primary); font-size: 18px; }
.form-input {
    width: 100%; padding: 13px 16px;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 15px; font-family: inherit; color: var(--text-primary);
    background: var(--bg-soft); transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); background: white; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--text-secondary); }

/* ── Blog Listing ──────────────────────────── */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.sidebar-widget { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.widget-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); padding-bottom: 12px; border-bottom: 2px solid var(--primary); margin-bottom: 16px; display: inline-block; }
.cat-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: var(--transition); }
.cat-link:hover, .cat-link.active { background: var(--primary-light); color: var(--primary); }

/* ── Post Content ─────────────────────────── */
.post-content { font-size: 17px; line-height: 1.85; color: var(--text-secondary); }
.post-content h1,.post-content h2,.post-content h3,.post-content h4 { color: var(--text-primary); font-weight: 700; margin: 32px 0 14px; }
.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 22px; }
.post-content p { margin-bottom: 20px; }
.post-content img { border-radius: var(--radius); margin: 24px 0; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 4px solid var(--primary); padding: 16px 20px; margin: 24px 0; background: var(--bg-soft); border-radius: 0 10px 10px 0; font-style: italic; color: var(--text-muted); }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-content pre { background: var(--navy); color: white; padding: 20px; border-radius: var(--radius); overflow-x: auto; margin-bottom: 20px; }
.post-content code { background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; font-size: 14px; }

/* ── About Section ─────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), transparent); }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-dot { position: absolute; left: -24px; top: 4px; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px var(--primary); }
.timeline-year { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }
.timeline-title { font-size: 16px; font-weight: 700; margin: 4px 0; }
.timeline-text { font-size: 14px; color: var(--text-muted); }

/* ── Team Grid ─────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-img-wrap { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 3px solid var(--primary-light); }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 17px; font-weight: 700; }
.team-position { font-size: 14px; color: var(--text-muted); }

/* ── Pagination ────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 8px;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 14px; font-weight: 600; color: var(--text-secondary);
    transition: var(--transition);
}
.page-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.page-link.active { background: var(--primary); border-color: var(--primary); color: white; }
.page-link.disabled { opacity: 0.4; pointer-events: none; }

/* ── Footer ────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; color: white; margin-bottom: 14px; }
.footer-desc { font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.social-row { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.footer-title { color: white; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: white; }
.footer-links a i { font-size: 12px; color: var(--primary); }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.footer-admin-link { color: rgba(255,255,255,0.25); font-size: 12px; transition: color 0.2s; }
.footer-admin-link:hover { color: rgba(255,255,255,0.6); }

/* ── Scroll Animations ─────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Empty States ──────────────────────────── */
.empty-state-front { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.empty-state-front i { font-size: 56px; margin-bottom: 16px; opacity: 0.2; display: block; }
.empty-state-front h3 { font-size: 22px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }

/* ── Misc Helpers ───────────────────────────── */
.bg-soft { background: var(--bg-soft); }
.bg-alt { background: var(--bg-alt); }
.text-gold { color: var(--gold); }
.text-primary-c { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--bg-alt); color: var(--text-secondary); }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .section { padding: 64px 0; }
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: rgba(10,22,40,0.97); flex-direction: column;
        padding: 32px 24px; gap: 6px; justify-content: flex-start;
        transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
        backdrop-filter: blur(24px);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { color: rgba(255,255,255,0.85) !important; font-size: 18px; padding: 13px 16px; border-radius: 10px; display: block; }
    .nav-link:hover { background: rgba(255,255,255,0.1) !important; color: white !important; }
    .nav-cta { display: block; text-align: center; margin-left: 0 !important; }
    .nav-toggle { display: flex; }
    .hero-buttons { gap: 12px; }

    /* Mobile Dropdown Fixes */
    .nav-dropdown { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 0 16px; margin-top: 4px; border-left: 1px solid rgba(255,255,255,0.1); border-radius: 0; background: transparent; }
    .nav-dropdown-wrapper.open > .nav-dropdown { display: block; }
    .nav-dropdown .nav-link { color: rgba(255,255,255,0.7) !important; padding: 10px 16px; font-size: 16px; }
    .nav-dropdown-icon { transform: rotate(0) !important; font-size: 12px; padding: 10px; margin: -10px; }
    .nav-dropdown-wrapper.open > .nav-link .nav-dropdown-icon { transform: rotate(180deg) !important; }
}
