/**
 * DATTC Main Stylesheet
 * @format
 * Table of Contents:
 * 1. Root Variables
 * 2. Base Styles
 * 3. Layout Components
 * 4. Header & Navigation
 * 5. Hero Section
 * 6. About Section
 * 7. Core Values — Radial Infographic
 * 8. Programs Section
 * 9. Trainers Section
 * 10. Facilities Section
 * 11. Admissions Section
 * 12. Partners Section
 * 13. Testimonials Section
 * 14. Contact Section
 * 15. Footer
 * 16. Parallax Effects
 * 17. Media Queries
 * 18. Animations & Utilities
 */

/* ===== 1. ROOT VARIABLES ===== */
:root {
	--primary: #2c3e50;
	--secondary: #3498db;
	--accent: #e74c3c;
	--light: #ecf0f1;
	--dark: #2c3e50;
	--scroll-behavior: smooth;
	--content-scale: 0.9;
	/* Font scale — used across components */
	--font-xs:  0.75rem;
	--font-sm:  0.875rem;
	--font-md:  1rem;
	--font-lg:  1.125rem;
	--font-xl:  1.25rem;
	--font-2xl: 1.5rem;
}

/* ===== 2. BASE STYLES ===== */
html {
	scroll-behavior: smooth;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: #f9f9f9;
	color: var(--dark);
	line-height: 1.5;
	font-size: 0.95rem;
}

section {
	padding: 40px 0;
}

/* ===== 3. LAYOUT COMPONENTS ===== */
.container {
	width: 90%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 15px;
}

.btn {
	display: inline-block;
	padding: 10px 20px;
	background-color: var(--secondary);
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	font-size: 0.85rem;
}

.btn:hover {
	background-color: #2980b9;
	transform: translateY(-2px);
}

.btn-accent {
	background-color: var(--accent);
}

.btn-accent:hover {
	background-color: #c0392b;
}

.section-title {
	text-align: center;
	margin-bottom: 30px;
}

.section-title h2 {
	font-size: 1.9rem;
	color: var(--primary);
	margin-bottom: 8px;
}

.section-title p {
	max-width: 800px;
	margin: 0 auto;
	color: #7f8c8d;
	font-size: 0.9rem;
}

/* ===== 4. HEADER & NAVIGATION ===== */
header {
	background-color: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	height: 80px; 
	display: flex;
	align-items: center;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-left: 15px;
}

.logo img {
	height: 50px;
	width: auto;
	transition: none;
}

.logo-text h4 {
	font-size: 1rem;
	margin: 0;
	color: var(--primary);
	line-height: 1.2;
	transition: none;
}

.logo-button {
	text-decoration: none;
}

nav {
	display: flex;
	align-items: center;
	padding-right: 15px;
}

#navbar {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0px;
}

#navbar li a {
	display: block;
	padding: 18px 12px;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 0.85rem;
	transition: all 0.3s ease;
	color: var(--primary);
	position: relative;
	white-space: nowrap;
	text-decoration: none;
}

#navbar li a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background-color: var(--secondary);
	transition: width 0.3s ease;
}

#navbar li a:hover::after,
#navbar li a.active::after {
	width: 70%;
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary);
	cursor: pointer;
	padding: 10px;
	margin-left: 15px;
	min-width: 44px;
	min-height: 44px;
	z-index: 1001;
}

header.scrolled {
	background-color: rgba(255, 255, 255, 0.98);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== 5. HERO SECTION ===== */
.hero {
	position: relative;
	height: 100vh;
	min-height: 550px;
	display: flex;
	align-items: center;
	color: white;
	padding: 0;
	overflow: hidden;
	will-change: transform;
	margin-top: -60px;
	padding-top: 60px;
}

.hero-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 110%;
	object-fit: cover;
	z-index: -2;
	will-change: transform;
	transition: transform 0.1s ease-out;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.6));
	z-index: -1;
	transition: background 0.3s ease;
}

.hero-content {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
	text-align: left;
	will-change: transform, opacity;
	transition: transform 0.1s ease-out, opacity 0.3s ease;
}

.hero h1 {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 12px;
	line-height: 0.7;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
	letter-spacing: -0.5px;
	color: #ffffff;
}

.hero p {
	font-size: 0.9rem;
	font-weight: 300;
	margin-bottom: 20px;
	opacity: 0.95;
	max-width: 550px;
	margin-left: 0;
	margin-right: auto;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	line-height: 1.6;
	letter-spacing: 0.2px;
}

.hero-btns {
	display: flex;
	gap: 12px;
	justify-content: flex-start;
	margin-top: 15px;
}

.hero-btns .btn {
	font-weight: 600;
	letter-spacing: 0.5px;
	padding: 10px 20px;
	text-transform: uppercase;
	font-size: 0.85rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	border: none;
}

.hero-btns .btn:first-child {
	background-color: white;
	color: black;
	border: 2px solid white;
}

.hero-btns .btn:first-child:hover {
	background-color: #ffffff;
	color: black;
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.hero-btns .btn-accent {
	background-color: transparent;
	color: white;
	border: 2px solid white;
}

.hero-btns .btn-accent:hover {
	background-color: #ffffff;
	color: black;
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.hero {
	position: relative;
}

.video-loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--primary);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 5;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-loader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader {
	width: 48px;
	height: 48px;
	border: 5px solid #fff;
	border-bottom-color: var(--secondary);
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}

@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* ===== 6. ABOUT SECTION ===== */
.about {
	background-color: white;
	position: relative;
	overflow: hidden;
}

.about::before,
.about::after {
	content: "";
	position: absolute;
	background-color: rgba(52, 152, 219, 0.1);
	border-radius: 50%;
	z-index: 0;
}

.about::before {
	width: 400px;
	height: 400px;
	top: -200px;
	right: -150px;
}

.about::after {
	width: 350px;
	height: 350px;
	bottom: -150px;
	left: -100px;
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.about-image {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
}

.about-text h3 {
	color: var(--secondary);
	margin-bottom: 8px;
	font-size: 1rem;
}

.about-text h2 {
	color: var(--primary);
	margin-bottom: 12px;
	font-size: 1.9rem;
}

.about-text p {
	margin-bottom: 15px;
	font-size: 0.9rem;
}

/* ===== 7. CORE VALUES — RADIAL INFOGRAPHIC ===== */

/* Section wrapper */
.why-choose-us {
	padding: 30px 0 20px;
	text-align: center;
	position: relative;
	z-index: 1;
}

.why-choose-us > h2 {
	font-size: clamp(1.7rem, 4vw, 2.2rem);
	color: var(--primary);
	margin-top: 70px;
	margin-bottom: 10px;
	line-height: 1.15;
}

.why-choose-us > p {
	max-width: 500px;
	margin: 0 auto 44px;
	color: #7f8c8d;
	font-size: 0.9rem;
	line-height: 1.7;
}

.core-values-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 15px;
	margin-top: 20px;
}

.core-value-card {
	background-color: #ffffff;
	border-radius: 10px;
	padding: 25px 18px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
	overflow: hidden;
	/* Explicit column so mobile flex-row override works cleanly */
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.core-value-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(to right, var(--secondary), #4539eb);
}

.core-value-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.core-value-icon {
	width: 70px;
	height: 70px;
	min-width: 70px;
	margin: 0 auto 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(52, 152, 219, 0.1);
	border-radius: 50%;
	padding: 12px;
}

.core-value-icon img {
	max-width: 100%;
	max-height: 100%;
}

.core-value-card h2 {
	color: var(--primary);
	margin-bottom: 8px;
	font-size: var(--font-xl);
	font-weight: 600;
}

.core-value-card p {
	color: #666;
	line-height: 1.6;
	font-size: var(--font-sm);
}

/* ── DESKTOP radial diagram ── */
.radial-wrap {
  display: block;
  overflow: visible;
}

.radial-infographic {
  position: relative;
  width: 720px;
  height: 720px;
  margin: 0 auto;
}

/* SVG connector layer */
.radial-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  animation: cvSvgFade 0.8s 0.1s ease both;
}

/* Center node */
.center-node {
  position: absolute;
  left: 220px; top: 220px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 12px rgba(44,62,80,0.08), 0 24px 70px rgba(44,62,80,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: cvPopIn 0.7s 0.1s cubic-bezier(0.175,0.885,0.32,1.275) both,
             cvCenterPulse 2.8s 1.2s ease-in-out infinite;
}

.center-node:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 20px rgba(52, 152, 219, 0.15), 0 28px 70px rgba(44, 62, 80, 0.45);
}

.center-node h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.75rem;
  color: #fff;
  line-height: 1.05;
  font-weight: 700;
}

