/**
 * CareerCraft — Main stylesheet
 * A modular, premium design system for a government/engineering exam institute.
 * Sections: Tokens, Reset, Typography, Layout, Buttons, Header, Hero, Cards,
 * Sections, Forms, Footer, Widgets, Utilities, Responsive, A11y, Print.
 *
 * @package CareerCraft
 */

/* ============================================================
   1. Design Tokens
   ============================================================ */
:root {
	/* Brand palette — derived from the CAREER CRAFT logo (navy + red) */
	--cc-navy: #16266b;
	--cc-navy-700: #1d327f;
	--cc-navy-900: #0e1a4d;
	--cc-blue: #2748b8;
	--cc-red: #e23127;
	--cc-red-700: #c21f16;
	--cc-gold: #f6b73c;
	--cc-gold-600: #e09b18;

	/* Neutral scale */
	--cc-ink: #101a33;
	--cc-body: #3b4763;
	--cc-muted: #6b7896;
	--cc-line: #e4e9f5;
	--cc-bg: #f5f7fc;
	--cc-bg-alt: #eef2fb;
	--cc-white: #ffffff;

	/* Semantic */
	--cc-success: #1a9d5a;
	--cc-warning: #e0a100;
	--cc-danger: #d64541;

	/* Typography (values injected/overridable via Customizer) */
	--cc-font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	--cc-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--cc-fs-base: 16px;
	--cc-lh: 1.65;

	/* Radii & shadows */
	--cc-radius: 14px;
	--cc-radius-sm: 9px;
	--cc-radius-pill: 999px;
	--cc-shadow-sm: 0 2px 10px rgba(16, 26, 51, 0.06);
	--cc-shadow: 0 12px 30px rgba(16, 26, 51, 0.10);
	--cc-shadow-lg: 0 24px 60px rgba(16, 26, 51, 0.16);

	/* Layout */
	--cc-container: 1200px;
	--cc-gap: 28px;
	--cc-section-y: 84px;
	--cc-header-h: 84px;
	--cc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--cc-font-body);
	font-size: var(--cc-fs-base);
	line-height: var(--cc-lh);
	color: var(--cc-body);
	background: var(--cc-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cc-navy); text-decoration: none; transition: color .2s var(--cc-ease); }
a:hover { color: var(--cc-red); }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cc-gold); outline-offset: 2px; border-radius: 4px; }

/* ============================================================
   3. Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--cc-font-head);
	color: var(--cc-ink);
	line-height: 1.18;
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.18rem; }
p { margin: 0 0 1.1rem; }
.cc-lead { font-size: 1.15rem; color: var(--cc-muted); }
mark { background: linear-gradient(transparent 60%, rgba(246,183,60,.55) 0); padding: 0 .1em; }
blockquote {
	margin: 1.5rem 0; padding: 1rem 1.4rem;
	border-left: 4px solid var(--cc-red); background: var(--cc-bg);
	border-radius: 0 var(--cc-radius-sm) var(--cc-radius-sm) 0; font-style: italic;
}
code, pre { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }

/* ============================================================
   4. Layout
   ============================================================ */
