/* =================================================================
 HARTRON SKILL CENTRE — Design System
 Editorial-trust aesthetic. Govt-undertaking meets modern web.
 ================================================================= */

/* ---------- CSS Variables ---------- */
:root {
 /* Brand colors — pulled from brochure */
 --color-primary: #1A4DA5;
 --color-primary-dark: #0F2D63;
 --color-primary-light: #3B6FD0;
 --color-accent: #A6224B;
 --color-accent-dark: #831836;
 --color-accent-light: #C73A65;
 --color-whatsapp: #25D366;
 --color-whatsapp-dark: #128C7E;

 /* Surfaces */
 --color-cream: #FFFFFF;
 --color-cream-warm: #F7F8FA;
 --color-white: #FFFFFF;
 --color-bg-subtle: #F1F5F9;
 --color-section-tint: #F9FAFB;

 /* Text */
 --color-text: #0F172A;
 --color-text-muted: #475569;
 --color-text-soft: #64748B;
 --color-text-inverse: #FAF7F0;

 /* Lines */
 --color-border: #E2E8F0;
 --color-border-strong: #CBD5E1;

 /* Typography */
 --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
 --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
 --font-hindi: 'Hind', 'Noto Sans Devanagari', sans-serif;

 /* Spacing — 4px base */
 --space-1: 4px;
 --space-2: 8px;
 --space-3: 12px;
 --space-4: 16px;
 --space-5: 20px;
 --space-6: 24px;
 --space-8: 32px;
 --space-10: 40px;
 --space-12: 48px;
 --space-16: 64px;
 --space-20: 80px;
 --space-24: 96px;
 --space-32: 128px;

 /* Layout */
 --max-width: 1200px;
 --max-width-narrow: 880px;

 /* Effects */
 --radius-sm: 6px;
 --radius-md: 10px;
 --radius-lg: 16px;
 --radius-pill: 999px;
 --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
 --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
 --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08), 0 4px 8px rgba(15, 23, 42, 0.04);
 --shadow-blue: 0 12px 32px rgba(26, 77, 165, 0.18);

 --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
 scroll-behavior: smooth;
 -webkit-text-size-adjust: 100%;
}

body {
 font-family: var(--font-body);
 font-size: 16px;
 line-height: 1.7;
 font-weight: 400;
 color: #333;
 background: var(--color-cream);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
.display {
 font-family: var(--font-display);
 font-weight: 700;
 letter-spacing: -0.02em;
 line-height: 1.15;
}

h1, .h1 {
 font-family: var(--font-display);
 font-weight: 700;
 font-size: clamp(2.25rem, 5vw, 3.75rem);
 line-height: 1.15;
 letter-spacing: -0.02em;
 color: var(--color-text);
}

h2, .h2 {
 font-family: var(--font-display);
 font-weight: 700;
 font-size: clamp(1.75rem, 3.5vw, 2.125rem); /* ~34px max as per spec */
 line-height: 1.25;
 letter-spacing: -0.015em;
 color: #A6224B;
}

h3, .h3 {
 font-family: var(--font-display);
 font-weight: 600;
 font-size: clamp(1.375rem, 2.2vw, 1.75rem);
 line-height: 1.3;
 letter-spacing: -0.01em;
 color: var(--color-text);
}

h4 {
 font-family: var(--font-display);
 font-weight: 600;
 font-size: 1.125rem;
 line-height: 1.35;
 letter-spacing: -0.005em;
 color: var(--color-text);
}

.hindi {
 font-family: var(--font-hindi);
 font-weight: 500;
}

.eyebrow {
 font-family: var(--font-body);
 font-size: 0.75rem;
 font-weight: 600;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: var(--color-accent);
}

.lede {
 font-size: clamp(1.0625rem, 1.5vw, 1.225rem);
 line-height: 1.6;
 color: var(--color-text-muted);
 max-width: 60ch;
 font-weight: 400;
}

/* ---------- Layout ---------- */
.container {
 width: 100%;
 max-width: var(--max-width);
 margin-inline: auto;
 padding-inline: clamp(20px, 4vw, 40px);
}

.container-narrow {
 max-width: var(--max-width-narrow);
 margin-inline: auto;
 padding-inline: clamp(20px, 4vw, 40px);
}

section {
 padding-block: clamp(60px, 8vw, 120px);
 position: relative;
}

.section-tight { padding-block: clamp(40px, 5vw, 80px); }

/* ---------- Header (two-row: contact bar + nav) ---------- */
.site-header {
 position: sticky;
 top: 0;
 z-index: 100;
 background: rgba(255, 255, 255, 0.96);
 backdrop-filter: saturate(180%) blur(12px);
 -webkit-backdrop-filter: saturate(180%) blur(12px);
 border-bottom: 1px solid var(--color-border);
}

/* Top row: logo + contact info */
.header-top {
 border-bottom: 1px solid var(--color-border);
}

.header-top-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 padding-block: 14px;
 flex-wrap: nowrap;
 min-width: 0;
}

.brand {
 display: flex;
 align-items: center;
 gap: 14px;
 font-family: var(--font-display);
 color: var(--color-primary-dark);
 flex-shrink: 0;
 min-width: 0;
}

