@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS — Enhanced Palette
   ═══════════════════════════════════════════════════════════════ */
:root {
  --primary: #2C5F70;
  --primary-dark: #1E4A57;
  --primary-deeper: #152f3a;
  --accent: #36D6F7;
  --accent-soft: #5AC8E8;
  --accent-glow: rgba(54, 214, 247, 0.25);
  --accent-bright: #4DE5FF;
  --japan-red: #A02020;
  --ink: #111316;
  --ink-light: #374151;
  --ink-muted: #6b7280;
  --bg: #F7FAFB;
  --bg-alt: #EDF4F7;
  --bg-soft: #F2F7F9;
  --card-surface: #D5E8F0;
  --white: #ffffff;
  --border: rgba(44, 95, 112, 0.12);
  --border-soft: rgba(44, 95, 112, 0.06);
  --success: #10b981;
  --success-bg: #d1fae5;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --round-pill: 9999px;
  --round-2xl: 1.25rem;
  --round-xl: 0.875rem;
  --round-lg: 0.625rem;

  --shadow-sm: 0 2px 8px rgba(17, 19, 22, 0.04);
  --shadow-md: 0 4px 24px rgba(17, 19, 22, 0.08);
  --shadow-lg: 0 12px 48px rgba(17, 19, 22, 0.12);
  --shadow-hover: 0 20px 60px rgba(44, 95, 112, 0.18);
  --shadow-float: 0 8px 32px rgba(17, 19, 22, 0.1);
  --shadow-glow: 0 0 40px rgba(54, 214, 247, 0.25);
  --shadow-glow-strong: 0 0 60px rgba(54, 214, 247, 0.4);

  --grad-brand: linear-gradient(135deg, var(--primary), var(--accent));
  --grad-brand-bright: linear-gradient(135deg, var(--primary-dark), var(--accent-bright));
  --grad-hero: linear-gradient(160deg, var(--primary-deeper) 0%, var(--primary-dark) 30%, var(--primary) 70%, #3a7a8f 100%);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --transition: all 0.4s var(--ease);
  --transition-fast: all 0.25s var(--ease);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
  background: var(--accent);
  color: var(--primary-deeper);
}
::-moz-selection {
  background: var(--accent);
  color: var(--primary-deeper);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--accent));
  border-radius: var(--round-pill);
  border: 2px solid var(--bg-alt);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--primary-dark), var(--accent-soft)); }
* { scrollbar-width: thin; scrollbar-color: var(--primary) var(--bg-alt); }

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), var(--primary));
  background-size: 200% 100%;
  z-index: 9999;
  box-shadow: 0 0 12px rgba(54, 214, 247, 0.6);
  transition: width 0.1s linear;
  animation: gradientShift 3s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(8deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(54, 214, 247, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(54, 214, 247, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 214, 247, 0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spinBorder {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ═══════════════════════════════════════════════════════════════
   WAVE DIVIDERS
   ═══════════════════════════════════════════════════════════════ */
.wave-divider {
  position: relative;
  line-height: 0;
  margin-top: -1px;
}
.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* Simple thin section divider */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  margin: 0 auto;
  max-width: 1220px;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  z-index: 1001;
}
.logo:hover { transform: scale(1.03); }
.logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--grad-brand);
  border-radius: var(--round-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(54, 214, 247, 0.4);
}
header.scrolled .logo { color: var(--primary-dark); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--round-lg);
  transition: var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-menu a:not(.nav-cta):not(.lang-btn)::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform: translateX(-50%);
}
.nav-menu a:not(.nav-cta):not(.lang-btn):hover::after { width: 60%; }

.nav-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

header.scrolled .nav-menu a { color: var(--ink-light); }
header.scrolled .nav-menu a:hover {
  color: var(--primary);
  background: rgba(44, 95, 112, 0.06);
}
header.scrolled .nav-menu a:not(.nav-cta):not(.lang-btn)::after { background: var(--primary); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary-deeper) !important;
  font-weight: 600 !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: var(--round-pill) !important;
  transition: var(--transition-fast) !important;
  box-shadow: 0 4px 16px rgba(54, 214, 247, 0.4);
}
.nav-cta:hover {
  background: var(--accent-bright) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(54, 214, 247, 0.5) !important;
}
header.scrolled .nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(44, 95, 112, 0.25);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px;
  border-radius: var(--round-pill);
  margin-left: 0.5rem;
}
header.scrolled .lang-switcher {
  background: rgba(44, 95, 112, 0.06);
  border-color: var(--border);
}