.center-divider {
  width: 40px;
  height: 2px;
  background: var(--secondary);
  margin: 7px 0 8px;
  border-radius: 2px;
}

.cn-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Satellite nodes */
.sat-node {
  position: absolute;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(44, 62, 80, 0.12);
  border: 2px solid rgba(52, 152, 219, 0.15);
  cursor: default;
  transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  animation: cvSatIn 0.6s cubic-bezier(0.175,0.885,0.32,1.275) both,
             cvFloat 4s ease-in-out infinite;
}

.sat-node:hover {
  transform: scale(1.12);
  box-shadow: 0 16px 45px rgba(44, 62, 80, 0.2);
  border-color: rgba(52, 152, 219, 0.45);
  animation: cvSatIn 0.6s cubic-bezier(0.175,0.885,0.32,1.275) both; /* stop float on hover */
  z-index: 4;
}

/* 6 orbital positions — clockwise from top, with staggered float */
.sat-0 { left: 280px; top:   10px; animation-delay: 0.15s, 0s;    }
.sat-1 { left: 500px; top:  140px; animation-delay: 0.25s, 0.6s;  }
.sat-2 { left: 500px; top:  400px; animation-delay: 0.35s, 1.2s;  }
.sat-3 { left: 280px; top:  530px; animation-delay: 0.45s, 1.8s;  }
.sat-4 { left:  60px; top:  400px; animation-delay: 0.35s, 2.4s;  }
.sat-5 { left:  60px; top:  140px; animation-delay: 0.25s, 3.0s;  }

.sat-icon {
	font-size: 1.35rem;
	color: var(--secondary);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(52, 152, 219, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 7px;
	transition: color 0.35s ease, background 0.35s ease, transform 0.35s ease;
	flex-shrink: 0;
}

.sat-node:hover .sat-icon {
	transform: rotate(15deg) scale(1.15);
	background: rgba(52, 152, 219, 0.18);
}

.sat-title {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 4px;
	line-height: 1.2;
	transition: color 0.35s ease;
}

.sat-desc {
	font-size: 0.62rem;
	color: #7f8c8d;
	line-height: 1.45;
	transition: color 0.35s ease;
}

/* Accent-coloured satellite hover glows */
.sat-node.accent-blue:hover  { border-color: rgba(52,152,219,0.5); box-shadow: 0 16px 45px rgba(52,152,219,0.2); }
.sat-node.accent-red:hover   { border-color: rgba(231,76,60,0.5);  box-shadow: 0 16px 45px rgba(231,76,60,0.2);  }
.sat-node.accent-dark:hover  { border-color: rgba(44,62,80,0.4);   box-shadow: 0 16px 45px rgba(44,62,80,0.2);   }

/* Accent icon colors */
.sat-node.accent-red  .sat-icon { color: var(--accent);  background: rgba(231,76,60,0.1);  }
.sat-node.accent-dark .sat-icon { color: var(--primary); background: rgba(44,62,80,0.08);  }
.sat-node.accent-red:hover  .sat-icon { background: rgba(231,76,60,0.18);  }
.sat-node.accent-dark:hover .sat-icon { background: rgba(44,62,80,0.15);   }

/* ── MOBILE stacked card grid ── */
.mobile-core-grid {
	display: none;
}

/* Hero center card */
.mobile-core-center {
	background: var(--primary);
	border-radius: 20px;
	padding: 28px 20px;
	text-align: center;
	margin-bottom: 14px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(44, 62, 80, 0.3);
	animation: cvSlideUp 0.5s ease both;
}



.mobile-core-center h2 {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 1.9rem;
	color: #fff;
	font-weight: 700;
	line-height: 1.05;
	position: relative;
	z-index: 1;
}

.mobile-core-center .center-divider {
	margin: 10px auto;
	position: relative;
	z-index: 1;
}

.mobile-core-center .cn-label {
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	position: relative;
	z-index: 1;
}

/* 2-column card grid */
.mobile-core-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.mobile-core-card {
	background: #fff;
	border-radius: 16px;
	padding: 20px 14px 18px;
	text-align: center;
	box-shadow: 0 4px 20px rgba(44, 62, 80, 0.09);
	border: 1.5px solid rgba(52, 152, 219, 0.12);
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	animation: cvSlideUp 0.5s ease both;
}

.mobile-core-card:active {
	transform: scale(0.97);
}

/* Color top bar */
.mobile-core-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--secondary);
	border-radius: 16px 16px 0 0;
}

.mobile-core-card.accent-red::before  { background: var(--accent);  }
.mobile-core-card.accent-dark::before { background: var(--primary); }

/* Stagger delays */
.mobile-core-card:nth-child(1) { animation-delay: 0.05s; }
.mobile-core-card:nth-child(2) { animation-delay: 0.10s; }
.mobile-core-card:nth-child(3) { animation-delay: 0.15s; }
.mobile-core-card:nth-child(4) { animation-delay: 0.20s; }
.mobile-core-card:nth-child(5) { animation-delay: 0.25s; }
.mobile-core-card:nth-child(6) { animation-delay: 0.30s; }

