:root {
  --primary-50: #f0fdf4;
  --primary-100: #dcfce7;
  --primary-200: #bbf7d0;
  --primary-300: #86efac;
  --primary-400: #4ade80;
  --primary-500: #22c55e;
  --primary-600: #16a34a;
  --primary-700: #15803d;
  --primary-800: #166534;
  --primary-900: #14532d;
  --primary-950: #052e16;

  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --neutral-950: #020617;

  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  --bg-primary: var(--neutral-50);
  --bg-secondary: var(--neutral-100);
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-overlay: rgba(255, 255, 255, 0.9);
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-700);
  --text-tertiary: var(--neutral-500);
  --text-muted: var(--neutral-400);
  --border-color: var(--neutral-200);
  --border-light: var(--neutral-100);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  --marquee-height: 40px;
  --navbar-height: 92px;

  --ring: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

/* ========================
   DARK THEME
   ======================== */
[data-theme="dark"] {
  --bg-primary: var(--neutral-950);
  --bg-secondary: var(--neutral-900);
  --bg-surface: rgba(255,255,255,0.03);
  --bg-card: rgba(255,255,255,0.04);
  --bg-overlay: rgba(2, 6, 23, 0.72);
  --text-primary: var(--neutral-50);
  --text-secondary: rgba(226, 232, 240, 0.86);
  --text-tertiary: rgba(203, 213, 225, 0.75);
  --text-muted: rgba(148, 163, 184, 0.65);
  --border-color: rgba(148, 163, 184, 0.18);
  --border-light: rgba(148, 163, 184, 0.12);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 14px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.45);
  --shadow-xl: 0 18px 40px rgba(0,0,0,0.50);
  --shadow-2xl: 0 28px 70px rgba(0,0,0,0.55);
  --ring: 0 0 0 4px rgba(86, 239, 172, 0.18);
}

/* ========================
   RESET & BASE STYLES
   ======================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================
   TYPOGRAPHY
   ======================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.display-1 { font-size: 5rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.display-2 { font-size: 3.75rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.display-3 { font-size: 2.5rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-400));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

/* ========================
   TOP MARQUEE - FIXED
   ======================== */
.top-marquee {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--marquee-height);
  z-index: 1200;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.top-marquee a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeMove 25s linear infinite;
  will-change: transform;
  min-width: max-content;
  padding: 0 20px;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  opacity: 0.98;
  flex-shrink: 0;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
}

@keyframes marqueeMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.top-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ========================
   NAVIGATION
   ======================== */
.navbar {
  background-color: var(--bg-overlay);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
  transition: var(--transition-base);
  position: fixed;
  top: var(--marquee-height);
  width: 100%;
  z-index: 1100;
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img{
  width: 150px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
  display: block;
}

.nav-link {
  font-weight: 600;
  color: var(--text-secondary) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-600) !important;
  background-color: rgba(22, 163, 74, 0.08);
}

.nav-highlight {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  color: white !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: var(--transition-base);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.22);
  text-decoration: none;
}

.nav-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(22, 163, 74, 0.28);
  color: white !important;
}

/* Theme toggle button */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background-color: rgba(22, 163, 74, 0.08);
  color: var(--primary-600);
}

.theme-toggle:focus-visible { outline: none; box-shadow: var(--ring); }
.theme-toggle-mobile { margin-right: 8px; }

/* Language toggle button */
.lang-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.lang-toggle:hover {
  background-color: rgba(22, 163, 74, 0.08);
  color: var(--primary-600);
  transform: scale(1.05);
}

.lang-toggle:focus-visible { outline: none; box-shadow: var(--ring); }
.lang-toggle-mobile { margin-right: 8px; }

.mobile-controls { display: flex; align-items: center; gap: 4px; }

/* RTL support for Japanese */
[lang="ja"] {
  font-family: 'Inter', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
}

