/* =========================================================
   BALAJI ACADEMY — Theme Stylesheet (v1.1)
   Fixes: course header overflow, audience card spacing,
   no duplicate course titles, clickable cards.
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
	--c-navy: #0b2a5b;
	--c-navy-deep: #07204a;
	--c-red: #d6212a;
	--c-red-deep: #b71c24;
	--c-yellow: #f5b301;
	--c-yellow-deep: #d99a00;
	--c-green: #25d366;
	--c-bg: #ffffff;
	--c-bg-soft: #f7f8fb;
	--c-bg-cream: #fff6ed;
	--c-text: #1f2937;
	--c-text-muted: #6b7280;
	--c-border: #e5e7eb;

	--shadow-sm: 0 2px 6px rgba(11, 42, 91, 0.06);
	--shadow-md: 0 8px 24px rgba(11, 42, 91, 0.10);
	--shadow-lg: 0 16px 40px rgba(11, 42, 91, 0.14);

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;

	--ff-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--ff-script: 'Dancing Script', cursive;

	--container: 1240px;
	--gap: 24px;

	--transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-red); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
	max-width: var(--container);
	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(--c-navy); color: #fff;
	padding: 8px 16px; z-index: 10000;
}
.skip-link:focus { top: 0; color: #fff; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.header-top {
	background: #fff;
	padding: 14px 0;
}
.header-top-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 16px;
}
.brand-logo-img {
	width: auto;
	height: 70px;
	max-width: 100px;
	display: block;
	flex-shrink: 0;
	object-fit: contain;
}
.footer-brand-logo {
	width: auto;
	height: 56px;
	max-width: 80px;
	display: block;
	flex-shrink: 0;
	object-fit: contain;
}

.brand-text { line-height: 1.1; }
.brand-title-link { display: block; }
.brand-title {
	font-size: 32px; font-weight: 800; margin: 0;
	letter-spacing: 0.5px;
}
.brand-title-balaji { color: var(--c-red); }
.brand-title-academy { color: var(--c-navy); }
.brand-tagline {
	margin: 4px 0 0;
	color: var(--c-text-muted);
	font-size: 13px;
	font-weight: 400;
}

.header-contact {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.header-phone, .header-location {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--c-text); font-weight: 600; font-size: 15px;
}
.header-phone i, .header-location i { color: var(--c-navy); font-size: 16px; }
.header-whatsapp {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--c-red);
	color: #fff !important;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 600; font-size: 14px;
	transition: var(--transition);
	box-shadow: 0 4px 14px rgba(214, 33, 42, 0.3);
}
.header-whatsapp:hover {
	background: var(--c-red-deep);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(214, 33, 42, 0.4);
}
.header-whatsapp i { font-size: 18px; }

.mobile-menu-toggle {
	display: none;
	background: transparent; border: 0; padding: 8px;
	width: 44px; height: 44px;
	flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.mobile-menu-toggle span {
	display: block; width: 26px; height: 3px;
	background: var(--c-navy); border-radius: 2px;
	transition: var(--transition);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.main-navigation {
	background: var(--c-navy);
}
.main-navigation .container {
	display: flex; justify-content: center;
}
.primary-menu {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.primary-menu li { position: relative; }
.primary-menu a {
	display: block;
	padding: 16px 22px;
	color: #fff;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	transition: var(--transition);
	position: relative;
}
.primary-menu a:hover { color: var(--c-yellow); }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	color: var(--c-yellow);
}
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
	content: '';
	position: absolute;
	bottom: 8px; left: 22px; right: 22px;
	height: 2px; background: var(--c-yellow);
}

.primary-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	background: var(--c-navy-deep);
	min-width: 220px;
	box-shadow: var(--shadow-md);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	overflow: hidden;
	z-index: 100;
}
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 12px 18px; font-size: 13px; }
.primary-menu .sub-menu a:hover { background: var(--c-navy); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	transition: var(--transition);
	white-space: nowrap;
	text-decoration: none;
}
.btn i { font-size: 12px; transition: transform var(--transition); }
.btn:hover i { transform: translateX(4px); }

.btn-red {
	background: var(--c-red); color: #fff;
	box-shadow: 0 6px 20px rgba(214,33,42,0.35);
}
.btn-red:hover {
	background: var(--c-red-deep);
	transform: translateY(-2px);
	color: #fff;
	box-shadow: 0 10px 28px rgba(214,33,42,0.45);
}
.btn-navy {
	background: var(--c-navy); color: #fff;
	box-shadow: 0 6px 20px rgba(11,42,91,0.30);
}
.btn-navy:hover {
	background: var(--c-navy-deep);
	transform: translateY(-2px);
	color: #fff;
	box-shadow: 0 10px 28px rgba(11,42,91,0.45);
}
.btn-yellow {
	background: var(--c-yellow); color: var(--c-navy);
	box-shadow: 0 6px 20px rgba(245,179,1,0.40);
	font-weight: 800;
}
.btn-yellow:hover {
	background: var(--c-yellow-deep);
	transform: translateY(-2px);
	color: var(--c-navy);
	box-shadow: 0 10px 28px rgba(245,179,1,0.50);
}

/* =========================================================
   HERO — full-width background image with gradient fade
   ========================================================= */
