/*
 * main.css — Jinnah Computer Academy Dahranwala
 * Stack: Bootstrap 5 + this file (Bootstrap loaded via CDN before this)
 * Updated: 2026
 */

/* ═══════════════════════════════════════════
   1. BRAND VARIABLES
═══════════════════════════════════════════ */
:root {
    --primary:       #0f4c81;
    --primary-dark:  #0a3460;
    --primary-light: #1e69b0;
    --accent:        #0f766e;
    --accent-light:  #14b8a6;
    --gold:          #d4a017;
    --gold-light:    #fcd34d;
    --ink:           #0e2235;
    --muted:         #4a6276;
    --surface:       #ffffff;
    --bg:            #f4f8fd;
    --border:        #dde8f4;
    --whatsapp:      #25d366;
    --shadow-sm:     0 2px 8px rgba(15,76,129,.10);
    --shadow-md:     0 6px 24px rgba(15,76,129,.15);
    --shadow-lg:     0 16px 48px rgba(15,76,129,.20);
    --radius:        14px;
    --radius-sm:     8px;
    --radius-lg:     22px;
}

/* ═══════════════════════════════════════════
   2. GLOBAL RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    margin: 0;
    font-family: 'Rubik', 'Segoe UI', sans-serif;
    color: var(--ink);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { text-decoration: none; color: var(--primary); }
a:hover { color: var(--primary-dark); }

.urdu {
    font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
    direction: rtl;
    line-height: 2.2;
    display: block;
}

.urdu-inline {
    font-family: 'Noto Nastaliq Urdu', serif;
    direction: rtl;
    display: inline;
}

/* ═══════════════════════════════════════════
   3. LAYOUT UTILITIES
═══════════════════════════════════════════ */
.section {
    padding: 80px 0;
}
.section-sm { padding: 50px 0; }

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.4rem;
    line-height: 1.25;
}

.section-title-en { color: var(--ink); }
.section-title-ur {
    font-family: 'Noto Nastaliq Urdu', serif;
    color: var(--muted);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    direction: rtl;
    display: block;
    line-height: 2;
    margin-bottom: 0;
}

.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 640px;
}

/* ═══════════════════════════════════════════
   4. ANNOUNCEMENT BAR
═══════════════════════════════════════════ */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: #fff;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    position: relative;
    z-index: 1000;
}
.announcement-bar a { color: var(--gold-light); font-weight: 700; }
.announcement-bar strong { color: var(--gold-light); }
.announcement-bar .urdu-inline {
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
}

/* ═══════════════════════════════════════════
   5. SITE HEADER & NAV
═══════════════════════════════════════════ */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.site-header .navbar { padding: 10px 0; }

.site-header .navbar-brand { gap: 10px; }

.logo-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
}
.logo-word {
    height: 34px;
    object-fit: contain;
}

.site-header .nav-link {
    font-weight: 500;
    color: var(--ink) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    transition: background .2s, color .2s;
    font-size: 0.95rem;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
    background: rgba(15,76,129,.08);
    color: var(--primary) !important;
}

/* Show dropdown on hover (desktop) — Courses link navigates on click */
@media (min-width: 992px) {
    .site-header .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.site-header .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px;
    min-width: 220px;
}
.site-header .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    transition: background .15s;
}
.site-header .dropdown-item:hover {
    background: rgba(15,76,129,.08);
    color: var(--primary);
}

.btn-nav-cta {
    background: var(--primary);
    color: #fff !important;
    border-radius: 50px !important;
    padding: 8px 22px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border: none;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 3px 12px rgba(15,76,129,.30);
}
.btn-nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15,76,129,.35);
}

/* Offcanvas mobile nav */
.offcanvas-header { background: var(--primary); color: #fff; }
.offcanvas-header .btn-close { filter: invert(1); }
.offcanvas .nav-link {
    font-weight: 500;
    color: var(--ink);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

/* ═══════════════════════════════════════════
   6. HOMEPAGE HERO
═══════════════════════════════════════════ */
.hero-home {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--accent) 100%);
    color: #fff;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-home::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    top: -200px; right: -150px;
    pointer-events: none;
}
.hero-home::after {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(212,160,23,.12);
    bottom: -150px; left: -100px;
    pointer-events: none;
}