.brand-logo {
 height: 80px;
 width: auto;
 display: block;
 object-fit: contain;
}

.brand-logo-parent {
 height: 62px;
 width: auto;
 display: block;
 object-fit: contain;
 opacity: 0.9;
}

.brand-divider {
 display: inline-block;
 width: 1px;
 height: 50px;
 background: var(--color-border-strong);
 flex-shrink: 0;
}

@media (max-width: 768px) {
 .brand { gap: 10px; }
 .brand-logo { height: 60px; }
 .brand-logo-parent { height: 46px; }
 .brand-divider { height: 36px; }
}

@media (max-width: 480px) {
 .brand-logo { height: 48px; }
 .brand-logo-parent { display: none; }
 .brand-divider { display: none; }
}

.brand-text { display: none; }

.header-contact {
 display: flex;
 align-items: center;
 gap: 8px;
 flex-shrink: 0;
}

.header-contact-item {
 display: flex;
 align-items: center;
 gap: 12px;
 padding: 8px 14px;
 border-radius: var(--radius-md);
 transition: var(--transition);
 min-height: 52px;
}

.header-contact-item:hover {
 background: rgba(26, 77, 165, 0.05);
}

.header-contact-icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 38px;
 height: 38px;
 border-radius: 50%;
 background: rgba(26, 77, 165, 0.08);
 color: var(--color-primary);
 flex-shrink: 0;
}

.header-contact-icon svg { width: 18px; height: 18px; }

.header-contact-text { display: flex; flex-direction: column; line-height: 1.2; gap: 1px; }
.header-contact-text small {
 font-size: 0.68rem;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--color-text-soft);
}
.header-contact-text strong {
 font-size: 0.92rem;
 font-weight: 600;
 color: var(--color-text);
 white-space: nowrap;
}

/* WhatsApp button in header */
.header-contact .btn-whatsapp {
 padding: 11px 18px;
 font-size: 0.88rem;
 min-height: 52px;
 align-self: center;
 margin-left: 4px;
}

/* Progressive hide on smaller screens — Location stays prioritized */
@media (max-width: 1200px) {
 .header-contact-item.hide-md { display: none; }
}
@media (max-width: 1000px) {
 .header-contact-text strong { font-size: 0.85rem; }
}
@media (max-width: 900px) {
 .header-contact .btn-whatsapp { padding: 9px 14px; font-size: 0.82rem; }
 .header-contact-item.hide-sm { display: none; }
 .header-contact-item { padding: 6px 8px; gap: 8px; min-height: 40px; }
 .header-contact-icon { width: 30px; height: 30px; }
 .header-contact-icon svg { width: 15px; height: 15px; }
 .header-contact-text small { font-size: 0.6rem; letter-spacing: 0.06em; }
 .header-contact-text strong { font-size: 0.78rem; }
}
@media (max-width: 700px) {
 .header-contact .btn-whatsapp { display: none; }
}
@media (max-width: 540px) {
 .header-contact-text small { display: none; }
 .header-contact-text strong { font-size: 0.72rem; }
}
@media (max-width: 420px) {
 .header-contact-item .header-contact-icon { width: 26px; height: 26px; }
 .header-contact-text strong { font-size: 0.68rem; }
}

/* Bottom row: nav */
.header-nav-row {
 background: var(--color-section-tint);
}

.header-nav-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding-block: 4px;
}

.nav-primary {
 display: flex;
 align-items: center;
 gap: 4px;
 flex-wrap: wrap;
}

.nav-primary a {
 padding: 12px 18px;
 font-size: 0.94rem;
 font-weight: 500;
 color: var(--color-text-muted);
 border-radius: 0;
 border-bottom: 3px solid transparent;
 transition: var(--transition);
}

.nav-primary a:hover {
 color: var(--color-primary);
 background: rgba(26, 77, 165, 0.05);
}

.nav-primary a.active {
 color: var(--color-primary-dark);
 font-weight: 600;
 border-bottom-color: var(--color-accent);
}

.nav-cta {
 margin-left: 12px;
 border-bottom: none !important;
 border-radius: 999px !important;
 padding: 10px 22px !important;
 font-size: 0.82rem !important;
 font-weight: 600 !important;
 letter-spacing: 0.06em;
 text-transform: uppercase;
}

.mobile-toggle {
 display: none;
 width: 44px;
 height: 44px;
 align-items: center;
 justify-content: center;
 border-radius: var(--radius-md);
 color: var(--color-primary-dark);
}

.mobile-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
 .header-nav-row {
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.3s ease;
 background: var(--color-white);
 border-top: 1px solid var(--color-border);
 }
 .header-nav-row.is-open {
 max-height: 500px;
 }
 .header-nav-row .nav-primary {
 flex-direction: column;
 align-items: stretch;
 padding: 8px;
 gap: 0;
 }
 .header-nav-row .nav-primary a {
 padding: 14px 16px;
 border-bottom: 1px solid var(--color-border);
 border-left: 3px solid transparent;
 border-radius: 0;
 }
 .header-nav-row .nav-primary a:last-child { border-bottom: none; }
 .header-nav-row .nav-primary a.active { border-left-color: var(--color-accent); }
 .header-nav-row .nav-primary .btn {
 justify-content: center;
 margin-top: 12px;
 border-left: none !important;
 border-bottom: none !important;
 }
 .mobile-toggle { display: inline-flex; }
 .header-top-inner { padding-block: 8px; }
}