.lang-btn {
  padding: 0.3rem 0.7rem;
  border-radius: var(--round-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  letter-spacing: 0.02em;
}
.lang-btn.active {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
header.scrolled .lang-btn { color: var(--ink-muted); }
header.scrolled .lang-btn.active { color: var(--primary-dark); }

/* Mobile Menu */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  color: var(--white);
  border-radius: var(--round-lg);
  transition: var(--transition-fast);
}
header.scrolled .mobile-toggle { color: var(--ink); }

.hamburger {
  width: 24px;
  height: 18px;
  position: relative;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: var(--transition-fast);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.mobile-toggle.open .hamburger span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.mobile-toggle.open .hamburger span:nth-child(2) { opacity: 0; }
.mobile-toggle.open .hamburger span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 19, 22, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-overlay.active { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   BUTTONS — Magnetic hover
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border-radius: var(--round-pill);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.btn:hover::after {
  opacity: 1;
  animation: shimmer 0.8s ease-out;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-deeper);
  box-shadow: 0 4px 20px rgba(54, 214, 247, 0.35);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(54, 214, 247, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.btn-solid {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(44, 95, 112, 0.25);
}
.btn-solid:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(44, 95, 112, 0.4);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn svg, .btn i { width: 18px; height: 18px; }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION — Split Diagonal
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  color: var(--white);
  overflow: hidden;
}

/* Geometric floating shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 214, 247, 0.15) 0%, transparent 60%);
  pointer-events: none;
  animation: drift 20s ease-in-out infinite;
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(54, 214, 247, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hero-shape {
  position: absolute;
  border: 2px solid rgba(54, 214, 247, 0.2);
  border-radius: 30%;
  animation: floatSlow 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) {
  top: 18%; left: 45%;
  width: 80px; height: 80px;
  animation-delay: 0s;
}
.hero-shape:nth-child(2) {
  top: 65%; left: 48%;
  width: 50px; height: 50px;
  border-radius: 50%;
  animation-delay: 2s;
  border-color: rgba(54, 214, 247, 0.15);
}
.hero-shape:nth-child(3) {
  top: 25%; right: 8%;
  width: 100px; height: 100px;
  border-radius: 50%;
  animation-delay: 1s;
  border-color: rgba(255, 255, 255, 0.1);
}
.hero-shape:nth-child(4) {
  bottom: 15%; right: 15%;
  width: 60px; height: 60px;
  animation-delay: 3s;
}
.hero-shape:nth-child(5) {
  top: 45%; left: 42%;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(54, 214, 247, 0.1);
  border: none;
  animation-delay: 1.5s;
}

/* LEFT: Photo panel with diagonal cut */
.hero-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(21, 47, 58, 0.55) 0%, rgba(30, 74, 87, 0.35) 50%, rgba(44, 95, 112, 0.25) 100%);
}

/* Floating glass cards over photo */
.hero-photo-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--round-xl);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 32px rgba(17, 19, 22, 0.2);
  animation: float 5s ease-in-out infinite;
}
.hero-floating-card strong {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.2;
}
.hero-floating-card span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
}
.hero-floating-card-1 {
  top: auto;
  bottom: 38%;
  left: 6%;
  animation-delay: 0s;
}
.hero-floating-card-2 {
  bottom: 14%;
  left: 4%;
  animation-delay: 1.5s;
}
.hero-floating-card-3 {
  bottom: 4%;
  right: auto;
  left: 6%;
  animation-delay: 0.8s;
}