.cc-container { width: min(100% - 40px, var(--cc-container)); margin-inline: auto; }
.cc-container--wide { width: min(100% - 40px, 1360px); }
.cc-section { padding-block: var(--cc-section-y); }
.cc-section--tight { padding-block: 56px; }
.cc-bg-soft { background: var(--cc-bg); }
.cc-bg-alt { background: var(--cc-bg-alt); }
.cc-bg-navy { background: var(--cc-navy); color: #dfe6ff; }
.cc-bg-navy h2, .cc-bg-navy h3 { color: #fff; }
.cc-grid { display: grid; gap: var(--cc-gap); }
.cc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cc-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cc-grid--auto { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

/* Section heading block */
.cc-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.cc-head--left { text-align: left; margin-inline: 0; }
.cc-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--cc-font-head); font-weight: 600; font-size: .82rem;
	letter-spacing: .12em; text-transform: uppercase; color: var(--cc-red);
	background: rgba(226,49,39,.08); padding: 7px 15px; border-radius: var(--cc-radius-pill);
	margin-bottom: 16px;
}
.cc-head p { color: var(--cc-muted); margin-bottom: 0; }

/* ============================================================
   5. Buttons
   ============================================================ */
.cc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: var(--cc-font-head); font-weight: 600; font-size: .98rem;
	padding: 14px 28px; border-radius: var(--cc-radius-pill); border: 2px solid transparent;
	cursor: pointer; transition: all .25s var(--cc-ease); line-height: 1; text-align: center;
}
.cc-btn--primary { background: var(--cc-red); color: #fff; box-shadow: 0 10px 24px rgba(226,49,39,.28); }
.cc-btn--primary:hover { background: var(--cc-red-700); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(226,49,39,.34); }
.cc-btn--navy { background: var(--cc-navy); color: #fff; }
.cc-btn--navy:hover { background: var(--cc-navy-900); color: #fff; transform: translateY(-2px); }
.cc-btn--gold { background: var(--cc-gold); color: var(--cc-navy-900); }
.cc-btn--gold:hover { background: var(--cc-gold-600); color: var(--cc-navy-900); transform: translateY(-2px); }
.cc-btn--ghost { background: transparent; color: var(--cc-navy); border-color: var(--cc-line); }
.cc-btn--ghost:hover { border-color: var(--cc-navy); color: var(--cc-navy); background: var(--cc-white); }
.cc-btn--light { background: #fff; color: var(--cc-navy); }
.cc-btn--light:hover { color: var(--cc-red); transform: translateY(-2px); }
.cc-btn--block { width: 100%; }
.cc-btn--sm { padding: 10px 18px; font-size: .88rem; }

/* ============================================================
   6. Announcement bar & Header
   ============================================================ */
.cc-announce {
	background: linear-gradient(90deg, var(--cc-navy-900), var(--cc-navy) 55%, var(--cc-blue));
	color: #eaf0ff; font-size: .86rem; position: relative; z-index: 60;
}
.cc-announce__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; }
.cc-announce__ticker { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.cc-announce__badge { background: var(--cc-red); color: #fff; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: var(--cc-radius-pill); white-space: nowrap; }
.cc-announce__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-announce__meta { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.cc-announce__meta a { color: #eaf0ff; }
.cc-announce__meta a:hover { color: var(--cc-gold); }
.cc-announce__social { display: flex; gap: 10px; }
.cc-announce__social a { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cc-announce__social a:hover { background: var(--cc-red); }

.cc-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--cc-line); transition: box-shadow .3s var(--cc-ease); }
.cc-header.is-stuck { box-shadow: var(--cc-shadow); }
.cc-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--cc-header-h); gap: 24px; }
.cc-brand { display: flex; align-items: center; gap: 12px; }
.cc-brand__logo img { max-height: 54px; width: auto; }
.cc-brand__mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--cc-navy); color: #fff; font-family: var(--cc-font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; }
.cc-brand__text { line-height: 1.05; }
.cc-brand__name { font-family: var(--cc-font-head); font-weight: 800; font-size: 1.28rem; color: var(--cc-navy); letter-spacing: -.02em; }
.cc-brand__name b { color: var(--cc-red); }
.cc-brand__tag { font-size: .72rem; color: var(--cc-muted); font-weight: 500; }

/* Primary nav */
.cc-nav { display: flex; align-items: center; gap: 4px; }
.cc-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.cc-nav a { font-family: var(--cc-font-head); font-weight: 500; font-size: .96rem; color: var(--cc-ink); padding: 10px 14px; border-radius: var(--cc-radius-sm); display: inline-flex; align-items: center; gap: 6px; }
.cc-nav > ul > li { position: relative; }
.cc-nav a:hover, .cc-nav .current-menu-item > a { color: var(--cc-red); background: rgba(226,49,39,.06); }
.cc-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.cc-nav .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 0; min-width: 224px;
	background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-sm);
	box-shadow: var(--cc-shadow); padding: 8px; display: block; flex-direction: column;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--cc-ease); z-index: 40;
}
.cc-nav li:hover > .sub-menu, .cc-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.cc-nav .sub-menu li { width: 100%; }
.cc-nav .sub-menu a { width: 100%; font-size: .9rem; }
.cc-header__cta { display: flex; align-items: center; gap: 12px; }

/* Mobile toggle */
.cc-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--cc-line); border-radius: 10px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.cc-burger span { width: 22px; height: 2px; background: var(--cc-navy); border-radius: 2px; transition: .25s var(--cc-ease); }
.cc-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cc-burger.is-open span:nth-child(2) { opacity: 0; }
.cc-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   7. Hero
   ============================================================ */