.mobile-core-icon {
	font-size: 1.3rem;
	color: var(--secondary);
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(52, 152, 219, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
}

.mobile-core-card.accent-red  .mobile-core-icon { color: var(--accent);  background: rgba(231, 76, 60, 0.1); }
.mobile-core-card.accent-dark .mobile-core-icon { color: var(--primary); background: rgba(44, 62, 80, 0.08);  }

.mobile-core-title {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 6px;
}

.mobile-core-desc {
	font-size: 0.72rem;
	color: #7f8c8d;
	line-height: 1.5;
}

/* ── D·A·T banner ── */
.dat-banner {
	margin: 36px auto 0;
	max-width: 640px;
	background: var(--primary);
	border-radius: 16px;
	padding: 26px 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	position: relative;
	overflow: hidden;
}

.dat-banner::before {
	content: '';
	position: absolute;
	width: 200px; height: 200px;
	border-radius: 50%;
	background: rgba(52, 152, 219, 0.1);
	top: -80px; right: -50px;
	pointer-events: none;
}

.dat-banner-label {
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
	white-space: nowrap;
	width: 100%;
	text-align: center;
	margin-bottom: 2px;
}

.dat-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 9px 16px;
	transition: background 0.25s ease;
	flex: 1;
	min-width: 130px;
	justify-content: center;
}

.dat-pill:hover {
	background: rgba(255, 255, 255, 0.13);
}

.dat-letter {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 1.2rem;
	color: var(--secondary);
	line-height: 1;
}

.dat-pill:nth-child(3) .dat-letter { color: var(--accent); }
.dat-pill:nth-child(4) .dat-letter { color: var(--light);  }

.dat-word {
	font-size: 0.76rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.82);
	letter-spacing: 0.03em;
	white-space: nowrap;
}

/* ── Keyframes for core values ── */
@keyframes cvPopIn {
	0%   { opacity: 0; transform: scale(0.5); }
	70%  { opacity: 1; transform: scale(1.07); }
	100% { opacity: 1; transform: scale(1);   }
}

@keyframes cvSvgFade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes cvSlideUp {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0);    }
}

/* Orbit ring slow spin */
@keyframes cvOrbitSpin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}

/* Satellite float bob */
@keyframes cvFloat {
	0%,100% { transform: translateY(0px); }
	50%     { transform: translateY(-8px); }
}

/* Satellite pop-in from scale 0 */
@keyframes cvSatIn {
	0%   { opacity: 0; transform: scale(0.4); }
	75%  { opacity: 1; transform: scale(1.1); }
	100% { opacity: 1; transform: scale(1);   }
}

/* Spoke draw-in animation */
@keyframes cvSpokeIn {
	from { stroke-dashoffset: 400; opacity: 0; }
	to   { stroke-dashoffset: 0;   opacity: 0.5; }
}

/* Pulse ring glow on center node */
@keyframes cvCenterPulse {
	0%   { box-shadow: 0 0 0 0px rgba(52,152,219,0.45), 0 24px 70px rgba(44,62,80,0.35); }
	70%  { box-shadow: 0 0 0 22px rgba(52,152,219,0), 0 24px 70px rgba(44,62,80,0.35); }
	100% { box-shadow: 0 0 0 0px rgba(52,152,219,0), 0 24px 70px rgba(44,62,80,0.35); }
}

/* Junction dot twinkle */
@keyframes cvDotPulse {
	0%,100% { r: 5; opacity: 1;   }
	50%     { r: 7; opacity: 0.6; }
}

/* Icon spin-in on hover */
@keyframes cvIconSpin {
	from { transform: rotate(-15deg) scale(0.8); }
	to   { transform: rotate(0deg) scale(1); }
}

/* ── Responsive breakpoints for core values ── */

/* Tablet: scale radial down slightly */
@media (max-width: 720px) and (min-width: 681px) {
	.radial-infographic {
		transform: scale(0.88);
		transform-origin: top center;
		margin-bottom: -77px;
	}
}

/* Mobile: swap radial → card grid */
@media (max-width: 680px) {
	.radial-wrap       { display: none; }
	.mobile-core-grid  { display: block; }

	.why-choose-us > p { margin-bottom: 24px; }

	.dat-banner {
		padding: 20px 14px 22px;
		gap: 8px;
		border-radius: 14px;
		margin-top: 24px;
	}

	.dat-pill {
		padding: 8px 12px;
		min-width: 0;
		flex: 1 1 calc(33% - 8px);
	}

	.dat-word { font-size: 0.68rem; }
}

/* Very small phones: single column */
@media (max-width: 380px) {
	.mobile-core-cards { grid-template-columns: 1fr; }
	.mobile-core-card  { padding: 18px 16px; }
	.dat-pill          { flex: 1 1 100%; }
}

/* ===== 8. PROGRAMS SECTION ===== */
.program-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 25px;
	gap: 15px;
}

.program-tab {
	padding: 10px 20px;
	background-color: #f5f5f5;
	border: none;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--primary);
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.program-tab:hover {
	background-color: #e9e9e9;
	transform: translateY(-2px);
}