.hero-floating-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--round-lg);
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(54, 214, 247, 0.4);
}
.hero-floating-icon.success {
  background: linear-gradient(135deg, var(--success), #34d399);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}
.hero-floating-icon i, .hero-floating-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.hero-floating-avatar-group {
  display: flex;
  flex-shrink: 0;
}
.hero-floating-avatar-group span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  margin-left: -10px;
}
.hero-floating-avatar-group span:first-child { margin-left: 0; }

/* RIGHT: Content */
.hero-grid {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.hero-content {
  max-width: 580px;
  padding: 140px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 0.55rem 1.25rem;
  border-radius: var(--round-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.6s var(--ease) both;
}
.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.7s 0.1s var(--ease) both;
}
.hero-content h1 .highlight {
  display: block;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent), var(--accent-soft));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.88;
  max-width: 48ch;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.7s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.7s 0.3s var(--ease) both;
}

/* Trust row: rating + intake pills */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.4s var(--ease) both;
}
.hero-rating {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-stars {
  color: #fbbf24;
  font-size: 1rem;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
  letter-spacing: 2px;
}
.hero-rating-text {
  font-size: 0.78rem;
  opacity: 0.8;
}
.hero-intake-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.hero-mini-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.7rem;
  border-radius: var(--round-pill);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Stats Bar */
.stats-bar {
  position: relative;
  z-index: 4;
  margin-top: -50px;
}
.stats-inner {
  background: var(--white);
  border-radius: var(--round-2xl);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item {
  text-align: center;
  position: relative;
  padding: 0.5rem;
  border-radius: var(--round-xl);
  transition: var(--transition-fast);
}
.stat-item:hover { background: var(--bg-soft); }

.stat-icon-top {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  border-radius: var(--round-lg);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(54, 214, 247, 0.25);
}
.stat-icon-top i, .stat-icon-top svg { color: var(--white); width: 22px; height: 22px; }

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 18%;
  height: 64%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--grad-brand-bright);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.stat-detail {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

/* ═══════════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════════ */
.trust-strip {
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem;
}
.trust-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(54, 214, 247, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulseRing 3s infinite;
}
.trust-badge-icon i, .trust-badge-icon svg {
  color: var(--success);
  width: 20px;
  height: 20px;
}
.trust-badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-light);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════════════════════ */
section { padding: clamp(60px, 10vw, 120px) 0; }

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--primary);
  opacity: 0.3;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.section-header p {
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Dark section variant */
.section-dark {
  background: linear-gradient(160deg, var(--primary-deeper), var(--primary-dark));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 214, 247, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.section-dark .section-eyebrow { color: var(--accent); }
.section-dark .section-eyebrow::before,
.section-dark .section-eyebrow::after { background: var(--accent); }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.75); }

/* ═══════════════════════════════════════════════════════════════
   WHY SKYLIGHT SECTION
   ═══════════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--round-2xl);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(54, 214, 247, 0.15);
}
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--round-xl);
  background: linear-gradient(135deg, rgba(44, 95, 112, 0.08), rgba(54, 214, 247, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.why-icon i, .why-icon svg { color: var(--primary); width: 24px; height: 24px; }
.why-card:hover .why-icon {
  background: var(--grad-brand);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-glow);
}
.why-card:hover .why-icon i,
.why-card:hover .why-icon svg { color: var(--white); }

.why-card h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION — 3D Tilt Cards
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  perspective: 1200px;
}

.service-card {
  background: var(--white);
  border-radius: var(--round-2xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to top, rgba(44, 95, 112, 0.04), transparent);
  transition: height 0.5s var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(54, 214, 247, 0.25);
}
.service-card:hover::after { height: 100%; }

/* Glare overlay */
.service-card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.5), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}
.service-card:hover .service-card-glare { opacity: 0.6; }