.hero-home .container { position: relative; z-index: 1; }

.hero-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.hero-logo-icon {
    width: 72px; height: 72px;
    border-radius: 16px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    padding: 8px;
    object-fit: contain;
}
.hero-logo-word {
    height: 52px;
    background: rgba(255,255,255,.92);
    border-radius: 10px;
    padding: 6px 12px;
    object-fit: contain;
}

.hero-title-en {
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
}
.hero-title-ur {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    direction: rtl;
    display: block;
    margin: 0 0 20px;
    opacity: .92;
    line-height: 2;
}
.hero-sub {
    font-size: clamp(.95rem, 2.2vw, 1.1rem);
    opacity: .9;
    max-width: 560px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.trust-badge {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.30);
    color: #fff;
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(6px);
}

/* ═══════════════════════════════════════════
   7. STATS STRIP
═══════════════════════════════════════════ */
.stats-strip {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    box-shadow: var(--shadow-sm);
}
.stat-item {
    text-align: center;
    padding: 0 20px;
}
.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
    display: block;
    margin-top: 4px;
}
.stat-label-ur {
    font-family: 'Noto Nastaliq Urdu', serif;
    direction: rtl;
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 2;
}
.stat-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    min-height: 50px;
}

/* ═══════════════════════════════════════════
   8. COURSE CARDS
═══════════════════════════════════════════ */
.courses-section { background: var(--bg); }

.course-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px 24px;
    height: 100%;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15,76,129,.25);
}

.course-card-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(15,76,129,.12), rgba(15,118,110,.10));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.course-card-title-en {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
}
.course-card-title-ur {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 0.95rem;
    direction: rtl;
    display: block;
    color: var(--muted);
    line-height: 2;
    margin-bottom: 12px;
}
.course-card-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}
.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 8px;
}
.badge-duration {
    background: rgba(15,76,129,.10);
    color: var(--primary);
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-fee {
    background: rgba(212,160,23,.12);
    color: #7c5900;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}
.course-card-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    transition: gap .2s;
}
.course-card-link:hover { gap: 8px; color: var(--primary-dark); }

/* ═══════════════════════════════════════════
   9. FEATURES (WHY CHOOSE US)
═══════════════════════════════════════════ */
.features-section { background: var(--surface); }

.feature-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
    height: 100%;
    transition: box-shadow .2s;
}
.feature-box:hover { box-shadow: var(--shadow-sm); }

.feature-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    color: #fff;
}
.feature-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
}
.feature-text p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}
.feature-text .urdu {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 2;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════
   10. HOW TO ENROLL (STEPS)
═══════════════════════════════════════════ */
.process-section { background: var(--bg); }

.step-box {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.step-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 20px rgba(15,76,129,.30);
}
.step-box h4 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 8px;
}
.step-box p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}
.step-connector {
    position: absolute;
    top: 62px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: .3;
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   11. TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-section { background: var(--surface); }

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    height: 100%;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    opacity: .15;
    position: absolute;
    top: 10px; left: 18px;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}
.testimonial-text .urdu {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 8px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    display: block;
}
.testimonial-role {
    font-size: 0.8rem;
    color: var(--muted);
}
.stars { color: var(--gold); font-size: 0.85rem; }

/* ═══════════════════════════════════════════
   12. MAP SECTION
═══════════════════════════════════════════ */
.map-section { background: var(--bg); }

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.map-wrapper iframe { display: block; width: 100%; }