.program-tab.active {
	background-color: var(--secondary);
	color: white;
	box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.program-content {
	display: none;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.program-content.active {
	display: block;
	opacity: 1;
	animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.program-details {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.program-image {
	overflow: hidden;
}

.program-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.program-info {
	padding: 25px;
}

.program-info h3 {
	font-size: 1.4rem;
	color: var(--primary);
	margin-bottom: 12px;
}

.program-info p {
	margin-bottom: 15px;
	color: #666;
	font-size: 0.85rem;
}

.program-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 20px;
}

.program-feature {
	display: flex;
	align-items: center;
	gap: 10px;
}

.program-feature i {
	color: var(--secondary);
	font-size: 1rem;
}

.program-feature span {
	font-size: 0.8rem;
	color: #555;
}

/* ===== 9. PARALLAX EFFECTS ===== */
.parallax-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	pointer-events: none;
}

.parallax-layer:nth-child(2) {
	background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.parallax-layer:nth-child(3) {
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
	opacity: 0.6;
}

/* ===== 10. MEDIA QUERIES ===== */
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 992px) {
	.mobile-menu-btn {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	nav {
		justify-content: flex-end;
	}

	#navbar {
		position: fixed;
		top: 80px;
		right: -300px;
		width: 280px;
		height: calc(100vh - 80px);
		background-color: white;
		flex-direction: column;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		z-index: 1000;
		overflow-y: auto;
		padding: 20px 0;
		display: flex;
	}

	#navbar.active {
		right: 0;
	}

	#navbar li {
		width: 100%;
		text-align: left;
		padding: 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	}

	#navbar li:last-child {
		border-bottom: none;
	}

	#navbar li a {
		padding: 12px 25px;
		width: 100%;
		border-bottom: none;
		color: var(--primary);
		text-decoration: none;
	}

	#navbar li a::after {
		display: none;
	}

	#navbar li a:hover,
	#navbar li a.active {
		background-color: rgba(52, 152, 219, 0.1);
		color: var(--secondary);
	}

	.mobile-menu-btn i {
		font-size: 24px;
	}

	.section-title h2,
	.about-text h2,
	.why-choose-us h2 {
		font-size: 1.8rem;
	}

	.about-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.about-image {
		max-width: 450px;
		margin: 0 auto;
	}

	.program-details {
		grid-template-columns: 1fr;
	}

	.program-image {
		max-height: 250px;
	}

	.program-features {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	section {
		padding: 35px 0;
	}

	.hero {
		height: 100vh;
		min-height: 500px;
	}

	.hero h1 {
		font-size: 2.6rem;
		line-height: 1.3;
		font-weight: 700;
	}

	.hero p {
		font-size: 1.1rem;
		line-height: 1.6;
		margin-left: 0;
		font-weight: 400;
	}

	.hero-btns {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.hero-btns .btn {
		width: 200px;
		padding: 12px 20px;
		font-size: 0.9rem;
	}

	.program-tabs {
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.program-tab {
		width: 200px;
		padding: 8px 16px;
	}
}

@media (max-width: 480px) {
	.hero {
		height: 100vh;
		min-height: 450px;
	}

	.hero-content {
		padding: 0 10px;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.section-title h2,
	.about-text h2,
	.why-choose-us h2 {
		font-size: 1.6rem;
	}
}

/* ===== TRAINERS SECTION ===== */
.trainers {
	background-color: white;
	padding: 50px 0;
	position: relative;
	overflow: hidden;
}

.trainers::before,
.trainers::after {
	content: "";
	position: absolute;
	background-color: rgba(52, 152, 219, 0.1);
	border-radius: 50%;
	z-index: 0;
}

.trainers::before {
	width: 400px;
	height: 400px;
	top: -150px;
	right: -200px;
}

.trainers::after {
	width: 350px;
	height: 350px;
	bottom: -100px;
	left: -150px;
}

.trainers .section-title,
.trainers-grid,
.trainer-content {
	position: relative;
	z-index: 1;
}

.trainers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 20px;
}

.trainer-profile {
	background-color: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.trainer-header {
	padding: 25px 25px 15px;
	display: flex;
	align-items: center;
	gap: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trainer-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--secondary);
	box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.trainer-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.trainer-name {
	flex: 1;
}

.trainer-body {
	padding: 20px 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.trainer-body p {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 20px;
}

.trainer-skills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

.trainer-skills span {
	background-color: rgba(52, 152, 219, 0.1);
	color: var(--secondary);
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
}

.trainer-footer {
	padding: 15px 25px;
	display: flex;
	justify-content: center;
	gap: 15px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	background-color: #f9f9f9;
}

@media (max-width: 768px) {
	.trainers-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 20px;
	}

	.trainer-header {
		padding: 20px 20px 12px;
	}

	.trainer-avatar {
		width: 70px;
		height: 70px;
	}

	.trainer-name h3 {
		font-size: 1.2rem;
	}

	.trainer-body,
	.trainer-footer {
		padding: 15px 20px;
	}
}

.trainer-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	align-items: center;
	margin-bottom: 40px;
}

.trainer-content.reverse {
	grid-template-columns: 1fr 1fr;
	direction: rtl;
}

.trainer-content.reverse .trainer-text {
	direction: ltr;
}

.trainer-image {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	max-height: 400px;
}

.trainer-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.trainer-text h3 {
	color: var(--secondary);
	margin-bottom: 8px;
	font-size: 1rem;
}

.trainer-text p {
	margin-bottom: 15px;
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
}

@media (max-width: 992px) {
	.trainer-content,
	.trainer-content.reverse {
		grid-template-columns: 1fr;
		direction: ltr;
		gap: 20px;
	}

	.trainer-image {
		max-width: 450px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.trainer-text h2 {
		font-size: 1.7rem;
	}

	.trainer-text h3 {
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	.trainer-text h2 {
		font-size: 1.5rem;
	}
}

/* ===== FACILITIES SECTION ===== */
.facilities {
	background-color: #f5f7fa;
	padding: 70px 0;
}

.facilities-gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: 240px;
	gap: 18px;
	margin-top: 40px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 6px 10px rgba(0, 0, 0, 0.02);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	grid-column: span 4;
	cursor: pointer;
	transform: translateY(0);
	will-change: transform, box-shadow;
}

.gallery-item.featured {
	grid-column: span 6;
	grid-row: span 2;
}

.gallery-item.small {
	grid-column: span 3;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
	will-change: transform;
}

.gallery-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04);
}

.gallery-item:hover img {
	transform: scale(1.08);
}

.gallery-item::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 40%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.05), transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
	opacity: 1;
}

.gallery-item::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: 12px;
	padding: 2px;
	background: linear-gradient(to bottom right, transparent, rgba(52, 152, 219, 0.2), transparent);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.gallery-item:hover::before {
	opacity: 1;
}

.gallery-item {
	opacity: 0;
	animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.gallery-item:nth-child(1)  { animation-delay: 0.1s; }
.gallery-item:nth-child(2)  { animation-delay: 0.2s; }
.gallery-item:nth-child(3)  { animation-delay: 0.3s; }
.gallery-item:nth-child(4)  { animation-delay: 4s;   }
.gallery-item:nth-child(5)  { animation-delay: 0.5s; }
.gallery-item:nth-child(6)  { animation-delay: 0.6s; }
.gallery-item:nth-child(7)  { animation-delay: 0.7s; }
.gallery-item:nth-child(8)  { animation-delay: 0.8s; }
.gallery-item:nth-child(9)  { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1s;   }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }
.gallery-item:nth-child(13) { animation-delay: 1.3s; }
.gallery-item:nth-child(14) { animation-delay: 1.4s; }
.gallery-item:nth-child(15) { animation-delay: 1.5s; }

.gallery-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	backdrop-filter: blur(5px);
}

.gallery-lightbox.active {
	opacity: 1;
	pointer-events: all;
}