/* Number badge */
.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(44, 95, 112, 0.06);
  line-height: 1;
  z-index: 0;
}

.service-icon-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--round-xl);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(44, 95, 112, 0.2);
}
.service-icon i, .service-icon svg { color: var(--white); width: 22px; height: 22px; }
.service-card:hover .service-icon { transform: scale(1.15) rotate(-8deg); box-shadow: var(--shadow-glow); }

.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  position: relative;
  z-index: 2;
}
.service-card p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}
.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  z-index: 2;
  transition: var(--transition-fast);
}
.service-link::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.service-link:hover {
  color: var(--accent-soft);
  gap: 0.6rem;
}

/* ═══════════════════════════════════════════════════════════════
   DESTINATIONS
   ═══════════════════════════════════════════════════════════════ */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dest-card {
  background: var(--white);
  border-radius: var(--round-2xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(54, 214, 247, 0.2);
}

.dest-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.dest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.dest-card:hover .dest-img-wrap img { transform: scale(1.1); }

.dest-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,19,22,0.55) 0%, transparent 60%);
  pointer-events: none;
}

.dest-primary-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--primary-deeper);
  padding: 0.35rem 0.9rem;
  border-radius: var(--round-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(54, 214, 247, 0.4);
}

.dest-flag-circle {
  position: absolute;
  bottom: -16px;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-float);
  z-index: 2;
  transition: var(--transition);
}
.dest-card:hover .dest-flag-circle { transform: scale(1.15) rotate(5deg); }

.dest-body {
  padding: 2rem 2rem 1.75rem;
}
.dest-body h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}
.dest-tagline {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.dest-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dest-highlights {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dest-highlights li {
  font-size: 0.82rem;
  color: var(--ink-light);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}
.dest-highlights li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(44, 95, 112, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%232C5F70' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.dest-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.dest-intakes {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.dest-intakes strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS / HOW IT WORKS
   ═══════════════════════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-card {
  text-align: center;
  padding: 2rem;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--round-2xl);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.process-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(54, 214, 247, 0.2);
  transform: translateY(-4px);
}
.process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(54, 214, 247, 0.12);
  border: 2px solid rgba(54, 214, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  transition: var(--transition);
  animation: pulseRing 3s infinite;
}
.process-card:hover .process-number {
  background: var(--accent);
  color: var(--primary-deeper);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}
.process-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.process-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CURRICULUM TABLE
   ═══════════════════════════════════════════════════════════════ */
.curriculum-wrapper {
  background: var(--white);
  border-radius: var(--round-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.curriculum-wrapper table {
  width: 100%;
  border-collapse: collapse;
}
.curriculum-wrapper thead tr {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.curriculum-wrapper th {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
}
.curriculum-wrapper td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.curriculum-wrapper tbody tr {
  transition: var(--transition-fast);
}
.curriculum-wrapper tbody tr:hover {
  background: rgba(44, 95, 112, 0.03);
  transform: translateX(4px);
}
.curriculum-wrapper tbody tr:last-child td { border-bottom: none; }
.curr-class-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: var(--round-pill);
  background: var(--grad-brand);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.curr-duration-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: var(--round-pill);
  background: rgba(54, 214, 247, 0.15);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   PARTNERS MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.partners-section {
  background: var(--white);
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.partners-header {
  text-align: center;
  margin-bottom: 2rem;
}
.partners-header p {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}
.partners-marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--white) 12%, var(--white) 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--white) 12%, var(--white) 88%, transparent);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  padding-right: 3rem;
  flex-shrink: 0;
}
.partners-section:hover .partners-track { animation-play-state: paused; }
.partner-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-muted);
  opacity: 0.6;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.partner-logo:hover { opacity: 1; color: var(--primary); }
.partner-logo i { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   TEAM — Enhanced
   ═══════════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}
.team-grid .team-card { width: 100%; max-width: 380px; }

.team-card {
  text-align: center;
  transition: var(--transition);
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--round-2xl);
  border: 1px solid var(--border);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(54, 214, 247, 0.2);
}