/* ---------- Buttons ---------- */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 14px 24px;
 font-family: var(--font-body);
 font-weight: 600;
 font-size: 0.95rem;
 letter-spacing: -0.005em;
 border-radius: var(--radius-md);
 transition: var(--transition);
 white-space: nowrap;
 cursor: pointer;
}

.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }

.btn-primary {
 background: var(--color-primary);
 color: var(--color-white);
 box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }

.btn-accent {
 background: #E63946;
 color: #FFFFFF;
 font-weight: 600;
 letter-spacing: 0.02em;
 box-shadow: 0 4px 12px rgba(230, 57, 70, 0.28);
}
.btn-accent:hover {
 background: #C8313D;
 transform: translateY(-1px);
 box-shadow: 0 6px 18px rgba(230, 57, 70, 0.38);
}

.btn-whatsapp {
 background: var(--color-whatsapp);
 color: var(--color-white);
}
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); transform: translateY(-1px); }

.btn-outline {
 background: transparent;
 color: var(--color-primary-dark);
 border: 1.5px solid var(--color-border-strong);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(26, 77, 165, 0.04); }

.btn-ghost {
 background: transparent;
 color: var(--color-primary);
}
.btn-ghost:hover { background: rgba(26, 77, 165, 0.06); }

.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
 position: relative;
 overflow: hidden;
 padding-block: clamp(80px, 10vw, 140px);
 background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-warm) 100%);
}

/* Tech-pattern background image, 10% visibility — pure texture */
.hero-bg-image {
 position: absolute;
 inset: 0;
 background-image: url('../images/hero-bg.png?v=20260516');
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
 opacity: 0.10;
 pointer-events: none;
 z-index: 0;
}

.hero::before {
 content: "";
 position: absolute;
 top: -200px;
 right: -150px;
 width: 600px;
 height: 600px;
 background: radial-gradient(circle, rgba(26, 77, 165, 0.08) 0%, transparent 70%);
 border-radius: 50%;
 pointer-events: none;
}

.hero::after {
 content: "";
 position: absolute;
 bottom: -150px;
 left: -100px;
 width: 400px;
 height: 400px;
 background: radial-gradient(circle, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
 border-radius: 50%;
 pointer-events: none;
}

.hero-grid {
 display: grid;
 grid-template-columns: 1.1fr 0.9fr;
 gap: clamp(40px, 6vw, 80px);
 align-items: center;
 position: relative;
 z-index: 1;
}

@media (max-width: 900px) {
 .hero-grid { grid-template-columns: 1fr; }
}

.hero-content { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-badge {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 6px 14px;
 background: rgba(220, 38, 38, 0.08);
 color: var(--color-accent);
 border: 1px solid rgba(220, 38, 38, 0.2);
 border-radius: var(--radius-pill);
 font-size: 0.8rem;
 font-weight: 600;
 letter-spacing: 0.04em;
 margin-bottom: 24px;
}
.hero-badge::before {
 content: "";
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: var(--color-accent);
 animation: pulse 2s ease-in-out infinite;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 em {
 font-style: italic;
 color: var(--color-primary);
}

.hero-hindi {
 display: block;
 font-family: var(--font-hindi);
 font-weight: 500;
 font-size: clamp(1.25rem, 2vw, 1.625rem);
 color: var(--color-primary-dark);
 margin-top: 12px;
 line-height: 1.4;
}

.hero-lede { margin-top: 24px; }

.hero-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
 margin-top: 36px;
}

.hero-meta {
 display: flex;
 flex-wrap: wrap;
 gap: clamp(20px, 3vw, 40px);
 margin-top: 48px;
 padding-top: 32px;
 border-top: 1px solid var(--color-border);
}

.hero-meta-item small {
 display: block;
 font-size: 0.75rem;
 font-weight: 600;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--color-text-soft);
 margin-bottom: 4px;
}

.hero-meta-item strong {
 display: block;
 font-family: var(--font-display);
 font-weight: 500;
 font-size: 1.875rem;
 color: var(--color-primary-dark);
 letter-spacing: -0.02em;
}

.hero-visual {
 position: relative;
 animation: fadeUp 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-card {
 position: relative;
 background: var(--color-white);
 border-radius: var(--radius-lg);
 padding: 32px;
 box-shadow: var(--shadow-lg);
 border: 1px solid var(--color-border);
}

.hero-card-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding-bottom: 20px;
 margin-bottom: 20px;
 border-bottom: 1px solid var(--color-border);
}

.hero-card-title {
 font-family: var(--font-display);
 font-weight: 600;
 font-size: 1.25rem;
 color: var(--color-primary-dark);
}

.hero-card-tag {
 font-size: 0.7rem;
 font-weight: 700;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--color-accent);
 padding: 4px 10px;
 background: rgba(220, 38, 38, 0.08);
 border-radius: var(--radius-pill);
}

.hero-card ul { display: flex; flex-direction: column; gap: 12px; }
.hero-card li {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 font-size: 0.95rem;
 color: var(--color-text-muted);
}

