/* ============================================================
   API International Training & Testing Center
   style.css — Premium Corporate Light Minimal Design System
   ============================================================ */

/* ── 1. Design Tokens ──────────────────────────────────────── */
:root {
  /* Colors */
  --gold:           #D4AF37;
  --gold-light:     #E8C94A;
  --gold-dark:      #B8942A;
  --gold-pale:      rgba(212, 175, 55, 0.06);
  --silver:         #E2E5E9;
  --silver-dark:    #8E96A2;
  --ink:            #0f0f0f;       /* Richer dark ink for editorial typography */
  --ink-muted:      #333333;       /* Increased readability */
  --ink-subtle:     #666666;       /* More defined subtle text */
  --ink-divider:    rgba(15, 15, 15, 0.08); /* New divider line color */
  --surface:        #ffffff;
  --surface-2:      #f7f7f9;       /* Crisp editorial background gray */
  --surface-3:      #eeeef2;
  --border-light:   rgba(15, 15, 15, 0.06);

  /* Gold Gradient */
  --grad-gold:      linear-gradient(135deg, #B8942A 0%, #D4AF37 40%, #E8C94A 65%, #D4AF37 100%);
  --grad-gold-h:    linear-gradient(135deg, #C9A030 0%, #E8C94A 50%, #C9A030 100%);
  
  /* Modern Hero Overlay for light background */
  --grad-hero-light: linear-gradient(105deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 45%, rgba(255,255,255,0.85) 100%);

  /* Typography */
  --font-en:        'Poppins', sans-serif;
  --font-th:        'Prompt', sans-serif;

  /* Sizing */
  --radius:         10px;          /* Clean editorial layout corners */
  --radius-sm:      6px;
  --radius-pill:    999px;

  /* Shadows - Minimalist and subtle */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.05);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.04);
  --shadow-lg:      0 8px 30px rgba(0,0,0,0.06);
  --shadow-gold:    0 8px 24px rgba(212, 175, 55, 0.12);
  --shadow-gold-sm: 0 4px 12px rgba(212, 175, 55, 0.08);

  /* Motion */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:       180ms;
  --dur-med:        320ms;
  --dur-slow:       550ms;

  /* Z-index scale */
  --z-base:         1;
  --z-sticky:       100;
  --z-modal-back:   200;
  --z-modal:        300;
  --z-toast:        400;
}

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

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

body {
  font-family: var(--font-th), var(--font-en);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── 3. Typography Scale ───────────────────────────────────── */
.display-1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.display-2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.heading-1 {
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.heading-2 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.8;
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ── 4. Utility Classes ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.section {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}

.section--alt {
  background: var(--surface-2);
}

.section--white {
  background: var(--surface);
}

.gold-text {
  color: var(--gold-dark);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.875rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}

/* ── 5. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2.2rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn--gold {
  background: var(--grad-gold);
  color: #ffffff;
  box-shadow: var(--shadow-gold-sm);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  background: var(--grad-gold-h);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-subtle);
}

.btn--outline:hover {
  background: var(--surface-3);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.6rem;
  font-size: 0.98rem;
}

/* ── 6. Navbar ─────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ink-divider);
  transition: padding var(--dur-med) var(--ease-in-out),
              background var(--dur-med) var(--ease-in-out),
              box-shadow var(--dur-med) var(--ease-in-out);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: var(--grad-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo-text .logo-main {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.nav-logo-text .logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--ink-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.8rem);
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-out);
}

.nav-links a:hover {
  color: var(--gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
}

.nav-toggle:hover {
  background: var(--surface-3);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. Hero Section ───────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.15;
  filter: grayscale(1);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero-light);
}

.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 50%;
  animation: geo-rotate linear infinite;
}

.geo-1 {
  width: 500px;
  height: 500px;
  right: -100px;
  top: -100px;
  animation-duration: 40s;
}

.geo-2 {
  width: 300px;
  height: 300px;
  right: 50px;
  top: 50px;
  animation-duration: 30s;
  animation-direction: reverse;
}

@keyframes geo-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-inner {
  position: relative;
  z-index: var(--z-base);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: var(--gold-pale);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dark);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  color: var(--ink);
}

.hero-title .line-api {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.hero-title .line-main {
  display: block;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title .line-secondary {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--ink-muted);
  line-height: 1.2;
}

.hero-subtitle-th {
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  color: var(--ink-muted);
  font-weight: 400;
  line-height: 1.7;
  max-width: 55ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stat-value {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-subtle);
}

/* Hero right */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-collage {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/5;
}

.collage-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02);
}