.lightbox-content {
	max-width: 90%;
	max-height: 90%;
	position: relative;
	opacity: 0;
	transform: scale(0.95);
	transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-lightbox.active .lightbox-content {
	opacity: 1;
	transform: scale(1);
}

.lightbox-content img {
	max-width: 100%;
	max-height: 85vh;
	display: block;
	border-radius: 5px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
	position: absolute;
	top: 25px;
	right: 25px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	color: white;
	font-size: 28px;
	cursor: pointer;
	z-index: 1001;
	transition: all 0.3s ease;
	opacity: 0.8;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
	background-color: rgba(255, 255, 255, 0.25);
	transform: scale(1.1) rotate(90deg);
	opacity: 1;
}

.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 24px;
	cursor: pointer;
	opacity: 0.6;
	transition: all 0.3s ease;
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-prev {
	left: 25px;
}

.lightbox-next {
	right: 25px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	opacity: 1;
	background-color: rgba(255, 255, 255, 0.25);
	transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1200px) {
	.facilities-gallery {
		max-width: 90%;
	}
}

@media (max-width: 992px) {
	.facilities {
		padding: 60px 0;
	}

	.facilities-gallery {
		grid-auto-rows: 200px;
	}

	.gallery-item {
		grid-column: span 6;
	}

	.gallery-item.small {
		grid-column: span 4;
	}
}

@media (max-width: 768px) {
	.facilities {
		padding: 50px 0;
	}

	.facilities-gallery {
		grid-template-columns: repeat(6, 1fr);
		grid-auto-rows: 180px;
		gap: 12px;
		margin-top: 30px;
	}

	.gallery-item.small {
		grid-column: span 3;
	}

	.gallery-item.featured {
		grid-column: span 6;
	}

	.lightbox-prev,
	.lightbox-next,
	.lightbox-close {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.lightbox-prev {
		left: 15px;
	}

	.lightbox-next {
		right: 15px;
	}
}

@media (max-width: 576px) {
	.facilities {
		padding: 40px 0;
	}

	.facilities-gallery {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 150px;
		gap: 10px;
	}

	.gallery-item,
	.gallery-item.featured,
	.gallery-item.small {
		grid-column: span 1;
	}

	.gallery-item.featured {
		grid-row: span 2;
	}

	.lightbox-prev,
	.lightbox-next {
		width: 35px;
		height: 35px;
		font-size: 18px;
	}
}

/* ===== ADMISSIONS SECTION ===== */
.admissions {
	background-color: white;
	padding: 60px 0;
	position: relative;
	overflow: hidden;
}

.admissions::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0) 70%);
	border-radius: 50%;
	z-index: 0;
}

.admissions .section-title {
	position: relative;
	z-index: 1;
}

.admissions-content {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 50px;
	margin-top: 40px;
	align-items: center;
}

.admissions-image {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.admissions-image::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: lightblue;
	z-index: 1;
}

.admissions-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1);
	transition: transform 0.5s ease;
}

.admissions-image:hover img {
	transform: scale(1.05);
}

.admissions-info {
	padding: 20px 0;
}

.admissions-info h3 {
	font-size: 1.8rem;
	color: var(--primary);
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 15px;
}

.admissions-info h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 80px;
	height: 3px;
	background-color: var(--secondary);
}

.admissions-info p {
	font-size: 1rem;
	line-height: 1.7;
	color: #555;
	margin-bottom: 25px;
}