.hero-card li svg { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }

.hero-decoration {
 position: absolute;
 top: -24px;
 right: -24px;
 background: var(--color-accent);
 color: var(--color-white);
 padding: 16px 20px;
 border-radius: var(--radius-md);
 font-family: var(--font-display);
 font-weight: 600;
 font-size: 1.1rem;
 letter-spacing: -0.01em;
 line-height: 1.2;
 box-shadow: 0 12px 24px rgba(220, 38, 38, 0.25);
 transform: rotate(3deg);
 z-index: 2;
}

.hero-decoration small {
 display: block;
 font-family: var(--font-body);
 font-weight: 500;
 font-size: 0.7rem;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 opacity: 0.85;
 margin-top: 4px;
}

/* ---------- Section header ---------- */
.section-header {
 text-align: center;
 max-width: 720px;
 margin: 0 auto clamp(48px, 6vw, 72px);
}

.section-header .eyebrow { display: block; margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header h2 em { font-style: italic; color: var(--color-primary); }
.section-header p { font-size: 1.1rem; color: var(--color-text-muted); max-width: 56ch; margin-inline: auto; }

/* ---------- Features grid ---------- */
.features {
 background: var(--color-section-tint);
 border-block: 1px solid var(--color-border);
}

.features-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
 gap: clamp(20px, 3vw, 40px);
}

.feature {
 padding: 28px;
 background: var(--color-cream);
 border-radius: var(--radius-lg);
 border: 1px solid var(--color-border);
 transition: var(--transition);
 position: relative;
 overflow: hidden;
}

.feature:hover {
 transform: translateY(-4px);
 border-color: var(--color-primary-light);
 box-shadow: var(--shadow-md);
}

.feature-icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 48px;
 height: 48px;
 background: var(--color-primary);
 color: var(--color-white);
 border-radius: var(--radius-md);
 margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature h4 { margin-bottom: 8px; color: var(--color-primary-dark); }
.feature p { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.55; }

/* ---------- Course cards ---------- */
.courses-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
 gap: 24px;
}

.course-card {
 position: relative;
 display: flex;
 flex-direction: column;
 background: var(--color-white);
 border: 1px solid var(--color-border);
 border-radius: var(--radius-lg);
 padding: 28px;
 transition: var(--transition);
 overflow: hidden;
}

.course-card::before {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 width: 4px;
 height: 100%;
 background: var(--color-primary);
 transform: scaleY(0);
 transform-origin: top;
 transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover {
 transform: translateY(-4px);
 box-shadow: var(--shadow-lg);
 border-color: var(--color-primary-light);
}

.course-card:hover::before { transform: scaleY(1); }

.course-card-featured { 
 border-color: var(--color-primary-light); 
 background: linear-gradient(180deg, var(--color-white) 0%, rgba(26, 77, 165, 0.03) 100%);
 box-shadow: 0 4px 12px rgba(26, 77, 165, 0.06);
}
.course-card-featured::before { transform: scaleY(1); background: var(--color-accent); width: 6px; }

/* Flagship ribbon badge — sits at top-right corner */
.course-card-featured::after {
 content: "★ FLAGSHIP";
 position: absolute;
 top: 14px;
 right: -38px;
 transform: rotate(35deg);
 background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
 color: #FFFFFF;
 font-family: var(--font-body);
 font-size: 0.62rem;
 font-weight: 800;
 letter-spacing: 0.12em;
 padding: 4px 40px;
 box-shadow: 0 2px 6px rgba(166, 34, 75, 0.3);
 z-index: 3;
 text-shadow: 0 1px 1px rgba(0,0,0,0.15);
 pointer-events: none;
}

/* When the featured card has a banner image at top, anchor badge differently */
.course-card-banner-wrap.course-card-featured::after {
 top: 22px;
 right: -36px;
}

.course-card-head {
 display: flex;
 align-items: flex-start;
 justify-content: space-between;
 gap: 16px;
 margin-bottom: 16px;
}

.course-code {
 display: inline-block;
 font-family: var(--font-body);
 font-weight: 700;
 font-size: 0.7rem;
 letter-spacing: 0.16em;
 color: var(--color-primary);
 padding: 4px 10px;
 background: rgba(26, 77, 165, 0.08);
 border-radius: var(--radius-pill);
}

.course-card-featured .course-code {
 background: var(--color-accent);
 color: var(--color-white);
}

.course-category {
 font-size: 0.7rem;
 font-weight: 600;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--color-text-soft);
}

.course-name {
 font-family: var(--font-display);
 font-weight: 500;
 font-size: 1.375rem;
 line-height: 1.2;
 letter-spacing: -0.015em;
 color: var(--color-text);
 margin-bottom: 8px;
}

.course-tagline {
 font-size: 0.95rem;
 color: var(--color-text-muted);
 line-height: 1.5;
 margin-bottom: 20px;
}

.course-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
 padding-top: 16px;
 margin-top: auto;
 border-top: 1px solid var(--color-border);
}

.course-meta-item {
 display: flex;
 align-items: center;
 gap: 6px;
 font-size: 0.85rem;
 color: var(--color-text-muted);
}

