/* ═══════════════════════════════════════════════════════════════
   English Language Academy — MentorMinds
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF6B00;
  --orange-dark: #E05E00;
  --orange-glow: rgba(255, 107, 0, 0.18);
  --navy: #0A1F44;
  --navy-light: #132D5E;
  --white: #FFFFFF;
  --light: #F8F9FA;
  --text-dark: #1A1A2E;
  --text-muted: #6B7280;
  --ff: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); font-size: 16px; line-height: 1.7; color: var(--text-dark); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Header ─────────────────────────────────────────────────── */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow); }
.top-bar { background: var(--navy); color: var(--white); font-size: 13px; padding: 6px 0; }
.header.scrolled .top-bar { margin-top: -40px; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; }
.top-bar-left i { color: var(--orange); margin-right: 5px; }
.lang-switch { display: flex; background: rgba(255,255,255,.12); border-radius: 50px; overflow: hidden; }
.lang-switch button { padding: 3px 12px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); border: none; cursor: pointer; }
.lang-switch button.active { background: var(--orange); color: var(--white); }

.nav-bar { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--orange), #ff8a33); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 18px; }
.logo-text span:first-child { color: var(--navy); }
.logo-text span:last-child { color: var(--orange); }
.nav-menu { display: flex; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: flex; align-items: center; gap: 5px; padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--navy); border-radius: 8px; transition: var(--transition); }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--orange); background: rgba(255,107,0,.06); }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 220px; background: var(--white); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.12); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s; z-index: 100; }
.nav-menu > li:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; color: var(--navy); border-radius: 10px; }
.dropdown-menu li a:hover { background: rgba(255,107,0,.07); color: var(--orange); }
.dropdown-menu li a i { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--orange-glow); color: var(--orange); border-radius: 8px; font-size: 12px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-whatsapp { width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.btn-cta { padding: 10px 24px; background: var(--orange); color: var(--white); font-family: var(--ff); font-size: 14px; font-weight: 600; border-radius: 50px; border: 2px solid var(--orange); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 10px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(10,31,68,.5); z-index: 1049; opacity: 0; transition: opacity var(--transition); }
.mobile-overlay.show { display: block; opacity: 1; }
.mobile-menu { display: none; position: fixed; top: 0; right: -320px; width: 320px; max-width: 85vw; height: 100vh; background: var(--white); z-index: 1050; padding: 80px 24px 30px; overflow-y: auto; transition: right .35s ease; }
.mobile-menu.open { right: 0; }
.mobile-menu .mobile-nav li { border-bottom: 1px solid rgba(0,0,0,.06); }
.mobile-menu .mobile-nav > li > a { display: block; padding: 14px 0; font-weight: 600; color: var(--navy); }
.mobile-menu .mobile-dropdown { max-height: 0; overflow: hidden; transition: max-height .35s; }
.mobile-menu .mobile-dropdown.open { max-height: 400px; }
.mobile-menu .mobile-dropdown a { display: block; padding: 10px 0 10px 16px; font-size: 14px; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   SECTION 1 — Split Hero
   ══════════════════════════════════════════════ */
.el-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 72px;
}

.el-hero-left {
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 60px 48px;
}

.el-hero-content { max-width: 520px; }

.el-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; background: rgba(255,107,0,.2); color: var(--orange);
  font-family: var(--ff); font-size: 13px; font-weight: 600; border-radius: 50px;
  margin-bottom: 22px; border: 1px solid rgba(255,107,0,.35);
}
.el-hero-badge i { font-size: 12px; }

.el-hero-left h1 {
  font-family: var(--ff);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.el-hero-left .hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 32px;
}

.el-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-enroll {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; background: var(--orange); color: var(--white);
  font-family: var(--ff); font-size: 15px; font-weight: 600;
  border: 2px solid var(--orange); border-radius: 50px; transition: var(--transition);
}
.btn-enroll:hover { background: var(--orange-dark); border-color: var(--orange-dark); box-shadow: 0 8px 24px rgba(255,107,0,.4); transform: translateY(-2px); }

.btn-brochure {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; background: transparent; color: var(--white);
  font-family: var(--ff); font-size: 15px; font-weight: 600;
  border: 2px solid rgba(255,255,255,.45); border-radius: 50px; transition: var(--transition);
}
.btn-brochure:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.el-hero-right {
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}
.el-hero-right::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.15) 0%, transparent 50%);
  pointer-events: none;
}