.collage-glass-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.20);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-md);
  animation: badge-float 3.5s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.collage-glass-badge .badge-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #ffffff;
  flex-shrink: 0;
}

.badge-text-main {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 0.68rem;
  color: var(--ink-subtle);
}

/* ── 8. About Section ──────────────────────────────────────── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-body {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  background: var(--gold-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.about-feature-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* ── 9. Training Programs ──────────────────────────────────── */
#programs {
  overflow: hidden;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.program-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med);
  cursor: default;
  position: relative;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.program-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-med) var(--ease-out);
}

.program-card:hover .program-icon-wrap {
  transform: scale(1.05);
}

.program-icon {
  font-size: 1.3rem;
  color: var(--gold-dark);
}

.program-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.program-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

.program-arrow {
  margin-top: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-subtle);
  font-size: 0.7rem;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.program-card:hover .program-arrow {
  background: var(--gold);
  color: #ffffff;
  transform: translateX(3px);
}

/* ── 10. Testing Center ────────────────────────────────────── */
#testing .testing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.testing-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.testing-img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-light);
}

.testing-img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/8;
}

.testing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testing-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testing-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.88rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.check-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.check-icon {
  width: 28px;
  height: 28px;
  background: var(--grad-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.check-text h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.check-text p {
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ── 11. Why Choose API ────────────────────────────────────── */
#why {
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
  transition: border-color var(--dur-med), transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
}

.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-dark);
  transition: transform var(--dur-med);
}

.why-card:hover .why-icon {
  transform: scale(1.05);
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.why-card p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ── 12. Training Process ──────────────────────────────────── */
.process-timeline {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  position: relative;
  align-items: start;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 8.33%;
  right: 8.33%;
  height: 2px;
  background: var(--silver);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.step-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ink-subtle);
  transition: all var(--dur-med) var(--ease-out);
}

.process-step.active .step-node,
.process-step:hover .step-node {
  background: var(--grad-gold);
  border-color: var(--gold);
  color: #ffffff;
  box-shadow: var(--shadow-gold-sm);
  transform: scale(1.05);
}

.step-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-subtle);
}

.step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--ink-subtle);
  line-height: 1.5;
}

/* ── 13. Gallery ───────────────────────────────────────────── */
.gallery-grid {
  columns: 3;
  column-gap: 1rem;
  margin-top: 2.5rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--dur-med);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gallery-overlay-icon {
  width: 44px;
  height: 44px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  box-shadow: var(--shadow-gold-sm);
  transform: scale(0.9);
  transition: transform var(--dur-fast) var(--ease-out);
}

.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay-icon { transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med);
  padding: 2rem;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--dur-med) var(--ease-out);
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--surface-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--dur-fast);
}

.lightbox-close:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-align: center;
}

/* ── 14. Certification Section ─────────────────────────────── */
#certification {
  background: linear-gradient(135deg, var(--ink) 0%, #1e2530 100%);
  color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 5rem 0;
  overflow: hidden;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.cert-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cert-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

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

.cert-doc-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-med) var(--ease-out);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.cert-doc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-md), 0 0 15px rgba(212, 175, 55, 0.15);
}

.cert-doc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #11151c;
}

.cert-doc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-med) var(--ease-out);
}

.cert-doc-card:hover .cert-doc-img-wrap img {
  transform: scale(1.05);
}

.cert-doc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.cert-doc-card:hover .cert-doc-overlay {
  opacity: 1;
}

.cert-doc-zoom {
  width: 40px;
  height: 40px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}

.cert-doc-info {
  padding: 0.75rem 0.4rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-doc-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: block;
  word-break: break-word;
}

@media (max-width: 992px) {
  .cert-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cert-pills {
    justify-content: center;
  }
  .cert-docs-grid {
    margin-top: 2.5rem;
  }
}