.team-avatar-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 1.75rem;
}
.team-avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--primary), var(--accent-bright), var(--primary), var(--accent));
  opacity: 0.4;
  transition: var(--transition);
  animation: rotateGlow 6s linear infinite;
}
.team-card:hover .team-avatar-ring { opacity: 1; inset: -8px; }
.team-avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  background: var(--card-surface);
}
.team-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}
.team-role {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--round-pill);
  background: var(--grad-brand);
  box-shadow: 0 2px 12px rgba(44, 95, 112, 0.2);
}
.team-bio {
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 32ch;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}
.team-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-fast);
}
.team-socials a i, .team-socials a svg { width: 16px; height: 16px; }
.team-socials a:hover {
  background: var(--grad-brand);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
.test-carousel {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.test-viewport {
  overflow: hidden;
  border-radius: var(--round-2xl);
}
.test-track {
  display: flex;
  transition: transform 0.6s var(--ease-smooth);
}
.test-card {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: var(--round-2xl);
  padding: 3.5rem 3rem;
  border: 1px solid var(--border);
  position: relative;
  text-align: center;
}

.test-stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
  color: #f59e0b;
  font-size: 1.1rem;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.test-quote {
  font-size: 1.2rem;
  color: var(--ink-light);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.test-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--card-surface);
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  z-index: 0;
}

.test-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}
.test-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(44, 95, 112, 0.25);
}
.test-author-info { text-align: left; }
.test-author-info h4 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  letter-spacing: 0;
}
.test-author-info span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Carousel controls */
.test-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-fast);
  z-index: 5;
  border: 1px solid var(--border);
}
.test-nav:hover {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-50%) scale(1.1);
}
.test-nav i, .test-nav svg { width: 22px; height: 22px; }
.test-nav.prev { left: -10px; }
.test-nav.next { right: -10px; }

.test-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.test-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition-fast);
  cursor: pointer;
}
.test-dot.active {
  background: var(--grad-brand);
  width: 32px;
  border-radius: var(--round-pill);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */
.contact-section {
  background: linear-gradient(160deg, var(--primary-deeper), var(--primary-dark) 50%, var(--primary));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 214, 247, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
}
.contact-info h2 span { color: var(--accent); }
.contact-info > p {
  opacity: 0.85;
  font-size: 1.05rem;
  max-width: 45ch;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--round-xl);
  background: rgba(54, 214, 247, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.contact-item:hover .contact-icon-wrap {
  background: var(--accent);
  transform: scale(1.1);
}
.contact-icon-wrap i, .contact-icon-wrap svg {
  color: var(--accent);
  width: 20px;
  height: 20px;
}
.contact-item:hover .contact-icon-wrap i,
.contact-item:hover .contact-icon-wrap svg { color: var(--primary-deeper); }
.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.5;
  margin-bottom: 0.15rem;
}
.contact-item-value {
  font-size: 0.95rem;
  opacity: 0.95;
}

/* Form Card */
.form-card {
  background: var(--white);
  color: var(--ink);
  padding: 3rem;
  border-radius: var(--round-2xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--border-soft);
  scroll-margin-top: 90px;
}

.form-card h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}
.form-card > p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--round-lg);
  font-size: 0.92rem;
  font-family: var(--font-body);
  outline: none;
  background: var(--bg);
  color: var(--ink);
  transition: var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(54, 214, 247, 0.12);
  transform: translateY(-1px);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--grad-brand);
  background-size: 200% 200%;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--round-pill);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(44, 95, 112, 0.35);
  background-position: 100% 50%;
}