.course-meta-item svg { width: 14px; height: 14px; color: var(--color-primary); }

.course-card-link {
 display: flex;
 align-items: center;
 gap: 6px;
 margin-top: 16px;
 color: var(--color-primary);
 font-size: 0.9rem;
 font-weight: 600;
}

.course-card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.course-card:hover .course-card-link svg { transform: translateX(4px); }

/* ---------- Course Detail Page ---------- */
.course-detail-hero {
 background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
 color: var(--color-white);
 padding-block: clamp(60px, 8vw, 100px);
 position: relative;
 overflow: hidden;
}

.course-detail-hero::before {
 content: "";
 position: absolute;
 top: -200px;
 right: -200px;
 width: 500px;
 height: 500px;
 background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
 pointer-events: none;
}

.course-detail-hero .course-code {
 background: rgba(255, 255, 255, 0.15);
 color: var(--color-white);
 margin-bottom: 20px;
}

.course-detail-hero h1 { color: var(--color-white); margin-bottom: 16px; }
.course-detail-hero h1 em { color: rgba(255, 255, 255, 0.85); font-style: italic; }
.course-detail-hero p.lede { color: rgba(255, 255, 255, 0.85); max-width: 60ch; }

.course-detail-meta {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
 gap: 16px;
 margin-top: 40px;
 padding-top: 32px;
 border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.course-detail-meta-item small {
 display: block;
 font-size: 0.7rem;
 font-weight: 600;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: rgba(255, 255, 255, 0.65);
 margin-bottom: 6px;
}

.course-detail-meta-item strong {
 display: block;
 font-family: var(--font-display);
 font-weight: 500;
 font-size: 1.5rem;
 color: var(--color-white);
 letter-spacing: -0.015em;
}

.course-detail-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.course-body {
 display: grid;
 grid-template-columns: 1.8fr 1fr;
 gap: 60px;
 align-items: start;
}

@media (max-width: 900px) { .course-body { grid-template-columns: 1fr; gap: 32px; } }

.course-body-main h3 {
 margin-bottom: 24px;
 padding-bottom: 16px;
 border-bottom: 2px solid var(--color-primary);
 display: inline-block;
}

.curriculum-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
 gap: 12px;
 margin-bottom: 56px;
}

.curriculum-item {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 padding: 16px;
 background: var(--color-white);
 border: 1px solid var(--color-border);
 border-radius: var(--radius-md);
 font-size: 0.95rem;
 line-height: 1.4;
 transition: var(--transition);
}

.curriculum-item:hover { border-color: var(--color-primary-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.curriculum-number {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 width: 24px;
 height: 24px;
 background: var(--color-primary);
 color: var(--color-white);
 border-radius: 50%;
 font-size: 0.7rem;
 font-weight: 700;
 font-family: var(--font-body);
}

.outcomes-list { display: flex; flex-direction: column; gap: 14px; }
.outcomes-list li {
 display: flex;
 align-items: flex-start;
 gap: 12px;
 font-size: 1rem;
 color: var(--color-text-muted);
 line-height: 1.5;
}

.outcomes-list li::before {
 content: "→";
 color: var(--color-accent);
 font-weight: 700;
 flex-shrink: 0;
}

.course-sidebar {
 position: sticky;
 top: 100px;
 padding: 28px;
 background: var(--color-white);
 border: 1px solid var(--color-border);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) { .course-sidebar { position: static; } }

.course-sidebar h4 { margin-bottom: 16px; color: var(--color-primary-dark); }
.course-sidebar p { font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 24px; line-height: 1.55; }

.batch-list { margin-bottom: 24px; }
.batch-list li {
 padding: 10px 0;
 font-size: 0.9rem;
 color: var(--color-text);
 border-bottom: 1px dashed var(--color-border);
}
.batch-list li:last-child { border-bottom: none; }

.sidebar-cta { display: flex; flex-direction: column; gap: 10px; }

/* ---------- About / Story Section ---------- */
.story-grid {
 display: grid;
 grid-template-columns: 1fr 1.3fr;
 gap: clamp(40px, 6vw, 80px);
 align-items: center;
}

@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

.story-image {
 position: relative;
 border-radius: var(--radius-lg);
 overflow: hidden;
 background: var(--color-bg-subtle);
 aspect-ratio: 4/5;
}

.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-image-placeholder {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 100%;
 height: 100%;
 background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
 color: var(--color-white);
 text-align: center;
 padding: 40px;
 font-family: var(--font-display);
 font-size: 1.5rem;
 line-height: 1.3;
}

.story-content .eyebrow { display: block; margin-bottom: 16px; }
.story-content h2 { margin-bottom: 24px; }
.story-content h2 em { font-style: italic; color: var(--color-primary); }
.story-content > p { margin-bottom: 16px; color: var(--color-text-muted); }

.story-signature { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.story-signature strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--color-primary-dark); font-weight: 600; }
.story-signature small { color: var(--color-text-soft); font-size: 0.875rem; letter-spacing: 0.04em; }

/* ---------- Stats / Numbers ---------- */
.stats {
 background: var(--color-primary-dark);
 color: var(--color-white);
 position: relative;
 overflow: hidden;
}

.stats::before {
 content: "";
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 1200px;
 height: 1200px;
 background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
 pointer-events: none;
}

.stats-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: clamp(20px, 4vw, 60px);
 position: relative;
}