.cc-hero { position: relative; background: radial-gradient(1200px 600px at 80% -10%, rgba(39,72,184,.16), transparent), var(--cc-bg); overflow: hidden; }
.cc-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 72px; }
.cc-hero__badge { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--cc-line); box-shadow: var(--cc-shadow-sm); padding: 7px 14px; border-radius: var(--cc-radius-pill); font-weight: 600; font-size: .84rem; color: var(--cc-navy); margin-bottom: 22px; }
.cc-hero__badge b { color: var(--cc-red); }
.cc-hero h1 { margin-bottom: 18px; }
.cc-hero h1 .cc-accent { color: var(--cc-red); }
.cc-hero__text { font-size: 1.12rem; color: var(--cc-body); max-width: 46ch; margin-bottom: 28px; }
.cc-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.cc-hero__stats { display: flex; gap: 34px; flex-wrap: wrap; }
.cc-hero__stat b { display: block; font-family: var(--cc-font-head); font-size: 1.9rem; color: var(--cc-navy); line-height: 1; }
.cc-hero__stat span { font-size: .86rem; color: var(--cc-muted); }
.cc-hero__media { position: relative; }
.cc-hero__media img { border-radius: 22px; box-shadow: var(--cc-shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.cc-hero__float { position: absolute; background: #fff; border-radius: var(--cc-radius); box-shadow: var(--cc-shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.cc-hero__float--tl { top: 22px; left: -18px; }
.cc-hero__float--br { bottom: 26px; right: -14px; }
.cc-hero__float .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(246,183,60,.2); color: var(--cc-gold-600); display: grid; place-items: center; }
.cc-hero__float b { display: block; color: var(--cc-ink); font-family: var(--cc-font-head); }
.cc-hero__float span { font-size: .78rem; color: var(--cc-muted); }

/* Slider */
.cc-slider { position: relative; }
.cc-slide { display: none; }
.cc-slide.is-active { display: block; animation: ccFade .6s var(--cc-ease); }
@keyframes ccFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cc-slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.cc-slider__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--cc-line); }
.cc-slider__dots button.is-active { background: var(--cc-red); width: 26px; border-radius: var(--cc-radius-pill); }

/* Course search bar */
.cc-search { margin-top: -34px; position: relative; z-index: 20; }
.cc-search__box { background: #fff; border-radius: var(--cc-radius); box-shadow: var(--cc-shadow); padding: 16px; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; align-items: center; }
.cc-search__field { display: flex; flex-direction: column; gap: 4px; padding: 4px 10px; border-right: 1px solid var(--cc-line); }
.cc-search__field:last-of-type { border-right: 0; }
.cc-search__field label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cc-muted); font-weight: 600; }
.cc-search__field input, .cc-search__field select { border: 0; font-size: .98rem; color: var(--cc-ink); background: transparent; padding: 4px 0; }
.cc-search__field input:focus, .cc-search__field select:focus { outline: none; }

/* ============================================================
   8. Cards
   ============================================================ */
.cc-card { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); overflow: hidden; transition: transform .3s var(--cc-ease), box-shadow .3s var(--cc-ease); display: flex; flex-direction: column; }
.cc-card:hover { transform: translateY(-6px); box-shadow: var(--cc-shadow); }
.cc-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cc-bg-alt); }
.cc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--cc-ease); }
.cc-card:hover .cc-card__media img { transform: scale(1.06); }
.cc-card__tag { position: absolute; top: 12px; left: 12px; background: var(--cc-navy); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: var(--cc-radius-pill); }
.cc-card__tag--mode { right: 12px; left: auto; background: var(--cc-red); }
.cc-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.cc-card__title { font-size: 1.16rem; margin-bottom: 8px; }
.cc-card__title a { color: var(--cc-ink); }
.cc-card__title a:hover { color: var(--cc-red); }
.cc-card__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--cc-muted); margin-bottom: 14px; }
.cc-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.cc-card__excerpt { color: var(--cc-body); font-size: .94rem; margin-bottom: 16px; }
.cc-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--cc-line); }
.cc-price { font-family: var(--cc-font-head); font-weight: 700; color: var(--cc-navy); font-size: 1.2rem; }
.cc-price del { color: var(--cc-muted); font-weight: 500; font-size: .9rem; margin-right: 6px; }
.cc-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: var(--cc-radius-pill); background: var(--cc-bg-alt); color: var(--cc-navy); }
.cc-chip--red { background: rgba(226,49,39,.1); color: var(--cc-red); }
.cc-chip--green { background: rgba(26,157,90,.12); color: var(--cc-success); }
.cc-chip--gold { background: rgba(246,183,60,.18); color: var(--cc-gold-600); }