.hero-section {
	position: relative;
	min-height: 600px;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	align-items: center;
	padding: 60px 0;
}

/* Background image layer */
.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	z-index: 0;
	animation: heroBgFadeIn 1.2s ease-out;
}

/* Gradient fade overlay: opaque on left → transparent on right */
.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		#fff8f0 0%,
		#fff8f0 22%,
		rgba(255, 248, 240, 0.92) 38%,
		rgba(255, 248, 240, 0.6) 55%,
		rgba(255, 248, 240, 0.2) 75%,
		rgba(255, 248, 240, 0) 100%
	);
	z-index: 1;
}

@keyframes heroBgFadeIn {
	from { opacity: 0; transform: scale(1.04); }
	to   { opacity: 1; transform: scale(1); }
}

.hero-container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero-content {
	max-width: 580px;
	animation: heroContentSlideIn 0.9s ease-out 0.2s both;
}

@keyframes heroContentSlideIn {
	from { opacity: 0; transform: translateX(-20px); }
	to   { opacity: 1; transform: translateX(0); }
}

.hero-subheading {
	font-family: var(--ff-script);
	font-size: 38px;
	color: var(--c-red);
	margin: 0;
	font-weight: 700;
	line-height: 1;
}
.hero-heading {
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 800;
	color: var(--c-navy);
	margin: 8px 0 12px;
	letter-spacing: -1px;
	line-height: 1;
}
.hero-tagline {
	font-size: 22px;
	color: var(--c-navy);
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.3;
}
.hero-divider {
	display: block;
	width: 60px; height: 3px;
	background: var(--c-yellow);
	margin: 16px 0;
	border-radius: 2px;
}
.hero-description {
	color: var(--c-text);
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 28px;
	max-width: 520px;
}

.hero-buttons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.hero-stats {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	padding-top: 12px;
	border-top: 1px solid rgba(11,42,91,0.12);
}
.hero-stat {
	display: flex;
	align-items: center;
	gap: 10px;
}
.hero-stat i {
	font-size: 28px;
	color: var(--c-navy);
}
.hero-stat strong {
	display: block;
	color: var(--c-navy);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.1;
}
.hero-stat span {
	display: block;
	color: var(--c-text-muted);
	font-size: 12px;
	line-height: 1.2;
}