.stat { text-align: center; }
.stat-number {
 display: block;
 font-family: var(--font-display);
 font-weight: 500;
 font-size: clamp(3rem, 6vw, 4.5rem);
 line-height: 1;
 color: var(--color-white);
 letter-spacing: -0.03em;
 margin-bottom: 8px;
}

.stat-number em { font-style: italic; color: var(--color-accent); }

.stat-label {
 display: block;
 font-size: 0.85rem;
 font-weight: 500;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: rgba(255, 255, 255, 0.7);
}

/* ---------- Contact / Form ---------- */
.contact-grid {
 display: grid;
 grid-template-columns: 1fr 1.2fr;
 gap: clamp(40px, 6vw, 80px);
 align-items: start;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-info-item {
 display: flex;
 gap: 16px;
 padding: 20px;
 background: var(--color-white);
 border: 1px solid var(--color-border);
 border-radius: var(--radius-md);
}

.contact-info-icon {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 width: 44px;
 height: 44px;
 border-radius: var(--radius-md);
 background: rgba(26, 77, 165, 0.08);
 color: var(--color-primary);
}

.contact-info-icon svg { width: 22px; height: 22px; }

.contact-info-text small {
 display: block;
 font-size: 0.7rem;
 font-weight: 700;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--color-text-soft);
 margin-bottom: 4px;
}

.contact-info-text strong { display: block; font-size: 1rem; color: var(--color-text); margin-bottom: 2px; }
.contact-info-text a { display: block; font-size: 0.95rem; color: var(--color-primary); margin-top: 2px; }

.enquiry-form {
 padding: clamp(28px, 4vw, 40px);
 background: var(--color-white);
 border: 1px solid var(--color-border);
 border-radius: var(--radius-lg);
 box-shadow: var(--shadow-md);
}

.enquiry-form h3 { margin-bottom: 8px; }
.enquiry-form > p { color: var(--color-text-muted); margin-bottom: 28px; font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-label {
 display: block;
 font-size: 0.85rem;
 font-weight: 600;
 color: var(--color-text);
 margin-bottom: 6px;
 letter-spacing: -0.005em;
}

.form-input, .form-select, .form-textarea {
 width: 100%;
 padding: 12px 16px;
 font-size: 0.95rem;
 color: var(--color-text);
 background: var(--color-cream);
 border: 1.5px solid var(--color-border);
 border-radius: var(--radius-md);
 transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
 outline: none;
 border-color: var(--color-primary);
 background: var(--color-white);
 box-shadow: 0 0 0 4px rgba(26, 77, 165, 0.08);
}

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

.form-submit { width: 100%; margin-top: 8px; }

.form-disclaimer {
 font-size: 0.8rem;
 color: var(--color-text-soft);
 margin-top: 16px;
 text-align: center;
 line-height: 1.5;
}

.form-disclaimer .hindi { color: var(--color-primary); }

/* ---------- Map ---------- */
.map-wrap {
 margin-top: 32px;
 border-radius: var(--radius-lg);
 overflow: hidden;
 border: 1px solid var(--color-border);
 height: 320px;
 background: var(--color-bg-subtle);
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
 background: var(--color-primary-dark);
 color: rgba(255, 255, 255, 0.8);
 padding-block: clamp(48px, 6vw, 72px) 24px;
}

.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
 gap: 40px;
 margin-bottom: 48px;
}

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand { color: var(--color-white); }
.footer-brand .brand-text strong { color: var(--color-white); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-col h5 {
 font-family: var(--font-display);
 font-weight: 600;
 font-size: 1rem;
 color: var(--color-white);
 margin-bottom: 16px;
 letter-spacing: -0.01em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--color-white); }

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

.footer-recognition {
 display: flex;
 gap: 16px;
 flex-wrap: wrap;
}