.navbar-toggler {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1.25rem;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.navbar-toggler:hover {
  background-color: rgba(22, 163, 74, 0.08);
  color: var(--primary-600);
}

.navbar-toggler:focus-visible { outline: none; box-shadow: var(--ring); }

/* ========================
   HERO SECTION
   ======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--marquee-height) + var(--navbar-height));
  padding-bottom: 80px;
  background: radial-gradient(1200px 600px at 15% 10%, rgba(22, 163, 74, 0.12), transparent 55%),
              radial-gradient(900px 450px at 85% 25%, rgba(74, 222, 128, 0.10), transparent 60%),
              linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero::after {
  content:"";
  position:absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: min(1200px, 92vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.22), transparent);
  opacity: 0.9;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 20% 80%, var(--primary-500) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--primary-500) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, var(--primary-500) 0%, transparent 50%);
  z-index: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(22, 163, 74, 0.10);
  color: var(--primary-600);
  padding: 0.52rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.875rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(22, 163, 74, 0.20);
}

.hero-badge .dot {
  width: 9px;
  height: 9px;
  background: var(--primary-500);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ========================
   BUTTONS
   ======================== */
.btn {
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-base);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  color: white;
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.22);
}

.btn-primary::after{
  content:"";
  position:absolute;
  inset: -2px;
  background: radial-gradient(240px 120px at 30% 20%, rgba(255,255,255,0.35), transparent 60%);
  opacity: 0.85;
  z-index: -1;
  transform: translateX(-20%);
  transition: var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(22, 163, 74, 0.28);
  color: white;
}

.btn-primary:hover::after { transform: translateX(0%); opacity: 1; }

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

/* ========================
   FEATURES SECTION
   ======================== */
.features-section {
  padding: 5rem 0;
  background-color: var(--bg-primary);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.22), transparent);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.25);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.375rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* ========================
   STATS SECTION
   ======================== */
.stats-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.stat-card { text-align: center; padding: 2rem; position: relative; z-index: 1; }
.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
  color: white;
}
.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================
   COURSES SECTION
   ======================== */
.courses { padding: 6rem 0; background-color: var(--bg-primary); }

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.course-level {
  display: inline-block;
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary-600);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.course-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-600);
  margin: 1.5rem 0;
}

.course-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.course-feature i {
  color: var(--primary-500);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.course-card .btn {
  margin-top: 2rem;
}

.course-image-container {
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.course-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image {
  transform: scale(1.05);
}

.course-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
}

/* ========================
   WHY JAPAN SECTION
   ======================== */
.why-japan { padding: 6rem 0; background-color: var(--bg-secondary); }

.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.reason-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

.reason-card h4 { font-size: 1.375rem; margin-bottom: 1rem; color: var(--text-primary); line-height: 1.3; }
.reason-card p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 0; font-size: 0.95rem; }

/* ========================
   PROCESS SECTION
   ======================== */
.process { padding: 6rem 0; background-color: var(--bg-secondary); }

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 28px;
  top: 68px;
  width: 2px;
  height: calc(100% - 40px);
  background: var(--border-color);
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.25);
}

.process-content h4 { font-size: 1.375rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.process-content p { color: var(--text-secondary); line-height: 1.7; }

/* ========================
   TESTIMONIALS SECTION - MARQUEE STYLE
   ======================== */
.testimonials { 
  padding: 6rem 0; 
  background-color: var(--bg-primary);
  overflow: hidden;
}

.testimonial-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.testimonial-marquee-track {
  display: flex;
  gap: 2rem;
  animation: testimonialMarquee 20s linear infinite;
  will-change: transform;
}

@keyframes testimonialMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-marquee-card {
  flex: 0 0 auto;
  width: 380px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
}

.testimonial-marquee-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.testimonial-image-container {
  height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  padding: 1.75rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 3rem;
  color: var(--primary-300);
  font-family: serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.author-info h5 { font-size: 1.1rem; margin-bottom: 0.25rem; color: var(--text-primary); font-weight: 600; }
.author-info p { font-size: 0.875rem; color: var(--text-tertiary); margin: 0; }

.testimonial-pause {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* ========================
   COMPANY OVERVIEW SLIDER
   ======================== */
.company-overview-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.company-overview-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.22), transparent);
}