/* Floating "23+ Years" badge — pinned to bottom-right corner of hero section */
.hero-badge {
	position: absolute;
	right: 40px;
	bottom: 40px;
	background: var(--c-navy);
	color: #fff;
	padding: 22px 28px;
	border-radius: 16px;
	text-align: center;
	z-index: 3;
	box-shadow: 0 12px 32px rgba(11, 42, 91, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
	border: 2px solid var(--c-yellow);
	min-width: 140px;
	animation: heroBadgePop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}
@keyframes heroBadgePop {
	from { opacity: 0; transform: scale(0.6) translateY(20px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-badge i {
	color: var(--c-yellow);
	font-size: 26px;
	display: block;
	margin-bottom: 6px;
}
.hero-badge-number {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	font-size: 42px;
	font-weight: 800;
	line-height: 1;
	color: var(--c-yellow);
	margin: 0;
}
.hero-badge-count {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	min-width: 1.2em;
}
.hero-badge-plus {
	opacity: 0;
	margin-left: 2px;
	transition: opacity 0.3s ease;
}
.hero-badge.is-counted .hero-badge-plus {
	opacity: 1;
}
.hero-badge span {
	display: block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-top: 6px;
}
.hero-badge small {
	display: block;
	font-size: 10px;
	font-weight: 600;
	margin-top: 3px;
	letter-spacing: 0.6px;
	opacity: 0.9;
}

/* =========================================================
   SECTION TITLES
   ========================================================= */
.section-title {
	text-align: center;
	font-size: clamp(26px, 3.5vw, 36px);
	font-weight: 800;
	color: var(--c-navy);
	margin: 0 0 8px;
	letter-spacing: 0.5px;
}
.title-accent { color: var(--c-red); }
.section-underline {
	display: block;
	width: 80px; height: 3px;
	background: var(--c-yellow);
	margin: 0 auto 40px;
	border-radius: 2px;
}
.section-subtitle {
	text-align: center;
	color: var(--c-text-muted);
	margin: -28px auto 36px;
	max-width: 600px;
}

/* =========================================================
   WHY CHOOSE (FEATURES)
   ========================================================= */
.why-choose-section {
	background: #fff;
	padding: 64px 0;
}
.features-strip {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
}
.feature-item {
	text-align: center;
}
.feature-icon {
	width: 64px; height: 64px;
	margin: 0 auto 14px;
	display: flex; align-items: center; justify-content: center;
	font-size: 28px;
	color: var(--c-red);
	transition: var(--transition);
}
.feature-item:hover .feature-icon {
	transform: translateY(-4px) scale(1.05);
}
.feature-item p {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--c-navy);
	line-height: 1.4;
}

/* =========================================================
   COURSES — FIXED: header overflow + duplicate titles + cursor
   ========================================================= */
.courses-section {
	background: var(--c-bg-soft);
	padding: 64px 0;
}
.courses-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.course-card {
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	display: flex; flex-direction: column;
	transition: var(--transition);
	position: relative;
	cursor: pointer;
}
.course-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.course-featured {
	background: var(--c-navy);
	color: #fff;
	grid-column: span 1;
}
.course-ribbon {
	position: absolute;
	top: 12px; left: -42px;
	background: var(--c-red);
	color: #fff;
	font-size: 9px; font-weight: 700;
	padding: 3px 40px;
	transform: rotate(-45deg);
	letter-spacing: 0.6px;
	z-index: 5;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
	pointer-events: none;
}
.course-card-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f0f0f0;
}
.course-card-image img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}
.course-card:hover .course-card-image img { transform: scale(1.06); }

.course-card-header {
	padding: 20px 16px;
	background: var(--card-color, var(--c-navy));
	color: #fff;
	text-align: center;
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.course-card-header-featured {
	background: transparent;
	padding: 20px 16px;
	min-height: 72px;
}
.course-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	color: #fff;
	line-height: 1.25;
	letter-spacing: 0.2px;
	text-align: center;
	text-transform: none;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}
.course-featured .course-title {
	font-size: 22px;
}

.course-card-body {
	padding: 18px 16px;
	display: flex; flex-direction: column;
	flex: 1;
}
.course-card-body-featured { color: #fff; }

.course-list {
	margin: 0 0 16px;
	flex: 1;
}
.course-list li {
	position: relative;
	padding: 4px 0 4px 16px;
	font-size: 13px;
	color: var(--c-text);
	font-weight: 500;
}
.course-list li::before {
	content: '';
	position: absolute;
	left: 0; top: 12px;
	width: 6px; height: 6px;
	background: var(--c-red);
	border-radius: 50%;
}
.course-list-light li { color: #fff; }
.course-list-light li::before { background: var(--c-yellow); }

.course-btn {
	background: var(--card-color, var(--c-navy));
	color: #fff;
	border: 0;
	padding: 11px 18px;
	border-radius: 999px;
	font-size: 12px; font-weight: 700;
	letter-spacing: 0.6px;
	transition: var(--transition);
	width: 100%;
	cursor: pointer;
}
.course-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
	box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.course-btn-light {
	background: #fff;
	color: var(--c-navy);
}
.course-btn-light:hover { background: var(--c-yellow); color: var(--c-navy); }

/* =========================================================
   EXPERT TRAINER SECTION (standalone)
   ========================================================= */
.trainer-section {
	background: #fff;
	padding: 64px 0;
}
.trainer-section .container {
	display: flex;
	justify-content: center;
}

/* Trainer card */
.trainer-card {
	background: var(--c-navy);
	border-radius: var(--radius-lg);
	padding: 40px;
	color: #fff;
	display: flex;
	gap: 32px;
	align-items: center;
	overflow: hidden;
	position: relative;
	box-shadow: var(--shadow-lg);
	max-width: 720px;
	width: 100%;
}
.trainer-text { flex: 1; }
.trainer-pre {
	font-size: 22px;
	font-weight: 700;
	margin: 0;
	color: #fff;
	line-height: 1.2;
}
.trainer-name {
	font-size: 32px;
	font-weight: 800;
	color: var(--c-yellow);
	margin: 12px 0 20px;
	letter-spacing: 0.5px;
}
.trainer-list li {
	position: relative;
	padding: 6px 0 6px 18px;
	font-size: 16px;
	color: #fff;
	line-height: 1.4;
}
.trainer-list li::before {
	content: '';
	position: absolute;
	left: 0; top: 14px;
	width: 7px; height: 7px;
	background: var(--c-yellow);
	border-radius: 50%;
}
.trainer-quote {
	font-family: var(--ff-script);
	color: var(--c-yellow);
	font-size: 28px;
	margin: 20px 0 0;
}
.trainer-image {
	width: 240px;
	flex-shrink: 0;
	border-radius: var(--radius);
	overflow: hidden;
}
.trainer-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section {
	background: var(--c-bg-soft);
	padding: 64px 0;
}
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}
.testimonial-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 20px;
	display: flex;
	gap: 16px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}
.testimonial-image {
	width: 64px; height: 64px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 3px solid var(--c-yellow);
}
.testimonial-image img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.testimonial-body { flex: 1; }
.testimonial-text {
	font-size: 13px;
	color: var(--c-text);
	margin: 0 0 10px;
	line-height: 1.5;
}
.testimonial-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.testimonial-name {
	font-weight: 700;
	color: var(--c-navy);
	font-size: 13px;
}
.testimonial-rating {
	color: var(--c-yellow);
	font-size: 12px;
	display: inline-flex;
	gap: 2px;
}

.testimonials-cta { text-align: center; }
.google-reviews-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: var(--c-navy);
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.5px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}
.google-reviews-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	color: var(--c-navy);
}
.g-icon {
	width: 28px; height: 28px;
	background: conic-gradient(from 0deg, #ea4335 0deg 90deg, #fbbc04 90deg 180deg, #34a853 180deg 270deg, #4285f4 270deg);
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center; justify-content: center;
	font-weight: 800;
	font-size: 14px;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta-section {
	background: var(--c-navy);
	padding: 32px 0;
	color: #fff;
}
.cta-grid {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 32px;
}
.cta-block {
	display: flex;
	align-items: center;
	gap: 14px;
}
.cta-block-center {
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.cta-block-center small {
	color: var(--c-yellow);
	font-size: 12px;
	font-weight: 600;
}
.cta-block-whatsapp { justify-content: flex-end; }
.cta-whatsapp { display: flex; align-items: center; gap: 14px; color: #fff; }
.cta-whatsapp:hover { color: var(--c-yellow); }
.cta-icon {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--c-yellow);
	color: var(--c-navy);
	display: flex; align-items: center; justify-content: center;
	font-size: 24px;
	flex-shrink: 0;
}
.cta-icon-green { background: var(--c-green); color: #fff; }
.cta-pre {
	font-size: 14px;
	margin: 0;
	color: #fff;
	font-weight: 500;
}
.cta-headline {
	font-family: var(--ff-script);
	font-size: 24px;
	margin: 0;
	color: var(--c-yellow);
	font-weight: 700;
}
.cta-block-whatsapp .cta-headline {
	font-family: var(--ff-body);
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact-section {
	background: #fff;
	padding: 64px 0;
}
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 36px;
	max-width: 1100px;
	margin: 0 auto;
}
.contact-info {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.contact-info-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px;
	background: var(--c-bg-soft);
	border-radius: var(--radius);
	border-left: 4px solid var(--c-red);
}
.contact-info-item i {
	color: var(--c-red);
	font-size: 22px;
	margin-top: 2px;
}
.contact-info-item strong {
	display: block;
	color: var(--c-navy);
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 4px;
}
.contact-info-item p, .contact-info-item a {
	margin: 0;
	color: var(--c-text);
	font-size: 13px;
	line-height: 1.5;
}

.contact-form {
	background: var(--c-bg-soft);
	padding: 28px;
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 14px;
}
.form-field {
	margin-bottom: 14px;
	display: flex; flex-direction: column;
}
.form-field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-navy);
	margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
	font-family: var(--ff-body);
	font-size: 14px;
	padding: 12px 14px;
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--c-text);
	transition: var(--transition);
	width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--c-red);
	box-shadow: 0 0 0 3px rgba(214,33,42,0.12);
}
.form-field textarea { resize: vertical; min-height: 100px; }

