/* ==========================================================================
   Elhub Academy Pro v2.0 - Main Stylesheet
   Navy #162855 + Gold #C8880A + Cream #FDF8F0
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,400;0,600;1,400;1,600&family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
	--navy: #162855;
	--navy-dark: #0F1C3D;
	--navy-light: #2E4A8F;
	--gold: #C8880A;
	--gold-light: #E5AE4A;
	--cream: #FDF8F0;
	--cream-light: #FEFAF0;
	--white: #FFFFFF;
	--gray-900: #1A2633;
	--gray-700: #465566;
	--gray-500: #7B8794;
	--gray-300: #D6DCE2;
	--gray-100: #F1F4F7;
	--font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
	--font-serif: 'Source Serif Pro', Georgia, serif;
	--font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--radius: 10px;
	--radius-lg: 16px;
	--radius-full: 999px;
	--shadow-sm: 0 2px 8px rgba(22, 40, 85, 0.08);
	--shadow: 0 8px 24px rgba(22, 40, 85, 0.12);
	--shadow-lg: 0 20px 50px rgba(22, 40, 85, 0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--font-body);
	color: var(--gray-700);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--navy); transition: color 0.2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.skip-link { position: absolute; top: -40px; left: 0; background: var(--navy); color: white; padding: 8px 16px; z-index: 100000; }
.skip-link:focus { top: 0; }

/* BUTTONS */
.btn {
	display: inline-block; padding: 14px 26px; border-radius: var(--radius);
	font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
	transition: all 0.2s; border: 2px solid transparent; cursor: pointer;
	text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200, 136, 10, 0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 10px 18px; font-size: 0.85rem; }
.btn-large { padding: 18px 32px; font-size: 1.05rem; }

/* ANNOUNCEMENT BAR */
.elhub-announce {
	background: var(--gold); color: var(--navy); padding: 10px 0;
	text-align: center; font-size: 0.9rem; font-weight: 500;
}
.elhub-announce a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* HEADER */
.site-header {
	background: var(--white); border-bottom: 1px solid var(--gray-300);
	position: sticky; top: 0; z-index: 100; padding: 16px 0;
	transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 12px rgba(22, 40, 85, 0.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img { max-height: 52px; width: auto; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy); letter-spacing: -0.02em; }

/* PRIMARY NAV */
.primary-nav ul { display: flex; list-style: none; gap: 24px; align-items: center; margin: 0; padding: 0; }
.primary-nav a {
	color: var(--gray-700); font-size: 0.95rem; font-weight: 500;
	padding: 8px 0; position: relative; transition: color 0.2s;
}
.primary-nav a::after {
	content: ''; position: absolute; bottom: 0; left: 0;
	width: 0; height: 2px; background: var(--gold); transition: width 0.2s;
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a:hover::after, .primary-nav .current-menu-item a::after { width: 100%; }

.header-cta {
	background: var(--navy); color: var(--white); padding: 12px 22px;
	border-radius: var(--radius); font-family: var(--font-display); font-weight: 600;
	font-size: 0.9rem; border: 2px solid var(--gold); transition: all 0.2s;
}
.header-cta:hover { background: var(--gold); color: var(--navy); transform: translateY(-1px); }

/* MOBILE MENU */
.mobile-menu-toggle {
	display: none; background: transparent; border: none; cursor: pointer;
	padding: 8px; color: var(--navy); font-size: 1.4rem;
}

/* SLIDING HERO (Swiper) */
.elhub-hero {
	position: relative; min-height: 680px; color: var(--white); overflow: hidden;
}
.elhub-hero-swiper { width: 100%; height: 680px; }
.elhub-hero-slide { position: relative; display: flex; align-items: center; overflow: hidden; }
.elhub-hero-slide__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	z-index: 1;
}
.elhub-hero-slide__bg::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(22, 40, 85, 0.92), rgba(46, 74, 143, 0.78));
}
.elhub-hero-slide__content {
	position: relative; z-index: 2; padding: 100px 24px; max-width: 1200px;
	margin: 0 auto; width: 100%;
}
.elhub-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.elhub-hero-eyebrow {
	display: inline-block; font-family: var(--font-display); font-size: 0.78rem;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light);
	font-weight: 600; padding: 6px 14px; border: 1px solid var(--gold);
	border-radius: var(--radius-full); margin-bottom: 24px;
}
.elhub-hero h1 {
	color: var(--white); font-size: clamp(2.4rem, 5.5vw, 4rem);
	line-height: 1.08; margin-bottom: 22px; font-weight: 700;
}
.elhub-hero h1 .accent { color: var(--gold-light); font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.elhub-hero-sub { font-size: 1.15rem; max-width: 640px; margin-bottom: 36px; color: rgba(255, 255, 255, 0.9); }
.elhub-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.elhub-hero-trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.elhub-hero-trust span { display: flex; align-items: center; gap: 6px; }
.elhub-hero-trust .check { color: var(--gold-light); font-weight: bold; }

/* Hero Call Card */
.elhub-hero-card {
	background: var(--white); border-radius: var(--radius-lg); padding: 32px;
	box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold);
}
.elhub-hero-card .eyebrow {
	color: var(--gold); font-size: 0.75rem; letter-spacing: 0.2em;
	font-weight: 700; text-transform: uppercase; margin-bottom: 6px; display: block;
}
.elhub-hero-card h3 { color: var(--navy); font-size: 1.4rem; margin-bottom: 16px; }
.elhub-hero-card .btn { width: 100%; margin-bottom: 8px; }