.schedule-preview {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 26px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 50px rgba(10,31,68,.2);
  position: relative;
  z-index: 1;
}

.schedule-preview h3 {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px;
}
.schedule-preview h3 i { color: var(--orange); }
.schedule-preview > p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

.preview-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
}
.preview-item:last-child { border-bottom: none; }
.preview-item strong { color: var(--navy); font-weight: 600; font-family: var(--ff); }
.preview-item span { color: var(--text-muted); text-align: right; }
.preview-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: var(--orange-glow);
  color: var(--orange);
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
}

/* ══════════════════════════════════════════════
   SECTION 2 — Course Cards
   ══════════════════════════════════════════════ */
.el-courses {
  padding: 90px 0;
  background: var(--light);
}
.el-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-title {
  font-family: var(--ff);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,.1);
}

.course-card.is-popular {
  border: 2px solid var(--orange);
  box-shadow: 0 8px 28px rgba(255,107,0,.15);
}

.popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--orange);
  color: var(--white);
  font-family: var(--ff);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-bar { height: 5px; background: var(--orange); }

.course-body { padding: 26px 22px 24px; flex: 1; display: flex; flex-direction: column; }

.course-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--orange-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 16px;
}

.course-card h3 {
  font-family: var(--ff);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.course-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  flex: 1;
}
.course-meta li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--text-dark);
}
.course-meta li i { color: var(--orange); width: 16px; text-align: center; font-size: 12px; }

.course-fee {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
}
.course-fee small { font-size: 12px; font-weight: 500; color: var(--text-muted); }

.btn-course-enroll {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
}
.btn-course-enroll:hover { background: var(--orange); }
.course-card.is-popular .btn-course-enroll { background: var(--orange); }
.course-card.is-popular .btn-course-enroll:hover { background: var(--orange-dark); }

/* ══════════════════════════════════════════════
   SECTION 3 — Stats CountUp
   ══════════════════════════════════════════════ */
.el-stats {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.el-stats::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,0,.08) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-box {
  text-align: center;
  padding: 20px 16px;
}

.stat-num {
  font-family: var(--ff);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════
   SECTION 4 — Schedule Table
   ══════════════════════════════════════════════ */
.el-schedule {
  padding: 90px 0;
  background: var(--white);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  margin-top: 40px;
  border: 1px solid rgba(0,0,0,.06);
}

.schedule-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}

.schedule-table thead {
  background: var(--orange);
  color: var(--white);
}

.schedule-table th {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
  padding: 16px 18px;
  white-space: nowrap;
}

.schedule-table td {
  padding: 14px 18px;
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0,0,0,.05);
  vertical-align: middle;
}

.schedule-table tbody tr:nth-child(even) {
  background: var(--light);
}

.schedule-table tbody tr:hover {
  background: rgba(255,107,0,.04);
}

.schedule-table td:first-child {
  font-family: var(--ff);
  font-weight: 600;
  color: var(--navy);
}

.seats-low {
  color: #DC2626;
  font-weight: 600;
  font-size: 13px;
}
.seats-ok {
  color: #059669;
  font-weight: 600;
  font-size: 13px;
}

/* ══════════════════════════════════════════════
   SECTION 5 — Free Trial CTA
   ══════════════════════════════════════════════ */
.el-trial {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.trial-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.trial-text h2 {
  font-family: var(--ff);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}
.trial-text p {
  font-size: 16px;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
}
.trial-text ul {
  margin-top: 20px;
}
.trial-text ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  margin-bottom: 10px;
}
.trial-text ul li i { color: var(--white); }

.trial-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
}

.trial-form-card h3 {
  font-family: var(--ff);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: var(--ff);
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(10,31,68,.1);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--orange);
}

.btn-submit-trial {
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--ff);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit-trial:hover { background: var(--orange); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 48px 24px 24px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.4); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 992px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-actions .btn-cta { display: none; }
  .el-hero { grid-template-columns: 1fr; min-height: auto; }
  .el-hero-left { padding: 48px 28px; }
  .el-hero-right { padding: 48px 28px; min-height: 360px; }
  .trial-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .courses-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .el-hero-ctas { flex-direction: column; }
  .btn-enroll, .btn-brochure { width: 100%; justify-content: center; }
  .schedule-table { font-size: 13px; }
  .schedule-table th, .schedule-table td { padding: 12px 14px; }
}

@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .el-courses, .el-schedule, .el-trial { padding: 60px 0; }
  .trial-form-card { padding: 24px 20px; }
}