.form-submit {
	width: 100%;
	justify-content: center;
	margin-top: 8px;
}
.form-feedback {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	display: none;
}
.form-feedback.success {
	display: block;
	background: rgba(45,122,74,0.10);
	color: #2d7a4a;
	border: 1px solid rgba(45,122,74,0.20);
}
.form-feedback.error {
	display: block;
	background: rgba(214,33,42,0.10);
	color: var(--c-red);
	border: 1px solid rgba(214,33,42,0.20);
}

.contact-form .wpcf7-form-control,
.contact-form .wpforms-field-large,
.contact-form .elementor-field {
	font-family: var(--ff-body) !important;
	font-size: 14px !important;
	padding: 12px 14px !important;
	border: 1px solid var(--c-border) !important;
	border-radius: var(--radius-sm) !important;
}
.contact-form .wpcf7-submit,
.contact-form .wpforms-submit,
.contact-form .elementor-button {
	background: var(--c-red) !important;
	color: #fff !important;
	padding: 14px 28px !important;
	border-radius: 999px !important;
	font-weight: 700 !important;
	border: 0 !important;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	background: var(--c-navy);
	color: #cbd5e1;
	padding: 48px 0 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.4fr 1fr;
	gap: 32px;
	margin-bottom: 40px;
}
.footer-brand {
	display: flex; align-items: flex-start; gap: 14px;
	margin-bottom: 14px;
}
.footer-brand-title {
	color: #fff;
	font-size: 18px;
	margin: 0;
	font-weight: 800;
	letter-spacing: 0.5px;
}
.footer-brand-tagline {
	color: var(--c-yellow);
	font-size: 12px;
	margin: 2px 0 0;
}
.footer-about {
	font-size: 12px;
	line-height: 1.6;
	color: #cbd5e1;
	margin: 0 0 16px;
}
.footer-socials {
	display: flex;
	gap: 8px;
}
.footer-socials a {
	width: 32px; height: 32px;
	background: rgba(255,255,255,0.08);
	color: #fff;
	border-radius: 6px;
	display: inline-flex;
	align-items: center; justify-content: center;
	font-size: 14px;
	transition: var(--transition);
}
.footer-socials a:nth-child(1):hover { background: #1877f2; }
.footer-socials a:nth-child(2):hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-socials a:nth-child(3):hover { background: #ff0000; }
.footer-socials a:nth-child(4):hover { background: #0a66c2; }

.footer-widget-title {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 18px;
	letter-spacing: 0.6px;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
	color: #cbd5e1;
	font-size: 13px;
	transition: var(--transition);
}
.footer-links a:hover { color: var(--c-yellow); padding-left: 4px; }

.footer-contact-list li {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 12px;
	line-height: 1.5;
}
.footer-contact-list i {
	color: var(--c-yellow);
	margin-top: 2px;
	width: 14px; flex-shrink: 0;
}
.footer-contact-list a, .footer-contact-list span {
	color: #cbd5e1;
	font-size: 12px;
}
.footer-contact-list a:hover { color: var(--c-yellow); }

.footer-hours li {
	display: flex; flex-direction: column;
	gap: 2px;
	margin-bottom: 12px;
	font-size: 12px;
}
.footer-hours strong {
	color: #fff;
	font-weight: 600;
}
.footer-hours span {
	color: var(--c-yellow);
	font-size: 12px;
}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.10);
	padding: 18px 0;
	text-align: center;
}
.footer-bottom p {
	margin: 0;
	font-size: 12px;
	color: #94a3b8;
}

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.floating-whatsapp {
	position: fixed;
	bottom: 24px; right: 24px;
	width: 60px; height: 60px;
	background: var(--c-green);
	color: #fff !important;
	border-radius: 50%;
	display: inline-flex;
	align-items: center; justify-content: center;
	font-size: 30px;
	box-shadow: 0 6px 24px rgba(37,211,102,0.45);
	z-index: 998;
	transition: var(--transition);
}
.floating-whatsapp:hover {
	transform: scale(1.08);
	background: #1ebe5a;
}
.floating-whatsapp-pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--c-green);
	opacity: 0.5;
	animation: bf-pulse 2s ease-out infinite;
	z-index: -1;
}
@keyframes bf-pulse {
	0% { transform: scale(1); opacity: 0.5; }
	100% { transform: scale(1.6); opacity: 0; }
}