/* Swiper overrides */
.swiper-button-next, .swiper-button-prev {
	width: 48px; height: 48px; background: rgba(22, 40, 85, 0.7);
	border-radius: 50%; color: white;
}
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--gold); color: var(--navy); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem; font-weight: bold; }
.swiper-pagination-bullet { background: white; opacity: 0.5; width: 12px; height: 12px; }
.swiper-pagination-bullet-active { background: var(--gold); opacity: 1; }

/* TRUST STRIP */
.trust-strip { background: var(--cream); padding: 36px 0; border-bottom: 1px solid var(--gray-300); }
.trust-strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
	width: 44px; height: 44px; background: var(--white); border: 1px solid rgba(22, 40, 85, 0.2);
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 1.2rem; flex-shrink: 0;
}
.trust-item strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; }
.trust-item span { color: var(--gray-700); font-size: 0.82rem; }

/* SECTION HEADERS */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-header.left { text-align: left; margin: 0 0 40px; }
.eyebrow {
	display: inline-block; font-family: var(--font-display); font-size: 0.75rem;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
	font-weight: 700; margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.05rem; color: var(--gray-700); }

/* FEATURE GRID / SUBJECTS */
.features-section, .subjects-section { padding: 80px 0; background: var(--white); }
.features-grid, .subjects-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card, .subject-card {
	background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius-lg);
	padding: 32px 28px; transition: all 0.3s; text-align: center;
}
.feature-card:hover, .subject-card:hover {
	transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold);
}
.feature-icon, .subject-icon {
	font-size: 2rem; margin-bottom: 16px; display: block;
}
.feature-card h3, .subject-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--navy); }
.feature-card p, .subject-card p { font-size: 0.92rem; line-height: 1.55; color: var(--gray-700); }