.address-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
    height: 100%;
}
.address-row {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.address-row:last-child { margin-bottom: 0; }
.address-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(15,76,129,.10);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.address-info strong { display: block; font-size: 0.88rem; color: var(--ink); }
.address-info span { font-size: 0.85rem; color: var(--muted); }
.address-info a { color: var(--primary); font-weight: 600; }

/* ═══════════════════════════════════════════
   13. FAQ
═══════════════════════════════════════════ */
.faq-section { background: var(--surface); }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--bg);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--ink);
    gap: 12px;
    user-select: none;
    transition: background .15s;
}
.faq-question:hover { background: rgba(15,76,129,.04); }
.faq-question .faq-icon {
    color: var(--primary);
    font-size: 1.1rem;
    transition: transform .25s;
    flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    display: none;
    padding: 4px 20px 18px;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer .urdu {
    font-size: 0.92rem;
    color: var(--muted);
    margin-top: 8px;
    line-height: 2;
}

/* ═══════════════════════════════════════════
   14. CTA BANNER
═══════════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
    color: #fff;
    text-align: center;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    top: -300px; right: -200px;
    pointer-events: none;
}
.cta-banner h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 10px;
}
.cta-banner p {
    font-size: 1.05rem;
    opacity: .88;
    margin-bottom: 30px;
}
.cta-banner .urdu {
    font-size: 1.1rem;
    opacity: .85;
    margin-bottom: 30px;
}

/* ═══════════════════════════════════════════
   15. BUTTONS
═══════════════════════════════════════════ */
.btn-jca {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}
.btn-jca:hover { transform: translateY(-2px); }

.btn-primary-jca {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(15,76,129,.35);
}
.btn-primary-jca:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 6px 20px rgba(15,76,129,.45);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.btn-whatsapp:hover {
    background: #1dab56;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
}

.btn-outline-light-jca {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,.50);
    box-shadow: none;
}
.btn-outline-light-jca:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
    box-shadow: none;
}

.btn-outline-primary-jca {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-primary-jca:hover {
    background: var(--primary);
    color: #fff;
}

.btn-sm-jca {
    padding: 9px 20px;
    font-size: 0.88rem;
}
.btn-lg-jca {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* WhatsApp floating button */
.wa-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 18px rgba(37,211,102,.50);
    z-index: 998;
    transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.60);
    color: #fff;
}
.wa-float-label {
    position: absolute;
    right: 66px;
    background: var(--ink);
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.wa-float:hover .wa-float-label { opacity: 1; }

/* ═══════════════════════════════════════════
   16. SITE FOOTER
═══════════════════════════════════════════ */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.78);
    padding: 60px 0 0;
}
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }

.footer-brand .logo-icon { width: 50px; height: 50px; }
.footer-brand .logo-word {
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: .85;
}
.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,.55);
    margin-top: 10px;
    max-width: 260px;
    line-height: 1.6;
}
.footer-tagline .urdu {
    font-size: 0.9rem;
    line-height: 2;
    margin-top: 4px;
    color: rgba(255,255,255,.45);
}

.footer-heading {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,.10);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: #fff; }
.footer-links a::before { content: '›'; color: var(--gold); font-size: 1rem; }

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.footer-contact-item .icon {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
}
.footer-contact-item span, .footer-contact-item a {
    font-size: 0.87rem;
    color: rgba(255,255,255,.70);
    line-height: 1.5;
}

.footer-map {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 14px;
    border: 1px solid rgba(255,255,255,.12);
}
.footer-map iframe { display: block; width: 100%; height: 160px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,.10);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: background .2s;
    border: 1px solid rgba(255,255,255,.15);
}
.social-icon:hover { background: var(--primary); color: #fff; }

.footer-bottom {
    background: rgba(0,0,0,.20);
    padding: 18px 0;
    margin-top: 40px;
    font-size: 0.82rem;
    color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.60); }
.footer-bottom a:hover { color: #fff; }

/* ═══════════════════════════════════════════
   17. INNER PAGE HERO
═══════════════════════════════════════════ */
.inner-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 55px 0 50px;
    position: relative;
    overflow: hidden;
}
.inner-hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    top: -150px; right: -100px;
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin: 0 0 8px;
}
.inner-hero .sub { opacity: .85; font-size: 1rem; margin: 0; }
.inner-hero .urdu {
    font-size: clamp(.95rem, 2.5vw, 1.3rem);
    line-height: 2;
    opacity: .85;
    margin: 4px 0 0;
}