.requirements {
	background-color: white;
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.requirements h4 {
	font-size: 1.2rem;
	color: var(--primary);
	margin-bottom: 20px;
}

.requirements ul {
	list-style: none;
	padding: 0;
}

.requirements ul li {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.requirements ul li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.requirements ul li i {
	font-size: 1.2rem;
	color: var(--secondary);
	margin-right: 15px;
	width: 24px;
	text-align: center;
}

.application-cta {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.application-cta .btn {
	flex: 1;
	min-width: 180px;
	text-align: center;
}

.enrollment-steps {
	position: relative;
	z-index: 1;
	margin-top: 50px;
	background-color: white;
	border-radius: 15px;
	padding: 40px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.enrollment-steps h3 {
	text-align: center;
	font-size: 1.6rem;
	color: var(--primary);
	margin-bottom: 40px;
}

.steps-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	position: relative;
}

.steps-container::before {
	content: "";
	position: absolute;
	top: 40px;
	left: 70px;
	right: 70px;
	height: 3px;
	background: linear-gradient(to right, var(--secondary), var(--secondary));
	opacity: 0.4;
	z-index: 0;
}

.step-item {
	background: white;
	border-radius: 12px;
	padding: 40px 20px 30px;
	text-align: center;
	position: relative;
	z-index: 1;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 230px;
}

.step-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(52, 152, 219, 0.15);
}

.step-number {
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--secondary), #2980b9);
	color: white;
	font-size: 1.8rem;
	font-weight: 600;
	border-radius: 50%;
	margin-bottom: 20px;
	box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
	position: relative;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	100% {
		transform: scale(1.3);
		opacity: 0;
	}
}

.step-item h4 {
	color: var(--primary);
	font-size: 1.2rem;
	margin-bottom: 12px;
	font-weight: 600;
}

.step-item p {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.5;
}

@media (max-width: 992px) {
	.admissions-content {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.admissions-image {
		max-width: 600px;
		margin: 0 auto;
	}

	.steps-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.steps-container::before {
		display: none;
	}
}

@media (max-width: 768px) {
	.enrollment-steps {
		padding: 30px 20px;
	}
}

@media (max-width: 576px) {
	.steps-container {
		grid-template-columns: 1fr;
	}

	.step-item {
		padding: 30px 20px 25px;
		min-height: auto;
	}

	.step-number {
		width: 60px;
		height: 60px;
		font-size: 1.5rem;
	}
}

@media (max-width: 576px) {
	.application-cta {
		flex-direction: column;
	}

	.application-cta .btn {
		width: 100%;
	}
}

.admissions-cta {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.request-info-btn {
	background: linear-gradient(135deg, var(--secondary), #2980b9);
	color: white;
	padding: 12px 25px;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 30px;
	box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.request-info-btn i {
	font-size: 1.1rem;
}

.request-info-btn:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
	background: linear-gradient(135deg, #2980b9, var(--secondary));
}

@media (max-width: 576px) {
	.request-info-btn {
		width: 100%;
		justify-content: center;
		padding: 14px 20px;
	}
}

/* ===== PARTNERS SECTION ===== */
.partners {
	background-color: #f9f9f9;
	padding: 70px 0;
	position: relative;
	overflow: hidden;
}

.partners::before,
.partners::after {
	content: "";
	position: absolute;
	background-color: rgba(52, 152, 219, 0.1);
	border-radius: 50%;
	z-index: 0;
}

.partners::before {
	width: 400px;
	height: 400px;
	top: -200px;
	left: -150px;
}

.partners::after {
	width: 350px;
	height: 350px;
	bottom: -150px;
	right: -100px;
}

.partners .section-title {
	position: relative;
	z-index: 1;
	margin-bottom: 50px;
}

.partners-logos {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 50px;
	position: relative;
	z-index: 1;
	padding-bottom: 70px;
}

.partners-logos img {
	height: 100px;
	max-width: 300px;
	object-fit: contain;
	opacity: 1;
	transition: all 0.4s ease;
	transform: translateY(0);
}

@keyframes float {
	0%   { transform: translateY(0px);  }
	50%  { transform: translateY(-8px); }
	100% { transform: translateY(0px);  }
}

.partners-logos img:nth-child(1) { animation: float 6s ease-in-out infinite; animation-delay: 0s;   }
.partners-logos img:nth-child(2) { animation: float 6s ease-in-out infinite; animation-delay: 1s; }
.partners-logos img:nth-child(3) { animation: float 6s ease-in-out infinite; animation-delay: 2s;   }
.partners-logos img:nth-child(4) { animation: float 6s ease-in-out infinite; animation-delay: 3s; }
.partners-logos img:nth-child(5) { animation: float 6s ease-in-out infinite; animation-delay: 4s;   }
.partners-logos img:nth-child(6) { animation: float 6s ease-in-out infinite; animation-delay: 5s; }

.partner-card {
	position: relative;
	text-align: center;
	transition: all 0.3s ease;
}

@media (max-width: 992px) {
	.partners-logos {
		gap: 40px;
	}
	.partners-logos img {
		height: 60px;
		max-width: 180px;
	}
}

@media (max-width: 768px) {
	.partners {
		padding: 50px 0;
	}
	.partners-logos {
		gap: 30px;
	}
	.partners-logos img {
		height: 50px;
		max-width: 150px;
	}
}

@media (max-width: 576px) {
	.partners-logos {
		gap: 25px 40px;
	}
	.partners-logos img {
		height: 40px;
		max-width: 120px;
	}
}

/* ===== CONTACT SECTION ===== */
.contact {
	padding: 70px 0;
	background-color: #f9f9f9;
	position: relative;
	overflow: hidden;
}

.contact .section-title {
	margin-bottom: 40px;
	position: relative;
	z-index: 1;
}

.contact-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 50px;
	position: relative;
	z-index: 1;
}

.contact-info,
.contact-form-container {
	flex: 1;
	min-width: 300px;
}

.contact-card {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
	padding: 15px;
	background-color: white;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-card i {
	font-size: 20px;
	color: #0056b3;
	width: 40px;
	margin-right: 15px;
	text-align: center;
}

.contact-details h3 {
	font-size: 18px;
	margin: 0 0 5px 0;
	color: #333;
}

.contact-details p {
	margin: 0;
	color: #666;
	line-height: 1.5;
}

.social-media {
	margin-top: 25px;
}

.social-media h3 {
	font-size: 18px;
	margin-bottom: 15px;
}

.social-icons a {
	display: inline-block;
	margin-right: 10px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background-color: #0056b3;
	color: white;
	border-radius: 50%;
	text-decoration: none;
}

.contact-form-container {
	background: white;
	padding: 25px;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	position: relative;
	isolation: isolate;
}

.contact-form-container h3 {
	font-size: 22px;
	margin-top: 0;
	margin-bottom: 10px;
}

.contact-form-container p {
	margin-bottom: 20px;
	color: #666;
}

.form-row {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.form-group {
	margin-bottom: 15px;
	flex: 1;
}

.form-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
}

.required {
	color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: #0056b3;
	outline: none;
}

.submit-btn {
	background-color: var(--secondary);
	color: white;
	padding: 12px 25px;
	width: 100%;
	justify-content: center;
	font-size: 16px;
	transition: all 0.3s ease;
	margin-top: 10px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	background-color: #004494;
}

.map-container {
	margin-top: 50px;
}

.map-container h3 {
	font-size: 22px;
	text-align: center;
	margin-bottom: 20px;
}

.map {
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.map iframe {
	width: 100%;
	height: 400px;
	border: 0;
}

/* ===== FOOTER ===== */
.footer {
	padding: 20px 0;
	background-color: #222;
	color: #fff;
	text-align: center;
}

.footer-content {
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-text {
	color: #aaa;
	font-size: 14px;
}

@media (max-width: 576px) {
	.footer {
		padding: 15px 0;
	}
	.footer-text {
		font-size: 12px;
	}
}

/* ===== FORM VALIDATION ===== */
.error-message {
	color: #ff3860;
	font-size: 14px;
	margin-top: 5px;
	display: none;
	animation: fadeIn 0.3s;
	font-weight: 500;
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
	border-color: #ff3860;
	background-color: rgba(255, 56, 96, 0.05);
}

.form-group input:focus.invalid,
.form-group textarea:focus.invalid,
.form-group select:focus.invalid {
	box-shadow: 0 0 0 2px rgba(255, 56, 96, 0.25);
}

.form-group input.valid,
.form-group textarea.valid,
.form-group select.valid {
	border-color: #23d160;
	background-color: rgba(35, 209, 96, 0.05);
}

/* ===== MODALS ===== */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	overflow: auto;
	animation: fadeIn 0.3s;
}

.modal-content {
	position: relative;
	background-color: #fff;
	margin: 10vh auto;
	padding: 30px;
	border-radius: 10px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	text-align: center;
	animation: slideIn 0.4s;
}

.close-modal {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	color: #aaa;
	cursor: pointer;
	transition: color 0.2s;
}

.close-modal:hover {
	color: #333;
}

.modal-icon {
	margin: 20px 0;
}

.modal-icon i {
	font-size: 60px;
}

.modal-content.success .modal-icon i {
	color: #4caf50;
}

.modal-content.error .modal-icon i {
	color: #f44336;
}

.modal-content h3 {
	margin-bottom: 15px;
	font-size: 24px;
}

.modal-content p {
	margin-bottom: 25px;
	color: #555;
	line-height: 1.6;
}

.modal-btn {
	padding: 10px 25px;
	margin-top: 10px;
	transition: all 0.3s;
}

@keyframes slideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* ===== RECAPTCHA ===== */
@media screen and (max-width: 600px) {
	.g-recaptcha {
		transform: scale(0.9);
		transform-origin: center;
	}
}

@media screen and (max-width: 400px) {
	.g-recaptcha {
		transform: scale(0.85);
		transform-origin: center;
	}
}

@media screen and (max-width: 320px) {
	.g-recaptcha {
		transform: scale(0.75);
		transform-origin: center;
	}
}

.contact-form-container {
	position: relative;
	z-index: 1;
	isolation: isolate;
}

.contact form {
	isolation: isolate;
	position: relative;
}

.recaptcha-notice {
	text-align: center;
	margin-bottom: 10px;
}

.recaptcha-notice small {
	color: #666;
	font-size: 11px;
}

.recaptcha-notice a {
	color: #1a73e8;
	text-decoration: none;
}

.recaptcha-notice a:hover {
	text-decoration: underline;
}

.recaptcha-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 20px;
}

.recaptcha-notice {
	text-align: center;
	margin: 10px 0;
	width: 100%;
}

.recaptcha-notice small {
	color: #666;
	font-size: 11px;
	line-height: 1.4;
}

.recaptcha-notice a {
	color: #1a73e8;
	text-decoration: none;
}

.recaptcha-notice a:hover {
	text-decoration: underline;
}

.grecaptcha-badge {
	visibility: hidden !important;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  position: relative;
  overflow: hidden;
}

.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  background-color: rgba(52, 152, 219, 0.05);
  border-radius: 50%;
}

.testimonials::before {
  width: 350px;
  height: 350px;
  top: -150px;
  left: -100px;
}

.testimonials::after {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -100px;
}

.testimonials .section-title {
  margin-bottom: 50px;
}

.testimonial-carousel-container {
  overflow: hidden;
  padding: 25px 0;
  margin: 0 -15px;
  position: relative;
}

.testimonial-carousel-container::before,
.testimonial-carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.testimonial-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0));
}

.testimonial-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0));
}

.testimonial-carousel {
  display: flex;
  animation: scrollTestimonials 45s linear infinite;
}