/* PROCESS / HOW IT WORKS */
.process-section { padding: 80px 0; background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.process-step {
	background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px;
	box-shadow: var(--shadow-sm); position: relative; text-align: center;
	transition: transform 0.2s;
}
.process-step:hover { transform: translateY(-2px); }
.process-step__num {
	font-family: var(--font-display); font-weight: 800; font-size: 2.2rem;
	color: var(--gold); line-height: 1; margin-bottom: 12px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: var(--gray-700); }

/* PLANS / TRACKS */
.plans-section { padding: 80px 0; background: var(--white); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.plan-card {
	background: var(--white); border: 2px solid var(--gray-300); border-radius: var(--radius-lg);
	padding: 32px; position: relative; transition: all 0.3s;
}
.plan-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.is-featured { border-color: var(--gold); box-shadow: var(--shadow); }
.plan-card__badge {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: var(--gold); color: var(--navy); padding: 6px 16px;
	border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700;
	letter-spacing: 0.1em; text-transform: uppercase;
}
.plan-card__icon { font-size: 2.4rem; margin-bottom: 12px; }
.plan-card__title { font-size: 1.4rem; color: var(--navy); margin-bottom: 6px; }
.plan-card__subtitle { color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.plan-card__schedule { font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.plan-card__best-for { font-size: 0.92rem; color: var(--gray-700); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-300); }
.plan-card__features { list-style: none; padding: 0; margin: 0 0 24px; }
.plan-card__features li { padding: 8px 0; color: var(--gray-700); font-size: 0.92rem; padding-left: 24px; position: relative; }
.plan-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: bold; }
.plan-card__cta { display: flex; flex-direction: column; gap: 8px; }

/* TESTIMONIALS */
.testimonials-section { padding: 80px 0; background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testimonial {
	background: var(--white); border-radius: var(--radius-lg); padding: 28px;
	box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold);
}
.testimonial__quote { font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; color: var(--navy); line-height: 1.5; margin-bottom: 16px; }
.testimonial__attr { color: var(--gold); font-size: 0.85rem; font-weight: 600; }

/* EDUCATORS / ABOUT */
.educators-section { padding: 80px 0; background: var(--white); }
.educators-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.educator-block {
	background: var(--cream); border-radius: var(--radius-lg); padding: 32px;
	border-left: 4px solid var(--gold);
}
.educator-block h3 { color: var(--navy); margin-bottom: 16px; }
.educator-block ul { list-style: none; padding: 0; }
.educator-block li { padding: 6px 0 6px 24px; position: relative; color: var(--gray-700); }
.educator-block li::before { content: '●'; position: absolute; left: 0; color: var(--gold); }

/* CTA BANNER */
.cta-banner {
	padding: 80px 0; background: linear-gradient(135deg, var(--navy), var(--navy-light));
	color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
	content: ''; position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%); width: 800px; height: 800px;
	background: radial-gradient(circle, rgba(200, 136, 10, 0.12) 0%, transparent 60%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 18px; }
.cta-banner h2 .accent { color: var(--gold-light); font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.cta-banner p { font-size: 1.1rem; max-width: 620px; margin: 0 auto 32px; color: rgba(255, 255, 255, 0.85); }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* FOOTER */
.site-footer { background: #0F1C3D; color: rgba(255, 255, 255, 0.7); padding: 64px 0 28px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { margin-top: 16px; line-height: 1.6; max-width: 300px; font-size: 0.9rem; }
.footer-col h4 { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px;
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.82rem;
}

/* BOOKING BUTTON PLUGIN STYLES */
.elhub-booking-btn {
	display: inline-block; padding: 14px 26px; border-radius: var(--radius);
	font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
	transition: all 0.2s; border: 2px solid transparent; cursor: pointer;
	text-align: center; text-decoration: none;
}
.elhub-booking-btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.elhub-booking-btn--primary:hover { background: var(--navy-light); color: var(--white); transform: translateY(-1px); }
.elhub-booking-btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.elhub-booking-btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.elhub-booking-btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.elhub-booking-btn--outline:hover { background: var(--white); color: var(--navy); }
.elhub-booking-btn--small { padding: 10px 18px; font-size: 0.85rem; }
.elhub-booking-btn--large { padding: 18px 32px; font-size: 1.05rem; }

/* PAGE CONTENT (for inner pages) */
.page-content { padding: 60px 0; }
.page-content h1 { margin-bottom: 24px; }
.page-content h2 { margin-top: 36px; margin-bottom: 16px; }
.page-content h3 { margin-top: 28px; margin-bottom: 12px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 20px 20px; }
.page-content li { margin-bottom: 8px; }

/* FAQ STYLES (matches FAQPage schema) */
.elhub-faq { max-width: 800px; margin: 0 auto; }
.elhub-faq__item {
	background: var(--white); border: 1px solid var(--gray-300); border-radius: var(--radius);
	margin-bottom: 12px; overflow: hidden; transition: border-color 0.2s;
}
.elhub-faq__item:hover { border-color: var(--gold); }
.elhub-faq__q {
	padding: 20px 24px; font-weight: 600; color: var(--navy); cursor: pointer;
	display: flex; justify-content: space-between; align-items: center;
	font-size: 1.05rem; font-family: var(--font-display);
}
.elhub-faq__q::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform 0.2s; }
.elhub-faq__item.is-open .elhub-faq__q::after { transform: rotate(45deg); }
.elhub-faq__a { padding: 0 24px 20px; color: var(--gray-700); display: none; }
.elhub-faq__item.is-open .elhub-faq__a { display: block; }

/* RESPONSIVE */
@media (max-width: 1000px) {
	.elhub-hero-grid { grid-template-columns: 1fr; }
	.elhub-hero-card { max-width: 480px; }
	.features-grid, .subjects-grid, .process-grid, .plans-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
	.educators-grid { grid-template-columns: 1fr; }
	.trust-strip .grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.primary-nav, .header-cta { display: none; }
	.mobile-menu-toggle { display: block; }
	.features-grid, .subjects-grid, .process-grid, .plans-grid, .testimonials-grid, .footer-grid, .trust-strip .grid { grid-template-columns: 1fr; }
	.elhub-hero { min-height: 600px; }
	.elhub-hero-swiper { height: 600px; }
}

/* Mobile menu open state */
body.menu-open .primary-nav {
	display: block; position: fixed; top: 70px; right: 0;
	background: var(--white); width: 280px; height: calc(100vh - 70px);
	box-shadow: var(--shadow-lg); padding: 24px;
}
body.menu-open .primary-nav ul { flex-direction: column; align-items: stretch; }
body.menu-open .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--gray-300); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