.footer-recognition span {
 padding: 6px 12px;
 background: rgba(255, 255, 255, 0.08);
 border-radius: var(--radius-pill);
 font-size: 0.75rem;
 font-weight: 600;
 letter-spacing: 0.04em;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
 position: fixed;
 right: 24px;
 bottom: 24px;
 width: 60px;
 height: 60px;
 background: var(--color-whatsapp);
 color: var(--color-white);
 border-radius: 50%;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
 z-index: 50;
 transition: var(--transition);
 animation: floatPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-float-tooltip {
 position: absolute;
 right: calc(100% + 12px);
 top: 50%;
 transform: translateY(-50%);
 background: var(--color-text);
 color: var(--color-white);
 padding: 8px 12px;
 border-radius: var(--radius-md);
 font-size: 0.85rem;
 font-weight: 500;
 white-space: nowrap;
 opacity: 0;
 pointer-events: none;
 transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float-tooltip { opacity: 1; transform: translateY(-50%) translateX(-4px); }

/* ---------- Gallery ---------- */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
 gap: 16px;
 grid-auto-flow: dense;
}

.gallery-item {
 position: relative;
 border-radius: var(--radius-lg);
 overflow: hidden;
 background: var(--color-bg-subtle);
 aspect-ratio: 4/3;
 transition: var(--transition);
}

.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item.tall { aspect-ratio: 3/4; grid-row: span 2; }

.gallery-placeholder {
 width: 100%;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-family: var(--font-display);
 font-weight: 500;
 font-size: 1.5rem;
 color: rgba(255, 255, 255, 0.9);
 text-align: center;
 padding: 24px;
}

.gallery-placeholder-1 { background: linear-gradient(135deg, #1A4DA5 0%, #0F2D63 100%); }
.gallery-placeholder-2 { background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%); }
.gallery-placeholder-3 { background: linear-gradient(135deg, #3B6FD0 0%, #1A4DA5 100%); }
.gallery-placeholder-4 { background: linear-gradient(135deg, #0F2D63 0%, #1A4DA5 100%); }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
 background: linear-gradient(180deg, var(--color-cream-warm) 0%, var(--color-cream) 100%);
 padding-block: clamp(60px, 8vw, 100px) clamp(40px, 5vw, 60px);
 position: relative;
 overflow: hidden;
}

.page-hero::after {
 content: "";
 position: absolute;
 top: -100px;
 right: -100px;
 width: 400px;
 height: 400px;
 background: radial-gradient(circle, rgba(26, 77, 165, 0.06) 0%, transparent 70%);
 pointer-events: none;
}

.page-hero-content { position: relative; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 20px; }

.breadcrumbs {
 display: flex;
 align-items: center;
 gap: 8px;
 font-size: 0.85rem;
 color: var(--color-text-soft);
 margin-bottom: 24px;
}

.breadcrumbs a { color: var(--color-text-muted); transition: var(--transition); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span { color: var(--color-text); font-weight: 500; }
.breadcrumbs svg { width: 14px; height: 14px; opacity: 0.5; }

/* ---------- Filter Bar ---------- */
.filter-bar {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin-bottom: 32px;
}

.filter-chip {
 padding: 8px 16px;
 font-size: 0.85rem;
 font-weight: 600;
 color: var(--color-text-muted);
 background: var(--color-white);
 border: 1px solid var(--color-border);
 border-radius: var(--radius-pill);
 transition: var(--transition);
}

.filter-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-chip.active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ---------- Utilities ---------- */
.bg-cream { background: var(--color-cream); }
.bg-white { background: var(--color-section-tint); }
.bg-primary { background: var(--color-primary); color: var(--color-white); }
.bg-subtle { background: var(--color-bg-subtle); }
.bg-tint { background: var(--color-section-tint); }

.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }

.cta-block {
 background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
 color: var(--color-white);
 border-radius: var(--radius-lg);
 padding: clamp(40px, 5vw, 64px);
 text-align: center;
 position: relative;
 overflow: hidden;
}

.cta-block::before {
 content: "";
 position: absolute;
 top: -100px;
 right: -100px;
 width: 300px;
 height: 300px;
 background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
 pointer-events: none;
}

.cta-block h2 { color: var(--color-white); margin-bottom: 16px; position: relative; }
.cta-block h2 em { color: rgba(255, 255, 255, 0.85); font-style: italic; }
.cta-block p { color: rgba(255, 255, 255, 0.85); max-width: 50ch; margin-inline: auto; margin-bottom: 32px; position: relative; }
.cta-block .btn-group { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; position: relative; }
.cta-block .btn-outline { background: rgba(255, 255, 255, 0.1); color: var(--color-white); border-color: rgba(255, 255, 255, 0.3); }
.cta-block .btn-outline:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--color-white); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
 from { opacity: 0; transform: translateY(20px); }
 to { opacity: 1; transform: translateY(0); }
}

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

@keyframes floatPulse {
 0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
 50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =================================================================
   ILLUSTRATIONS & VISUAL ACCENTS
   Added: SVG thumbnails, hero illustration, section decorations
   ================================================================= */

/* ---------- Course Card Thumbnail ---------- */
.course-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 77, 165, 0.08) 0%, rgba(166, 34, 75, 0.05) 100%);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-thumb::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 34, 75, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.course-thumb svg {
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 1;
}

.course-card:hover .course-thumb {
  background: linear-gradient(135deg, rgba(26, 77, 165, 0.14) 0%, rgba(166, 34, 75, 0.1) 100%);
  transform: scale(1.05) rotate(-3deg);
}

.course-card-featured .course-thumb {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-color: transparent;
}

.course-card-featured .course-thumb svg path,
.course-card-featured .course-thumb svg circle,
.course-card-featured .course-thumb svg rect,
.course-card-featured .course-thumb svg line,
.course-card-featured .course-thumb svg polyline,
.course-card-featured .course-thumb svg polygon {
  stroke: white !important;
}

.course-card-featured .course-thumb .accent-fill {
  fill: var(--color-accent) !important;
}

/* Move course code to right when thumb is present */
.course-card-head {
  align-items: center;
}

/* ---------- Hero Illustration ---------- */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  animation: fadeUp 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-illustration svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(26, 77, 165, 0.15));
}

/* Photo treatment */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 77, 165, 0.18), 0 8px 16px rgba(15, 23, 42, 0.08);
  background: var(--color-bg-subtle);
  z-index: 1;
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease-out;
}

.hero-photo-wrap:hover img {
  transform: scale(1.06);
}