.form-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.form-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* Messaging shortcut buttons (WhatsApp / Viber) */
.form-messaging {
  margin-top: 1.5rem;
}
.form-messaging-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.form-messaging-divider::before,
.form-messaging-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.form-messaging-divider span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-messaging-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--round-pill);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.msg-btn svg { flex-shrink: 0; }
.msg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  color: var(--white);
}
.msg-btn-whatsapp { background: #25D366; }
.msg-btn-whatsapp:hover { background: #1ebe5b; }
.msg-btn-viber { background: #7360F2; }
.msg-btn-viber:hover { background: #5d4bd9; }

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--round-lg);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.form-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}
.form-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SOCIAL BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.contact-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.contact-socials-label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.25rem;
}
.contact-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--white);
}
.contact-social-btn i, .contact-social-btn svg { width: 20px; height: 20px; }
.contact-social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-deeper);
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* Hero CTA breathing glow */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(54, 214, 247, 0.35); }
  50% { box-shadow: 0 4px 20px rgba(54, 214, 247, 0.55), 0 0 0 8px rgba(54, 214, 247, 0.1); }
}
.hero-actions .btn-primary {
  animation: ctaGlow 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-tagline {
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 32ch;
  line-height: 1.6;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--round-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
}
.footer-socials a i, .footer-socials a svg { width: 18px; height: 18px; color: var(--white); }
.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.footer-socials a:hover i,
.footer-socials a:hover svg { color: var(--ink); }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  opacity: 0.6;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-links a:hover { opacity: 1; color: var(--accent); }

.footer-contact p {
  opacity: 0.6;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: var(--transition);
  animation: pulseRing 2.5s infinite;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-glow-strong);
}
.back-to-top i, .back-to-top svg { width: 24px; height: 24px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 0; flex-direction: column; }
  /* Photo becomes a shorter banner on top */
  .hero-photo {
    position: relative;
    width: 100%;
    height: 320px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  }
  .hero-floating-card-1 { bottom: 32%; top: auto; left: 4%; }
  .hero-floating-card-2 { bottom: 8%; top: auto; left: auto; right: 4%; }
  .hero-floating-card-3 { display: flex; top: 12px; bottom: auto; left: auto; right: 12px; }
  .hero-grid { justify-content: flex-start; }
  .hero-content { max-width: 100%; padding: 50px 0 70px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 2rem; }
  .stat-item:nth-child(2)::after,
  .stat-item:nth-child(4)::after { display: none; }

  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  /* team-grid: auto-fit keeps it responsive (2 cols on tablet, 1 on phone) */

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

  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }

  /* Auto-adjust brand logo for tablet/mobile */
  .nav-wrapper { height: 64px; }
  .logo { font-size: 1.2rem; }
  .logo img { height: 32px !important; max-height: 32px; width: auto; }
  .logo .logo-icon { width: 32px; height: 32px; font-size: 1rem; }

  /* Mobile slide-out nav */
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    background: var(--white);
    padding: 100px 2rem 2rem;
    gap: 0.25rem;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    z-index: 1000;
    animation: fadeInRight 0.3s var(--ease);
  }
  .nav-menu.mobile-open a {
    color: var(--ink) !important;
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: var(--round-lg);
    opacity: 0;
    animation: fadeInRight 0.4s var(--ease) forwards;
  }
  .nav-menu.mobile-open a:nth-child(1) { animation-delay: 0.05s; }
  .nav-menu.mobile-open a:nth-child(2) { animation-delay: 0.1s; }
  .nav-menu.mobile-open a:nth-child(3) { animation-delay: 0.15s; }
  .nav-menu.mobile-open a:nth-child(4) { animation-delay: 0.2s; }
  .nav-menu.mobile-open a:nth-child(5) { animation-delay: 0.25s; }
  .nav-menu.mobile-open a:hover {
    background: rgba(44, 95, 112, 0.06) !important;
    color: var(--primary) !important;
  }
  .nav-menu.mobile-open a::after { display: none; }
  .nav-menu.mobile-open .nav-cta {
    margin-top: 1rem;
    text-align: center;
    background: var(--primary) !important;
    color: var(--white) !important;
  }
  .nav-menu.mobile-open .lang-switcher {
    margin: 1rem 0 0;
    background: var(--bg);
    border-color: var(--border);
    justify-content: center;
    padding: 0.35rem;
  }
  .nav-menu.mobile-open .lang-btn {
    color: var(--ink-muted);
    padding: 0.5rem 1.25rem;
  }
  .nav-menu.mobile-open .lang-btn.active {
    color: var(--primary-dark);
  }
  .mobile-overlay.active { display: block; opacity: 1; }

  .test-nav.prev { left: 0; }
  .test-nav.next { right: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero-photo { height: 280px; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .hero-floating-card { padding: 0.5rem 0.7rem; gap: 0.5rem; backdrop-filter: blur(10px) saturate(1.5); -webkit-backdrop-filter: blur(10px) saturate(1.5); }
  .hero-floating-card strong { font-size: 0.78rem; }
  .hero-floating-card span { font-size: 0.6rem; }
  .hero-floating-icon { width: 30px; height: 30px; }
  .hero-floating-icon i, .hero-floating-icon svg { width: 16px; height: 16px; }
  .hero-floating-avatar-group span { width: 24px; height: 24px; font-size: 0.6rem; margin-left: -8px; }
  .hero-floating-card-1 { top: 14px; bottom: auto; left: 12px; right: auto; }
  .hero-floating-card-2 { top: 50%; transform: translateY(-50%); bottom: auto; left: auto; right: 12px; }
  .hero-floating-card-3 { top: auto; bottom: 14px; left: 12px; right: auto; display: flex; }
  .hero-content { padding: 40px 0 60px; }
  .hero-content h1 { font-size: clamp(2rem, 7vw, 2.75rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust-row { gap: 1rem; }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .stat-value { font-size: 2rem; }
  .stat-item::after { display: none; }

  .trust-inner { grid-template-columns: 1fr; gap: 0.75rem; }

  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .form-card { padding: 2rem 1.5rem; }
  .section-header { margin-bottom: 3rem; }

  /* Curriculum: stack rows into cards on mobile */
  .curriculum-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .curriculum-table thead { display: none; }
  .curriculum-table,
  .curriculum-table tbody,
  .curriculum-table tr,
  .curriculum-table td { display: block; width: 100%; }
  .curriculum-table tbody tr {
    background: var(--white);
    border-radius: var(--round-xl);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition-fast);
  }
  .curriculum-table tbody tr:hover { transform: none; }
  .curriculum-table td {
    padding: 0.4rem 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: right;
  }
  .curriculum-table td.curr-class {
    justify-content: space-between;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 0.6rem;
    margin-bottom: 0.4rem;
  }
  .curriculum-table td.curr-class::before { content: none; }
  .curriculum-table td.curr-subject {
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.92rem;
    color: var(--ink-light);
  }
  .curriculum-table td.curr-subject::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
  }
  .curriculum-table td.curr-duration {
    justify-content: space-between;
    padding-top: 0.6rem;
    margin-top: 0.4rem;
    border-top: 1px dashed var(--border);
  }
  .curriculum-table td.curr-duration::before {
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-muted);
  }

  .test-card { padding: 2.5rem 1.5rem; }
  .test-quote { font-size: 1.05rem; }
  .test-nav { width: 40px; height: 40px; }

  .back-to-top { bottom: 20px; right: 20px; width: 46px; height: 46px; }

  /* Hide hero shapes on small screens for performance */
  .hero-shapes { display: none; }

  /* Auto-adjust brand logo for small mobile */
  .nav-wrapper { min-height: 58px; height: auto; }
  .logo { font-size: 1rem; gap: 0.4rem; min-width: 0; flex: 0 1 auto; max-width: calc(100% - 60px); }
  .logo img { height: 28px !important; max-height: 28px; flex-shrink: 0; }
  .logo .logo-icon { width: 28px; height: 28px; font-size: 0.9rem; flex-shrink: 0; }
  .logo .logo-text { white-space: normal; line-height: 1.15; overflow-wrap: anywhere; }
}