.testimonial-carousel:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-320px * 6)); }
}

.testimonial-card {
  flex: 0 0 300px;
  min-width: 300px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin: 10px 15px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), #4ab8ff);
  opacity: 0.8;
}

.testimonial-fb-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #3b5998;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(59, 89, 152, 0.3);
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-fb-badge {
  transform: scale(1.1);
}

.testimonial-fb-badge i {
  font-size: 13px;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-rating {
  margin-bottom: 18px;
  color: #ffc107;
  display: flex;
}

.testimonial-rating i {
  margin-right: 3px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.testimonial-content p {
  font-style: italic;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
  font-size: 0.95rem;
  flex-grow: 1;
  padding-left: 12px;
  border-left: 3px solid rgba(52, 152, 219, 0.2);
}

.testimonial-content p::before {
  content: "\201C";
  font-size: 4rem;
  line-height: 0;
  position: absolute;
  top: 20px;
  left: -5px;
  color: rgba(52, 152, 219, 0.1);
  z-index: 0;
  font-family: Georgia, serif;
}

.testimonial-author {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-content h4 {
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.testimonial-content span {
  font-size: 0.8rem;
  color: #666;
  font-weight: 400;
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 280px;
    min-width: 280px;
    padding: 25px;
  }
  .testimonial-carousel-container::before,
  .testimonial-carousel-container::after {
    width: 60px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }
  .testimonial-card {
    flex: 0 0 250px;
    min-width: 250px;
    padding: 22px;
  }
  .testimonial-content p {
    font-size: 0.9rem;
  }
  .testimonial-carousel-container::before,
  .testimonial-carousel-container::after {
    width: 40px;
  }
}

@media (max-width: 576px) {
  .testimonial-card {
    flex: 0 0 230px;
    min-width: 230px;
    padding: 18px;
    margin: 5px 10px;
  }
  .testimonial-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    padding-left: 8px;
  }
  .testimonial-content p::before {
    font-size: 3rem;
  }
  .testimonial-fb-badge {
    width: 22px;
    height: 22px;
  }
  .testimonial-fb-badge i {
    font-size: 11px;
  }
  .testimonial-author {
    padding-top: 10px;
  }
}
/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* content-visibility: auto — skip rendering off-screen sections */
.about,
.academics,
.trainers,
.facilities,
.partners,
.admissions,
.testimonials,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* Intersection Observer fade-in animation */
.observe-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.observe-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto; /* release GPU layer after animation */
}

/* Respect users who prefer 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;
  }

  .observe-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-video {
    /* Pause the video for users preferring less motion */
    animation: none !important;
  }
}

/* Optimize testimonial carousel GPU compositing */
.testimonial-carousel {
  transform: translateZ(0);   /* promote to own layer */
  backface-visibility: hidden;
}

/* Remove expensive will-change on elements that don't need it at rest */
.hero-video,
.hero-content {
  will-change: auto;
}

/* Only apply will-change on active parallax/scroll (controlled via JS) */
.hero-video.is-parallax,
.hero-content.is-parallax {
  will-change: transform;
}

/* Lazy-loaded images: prevent layout shift by reserving space */
img[loading="lazy"] {
  background-color: #f0f0f0;   /* placeholder color while loading */
}

/* Smooth image reveal once loaded */
img {
  transition: opacity 0.3s ease;
}

img[data-loaded="false"] {
  opacity: 0;
}

/* Map container placeholder while iframe lazy-loads */
.map iframe[src="about:blank"] {
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ============================================================
   MOBILE LAYOUT — FULL OVERHAUL  (max-width: 768px)
   ============================================================ */

/* ─── Global ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  section { padding: 48px 0; }

  .container {
    width: 92%;
    padding: 0 16px;
  }

  .section-title h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .section-title p { font-size: 0.875rem; }

  .btn {
    padding: 12px 20px;
    font-size: 0.875rem;
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Prevent iOS input zoom */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Prevent long words breaking layout */
  p, h1, h2, h3, h4, h5, span {
    overflow-wrap: break-word;
    word-break: normal;        /* NOT break-all — that breaks headings */
  }
}

/* ─── HERO ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    height: 100svh;
    min-height: 520px;
    margin-top: 0;
    padding-top: 0;
    align-items: flex-end;
    padding-bottom: 56px;
  }

  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.55) 50%,
      rgba(0,0,0,0.28) 100%
    );
  }

  .hero-content {
    padding: 0 20px;
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    word-break: normal;
  }

  .hero p {
    font-size: 0.875rem;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-btns .btn {
    flex: 1 1 140px;
    max-width: 180px;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.5rem; }
  .hero-btns .btn { flex: 1 1 100%; max-width: 100%; }
}

/* ─── ABOUT SECTION ───────────────────────────────────────── */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-image {
    max-width: 100%;
    margin: 0;
    border-radius: 10px;
  }

  .about-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
  }

  .about-text h3 { font-size: 0.78rem; letter-spacing: 0.05em; }
  .about-text h2 { font-size: 1.45rem; line-height: 1.2; }
  .about-text p  { font-size: 0.875rem; line-height: 1.65; }
}

/* ─── WHY CHOOSE US headings ──────────────────────────────── */
@media (max-width: 768px) {
  .why-choose-us { padding: 24px 0 16px; }

  .why-choose-us > h2 {
    font-size: 1.5rem;
    margin-top: 36px;
    word-break: normal;
  }

  .why-choose-us > p {
    font-size: 0.875rem;
    margin-bottom: 20px;
  }
}

/* ─── CORE VALUE CARDS (the main bug fix) ─────────────────── */
/*
 * ROOT CAUSE: cards were set to flex-row with the icon beside
 * a tiny text column — crushing h2 into a vertical letter stack.
 * FIX: cards stay COLUMN on mobile, but use a horizontal icon+text
 * row ONLY on medium phones (480px+) with proper min-width.
 */
@media (max-width: 768px) {

  .core-values-container {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  /* ── Single-column card: column-centered, clean ── */
  .core-value-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
    gap: 0;
  }

  .core-value-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    margin: 0 auto 10px;
  }

  .core-value-card h2 {
    font-size: 1.05rem;          /* explicit px fallback; var() was undefined */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
    white-space: normal;         /* allow wrapping but not letter-by-letter */
    word-break: normal;
    overflow-wrap: normal;
    width: 100%;
  }

  .core-value-card p {
    font-size: 0.855rem;
    line-height: 1.6;
    text-align: center;
  }
}

/* Two columns when there's enough horizontal space */
@media (min-width: 480px) and (max-width: 768px) {
  .core-values-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── PROGRAM TABS ────────────────────────────────────────── */
@media (max-width: 768px) {
  .program-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 20px;
  }

  .program-tabs::-webkit-scrollbar { display: none; }

  .program-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.8rem;
    min-height: 44px;
    border-radius: 6px;
    width: auto;
  }

  .program-details {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 10px;
  }

  .program-image { max-height: 200px; min-height: 160px; }
  .program-image img { height: 200px; object-fit: cover; }

  .program-info { padding: 20px 16px; }
  .program-info h3 { font-size: 1.15rem; }
  .program-info p  { font-size: 0.855rem; }

  .program-features {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .program-feature span { font-size: 0.78rem; }
}