/* 16:9 Aspect Ratio Container */
.slider-aspect-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.overview-slider-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overview-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
}

.overview-slide {
  flex: 0 0 100%;
  min-width: 100%;
  position: relative;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.overview-slide.active {
  opacity: 1;
}

.slide-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.slide-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 5rem;
  color: white;
  z-index: 2;
}

.slide-number {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  margin-right: 3rem;
  font-family: var(--font-heading);
  min-width: 120px;
}

.slide-text {
  max-width: 600px;
}

.slide-text h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
  line-height: 1.2;
}

.slide-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* Slider Controls */
.overview-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 0 1rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.overview-slider-prev,
.overview-slider-next {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.overview-slider-prev:hover,
.overview-slider-next:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.slider-counter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 60px;
}

.current-slide {
  color: var(--primary-600);
}

.divider {
  color: var(--text-secondary);
  opacity: 0.6;
}

.slider-progress {
  flex: 1;
  max-width: 300px;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-400));
  width: 33.33%; /* For 3 slides */
  transition: width 0.3s ease;
}

.slider-dots {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  padding: 0;
}

.slider-dot:hover {
  background: var(--primary-400);
  transform: scale(1.2);
}

.slider-dot.active {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

/* Info Cards */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-300);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-600);
  font-size: 1.75rem;
}

.info-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .slide-content {
    padding: 0 4rem;
  }
  
  .slide-number {
    font-size: 6rem;
    margin-right: 2rem;
    min-width: 100px;
  }
  
  .slide-text h3 {
    font-size: 2.25rem;
  }
  
  .slide-text p {
    font-size: 1.15rem;
  }
}