/* Rating stars */
.cc-stars { --p: 100%; display: inline-block; position: relative; font-size: .95rem; line-height: 1; color: #d9deea; }
.cc-stars::before { content: "★★★★★"; }
.cc-stars i { position: absolute; inset: 0; width: var(--p); overflow: hidden; color: var(--cc-gold); }
.cc-stars i::before { content: "★★★★★"; }

/* Feature (why choose) */
.cc-feature { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 30px 26px; transition: .3s var(--cc-ease); }
.cc-feature:hover { border-color: transparent; box-shadow: var(--cc-shadow); transform: translateY(-4px); }
.cc-feature__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cc-navy), var(--cc-blue)); color: #fff; margin-bottom: 18px; font-size: 1.5rem; }
.cc-feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cc-feature p { color: var(--cc-muted); font-size: .95rem; margin: 0; }

/* Counter */
.cc-counter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cc-counter__item { text-align: center; padding: 24px; }
.cc-counter__num { font-family: var(--cc-font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.cc-bg-navy .cc-counter__num { background: linear-gradient(180deg,#fff,var(--cc-gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cc-counter__label { color: #c3ccec; font-weight: 500; margin-top: 8px; }

/* Faculty */
.cc-faculty { text-align: center; background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 26px; transition: .3s var(--cc-ease); }
.cc-faculty:hover { box-shadow: var(--cc-shadow); transform: translateY(-4px); }
.cc-faculty__photo { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--cc-bg-alt); }
.cc-faculty h4 { margin-bottom: 2px; }
.cc-faculty__role { color: var(--cc-red); font-size: .86rem; font-weight: 600; }
.cc-faculty__exp { color: var(--cc-muted); font-size: .84rem; margin-top: 6px; }
.cc-faculty__social { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.cc-faculty__social a { width: 32px; height: 32px; border-radius: 50%; background: var(--cc-bg); display: grid; place-items: center; color: var(--cc-navy); }
.cc-faculty__social a:hover { background: var(--cc-navy); color: #fff; }

/* Testimonials */
.cc-quote { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 30px; position: relative; }
.cc-quote::before { content: "\201C"; position: absolute; top: 8px; right: 24px; font-family: Georgia, serif; font-size: 5rem; color: var(--cc-bg-alt); line-height: 1; }
.cc-quote__text { font-size: 1rem; color: var(--cc-body); margin-bottom: 20px; position: relative; z-index: 1; }
.cc-quote__by { display: flex; align-items: center; gap: 12px; }
.cc-quote__by img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.cc-quote__by b { color: var(--cc-ink); display: block; font-family: var(--cc-font-head); }
.cc-quote__by span { font-size: .82rem; color: var(--cc-muted); }

/* Success stories */
.cc-success { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 20px; }
.cc-success__photo { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.cc-success__rank { display: inline-block; background: var(--cc-gold); color: var(--cc-navy-900); font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: var(--cc-radius-pill); margin-bottom: 6px; }
.cc-success h4 { margin: 0 0 2px; font-size: 1.05rem; }
.cc-success p { margin: 0; font-size: .86rem; color: var(--cc-muted); }

/* Gallery */
.cc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cc-gallery a { position: relative; border-radius: var(--cc-radius-sm); overflow: hidden; aspect-ratio: 1; display: block; }
.cc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--cc-ease); }
.cc-gallery a:hover img { transform: scale(1.08); }
.cc-gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(14,26,77,.5)); opacity: 0; transition: .3s; }
.cc-gallery a:hover::after { opacity: 1; }

/* Video */
.cc-video { position: relative; border-radius: var(--cc-radius); overflow: hidden; aspect-ratio: 16/9; }
.cc-video img { width: 100%; height: 100%; object-fit: cover; }
.cc-video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.cc-video__play button { width: 74px; height: 74px; border-radius: 50%; background: var(--cc-red); border: 0; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(226,49,39,.5); animation: ccPulse 2.2s infinite; }
@keyframes ccPulse { 0% { box-shadow: 0 0 0 0 rgba(226,49,39,.5); } 70% { box-shadow: 0 0 0 22px rgba(226,49,39,0); } 100% { box-shadow: 0 0 0 0 rgba(226,49,39,0); } }

/* Blog / news */
.cc-post__media { aspect-ratio: 16/10; }
.cc-post__cat { position: absolute; top: 12px; left: 12px; background: var(--cc-red); color: #fff; font-size: .72rem; font-weight: 600; padding: 4px 11px; border-radius: var(--cc-radius-pill); }
.cc-post__date { font-size: .8rem; color: var(--cc-muted); }

/* FAQ accordion */
.cc-faq { max-width: 820px; margin-inline: auto; }
.cc-faq__item { border: 1px solid var(--cc-line); border-radius: var(--cc-radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.cc-faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-family: var(--cc-font-head); font-weight: 600; font-size: 1.03rem; color: var(--cc-ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cc-faq__q .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cc-bg-alt); display: grid; place-items: center; transition: .3s; color: var(--cc-navy); font-weight: 700; }
.cc-faq__item.is-open .cc-faq__q .ic { background: var(--cc-red); color: #fff; transform: rotate(45deg); }
.cc-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--cc-ease); }
.cc-faq__a-inner { padding: 0 22px 20px; color: var(--cc-body); }

/* CTA band */
.cc-cta-band { background: linear-gradient(120deg, var(--cc-navy-900), var(--cc-navy) 60%, var(--cc-blue)); border-radius: 24px; padding: 54px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cc-cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(246,183,60,.14); }
.cc-cta-band h2 { color: #fff; margin-bottom: 8px; }
.cc-cta-band p { color: #c9d2f2; margin: 0; }
.cc-cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Newsletter */
.cc-newsletter__form { display: flex; gap: 12px; max-width: 520px; }
.cc-newsletter__form input { flex: 1; border: 1px solid var(--cc-line); border-radius: var(--cc-radius-pill); padding: 14px 22px; font-size: 1rem; }

/* ============================================================
   9. Forms
   ============================================================ */
.cc-form { display: grid; gap: 16px; }
.cc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cc-field { display: flex; flex-direction: column; gap: 6px; }
.cc-field label { font-weight: 600; font-size: .9rem; color: var(--cc-ink); }
.cc-field label .req { color: var(--cc-red); }
.cc-input, .cc-textarea, .cc-select {
	width: 100%; border: 1.5px solid var(--cc-line); border-radius: var(--cc-radius-sm);
	padding: 13px 16px; font-size: 1rem; font-family: inherit; color: var(--cc-ink);
	background: #fff; transition: border-color .2s, box-shadow .2s;
}
.cc-input:focus, .cc-textarea:focus, .cc-select:focus { outline: none; border-color: var(--cc-navy); box-shadow: 0 0 0 4px rgba(22,38,107,.1); }
.cc-textarea { min-height: 130px; resize: vertical; }
.cc-form__note { font-size: .82rem; color: var(--cc-muted); }
.cc-form__msg { padding: 14px 18px; border-radius: var(--cc-radius-sm); font-size: .94rem; display: none; }
.cc-form__msg.is-visible { display: block; }
.cc-form__msg--ok { background: rgba(26,157,90,.1); color: var(--cc-success); border: 1px solid rgba(26,157,90,.3); }
.cc-form__msg--err { background: rgba(214,69,65,.08); color: var(--cc-danger); border: 1px solid rgba(214,69,65,.3); }
.cc-field.has-error .cc-input, .cc-field.has-error .cc-textarea, .cc-field.has-error .cc-select { border-color: var(--cc-danger); }
.cc-field__error { color: var(--cc-danger); font-size: .8rem; display: none; }
.cc-field.has-error .cc-field__error { display: block; }
.cc-hp { position: absolute !important; left: -9999px; top: -9999px; }

/* ============================================================
   10. Contact info cards
   ============================================================ */
.cc-info { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 22px; }
.cc-info__ic { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: rgba(22,38,107,.08); color: var(--cc-navy); }
.cc-info h4 { margin: 0 0 4px; font-size: 1.02rem; }
.cc-info p, .cc-info a { margin: 0; color: var(--cc-muted); font-size: .92rem; }
.cc-map { border-radius: var(--cc-radius); overflow: hidden; border: 1px solid var(--cc-line); min-height: 340px; }
.cc-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ============================================================
   11. Footer
   ============================================================ */
.cc-footer { background: var(--cc-navy-900); color: #aeb9de; }
.cc-footer a { color: #cdd6f2; }
.cc-footer a:hover { color: var(--cc-gold); }
.cc-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-block: 64px; }
.cc-footer__brand .cc-brand__name { color: #fff; }
.cc-footer__about { margin: 18px 0; font-size: .94rem; }
.cc-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.cc-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--cc-red); border-radius: 3px; }
.cc-footer__links { list-style: none; display: grid; gap: 11px; }
.cc-footer__links a { display: inline-flex; gap: 8px; align-items: center; font-size: .94rem; }
.cc-footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .93rem; align-items: flex-start; }
.cc-footer__contact .ic { color: var(--cc-gold); flex-shrink: 0; margin-top: 2px; }
.cc-footer__social { display: flex; gap: 10px; margin-top: 8px; }
.cc-footer__social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.cc-footer__social a:hover { background: var(--cc-red); color: #fff; }
.cc-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.cc-footer__bottom a { color: #aeb9de; }

/* Floating contact buttons */
.cc-fab { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 45; }
.cc-fab a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--cc-shadow); transition: transform .2s; }
.cc-fab a:hover { transform: scale(1.08); color: #fff; }
.cc-fab__wa { background: #25d366; }
.cc-fab__call { background: var(--cc-red); }
.cc-top { position: fixed; right: 22px; bottom: 90px; width: 46px; height: 46px; border-radius: 50%; background: var(--cc-navy); color: #fff; border: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: .3s; z-index: 45; }
.cc-top.is-visible { opacity: 1; pointer-events: auto; }

/* ============================================================
   12. Page furniture (breadcrumbs, single, pagination, sidebar)
   ============================================================ */
.cc-pagehead { background: linear-gradient(120deg, var(--cc-navy-900), var(--cc-navy)); color: #fff; padding-block: 56px; text-align: center; position: relative; }
.cc-pagehead h1 { color: #fff; margin-bottom: 10px; }
.cc-breadcrumbs { font-size: .88rem; color: #c3ccec; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.cc-breadcrumbs a { color: #fff; }
.cc-breadcrumbs .sep { opacity: .5; }
.cc-layout { display: grid; grid-template-columns: 1fr 330px; gap: 44px; }
.cc-sidebar .widget { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 24px; margin-bottom: 26px; }
.cc-widget-title { font-size: 1.1rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--cc-bg-alt); }
.cc-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.cc-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--cc-line); font-weight: 600; color: var(--cc-navy); }
.cc-pagination .page-numbers.current, .cc-pagination .page-numbers:hover { background: var(--cc-navy); color: #fff; border-color: var(--cc-navy); }
.cc-entry-content > * { margin-bottom: 1.2rem; }
.cc-entry-content img { border-radius: var(--cc-radius-sm); }
.cc-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--cc-line); margin-bottom: 24px; flex-wrap: wrap; }
.cc-tabs button { border: 0; background: none; padding: 12px 18px; font-family: var(--cc-font-head); font-weight: 600; color: var(--cc-muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.cc-tabs button.is-active { color: var(--cc-red); border-bottom-color: var(--cc-red); }
.cc-tabpane { display: none; }
.cc-tabpane.is-active { display: block; animation: ccFade .4s var(--cc-ease); }

/* ============================================================
   13. Utilities & Animations
   ============================================================ */
.cc-text-center { text-align: center; }
.cc-mt-0 { margin-top: 0; }
.cc-mb-0 { margin-bottom: 0; }
.cc-mt-4 { margin-top: 44px; }
.cc-flex { display: flex; }
.cc-gap { gap: var(--cc-gap); }
.cc-hidden { display: none !important; }
.cc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--cc-ease), transform .7s var(--cc-ease); }
.cc-reveal.is-in { opacity: 1; transform: none; }
[data-cc-delay="1"] { transition-delay: .08s; }
[data-cc-delay="2"] { transition-delay: .16s; }
[data-cc-delay="3"] { transition-delay: .24s; }

/* ============================================================
   14. Responsive
   ============================================================ */
@media (max-width: 1024px) {
	:root { --cc-section-y: 64px; }
	.cc-hero__inner { grid-template-columns: 1fr; gap: 34px; }
	.cc-hero__media { order: -1; max-width: 520px; }
	.cc-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.cc-counter { grid-template-columns: repeat(2, 1fr); }
	.cc-footer__top { grid-template-columns: 1fr 1fr; }
	.cc-gallery { grid-template-columns: repeat(3, 1fr); }
	.cc-search__box { grid-template-columns: 1fr 1fr; }
	.cc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.cc-nav, .cc-header__cta .cc-btn { display: none; }
	.cc-burger { display: flex; }
	.cc-nav.is-mobile-open { display: block; position: fixed; inset: 0 0 0 auto; width: min(88vw, 340px); background: #fff; box-shadow: var(--cc-shadow-lg); padding: 84px 22px 30px; overflow-y: auto; z-index: 55; }
	.cc-nav.is-mobile-open ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.cc-nav.is-mobile-open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 14px; }
	.cc-navscrim { position: fixed; inset: 0; background: rgba(14,26,77,.5); z-index: 54; opacity: 0; visibility: hidden; transition: .3s; }
	.cc-navscrim.is-visible { opacity: 1; visibility: visible; }
	.cc-announce__meta .cc-announce__hours { display: none; }
}
@media (max-width: 720px) {
	.cc-grid--2, .cc-grid--3, .cc-grid--4 { grid-template-columns: 1fr; }
	.cc-counter { grid-template-columns: repeat(2, 1fr); }
	.cc-footer__top { grid-template-columns: 1fr; }
	.cc-gallery { grid-template-columns: repeat(2, 1fr); }
	.cc-form__row { grid-template-columns: 1fr; }
	.cc-search__box { grid-template-columns: 1fr; }
	.cc-search__field { border-right: 0; border-bottom: 1px solid var(--cc-line); }
	.cc-cta-band { padding: 34px; text-align: center; justify-content: center; }
	.cc-newsletter__form { flex-direction: column; }
	.cc-announce__meta { gap: 12px; }
}

/* ============================================================
   15. Accessibility & motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.cc-reveal { opacity: 1; transform: none; }
}
.cc-skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--cc-navy); padding: 12px 20px; z-index: 100000; border-radius: 0 0 8px 0; }
.cc-skip-link:focus { left: 0; }

/* RTL basics */
[dir="rtl"] .cc-nav .sub-menu { left: auto; right: 0; }
[dir="rtl"] .cc-footer h4::after { left: auto; right: 0; }
[dir="rtl"] .cc-quote::before { right: auto; left: 24px; }

/* Print */
@media print {
	.cc-header, .cc-footer, .cc-fab, .cc-top, .cc-announce, .cc-cta-band { display: none !important; }
	body { color: #000; }
}

/* ============================================================
   16. Component add-ons (icons, lists, menu, single, widgets)
   ============================================================ */
.cc-ic { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.cc-social { display: flex; gap: 10px; }
.cc-footer__social.cc-social a, .cc-footer .cc-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd6f2; }
.cc-footer .cc-social a:hover { background: var(--cc-red); color: #fff; }

/* Check / feature lists */
.cc-check-list { list-style: none; display: grid; gap: 10px; margin: 16px 0; }
.cc-check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.cc-check-list li .cc-ic { color: var(--cc-success); margin-top: 2px; }
.cc-check-list--light li { color: #dbe2ff; }
.cc-check-list--light li .cc-ic { color: var(--cc-gold); }
.cc-syllabus li .cc-ic { color: var(--cc-navy); }

/* Brand link */
.cc-brand__link { display: flex; align-items: center; gap: 12px; }

/* Default menu = cc-menu ul lives inside .cc-nav so inherits nav styles */
.cc-menu { display: flex; align-items: center; gap: 2px; list-style: none; }

/* Filter chips */
.cc-filter-chips .cc-chip { text-decoration: none; transition: .2s; }
.cc-filter-chips .cc-chip:hover { background: var(--cc-navy); color: #fff; }

/* Course single */
.cc-course-fees { position: sticky; top: 110px; }
.cc-course-facts { list-style: none; display: grid; gap: 12px; margin: 18px 0; }
.cc-course-facts li { display: flex; align-items: center; gap: 8px; font-size: .92rem; padding-bottom: 10px; border-bottom: 1px solid var(--cc-line); }
.cc-course-facts li span { color: var(--cc-muted); }
.cc-course-facts li b { margin-left: auto; color: var(--cc-ink); }
.cc-content-narrow { max-width: 820px; margin-inline: auto; }
.cc-page-thumb { margin: 0 0 26px; border-radius: var(--cc-radius); overflow: hidden; }

/* Sidebar widget lists */
.cc-widget-courses { list-style: none; display: grid; gap: 14px; }
.cc-widget-courses a { display: flex; gap: 12px; align-items: center; }
.cc-wc-thumb img, .cc-widget-courses img { width: 60px; height: 46px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cc-wc-title { font-weight: 600; font-size: .92rem; color: var(--cc-ink); line-height: 1.3; }
.cc-widget-notices { list-style: none; display: grid; gap: 12px; }
.cc-widget-notices a { display: block; }
.cc-widget-notices time { display: block; font-size: .76rem; color: var(--cc-muted); }
.cc-widget-notices span { font-weight: 600; font-size: .92rem; color: var(--cc-ink); }

/* Comments */
.cc-comment-list { display: grid; gap: 20px; padding: 0; }
.cc-comment-list .comment-body { background: #fff; border: 1px solid var(--cc-line); border-radius: var(--cc-radius); padding: 20px; }
.cc-comments .comment-author { font-family: var(--cc-font-head); font-weight: 600; }
.cc-comments .comment-author img { border-radius: 50%; margin-right: 10px; vertical-align: middle; }

/* Entry content niceties */
.cc-entry-content h2 { margin-top: 1.6rem; }
.cc-entry-content ul, .cc-entry-content ol { padding-left: 1.3rem; }
.cc-entry-content ul li, .cc-entry-content ol li { margin-bottom: .4rem; }
.cc-entry-content a { color: var(--cc-red); text-decoration: underline; text-underline-offset: 3px; }
.cc-tags a { display: inline-block; background: var(--cc-bg-alt); color: var(--cc-navy); font-size: .8rem; padding: 4px 12px; border-radius: var(--cc-radius-pill); margin: 0 6px 6px 0; text-decoration: none; }

/* Dynamic page-head banner: dark navy overlay over the featured image (var --cc-head-bg),
   falling back to a solid navy so heading text is always readable. */
.cc-pagehead { background-color: var(--cc-navy-900); background-image: linear-gradient(120deg, rgba(14,26,77,.90), rgba(22,38,107,.80)), var(--cc-head-bg, none); background-size: cover; background-position: center center; padding-block: 72px; }

/* ============================================================
   17. Responsive hardening — auto-adjust across all screen sizes
   ============================================================ */
@media (max-width: 1024px) {
	/* Any inline multi-column grid collapses to a single column */
	.cc-container[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 28px !important; }
	.cc-layout, .cc-layout--course { grid-template-columns: 1fr !important; }
	.cc-course-fees { position: static !important; }
	/* Hero: lead with the text, image follows */
	.cc-hero__content { order: 0; }
	.cc-hero__media { order: 1; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 720px) {
	:root { --cc-section-y: 52px; }
	.cc-hero__inner { padding-block: 44px; }
	.cc-hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
	.cc-hero__text { font-size: 1rem; }
	.cc-hero__stats { gap: 18px; }
	.cc-hero__float { display: none; }
	.cc-hero__media img { aspect-ratio: 16/11; }
	.cc-pagehead { padding-block: 46px; }
	.cc-pagehead h1 { font-size: clamp(1.6rem, 7.5vw, 2.1rem); }
	.cc-head { margin-bottom: 34px; }
	.cc-head h2, h2 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
	.cc-cta-band { padding: 30px 22px; text-align: center; }
	.cc-course-head__meta { gap: 12px !important; font-size: .9rem; }
	.cc-single-thumb, .cc-page-thumb { margin-bottom: 18px; }
	.cc-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
	.cc-tabs button { white-space: nowrap; }
}
@media (max-width: 520px) {
	.cc-hero__actions { flex-direction: column; align-items: stretch; }
	.cc-hero__actions .cc-btn { width: 100%; }
	.cc-hero__stats { gap: 12px; }
	.cc-hero__stat b { font-size: 1.5rem; }
	.cc-hero__stat span { font-size: .78rem; }
	.cc-counter { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.cc-cta-band__actions { flex-direction: column; width: 100%; }
	.cc-cta-band__actions .cc-btn { width: 100%; }
	.cc-newsletter__form { flex-direction: column; }
	.cc-newsletter__form .cc-btn { width: 100%; }
	.cc-fab a { width: 48px; height: 48px; }
	.cc-info { padding: 16px; }
	.cc-quote, .cc-feature { padding: 22px; }
}