@media (max-width: 768px) {
  .cert-docs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
    
    /* Force width constraint to prevent grid items from stretching the canvas */
    width: 100vw;
    max-width: 100vw;
    
    /* Centered layout with peeking edges math (Card width is 250px, half is 125px) */
    padding-left: calc(50vw - 125px);
    padding-right: calc(50vw - 125px);
    
    /* Full bleed margin to viewport edges */
    margin-left: calc(-1 * clamp(1rem, 4vw, 3rem));
    margin-right: calc(-1 * clamp(1rem, 4vw, 3rem));
    
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .cert-docs-grid::-webkit-scrollbar {
    display: none;
  }
  
  .cert-doc-card {
    flex: 0 0 250px;
    scroll-snap-align: center;
  }
}

/* ── 15. Contact Section ───────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-cta-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
}

.contact-cta-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.88rem;
}

@media (min-width: 769px) {
  .contact-card:nth-child(3) {
    grid-column: span 2;
  }
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 32px;
  height: 32px;
  background: var(--gold-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-subtle);
  margin-bottom: 0.15rem;
}

.contact-card-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-hours {
  padding: 1rem 1.25rem;
  background: var(--gold-pale);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 0.88rem;
}

.hours-icon {
  font-size: 1.25rem;
  color: var(--gold-dark);
  margin-top: 0.15rem;
}

.hours-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

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

/* ── 16. Footer ────────────────────────────────────────────── */
#footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border-light);
  padding: 2.25rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ink-divider);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--grad-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-mark svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.footer-logo-text .logo-main {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-logo-text .logo-sub {
  font-size: 0.6rem;
  color: var(--ink-subtle);
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.65;
  max-width: 44ch;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.social-btn {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.social-btn:hover {
  background: var(--grad-gold);
  color: #ffffff;
  border-color: transparent;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}

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

.footer-links a {
  font-size: 0.82rem;
  color: var(--ink-muted);
  transition: color var(--dur-fast);
}

.footer-links a:hover {
  color: var(--gold-dark);
}

.footer-links--grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.35rem 1.5rem !important;
}

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

.footer-copyright {
  font-size: 0.74rem;
  color: var(--ink-subtle);
}

/* ── 17. Section Headers ───────────────────────────────────── */
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header--center .section-label {
  justify-content: center;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 55ch;
}

/* ── 18. Stats Counter Bar ─────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border-right: 1px solid var(--border-light);
}

.stat-item:last-child { border-right: none; }

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05rem;
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.stat-unit {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-subtle);
  font-weight: 500;
}

/* ── 19. Mobile Drawer ─────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(280px, 100vw);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: calc(var(--z-sticky) + 1);
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 4.5rem 1.5rem 2rem;
  gap: 0.25rem;
  border-left: 1px solid var(--border-light);
}

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

.mobile-drawer a {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--dur-fast);
}

.mobile-drawer a:hover {
  color: var(--gold-dark);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: var(--z-sticky);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── 20. Back to Top ───────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-gold-sm);
  transform: translateY(80px);
  opacity: 0;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-med);
  z-index: calc(var(--z-sticky) - 1);
  border: none;
}

.back-to-top.visible {
  transform: translateY(0);
  opacity: 1;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* ── 21. Responsive Layout ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-right { display: none; }
  
  #about .about-grid,
  #testing .testing-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }
  .process-track::before { display: none; }

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

@media (max-width: 1024px) {
  .nav-links { display: none !important; }
  .nav-toggle { display: flex !important; }
}

@media (max-width: 768px) {
  .programs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
    
    /* Centered layout with peeking edges math (Card width is 270px, half is 135px) */
    padding-left: calc(50vw - 135px);
    padding-right: calc(50vw - 135px);
    
    /* Full bleed margin to viewport edges */
    margin-left: calc(-1 * clamp(1rem, 4vw, 3rem));
    margin-right: calc(-1 * clamp(1rem, 4vw, 3rem));
    
    /* Force width constraint to prevent grid stretching */
    width: 100vw;
    max-width: 100vw;
    
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .programs-grid::-webkit-scrollbar {
    display: none;
  }
  
  .program-card {
    flex: 0 0 270px;
    scroll-snap-align: center;
  }

  .gallery-grid { columns: 2; }
  .contact-cards { grid-template-columns: 1fr; }
  
  .why-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
    
    /* Centered layout with peeking edges math (Card width is 280px, half is 140px) */
    padding-left: calc(50vw - 140px);
    padding-right: calc(50vw - 140px);
    
    /* Full bleed margin to viewport edges */
    margin-left: calc(-1 * clamp(1rem, 4vw, 3rem));
    margin-right: calc(-1 * clamp(1rem, 4vw, 3rem));
    
    /* Force width constraint to prevent grid stretching */
    width: 100vw;
    max-width: 100vw;
    
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .why-grid::-webkit-scrollbar {
    display: none;
  }
  
  .why-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
  }

  .process-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
    
    /* Centered layout with peeking edges math (Card width is 220px, half is 110px) */
    padding-left: calc(50vw - 110px);
    padding-right: calc(50vw - 110px);
    
    /* Full bleed margin to viewport edges */
    margin-left: calc(-1 * clamp(1rem, 4vw, 3rem));
    margin-right: calc(-1 * clamp(1rem, 4vw, 3rem));
    
    /* Force width constraint to prevent grid stretching */
    width: 100vw;
    max-width: 100vw;
    
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .process-track::-webkit-scrollbar {
    display: none;
  }
  
  .process-step {
    flex: 0 0 220px;
    scroll-snap-align: center;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border-light); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .hero-cta { flex-direction: column; }
}