@media (max-width: 992px) {
  .company-overview-section {
    padding: 4rem 0;
  }
  
  .slide-content {
    padding: 0 3rem;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  
  .slide-number {
    font-size: 5rem;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .slide-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .slide-text p {
    font-size: 1.1rem;
  }
  
  .overview-slider-controls {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .controls-left {
    order: 2;
  }
  
  .slider-progress {
    order: 1;
    max-width: 100%;
  }
  
  .slider-dots {
    order: 3;
  }
  
  .info-card {
    padding: 1.75rem;
  }
  
  .info-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .slider-aspect-ratio {
    border-radius: var(--radius-lg);
  }
  
  .slide-content {
    padding: 0 2rem;
  }
  
  .slide-number {
    font-size: 4rem;
  }
  
  .slide-text h3 {
    font-size: 1.75rem;
  }
  
  .slide-text p {
    font-size: 1rem;
  }
  
  .overview-slider-prev,
  .overview-slider-next {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
  
  .slider-counter {
    font-size: 1.1rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .info-card h4 {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .slider-aspect-ratio {
    border-radius: var(--radius-md);
  }
  
  .slide-content {
    padding: 0 1.5rem;
  }
  
  .slide-number {
    font-size: 3.5rem;
  }
  
  .slide-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .overview-slider-controls {
    gap: 1rem;
  }
  
  .controls-left {
    gap: 1rem;
  }
  
  .overview-slider-prev,
  .overview-slider-next {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  
  .slider-dots {
    gap: 0.5rem;
  }
  
  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* Dark theme adjustments */
[data-theme="dark"] .slider-aspect-ratio {
  border-color: rgba(148, 163, 184, 0.25);
}

[data-theme="dark"] .info-card {
  background: var(--bg-surface);
  border-color: var(--border-color);
}

[data-theme="dark"] .info-icon {
  background: rgba(22, 163, 74, 0.1);
  color: var(--primary-400);
}


/* ========================
   FAQ SECTION
   ======================== */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 163, 74, 0.22), transparent);
}

.accordion {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.accordion-item {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-item:hover {
  background: var(--bg-surface);
}

.accordion-header {
  margin: 0;
}

.accordion-button {
  width: 100%;
  padding: 1.75rem 2rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-base);
  position: relative;
}

.accordion-button:not(.collapsed) {
  background: rgba(22, 163, 74, 0.08);
  color: var(--primary-700);
}

.accordion-button:hover {
  background: rgba(22, 163, 74, 0.05);
  color: var(--primary-600);
}

.accordion-button:focus {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.accordion-button::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 1rem;
  color: var(--primary-500);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  color: var(--primary-600);
}

.accordion-collapse {
  transition: height 0.3s ease;
}

.accordion-body {
  padding: 0 2rem 1.75rem;
}

.accordion-body p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

/* Dark theme adjustments for FAQ */
[data-theme="dark"] .accordion {
  border-color: rgba(148, 163, 184, 0.25);
  background: var(--bg-surface);
}

[data-theme="dark"] .accordion-item {
  border-color: rgba(148, 163, 184, 0.15);
  background: var(--bg-surface);
}

[data-theme="dark"] .accordion-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
  background: rgba(86, 239, 172, 0.08);
  color: var(--primary-300);
}

[data-theme="dark"] .accordion-button:hover {
  background: rgba(86, 239, 172, 0.05);
}

/* ========================
   CTA SECTION
   ======================== */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.cta-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.cta-title { font-size: 3rem; margin-bottom: 1.5rem; color: white; }
.cta-subtitle { font-size: 1.25rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 3rem; line-height: 1.7; }

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-light { background: white; color: var(--primary-700); font-weight: 700; }
.btn-light:hover { background: var(--neutral-100); color: var(--primary-800); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2); }

.btn-outline-light { background: transparent; color: white; border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: white; transform: translateY(-2px); }

/* ========================
   FOOTER
   ======================== */
footer {
  background: var(--bg-surface);
  padding-top: 6rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border-color);
}

.footer-description { color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; }
.footer-heading { font-size: 1.125rem; margin-bottom: 1.5rem; color: var(--text-primary); font-weight: 700; }

.footer-link {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: block;
  transition: var(--transition-fast);
  text-decoration: none;
}

.footer-link:hover { color: var(--primary-600); transform: translateX(4px); }

.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: var(--text-tertiary); transition: var(--transition-fast); text-decoration: none; }
.footer-legal a:hover { color: var(--primary-600); }

/* ========================
   BACK TO TOP BUTTON
   ======================== */
.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  border: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1), transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1500;
  pointer-events: none;
}
.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  transform: translateY(-4px);
}
.back-top:focus-visible { outline: none; box-shadow: var(--ring); }

[data-theme="dark"] .back-top {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
}

/* ========================
   ANIMATIONS
   ======================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--transition-base), transform 0.85s var(--transition-base);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-collapse.show {
  animation: slideDown 0.3s ease;
}

/* ========================
   UTILITY STYLES
   ======================== */
.classroom-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.classroom-img:hover {
  transform: scale(1.02);
}

.hero-media-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-2xl);
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.55));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.play-button:hover { transform: scale(1.1); background: white; }
.play-button i { font-size: 2rem; color: var(--primary-600); margin-left: 5px; }

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 1200px) {
  .gallery-slider-wrapper {
    margin: 0 20px;
  }
}