/* ═══════════════════════════════════════════
   18. BREADCRUMB
═══════════════════════════════════════════ */
.jca-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 0.84rem;
}
.jca-breadcrumb a { color: rgba(255,255,255,.75); }
.jca-breadcrumb a:hover { color: #fff; }
.jca-breadcrumb .sep { color: rgba(255,255,255,.40); }
.jca-breadcrumb .current { color: rgba(255,255,255,.95); font-weight: 600; }

/* ═══════════════════════════════════════════
   19. COURSE DETAIL PAGE
═══════════════════════════════════════════ */
.course-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}
.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.skills-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.93rem;
    color: var(--ink);
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    border: 1px solid var(--border);
}
.skills-list li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.careers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.careers-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
    color: var(--ink);
}
.careers-list li:last-child { border-bottom: none; }
.careers-list li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.info-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px;
    position: sticky;
    top: 90px;
}
.info-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.info-row:last-of-type { border-bottom: none; }
.info-row .label { color: var(--muted); }
.info-row .value { font-weight: 600; color: var(--ink); }
.info-card .btn-jca { width: 100%; justify-content: center; margin-top: 16px; }

/* Certificate section */
.cert-box {
    background: linear-gradient(135deg, #fef9ec, #fef3c7);
    border: 2px solid var(--gold-light);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}
.cert-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.cert-box h4 { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.cert-box p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Related courses */
.related-course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: box-shadow .2s, border-color .2s;
    text-decoration: none;
    color: var(--ink);
}
.related-course-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(15,76,129,.25);
    color: var(--ink);
}
.related-course-card .icon { font-size: 1.4rem; }
.related-course-card .name { font-weight: 600; font-size: 0.9rem; }
.related-course-card .arrow { margin-left: auto; color: var(--muted); font-size: 0.8rem; }

/* ═══════════════════════════════════════════
   20. CONTACT PAGE
═══════════════════════════════════════════ */
.contact-info-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
    height: 100%;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(15,76,129,.10);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-info-item h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
}
.contact-info-item p, .contact-info-item a {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.contact-form-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px;
}
.contact-form-card label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.contact-form-card .form-control {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.93rem;
    padding: 11px 14px;
}
.contact-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15,76,129,.12);
}

/* ═══════════════════════════════════════════
   21. ABOUT PAGE
═══════════════════════════════════════════ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 10px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-dot {
    position: absolute;
    left: -26px; top: 4px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 2px var(--primary);
}
.timeline-date { font-size: 0.82rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.timeline-text h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.timeline-text p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ═══════════════════════════════════════════
   22. 404 PAGE
═══════════════════════════════════════════ */
.page-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.page-404 .big-number {
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    display: block;
}
.page-404 h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.page-404 p { color: var(--muted); max-width: 420px; margin: 0 auto 24px; }

/* ═══════════════════════════════════════════
   23. RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 991px) {
    .section { padding: 55px 0; }
    .hero-home { padding: 50px 0 45px; }
    .stat-divider { display: none; }
    .stats-strip .row > div { border-bottom: 1px solid var(--border); padding: 16px 0; }
    .stats-strip .row > div:last-child { border-bottom: none; }
    .step-connector { display: none; }
    .info-card { position: static; margin-top: 30px; }
    .skills-list { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .section { padding: 44px 0; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .hero-ctas .btn-jca { width: 100%; justify-content: center; }
    .hero-trust-badges { gap: 7px; }
    .trust-badge { font-size: 0.76rem; padding: 4px 10px; }
    .announcement-bar { font-size: 0.80rem; }
    .cta-banner { padding: 50px 16px; }
    .cta-banner h2 { font-size: 1.4rem; }
    .footer-map iframe { height: 130px; }
}

@media (max-width: 575px) {
    .hero-logo-icon { width: 54px; height: 54px; }
    .hero-logo-word { height: 38px; }
    .course-card { padding: 20px 18px; }
    .course-card-footer { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════
   24. UTILITIES
═══════════════════════════════════════════ */
.text-primary-jca { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted-jca { color: var(--muted) !important; }
.bg-primary-jca { background: var(--primary) !important; }
.bg-surface { background: var(--surface) !important; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.section-divider { height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); border: none; margin: 0; }
.tag-pill {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(15,76,129,.10);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 997;
    cursor: pointer;
    border: none;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
