/* ==========================================================================
   Khan Institute — Official Modern Stylesheet
   Crafted with Vanilla CSS3, Modern Tokens, Responsive Grid & Micro-animations
   Bilingual Support: Latin (Plus Jakarta Sans) & Bengali (Hind Siliguri)
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* --- CSS Variables / Design Tokens --- */
:root {
  /* Brand Colors (Inspired by official logo) */
  --primary-950: #051329;
  --primary-900: #0a1f3d;
  --primary-800: #0f2c57;
  --primary-700: #143b75;
  --primary-600: #1b4f9c;
  --primary-500: #2563eb;
  --primary-100: #e0ecfd;
  --primary-50:  #f0f6ff;

  /* Accent Red (from ribbon) */
  --accent-700: #881320;
  --accent-600: #b31a2a;
  --accent-500: #dc2626;
  --accent-100: #fee2e2;
  --accent-50:  #fef2f2;

  /* Accent Gold (from wreath & star) */
  --gold-600: #b45309;
  --gold-500: #d97706;
  --gold-400: #f59e0b;
  --gold-100: #fef3c7;
  --gold-50:  #fffbeb;

  /* Neutrals */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  --border-focus: #2563eb;

  /* WhatsApp Green */
  --wa-green: #25d366;
  --wa-dark: #128c7e;

  /* Typography */
  --font-en: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --font-current: var(--font-en);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 36px -6px rgba(15, 23, 42, 0.16);
  --shadow-brand: 0 10px 25px -3px rgba(20, 59, 117, 0.25);
  --shadow-accent: 0 10px 25px -3px rgba(179, 26, 42, 0.25);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --topbar-height: 40px;
}

/* --- Bengali Font Class applied dynamically --- */
html[lang="bn"],
body.lang-bn,
.font-bn {
  font-family: var(--font-bn);
}

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

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

body {
  font-family: var(--font-current);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

ul, ol {
  list-style: none;
}

/* --- Accessibility Focus State --- */
:focus-visible {
  outline: 3px solid var(--primary-500);
  outline-offset: 2px;
}

/* --- Smooth Anchor Target Offsets (Prevents Sticky Header Overlap) --- */
[id] {
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

/* --- Touch Optimizations --- */
button, a, input, select {
  -webkit-tap-highlight-color: transparent;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION
   ========================================================================== */
.top-bar {
  background: var(--primary-950);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0;
  position: relative;
  z-index: 101;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-item:hover {
  color: var(--gold-400);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold-400);
}

.top-bar-badge {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.header-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  transition: box-shadow var(--transition-normal), background var(--transition-normal);
}

.header-nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  transition: transform var(--transition-normal);
}

.brand:hover .brand-logo-img {
  transform: scale(1.05) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--primary-900);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-600);
  letter-spacing: 0.4px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0.2rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--accent-600);
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-800);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Toggle Button */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary-50);
  color: var(--primary-800);
  border: 1.5px solid var(--primary-100);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.lang-toggle-btn:hover {
  background: var(--primary-100);
  border-color: var(--primary-600);
  color: var(--primary-900);
  transform: translateY(-1px);
}

.lang-toggle-btn .lang-pill {
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-pill);
}

.lang-toggle-btn .lang-pill.active {
  background: var(--primary-700);
  color: #ffffff;
}

/* Mobile Nav Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--primary-900);
}

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

/* ==========================================================================
   BUTTONS & COMMON UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
  color: #ffffff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-900);
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--primary-600);
  color: var(--primary-700);
  background: var(--primary-50);
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--wa-green);
  color: #ffffff;
  border-color: var(--wa-green);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.badge-primary {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
}

.badge-accent {
  background: var(--accent-50);
  color: var(--accent-600);
  border: 1px solid var(--accent-100);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-header .section-tag {
  color: var(--accent-600);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-950);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 50%, var(--primary-800) 100%);
  color: #ffffff;
  padding: 5rem 0 4rem 0;
  overflow: hidden;
}

/* Hero background glow */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: var(--gold-400);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--wa-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--gold-400);
  background: linear-gradient(120deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Floating Stats in Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Hero Media Card */
.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

/* Floating Pill on Hero Image */
.floating-badge-card {
  position: absolute;
  bottom: 24px;
  left: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  animation: float-gentle 4s ease-in-out infinite alternate;
}

@keyframes float-gentle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.floating-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.floating-badge-icon svg {
  width: 22px;
  height: 22px;
}

.floating-badge-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.floating-badge-text p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   FEATURES / WHY CHOOSE US
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.bg-ground {
  background-color: var(--bg-body);
}

.bg-alt {
  background-color: var(--bg-card-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-700), var(--accent-600));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 59, 117, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
  background: var(--primary-700);
  color: #ffffff;
  transform: scale(1.05);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   COURSES GRID & CARDS
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(20, 59, 117, 0.2);
}