/* =========================================================
   MODAL
   ========================================================= */
.balaji-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(11,42,91,0.65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.balaji-modal-overlay.is-open { opacity: 1; }

.balaji-modal {
	background: #fff;
	border-radius: var(--radius-lg);
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	transform: translateY(40px) scale(0.95);
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.balaji-modal-overlay.is-open .balaji-modal {
	transform: translateY(0) scale(1);
}

.balaji-modal-header {
	background: var(--c-navy);
	color: #fff;
	padding: 24px 28px;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}
.balaji-modal-header h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.5px;
}
.balaji-modal-close {
	background: rgba(255,255,255,0.12);
	border: 0;
	width: 36px; height: 36px;
	border-radius: 50%;
	color: #fff;
	font-size: 18px;
	display: inline-flex;
	align-items: center; justify-content: center;
	transition: var(--transition);
	flex-shrink: 0;
}
.balaji-modal-close:hover {
	background: var(--c-red);
	transform: rotate(90deg);
}

.balaji-modal-body {
	padding: 24px 28px;
}
.balaji-modal-body p {
	color: var(--c-text);
	font-size: 14px;
	line-height: 1.7;
	margin: 0 0 16px;
}
.balaji-modal-body h4 {
	color: var(--c-navy);
	font-size: 15px;
	font-weight: 700;
	margin: 18px 0 10px;
	letter-spacing: 0.3px;
}
.balaji-modal-body ul {
	margin: 0 0 16px;
}
.balaji-modal-body ul li {
	position: relative;
	padding: 4px 0 4px 22px;
	font-size: 13px;
	color: var(--c-text);
	line-height: 1.5;
}
.balaji-modal-body ul li::before {
	content: '✓';
	position: absolute;
	left: 0; top: 4px;
	color: var(--c-red);
	font-weight: 800;
}
.balaji-modal-meta {
	background: var(--c-bg-soft);
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	margin-bottom: 18px;
	font-size: 13px;
	color: var(--c-navy);
	font-weight: 600;
	display: flex;
	gap: 8px;
	align-items: center;
}
.balaji-modal-meta i { color: var(--c-red); }

.balaji-modal-footer {
	padding: 0 28px 24px;
}
.balaji-modal-footer .btn {
	width: 100%;
	justify-content: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Course list spacing tighter at narrow desktop widths */
@media (max-width: 1280px) {
	.course-list li { font-size: 13px; }
}

@media (max-width: 1100px) {
	.features-strip { grid-template-columns: repeat(3, 1fr); gap: 28px; }
	.courses-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
	.header-top-inner {
		grid-template-columns: auto 1fr auto;
	}
	.header-contact { display: none; }
	.mobile-menu-toggle { display: flex; }
	.brand-title { font-size: 24px; }
	.brand-tagline { font-size: 11px; }

	.main-navigation {
		position: absolute;
		top: 100%; left: 0; right: 0;
		display: none;
	}
	.main-navigation.is-open { display: block; }
	.primary-menu {
		flex-direction: column;
		padding: 12px 0;
	}
	.primary-menu a {
		padding: 14px 24px;
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}
	.primary-menu .sub-menu {
		position: static;
		display: block;
		background: rgba(0,0,0,0.2);
		box-shadow: none;
		border-radius: 0;
	}

	.hero-section { min-height: 500px; padding: 50px 0; }
	.hero-content { max-width: 100%; }
	.hero-overlay {
		background: linear-gradient(
			to right,
			rgba(255, 248, 240, 0.97) 0%,
			rgba(255, 248, 240, 0.92) 45%,
			rgba(255, 248, 240, 0.7) 70%,
			rgba(255, 248, 240, 0.4) 100%
		);
	}
	.hero-badge {
		right: 20px;
		top: 50%;
		padding: 16px 20px;
		min-width: 110px;
	}
	.hero-badge i { font-size: 20px; }
	.hero-badge-number { font-size: 32px; }
	.hero-badge span { font-size: 12px; }
	.hero-badge small { font-size: 9px; }

	.testimonials-grid { grid-template-columns: 1fr; }
	.cta-grid { grid-template-columns: 1fr; gap: 18px; text-align: center; }
	.cta-block, .cta-whatsapp { justify-content: center; }
	.cta-block-whatsapp { justify-content: center; }

	.contact-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.container { padding: 0 16px; }
	.brand-text { display: none; }
	.hero-section { padding: 32px 0 40px; min-height: auto; }
	.hero-bg { background-position: 70% center; }
	.hero-overlay {
		background: linear-gradient(
			to bottom,
			rgba(255, 248, 240, 0.96) 0%,
			rgba(255, 248, 240, 0.92) 60%,
			rgba(255, 248, 240, 0.85) 100%
		);
	}
	.hero-buttons { flex-direction: column; }
	.hero-buttons .btn { width: 100%; justify-content: center; }
	.hero-stats { gap: 16px; }
	.hero-stat { flex: 1 1 100%; }

	.hero-badge {
		position: relative;
		right: auto;
		bottom: auto;
		margin: 24px auto 0;
		display: block;
		width: fit-content;
	}

	.features-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.courses-grid { grid-template-columns: 1fr; }
	.trainer-card { flex-direction: column; text-align: center; padding: 28px; gap: 20px; }
	.trainer-image { width: 200px; }
	.trainer-pre { font-size: 18px; }
	.trainer-name { font-size: 26px; }
	.trainer-list li { font-size: 14px; }

	.form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.footer-brand { justify-content: center; text-align: center; }

	.section-title { font-size: 24px; }
	.hero-heading { font-size: 44px; letter-spacing: -0.5px; }
	.hero-subheading { font-size: 28px; }
	.hero-tagline { font-size: 18px; }

	.floating-whatsapp { width: 52px; height: 52px; font-size: 26px; bottom: 18px; right: 18px; }

	.balaji-modal-header h3 { font-size: 18px; }
	.balaji-modal-header, .balaji-modal-body { padding-left: 20px; padding-right: 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