@media (max-width: 992px) {
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 340px; justify-content: center; }
  .course-card.featured { transform: none; }
  
  /* Gallery adjustments for tablet */
  .gallery-slider-controls {
    gap: 1.5rem;
  }
  
  .gallery-slider-prev,
  .gallery-slider-next {
    width: 50px;
    height: 50px;
  }
  
  .gallery-slide-caption {
    padding: 2rem;
  }
  
  .gallery-slide-caption h4 {
    font-size: 1.5rem;
  }
  
  /* On medium screens, show 2 features per row */
  .features-section .row .col-lg-3 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-collapse {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-xl);
  }

  .display-1 { font-size: 2.75rem; }
  .display-2 { font-size: 2.25rem; }
  .display-3 { font-size: 2rem; }
  .section-subtitle { font-size: 1.125rem; }
  
  .feature-card {
    padding: 2rem 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .stat-number { font-size: 2.5rem; }
  .process-step:not(:last-child)::after { display: none; }
  .course-card.featured { transform: none; }
  .course-card.featured::before { 
    right: 50%; 
    transform: translateX(50%) rotate(0);
    top: 16px;
    right: 16px;
    width: auto;
    height: auto;
    padding: 0.35rem 1rem;
  }

  :root { --navbar-height: 78px; }

  .mobile-controls { gap: 4px; }
  .theme-toggle, .lang-toggle { width: 40px; height: 40px; }
  .navbar-toggler { padding: 6px 10px; }

  .classroom-img { height: 300px; }
  .play-button { width: 60px; height: 60px; }
  .play-button i { font-size: 1.5rem; }

  .testimonial-marquee-card {
    width: 300px;
  }
  
  /* Gallery adjustments for mobile */
  .gallery-section {
    padding: 4rem 0;
  }
  
  .faq-section {
    padding: 4rem 0;
  }
  
  .gallery-slider-wrapper {
    margin: 0 15px;
    border-radius: var(--radius-lg);
  }
  
  .gallery-slide-caption {
    padding: 1.5rem;
  }
  
  .gallery-slide-caption h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .gallery-slide-caption p {
    font-size: 0.95rem;
  }
  
  .gallery-slider-controls {
    margin-top: 2rem;
    gap: 1rem;
    padding: 0 15px;
  }
  
  .gallery-slider-prev,
  .gallery-slider-next {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  
  .gallery-slider-dots {
    gap: 0.5rem;
  }
  
  .gallery-slider-dot {
    width: 12px;
    height: 12px;
  }
  
  .accordion-button {
    padding: 1.5rem 1.25rem;
    font-size: 1.05rem;
  }
  
  .accordion-body {
    padding: 0 1.25rem 1.5rem;
  }
  
  .marquee-track {
    gap: 30px;
    animation: marqueeMove 20s linear infinite;
  }
  
  .marquee-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  /* On mobile, show 1 feature per row */
  .features-section .row .col-lg-3 {
    margin-bottom: 1.5rem;
  }
  
  /* Gallery adjustments for small mobile */
  .gallery-slider-wrapper {
    margin: 0 10px;
    border-radius: var(--radius-md);
  }
  
  .gallery-slide-caption {
    padding: 1.25rem;
  }
  
  .gallery-slide-caption h4 {
    font-size: 1.125rem;
  }
  
  .gallery-slide-caption p {
    font-size: 0.9rem;
  }
  
  .gallery-slider-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }
  
  .gallery-slider-prev,
  .gallery-slider-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .gallery-slider-dots {
    order: -1;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .accordion-button {
    padding: 1.25rem 1rem;
    font-size: 1rem;
  }
  
  .accordion-button::after {
    margin-left: 0.75rem;
  }
  
  .accordion-body {
    padding: 0 1rem 1.25rem;
  }
  
  .brand-logo-img{ 
    width: 130px; 
    max-height: 40px; 
  }
}

/* ========================
   ACCESSIBILITY & UTILITIES
   ======================== */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .marquee-track { animation: none; }
  .testimonial-marquee-track { animation: none; }
  .gallery-slider-track { transition: none; }
  .gallery-slide-image { transition: none; }
  .gallery-slide-caption { transition: none; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--primary-600); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-700); }

/* Focus styles */
a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-md);
}

img { max-width: 100%; height: auto; }

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Ensure gallery and FAQ sections have proper spacing */
.preview-section {
  scroll-margin-top: calc(var(--marquee-height) + var(--navbar-height) + 20px);
}