.course-thumb-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--primary-900);
}

.course-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.course-card:hover .course-thumb-wrapper img {
  transform: scale(1.08);
}

.course-badge-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.course-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.course-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-950);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.course-desc {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.course-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
}

.course-pill {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--primary-50);
  color: var(--primary-700);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.course-pill svg {
  width: 12px;
  height: 12px;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   ABOUT / LEADERSHIP SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3.5rem;
}

.about-image-stack {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #ffffff;
}

.about-main-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}

.about-floating-card .big-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-600);
  line-height: 1;
}

.about-floating-card p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-900);
  line-height: 1.3;
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-950);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.about-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.975rem;
}

.about-check-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--wa-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   CALL TO ACTION BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-700) 0%, var(--accent-600) 50%, #d92d3e 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-accent);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-text-wrap {
  max-width: 640px;
}

.cta-text-wrap h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.cta-text-wrap p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   APPLICATION FORM (COURSES PAGE)
   ========================================================================== */
.apply-section {
  background: linear-gradient(180deg, var(--bg-card-subtle) 0%, var(--bg-body) 100%);
  padding: 5rem 0;
}

.apply-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
}

.apply-info-panel {
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 60%, var(--primary-800) 100%);
  color: #ffffff;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.apply-info-panel h3 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.apply-info-panel p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.apply-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.apply-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-500);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.step-text p {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.apply-form-panel {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
}

.form-header {
  margin-bottom: 2rem;
}

.form-header h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary-950);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-label .required-star {
  color: var(--accent-600);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-control.is-invalid {
  border-color: var(--accent-600);
  background-color: var(--accent-50);
}

.form-feedback {
  font-size: 0.8rem;
  color: var(--accent-600);
  margin-top: 0.35rem;
  display: none;
  font-weight: 600;
}

.form-feedback.show {
  display: block;
}

.form-notice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-md);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary-900);
  font-size: 0.85rem;
}

.form-notice svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-600);
  flex-shrink: 0;
}