@media (max-width: 400px) {
  .program-features { grid-template-columns: 1fr; }
}

/* ─── TRAINERS ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .trainers { padding: 48px 0; }

  .trainer-content,
  .trainer-content.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .trainer-content .trainer-image,
  .trainer-content.reverse .trainer-image { order: -1; }

  .trainer-image {
    max-width: 100%;
    max-height: 240px;
    border-radius: 10px;
    margin: 0;
  }

  .trainer-image img { height: 240px; object-fit: cover; }

  .trainer-text h2 { font-size: 1.4rem; line-height: 1.25; }
  .trainer-text h3 { font-size: 0.8rem; }
  .trainer-text p  { font-size: 0.855rem; line-height: 1.65; }
}

/* ─── FACILITIES ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .facilities { padding: 48px 0; }

  .facilities-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 10px;
    margin-top: 24px;
  }

  .gallery-item,
  .gallery-item.featured,
  .gallery-item.small {
    grid-column: span 1;
    grid-row: span 1;
    border-radius: 8px;
  }

  .gallery-item.featured { grid-row: span 2; }

  /* No hover translate on touch */
  @media (hover: none) {
    .gallery-item:hover { transform: none; }
    .gallery-item:hover img { transform: none; }
  }

  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 20px; }
  .lightbox-prev  { left: 10px; width: 38px; height: 38px; font-size: 18px; }
  .lightbox-next  { right: 10px; width: 38px; height: 38px; font-size: 18px; }
}

/* ─── ADMISSIONS STEPS ────────────────────────────────────── */
@media (max-width: 768px) {
  .admissions { padding: 48px 0; }

  .enrollment-steps {
    padding: 24px 16px;
    margin-top: 32px;
    border-radius: 12px;
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .steps-container::before { display: none; }

  .step-item {
    padding: 24px 14px 20px;
    min-height: 0;
    border-radius: 10px;
  }

  .step-number {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .step-item h4 { font-size: 1rem; margin-bottom: 6px; }
  .step-item p  { font-size: 0.82rem; line-height: 1.5; }

  .admissions-cta { margin-top: 28px; }

  .request-info-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
}

@media (max-width: 400px) {
  .steps-container { grid-template-columns: 1fr; }
}

/* ─── PARTNERS ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .partners { padding: 48px 0; }
  .partners .section-title { margin-bottom: 28px; }

  .partners-logos {
    gap: 20px 28px;
    padding-bottom: 32px;
  }

  .partners-logos img {
    height: 44px;
    max-width: 110px;
    animation: none !important; /* save battery on mobile */
  }
}

/* ─── TESTIMONIALS ────────────────────────────────────────── */
@media (max-width: 768px) {
  .testimonials { padding: 48px 0; }
  .testimonials .section-title { margin-bottom: 28px; }

  .testimonial-carousel-container::before,
  .testimonial-carousel-container::after { width: 28px; }

  .testimonial-card {
    flex: 0 0 260px;
    min-width: 260px;
    padding: 20px 16px;
    margin: 6px 8px;
    border-radius: 12px;
  }

  .testimonial-content p {
    font-size: 0.875rem;
    line-height: 1.55;
    padding-left: 10px;
  }

  .testimonial-content h4  { font-size: 0.9rem; }
  .testimonial-content span { font-size: 0.75rem; }
  .testimonial-rating { margin-bottom: 12px; }
}

@media (max-width: 400px) {
  .testimonial-card {
    flex: 0 0 230px;
    min-width: 230px;
    padding: 16px 14px;
  }
}

/* ─── CONTACT ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .contact { padding: 48px 0; }

  .contact-container {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
  }

  .contact-info,
  .contact-form-container {
    min-width: 0;
    width: 100%;
  }

  .contact-card {
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 8px;
    align-items: flex-start;
  }

  .contact-card i {
    font-size: 18px;
    margin-right: 12px;
    margin-top: 3px;
    width: 24px;
  }

  .contact-details h3 { font-size: 0.95rem; }
  .contact-details p,
  .contact-details a  { font-size: 0.855rem; word-break: break-word; }

  .social-media { margin-top: 16px; }
  .social-media h3 { font-size: 0.95rem; margin-bottom: 10px; }

  .social-icons a {
    width: 42px;
    height: 42px;
    line-height: 42px;
    margin-right: 8px;
  }

  .contact-form-container {
    padding: 20px 16px;
    border-radius: 10px;
  }

  .contact-form-container h3 { font-size: 1.2rem; }
  .contact-form-container p  { font-size: 0.855rem; margin-bottom: 16px; }

  .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }

  .form-group { margin-bottom: 12px; }
  .form-group label { font-size: 0.855rem; margin-bottom: 5px; }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 12px;
    border-radius: 6px;
    min-height: 44px;
  }

  .form-group textarea { min-height: 100px; }

  .submit-btn {
    font-size: 0.9rem;
    padding: 14px 20px;
    min-height: 48px;
    border-radius: 6px;
  }

  .map-container { margin-top: 32px; }
  .map-container h3 { font-size: 1.1rem; margin-bottom: 14px; }
  .map { border-radius: 8px; }
  .map iframe { height: 280px; }
}

/* ─── MODAL ───────────────────────────────────────────────── */
@media (max-width: 576px) {
  .modal-content {
    margin: 8vh auto;
    padding: 24px 20px;
    width: 92%;
    border-radius: 12px;
  }

  .modal-icon i { font-size: 48px; }
  .modal-content h3 { font-size: 1.25rem; }
  .modal-content p  { font-size: 0.875rem; margin-bottom: 20px; }
  .close-modal { font-size: 24px; top: 12px; right: 14px; }
}

/* ─── Touch device: disable stuck hover states ────────────── */
@media (hover: none) and (max-width: 768px) {
  .core-value-card:hover,
  .step-item:hover,
  .testimonial-card:hover,
  .btn:hover {
    transform: none;
    box-shadow: inherit;
  }

  .btn:active { transform: scale(0.97); transition: transform 0.1s; }

  a, button {
    -webkit-tap-highlight-color: rgba(52, 152, 219, 0.15);
    touch-action: manipulation;
  }
}

/* ─── Extra-small: < 360px ────────────────────────────────── */
@media (max-width: 360px) {
  .container { width: 96%; padding: 0 10px; }
  .section-title h2 { font-size: 1.4rem; }
  .hero h1 { font-size: 1.35rem; }
  .about-text h2, .trainer-text h2 { font-size: 1.3rem; }

  .enrollment-steps { padding: 20px 12px; }
  .step-number { width: 48px; height: 48px; font-size: 1.2rem; }

  .facilities-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item.featured { grid-row: span 1; }
}