/* ── 24. Video Play Link Card (Local file:// fallback) ───── */
.video-play-card:hover img {
  transform: scale(1.03);
}
.video-play-card:hover .video-overlay-btn {
  background: rgba(0,0,0,0.22);
}
.video-play-card:hover .play-icon-circle {
  transform: scale(1.08);
  box-shadow: var(--shadow-gold);
}

/* ── 25. Language Selector Dropdown & Accordion ─────────── */
.lang-dropdown {
  position: relative;
  display: inline-block;
  z-index: 100;
}
.lang-dropdown-toggle {
  background: transparent;
  border: 1px solid var(--ink-divider);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.lang-dropdown-toggle:hover {
  border-color: var(--ink);
  background: var(--surface-2);
  color: var(--ink);
}
.lang-dropdown-toggle .toggle-arrow {
  font-size: 0.6rem;
  transition: transform var(--dur-fast);
  color: var(--ink-subtle);
}
.lang-dropdown.open .lang-dropdown-toggle .toggle-arrow {
  transform: rotate(180deg);
}
.lang-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.4rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 130px;
  display: flex;
  flex-direction: column;
  padding: 0.3rem 0;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.lang-dropdown-item {
  background: transparent;
  border: none;
  text-align: left;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  width: 100%;
  transition: all var(--dur-fast);
}
.lang-dropdown-item:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.lang-dropdown-item.active {
  color: var(--ink);
  background: var(--surface-3);
}


.footer-powered a:hover {
  color: var(--gold) !important;
}

/* ── 26. President Message Section ──────────────────────── */
.president-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.president-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
}

.president-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.president-content {
  position: relative;
}

.quote-container {
  position: relative;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.quote-icon-bg {
  position: absolute;
  top: 0;
  left: -10px;
  font-size: 4rem;
  color: rgba(212, 175, 55, 0.08);
  pointer-events: none;
  z-index: 0;
}

.president-quote {
  position: relative;
  z-index: 1;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.8;
  color: var(--ink-muted);
  font-style: italic;
  font-weight: 500;
}

.president-signature {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
}

.president-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.president-title {
  font-size: 0.85rem;
  color: var(--ink-subtle);
  font-weight: 500;
}

@media (max-width: 992px) {
  .president-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .president-img-wrap {
    max-width: 300px;
    margin-bottom: 2rem;
  }
  .president-signature {
    border-left: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .quote-icon-bg {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Print protection for images only - hides images and certificates while allowing text to print normally */
@media print {
  img, iframe, .cert-docs-grid, .gallery-grid, .video-play-card {
    visibility: hidden !important;
    display: none !important;
  }
}

/* ── Layout Improvements ───────────────────────────────────── */

/* Drawer Language Switcher */
.drawer-lang-switcher {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.drawer-lang-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all var(--dur-fast);
}

.drawer-lang-btn img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.drawer-lang-btn:hover,
.drawer-lang-btn.active {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* About section CTA row */
.about-cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* Programs mobile scroll hint */
.programs-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-subtle);
  font-weight: 500;
  animation: scroll-hint-pulse 1.8s ease-in-out infinite;
}

@keyframes scroll-hint-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

@media (max-width: 768px) {
  .programs-scroll-hint { display: flex; }
}

/* Gallery see-more links */
.gallery-more-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.gallery-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  background: var(--surface);
  transition: all var(--dur-fast) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.gallery-more-link i {
  font-size: 1rem;
}

.gallery-more-link:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-pale);
  box-shadow: var(--shadow-gold-sm);
  transform: translateY(-2px);
}

/* ── White Editorial Redesign Overrides ─────────────────── */

/* Navbar scrolled */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 0.75rem 0 !important;
  box-shadow: var(--shadow-sm) !important;
  border-bottom: 2px solid var(--gold) !important;
}