/* ==========================================================================
   GALLERY & LIGHTBOX MODAL
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-600);
  color: var(--primary-800);
}

.filter-btn.active {
  background: var(--primary-800);
  color: #ffffff;
  border-color: var(--primary-800);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #000;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.07);
  opacity: 0.9;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 19, 41, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.gallery-overlay p {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-zoom-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.gallery-zoom-icon svg {
  width: 18px;
  height: 18px;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 19, 41, 0.94);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content-box {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  max-height: 75vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.lightbox-img-wrapper img {
  max-height: 75vh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.lightbox-caption-bar {
  margin-top: 1rem;
  color: #ffffff;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 0.5rem;
}

.lightbox-caption-bar h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.lightbox-counter {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--accent-600);
}

.lightbox-close-btn svg {
  width: 22px;
  height: 22px;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-nav-btn:hover {
  background: var(--primary-700);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
  left: -70px;
}

.lightbox-nav-btn.next {
  right: -70px;
}

.lightbox-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.contact-hero-banner {
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 100%);
  color: #ffffff;
  padding: 4rem 0 3.5rem 0;
  text-align: center;
}

.contact-hero-banner h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-hero-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.official-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.official-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.official-card-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.official-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-950);
  margin-bottom: 0.35rem;
}

.official-card .role-title {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.official-phone-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.official-phone-block svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-700);
  flex-shrink: 0;
}

.official-phone-block .phone-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
}

.official-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.address-info-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.address-info-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-950);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.address-info-card h3 svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-600);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.info-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-700);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-item-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-900);
}

.info-item-content p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.map-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary-950);
  color: rgba(255, 255, 255, 0.8);
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: 4.5rem 0 3.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-logo-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: var(--gold-400);
  font-weight: 600;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-600);
  border-radius: var(--radius-pill);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  background: #020b18;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-inner .designed-by a {
  color: var(--gold-400);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-bottom-inner .designed-by a:hover {
  color: #ffffff;
}

/* ==========================================================================
   FLOATING INTERACTIVE ELEMENTS
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 99;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.floating-wa-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-wa-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 98;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--primary-800);
  color: #ffffff;
  transform: translateY(-3px);
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 19, 41, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.25rem 1.25rem 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(10, 31, 61, 0.25);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card-subtle);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.mobile-close-btn {
  background: var(--bg-card-subtle);
  border: none;
  color: var(--primary-950);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.mobile-close-btn:hover {
  background: var(--primary-100);
}

.mobile-close-btn svg {
  width: 22px;
  height: 22px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-950);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(3px);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP TO MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-media-wrapper {
    order: -1;
  }

  .hero-image-card img {
    height: 320px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .apply-card {
    grid-template-columns: 1fr;
  }

  .apply-info-panel,
  .apply-form-panel {
    padding: 2.25rem 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  /* Compact top bar */
  .top-bar-info:nth-child(2) .top-bar-item:last-child {
    display: none; /* Hide working hours to keep 1 clean row */
  }

  .top-bar-inner {
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.78rem;
  }

  .top-bar-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.55rem;
  }

  .header-nav {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .nav-container {
    height: var(--header-height);
    gap: 0.5rem;
  }

  .nav-menu,
  .header-actions .btn-primary {
    display: none;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-title {
    font-size: 1.12rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .lang-toggle-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--primary-900);
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 2.75rem 0 2rem 0;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
  }

  html[lang="bn"] .hero-title,
  body.lang-bn .hero-title {
    line-height: 1.35;
    letter-spacing: normal;
  }

  .hero-subtitle {
    font-size: 1.025rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-image-card img {
    height: 240px;
  }

  .floating-badge-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
    animation: none;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.5rem;
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.65rem 0.5rem;
    text-align: center;
  }

  .stat-number {
    font-size: 1.25rem;
    font-weight: 800;
  }

  .stat-label {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  /* Features */
  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .section-header p {
    font-size: 0.975rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.75rem 1.25rem;
  }

  /* Courses Grid - Fix horizontal scroll on mobile */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .course-thumb-wrapper {
    height: 180px;
  }

  /* Application Form Mobile */
  .apply-section {
    padding: 3.5rem 0;
  }

  .apply-card {
    border-radius: var(--radius-lg);
  }

  .apply-info-panel {
    padding: 2rem 1.25rem 1.5rem 1.25rem;
  }

  .apply-info-panel h3 {
    font-size: 1.45rem;
  }

  .apply-form-panel {
    padding: 2rem 1.25rem;
  }

  .form-header h3 {
    font-size: 1.45rem;
  }

  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    min-height: 48px;
    padding: 0.75rem 0.85rem;
  }

  /* Gallery Mobile Horizontal Scroll Tabs */
  .gallery-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.75rem 0.25rem;
    margin-bottom: 1.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.825rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gallery-item {
    aspect-ratio: 16 / 10;
  }

  /* Lightbox Modal Mobile */
  .lightbox-modal {
    padding: 1rem;
  }

  .lightbox-close-btn {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.8);
    z-index: 1010;
  }

  .lightbox-nav-btn.prev {
    left: 8px;
    width: 42px;
    height: 42px;
  }

  .lightbox-nav-btn.next {
    right: 8px;
    width: 42px;
    height: 42px;
  }

  .lightbox-img-wrapper img {
    max-height: 65vh;
  }

  /* Contact Page Mobile */
  .contact-hero-banner {
    padding: 3rem 0 2rem 0;
  }

  .contact-hero-banner h1 {
    font-size: 2.15rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    margin-top: 1rem;
    gap: 1.25rem;
  }

  .official-card {
    padding: 1.75rem 1.25rem;
  }

  .official-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .official-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
    gap: 1.5rem;
  }

  .address-info-card {
    padding: 1.75rem 1.25rem;
  }

  .map-wrapper {
    min-height: 250px;
    height: 250px;
  }

  /* CTA Banner Mobile */
  .cta-banner {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .cta-text-wrap h2 {
    font-size: 1.75rem;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* Footer Mobile */
  .footer-top {
    padding: 3rem 0 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.65rem;
  }

  /* Floating Buttons Mobile (Compact & Touch Friendly) */
  .floating-wa-btn {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }

  .floating-wa-btn svg {
    width: 26px;
    height: 26px;
  }

  .scroll-top-btn {
    bottom: 76px;
    right: 22px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-subtitle {
    display: none; /* Keep header strictly 1 neat line on tiny phones */
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }
}
