/* ============================================================
   Pere Technologies — Main Stylesheet
   Colors: Navy #1a3a6b | Orange #f5a623
   ============================================================ */

:root {
  --navy: #1a3a6b;
  --navy-dark: #112d57;
  --navy-deeper: #0d2040;
  --orange: #f5a623;
  --orange-dark: #e09320;
  --white: #ffffff;
  --light-bg: #f0f4f8;
  --gray-bg: #f8f9fa;
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text-body); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
address { font-style: normal; }

/* ── Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 88px 0; }
.bg-light { background: var(--light-bg); }

/* ── Announcement Ticker ── */
.ticker-wrap {
  background: var(--navy-deeper);
  color: rgba(255,255,255,0.9);
  padding: 9px 0;
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
  width: max-content;
}
.ticker span { padding: 0 40px; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.1); }
.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 16px;
}
.logo { flex-shrink: 0; text-decoration: none; }
.logo img { height: 48px; width: auto; }
.nav { flex: 1; }
.nav-list {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  justify-content: flex-end;
}
.nav-list > li > a {
  display: block;
  padding: 8px 11px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-list > li > a:hover { background: var(--light-bg); color: var(--navy); }
.chevron { font-size: 0.6em; opacity: 0.6; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  min-width: 180px;
  padding: 8px;
  z-index: 200;
}
.has-dropdown.dd-open .dropdown-menu { display: block; }
.dropdown-menu.dropdown-left { right: auto; left: 0; }
.dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.dropdown-menu li a:hover { background: var(--light-bg); color: var(--navy); }
.dropdown-menu.dropdown-wide { min-width: 260px; }
.header-cta { margin-left: 8px; flex-shrink: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245,166,35,0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(140deg, var(--navy-deeper) 0%, var(--navy) 55%, #1f5296 100%);
  color: var(--white);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(245,166,35,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 60%);
}
/* Logo watermark (replaces old decorative circle) */
.hero-logo-watermark {
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  object-fit: contain;
  opacity: 0.06;
  pointer-events: none;
  border-radius: 50%;
  user-select: none;
}
.hero::before {
  display: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 40px solid rgba(245,166,35,0.06);
  pointer-events: none;
}
.hero-content { max-width: 780px; position: relative; z-index: 1; }
.badge {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: #fcd34d;
  border: 1px solid rgba(245,166,35,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Stats bar */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 0 40px 0 0;
  margin-right: 40px;
}
.stat:first-child { padding-left: 0; }
.stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-plus {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  align-self: stretch;
  margin: 0 40px;
  flex-shrink: 0;
}

/* ── Logos / Hiring Partners ── */
.logos-section {
  background: var(--light-bg);
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.logos-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.logos-label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.logos-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: logos-scroll 50s linear infinite;
  width: max-content;
  padding: 8px 0;
}
.logos-track:hover { animation-play-state: paused; }
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 16px;
  padding: 10px 14px;
  width: 200px;
  height: 110px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: box-shadow 0.25s, transform 0.25s;
}
.logo-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.logo-card img {
  width: 172px;
  height: 90px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(15%);
  transition: filter 0.25s, transform 0.25s;
}
.logo-card:hover img { filter: grayscale(0%); transform: scale(1.05); }
@keyframes logos-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Common ── */
.section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.section-eyebrow-light { color: rgba(245,166,35,0.85); }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-title-light { color: var(--white); }
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 52px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle-light { color: rgba(255,255,255,0.65); }

/* ── Training Modes ── */
.training-modes { background: var(--white); }
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mode-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.mode-card:hover {
  border-color: var(--navy);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.mode-featured {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.mode-featured:hover { transform: translateY(-10px); }
.mode-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.mode-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--light-bg);
  color: var(--navy);
  transition: background 0.3s, color 0.3s;
}
.mode-featured .mode-icon { background: rgba(255,255,255,0.12); color: var(--white); }
.mode-card:not(.mode-featured):hover .mode-icon { background: rgba(26,58,107,0.08); }
.mode-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.mode-featured h3 { color: var(--white); }
.mode-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}
.mode-featured p { color: rgba(255,255,255,0.75); }

/* ── Courses Section ── */
.courses-section { }
.course-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 11px 26px;
  border: 2px solid var(--border);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.2s;
}
.tab-btn:hover { border-color: var(--navy); color: var(--navy); }
.tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.course-card:hover::before { transform: scaleX(1); }
.course-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.course-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-popular { background: #fef3c7; color: #92400e; }
.badge-guarantee { background: #dcfce7; color: #166534; }
.badge-prog { background: #e0f2fe; color: #0369a1; }
.badge-test { background: #d1fae5; color: #065f46; }
.badge-ms { background: #eff6ff; color: #1d4ed8; }
.badge-rpa { background: #faf5ff; color: #6d28d9; }
.badge-db { background: #fff7ed; color: #c2410c; }
.badge-ds { background: #ede9fe; color: #5b21b6; }
.badge-web { background: #dbeafe; color: #1e40af; }
.badge-mktg { background: #fce7f3; color: #9d174d; }
.badge-sec { background: #fee2e2; color: #991b1b; }
.course-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.course-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
  height: 52px;
  display: flex;
  align-items: center;
}
.course-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.course-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}
.course-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}
.course-btn {
  width: 100%;
  margin-top: auto;
  padding: 10px 20px;
  font-size: 0.875rem;
}
.view-all-wrap {
  text-align: center;
  margin-top: 44px;
}

/* ── Why Choose Us ── */
.why-section {
  background: linear-gradient(160deg, var(--navy-deeper) 0%, var(--navy) 50%, #1a4f96 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,0.025);
  pointer-events: none;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.25s ease;
}
.feature-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(245,166,35,0.35);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,166,35,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid rgba(245,166,35,0.2);
}
.feature-body { flex: 1; }
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
}

/* ── Testimonials ── */
.testimonials-section { }
.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(26,58,107,0.15);
}
.t-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.t-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}
.t-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.t-name { font-weight: 700; color: var(--text-dark); font-size: 0.92rem; }
.t-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.t-stars { color: var(--orange); font-size: 0.78rem; margin-top: 4px; letter-spacing: 1px; }
.t-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.75;
  position: relative;
}
.t-text::before {
  content: '\201C';
  position: absolute;
  top: -8px; left: -6px;
  font-size: 3.5rem;
  color: var(--orange);
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.dot.active { background: var(--navy); width: 24px; border-radius: 4px; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--orange);
  padding: 56px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cta-text p { color: rgba(255,255,255,0.88); font-size: 1rem; }
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.cta-banner .btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: none;
}
.cta-banner .btn-outline-white {
  border-color: rgba(255,255,255,0.6);
}

/* ── FAQ ── */
.faq-section { }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:has(.faq-question.active) { box-shadow: var(--shadow); border-color: rgba(26,58,107,0.2); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: none;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
}
.faq-question:hover { background: var(--light-bg); }
.faq-question.active {
  background: var(--navy);
  color: var(--white);
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.25s;
  opacity: 0.7;
}
.faq-question.active .faq-icon { transform: rotate(45deg); opacity: 1; }
.faq-answer {
  display: none;
  padding: 18px 22px;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.75;
  background: var(--gray-bg);
  border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* ── Footer ── */
.footer {
  background: var(--navy-deeper);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 44px; margin-bottom: 18px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  border: 1px solid rgba(255,255,255,0.08);
}
.social-links a:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item span { flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--orange); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #25d366;
  color: var(--white);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.55);
}

/* ── Enquiry Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  backdrop-filter: blur(3px);
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  display: flex;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.35); }

/* Left panel */
.modal-left {
  background: linear-gradient(145deg, #1a3a6b 0%, #1565c0 100%);
  color: var(--white);
  padding: 36px 28px 28px;
  width: 45%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}
.modal-benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}
.modal-benefit-title span { color: var(--orange); }
.modal-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.modal-benefits li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.modal-audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}
.modal-audience button {
  border: 2px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.modal-audience button:hover {
  background: var(--orange);
  color: var(--white);
}

/* Right panel */
.modal-right {
  background: var(--white);
  padding: 36px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.modal-form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
#enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#enquiry-form input,
#enquiry-form select,
#enquiry-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  background: #f9fafb;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
#enquiry-form input:focus,
#enquiry-form select:focus,
#enquiry-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#enquiry-form textarea { resize: vertical; }
.modal-submit {
  background: #22a73e;
  color: var(--white);
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}
.modal-submit:hover { background: #1a8a31; }
.modal-success {
  color: #166534;
  background: #dcfce7;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 600;
  text-align: center;
}
.modal-success[hidden] { display: none; }

/* Mobile modal */
@media (max-width: 640px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    flex-direction: column;
    max-height: 96vh;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 100%;
  }
  /* Hide benefits panel — form only on mobile */
  .modal-left { display: none; }
  /* Form takes full width */
  .modal-right {
    padding: 48px 20px 24px;
    width: 100%;
    flex: 1;
    overflow-y: auto;
  }
  .modal-form-row { grid-template-columns: 1fr; }
  .modal-form-title { font-size: 1.05rem; }
  #enquiry-form input,
  #enquiry-form select,
  #enquiry-form textarea {
    padding: 13px 14px;
    font-size: 0.95rem;
  }
  /* Close X — dark and clearly visible over white form */
  .modal-close {
    top: 12px;
    right: 14px;
    background: rgba(0,0,0,0.08);
    color: #333;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    border: 1px solid rgba(0,0,0,0.12);
  }
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--light-bg); }
.hamburger span {
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .nav-list > li > a { padding: 8px 8px; font-size: 0.82rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-carousel { grid-template-columns: repeat(2, 1fr); }
  .modes-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  /* Nav collapse */
  .nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 20px 24px;
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid var(--border);
  }
  .nav.open { display: flex; flex-direction: column; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li > a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 1rem;
  }
  .has-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    padding: 4px 0 4px 16px;
    display: none;
    margin-bottom: 4px;
  }
  .has-dropdown.dd-open > a .chevron { opacity: 1; transform: rotate(180deg); }
  .chevron { display: inline-block; transition: transform 0.2s; }
  .hamburger { display: flex; }
  .header-cta { display: none; }

  /* Hero */
  .hero { padding: 64px 0 52px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { text-align: center; width: 100%; justify-content: center; }
  .stats-bar { gap: 0; }
  .stat { padding: 0 20px 0 0; margin-right: 20px; }
  .stat-num { font-size: 1.75rem; }
  .stat-divider { margin: 0 20px; }

  /* Sections */
  .section-pad { padding: 60px 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .testimonials-carousel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand p { max-width: 100%; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Stats — 2x2 grid on small screens */
  .stats-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 28px; }
  .stat-divider { display: none; }
  .stat { padding: 0; margin: 0; }
  .stat-num { font-size: 1.8rem; }
  .stat-plus { font-size: 1.3rem; }

  /* Sections */
  .section-pad { padding: 48px 0; }
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.92rem; margin-bottom: 32px; }
  .modes-grid { max-width: 100%; }

  /* Mode cards — more compact */
  .mode-card { padding: 28px 20px; }
  .mode-icon { width: 52px; height: 52px; font-size: 1.4rem; }

  /* Course cards */
  .course-card { padding: 20px; }
  .course-icon { font-size: 1.6rem; }

  /* Feature cards — stack icon on top */
  .feature-card { flex-direction: column; gap: 12px; padding: 20px; }

  /* Testimonials */
  .testimonial-card { padding: 20px; }

  /* CTA banner */
  .cta-banner { padding: 40px 0; }
  .cta-text h2 { font-size: 1.4rem; }
  .cta-actions .btn { width: 100%; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-grid { gap: 28px; }

  /* Logo cards on mobile */
  .logo-card { width: 110px; min-height: 80px; padding: 12px 14px; }
  .logo-card img { width: 65px; height: 30px; }

  /* Hero */
  .hero { padding: 48px 0 40px; }
  .badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero h1 { font-size: 1.65rem; line-height: 1.22; }
  .hero p { font-size: 0.9rem; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; margin-bottom: 36px; }

  /* Ticker */
  .ticker-wrap { font-size: 0.78rem; }

  /* FAQ */
  .faq-question { font-size: 0.85rem; padding: 16px 18px; }
  .faq-answer { font-size: 0.84rem; padding: 14px 18px; }
}