/* Subtle blue tint overlay to harmonize with brand */
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 77, 165, 0.12) 0%, transparent 40%, rgba(230, 57, 70, 0.08) 100%);
  pointer-events: none;
}

/* Placeholder shown if photo is missing/broken */
.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  padding: 32px;
  z-index: 0;
}
.hero-photo-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.6;
  margin-bottom: 16px;
  filter: none;
}
.hero-photo-placeholder strong {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-photo-placeholder small {
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.06em;
}

/* Stat-card overlay on photo (modern hero treatment) */
.hero-stat-card {
  position: absolute;
  bottom: -20px;
  left: -28px;
  background: var(--color-white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: fadeUp 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}
.hero-stat-card-icon svg { width: 22px; height: 22px; }

.hero-stat-card-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-stat-card-text strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.hero-stat-card-text small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

@media (max-width: 900px) {
  .hero-stat-card { left: -8px; bottom: -12px; }
  .hero-photo-wrap { max-width: 100%; }
}

.hero-illustration::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(26, 77, 165, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Floating elements around the illustration */
.hero-float-badge {
  position: absolute;
  padding: 10px 16px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  z-index: 2;
}

.hero-float-badge.top-left {
  top: 8%;
  left: -2%;
  animation: floatY 4s ease-in-out infinite;
}

.hero-float-badge.bottom-right {
  bottom: 12%;
  right: -2%;
  animation: floatY 4.5s 0.5s ease-in-out infinite;
}

.hero-float-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

.hero-float-badge .dot.accent { background: var(--color-accent); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Section Background Accents ---------- */

/* Subtle dot grid pattern */
.bg-dots {
  position: relative;
  overflow: hidden;
}

.bg-dots::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26, 77, 165, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}

.bg-dots > * { position: relative; z-index: 1; }

/* Diagonal geometric shapes */
.bg-shapes {
  position: relative;
  overflow: hidden;
}

.bg-shapes::before,
.bg-shapes::after {
  content: "";
  position: absolute;
  border-radius: 30%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.bg-shapes::before {
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(166, 34, 75, 0.12) 0%, transparent 70%);
}

.bg-shapes::after {
  bottom: -150px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26, 77, 165, 0.1) 0%, transparent 70%);
}

.bg-shapes > * { position: relative; z-index: 1; }

/* Wave divider between sections */
.wave-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-block: -1px;
  background: var(--color-cream);
}

.wave-divider svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Decorative blob behind section headers */
.section-header {
  position: relative;
}

.section-header::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(166, 34, 75, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Geometric corner accents */
.corner-accent {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
  opacity: 0.35;
}

.corner-accent.top-right { top: 24px; right: 24px; }
.corner-accent.top-left { top: 24px; left: 24px; }
.corner-accent.bottom-right { bottom: 24px; right: 24px; }

/* H2 em accent override (since H2 is now maroon, em uses dark accent for contrast) */
.section-header h2 em,
.story-content h2 em,
.hero h1 em {
  color: var(--color-primary) !important;
  font-style: italic;
  font-weight: 800;
}

.stat-number em {
  color: var(--color-accent-light) !important;
  font-style: italic;
}

/* =================================================================
   COURSE CARD BANNER (for courses with hero images)
   ================================================================= */
.course-card-banner-wrap {
  padding: 0; /* override default card padding to let banner reach edges */
}

.course-card-banner-wrap .course-card-inner {
  padding: 24px 28px 28px;
}

.course-card-banner {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  overflow: hidden;
}

.course-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 45, 99, 0.18) 100%);
  pointer-events: none;
}

.course-card-banner-wrap:hover .course-card-banner {
  filter: brightness(1.05) saturate(1.1);
}

/* =================================================================
   STUDENTS-FUTURE SECTION (about.html)
   ================================================================= */
.outcome-section {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-warm) 100%);
  border-block: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.outcome-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 900px) {
  .outcome-grid { grid-template-columns: 1fr; }
}

.outcome-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--color-bg-subtle);
  box-shadow: var(--shadow-lg);
}

.outcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outcome-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(26, 77, 165, 0.12) 100%);
  pointer-events: none;
}

.outcome-content .eyebrow { display: block; margin-bottom: 16px; }
.outcome-content h2 { margin-bottom: 20px; }
.outcome-content p { color: var(--color-text-muted); margin-bottom: 16px; font-size: 1.0625rem; }
.outcome-content .outcomes-list { margin-top: 24px; }

.outcome-caption {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--color-text-soft);
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   FAQ items (used on course detail pages and any FAQ section)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(26, 77, 165, 0.08);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1.025rem;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(26, 77, 165, 0.08);
  transition: var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--color-primary);
  color: white;
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ==========================================================================
   Area-served pills (local SEO)
   ========================================================================== */
.area-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
}

.area-pill::before {
  content: "📍";
  font-size: 0.85rem;
  margin-right: 6px;
}

.area-pill:hover {
  border-color: var(--color-primary);
  background: rgba(26, 77, 165, 0.04);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer Social Icons
   ========================================================================== */
.footer-social {
  display: flex;
  gap: 12px;
  padding: 20px 0;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .footer-social {
    justify-content: center;
  }
}