/* Navbar Actions container */
.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-shrink: 0 !important;
}

/* Navbar CTA button */
.nav-cta {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.82rem !important;
  border-radius: var(--radius-sm) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  background: var(--grad-gold) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: var(--shadow-gold-sm) !important;
  transition: all var(--dur-fast) var(--ease-out) !important;
}

.nav-cta:hover {
  background: var(--grad-gold-h) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-gold) !important;
}

@media (max-width: 1024px) {
  .nav-actions {
    margin-left: auto !important;
    margin-right: 0.75rem !important;
  }
  .nav-cta {
    display: none !important;
  }
}

/* Hero split layout */
.hero-split {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
  min-height: 100vh !important;
  min-height: 100svh !important;
  background: var(--surface) !important;
  position: relative !important;
  overflow: hidden !important;
  border-bottom: 1px solid var(--ink-divider) !important;
}

.hero-split-left {
  display: flex !important;
  align-items: center !important;
  padding-left: calc((100vw - 1280px) / 2 + clamp(1rem, 4vw, 3rem)) !important;
  padding-right: clamp(2rem, 5vw, 4rem) !important;
  padding-top: 8rem !important;
  padding-bottom: 5rem !important;
}

@media (max-width: 1340px) {
  .hero-split-left {
    padding-left: clamp(1rem, 4vw, 3rem) !important;
  }
}

.hero-left-content {
  max-width: 540px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.75rem !important;
}

.hero-title .line-api {
  display: block !important;
  font-size: clamp(1rem, 1.8vw, 1.45rem) !important;
  font-weight: 700 !important;
  color: var(--gold-dark) !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 0.4rem !important;
}

.hero-title .line-main {
  display: block !important;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
}

.hero-title .line-secondary {
  display: block !important;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem) !important;
  font-weight: 700 !important;
  color: var(--ink-subtle) !important;
  line-height: 1.2 !important;
}

.hero-subtitle-th {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
  color: var(--ink-muted) !important;
  line-height: 1.75 !important;
  max-width: 60ch !important;
}

.hero-stats {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  margin-top: 1rem !important;
  padding-top: 2rem !important;
  border-top: 1px solid var(--ink-divider) !important;
}

.hero-stat-value {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem) !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
}

.hero-stat-label {
  font-size: 0.8rem !important;
  color: var(--ink-subtle) !important;
  line-height: 1.4 !important;
}

.hero-split-right {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-slider {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 1s var(--ease-in-out) !important;
  z-index: 1 !important;
}

.hero-slide.active {
  opacity: 1 !important;
  z-index: 2 !important;
}

.hero-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: scale(1.02) !important;
  transition: transform 6s linear !important;
}

.hero-slide.active img {
  transform: scale(1.08) !important;
}

.hero-slider-dots {
  position: absolute !important;
  bottom: 2rem !important;
  right: 2rem !important;
  display: flex !important;
  gap: 0.6rem !important;
  z-index: 10 !important;
}

.slider-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.4) !important;
  cursor: pointer !important;
  transition: all var(--dur-fast) var(--ease-out) !important;
}

.slider-dot.active {
  background: #ffffff !important;
  transform: scale(1.3) !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6) !important;
}

@media (max-width: 992px) {
  .hero-split {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .hero-split-left {
    padding-left: clamp(1rem, 4vw, 3rem) !important;
    padding-right: clamp(1rem, 4vw, 3rem) !important;
    padding-top: 7.5rem !important;
    padding-bottom: 4rem !important;
  }
  .hero-left-content {
    max-width: 100% !important;
  }
  .hero-split-right {
    height: 480px !important;
  }
}

@media (max-width: 576px) {
  .hero-split-right {
    height: 320px !important;
  }
}

/* Stats counter bar overrides */
.stats-bar {
  border-top: 1px solid var(--ink-divider) !important;
  border-bottom: 1px solid var(--ink-divider) !important;
  padding: 3rem 0 !important;
}

.stats-grid {
  gap: 2rem !important;
}

.stat-item {
  gap: 0.35rem !important;
  border-right: 1px solid var(--ink-divider) !important;
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  color: var(--ink) !important;
  letter-spacing: -0.02em !important;
}

.stat-unit {
  font-size: clamp(1.2rem, 2vw, 1.6rem) !important;
  color: var(--ink) !important;
}

.stat-label {
  font-size: 0.82rem !important;
  color: var(--ink-muted) !important;
  line-height: 1.4 !important;
}

@media (max-width: 768px) {
  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--ink-divider) !important;
  }
}

/* Eyebrows without leading line template reflex */
.section-label {
  display: block !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 0.5rem !important;
}

.section-label::before {
  display: none !important;
}

/* Program Card & Inverted Hover */
.program-card {
  border: 1px solid var(--ink-divider) !important;
  box-shadow: none !important;
  transition: background var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out) !important;
  cursor: pointer !important;
}

.program-card:hover {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #ffffff !important;
}

.program-card:hover .program-icon-wrap {
  background: rgba(255, 255, 255, 0.12) !important;
}

.program-icon {
  transition: color var(--dur-med) var(--ease-out) !important;
}

.program-card:hover .program-icon {
  color: var(--gold-light) !important;
}

.program-name {
  transition: color var(--dur-med) var(--ease-out) !important;
}

.program-card:hover .program-name {
  color: #ffffff !important;
}

.program-desc {
  transition: color var(--dur-med) var(--ease-out) !important;
}

.program-card:hover .program-desc {
  color: rgba(255, 255, 255, 0.75) !important;
}

.program-arrow {
  width: 28px !important;
  height: 28px !important;
  font-size: 0.72rem !important;
}

.program-card:hover .program-arrow {
  background: var(--gold) !important;
  color: #ffffff !important;
  transform: translateX(4px) !important;
}

/* Why Card & Inverted Hover */
.why-card {
  border: 1px solid var(--ink-divider) !important;
  box-shadow: none !important;
  transition: background var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out) !important;
  cursor: pointer !important;
}

.why-card:hover {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #ffffff !important;
}

.why-icon {
  transition: background var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out) !important;
}

.why-card:hover .why-icon {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--gold-light) !important;
}

.why-card h3 {
  transition: color var(--dur-med) var(--ease-out) !important;
}

.why-card:hover h3 {
  color: #ffffff !important;
}

.why-card p {
  transition: color var(--dur-med) var(--ease-out) !important;
}

.why-card:hover p {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Contact cards override */
.contact-card {
  padding: 1.25rem 1rem !important;
  border: 1px solid var(--ink-divider) !important;
  box-shadow: none !important;
  transition: background var(--dur-fast), border-color var(--dur-fast) !important;
}

.contact-card:hover {
  background: var(--surface-2) !important;
  border-color: var(--gold) !important;
}

/* Checklist items override */
.check-item {
  border: 1px solid var(--ink-divider) !important;
  box-shadow: none !important;
  transition: border-color var(--dur-fast), background var(--dur-fast) !important;
}

.check-item:hover {
  border-color: var(--ink) !important;
  background: var(--surface-2) !important;
}

/* Certification Government Badge styling & centering */
.cert-gov-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.5rem 0.88rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  margin-bottom: 1.25rem !important;
  width: fit-content !important;
  transition: all var(--dur-fast) !important;
}

.cert-gov-logo {
  height: 32px !important;
  width: auto !important;
  object-fit: contain !important;
  border-radius: 2px !important;
  filter: brightness(1.05) contrast(1.05) !important;
}

.cert-gov-text {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  letter-spacing: 0.02em !important;
}

@media (max-width: 992px) {
  .cert-gov-badge {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

