@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800&display=swap");
/* ===========================
   CSS CUSTOM PROPERTIES — medilearn brand
   =========================== */
:root {
  --coral: #ee5c49;
  --green: #2bb573;
  --orange: #f39c2a;
  --magenta: #8e2a6d;
  --blue: #29a9e0;
  --tan: #b5945e;
  --red: var(--coral);
  --dark: #1f2630;
  --mid: #374151;
  --muted: #6B7280;
  --light: #fff5f1;
  --white: #FFFFFF;
  --border: #f1d8d2;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(238,92,73,0.10);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Nunito", "Inter", system-ui, sans-serif;
  --max-width: 1120px;
  --section-pad: 80px 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--mid);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3, h4 {
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ===========================
   NAVIGATION
   =========================== */
#nav-toggle {
  display: none;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--dark);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.25), -2px -2px 6px rgba(255, 255, 255, 0.05);
}

.logo-s {
  color: var(--red);
}

.logo-2 {
  color: var(--blue);
}

.logo-l {
  color: var(--green);
}

.nav-brand-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.nav-brand-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding-top: 35px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.15s;
}

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

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.nav-cta:hover {
  opacity: 0.9;
  color: var(--white) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger label {
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 20px 24px;
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  display: block;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

#nav-toggle:checked ~ .nav-mobile {
  display: block;
}

#nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(2) {
  opacity: 0;
}

#nav-toggle:checked ~ .nav-inner .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   HERO
   =========================== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f2d1a 100%);
  color: var(--white);
  padding: 80px 20px 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 51, 41, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 86, 196, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 158, 74, 0.2);
  border: 1px solid rgba(26, 158, 74, 0.4);
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  color: #4ade80;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-actions .btn {
  font-size: 1rem;
  padding: 15px 30px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-phone-mockup {
  width: 260px;
  background: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-screen {
  background: #0f172a;
  border-radius: 20px;
  padding: 20px 16px;
  min-height: 380px;
}

.phone-course-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.phone-course-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-free {
  background: rgba(26, 158, 74, 0.25);
  color: #4ade80;
}

.tag-paid {
  background: rgba(230, 51, 41, 0.25);
  color: #f87171;
}

.phone-course-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.phone-course-meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

.phone-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.phone-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--green);
}

.phone-screen-header {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

/* ===========================
   WHAT IS MEDILEARN
   =========================== */
.what-is {
  padding: var(--section-pad);
  background: var(--white);
}

.what-is-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.what-is h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
}

.what-is p {
  color: var(--mid);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.what-is-points {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.what-is-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 2px;
}

.what-is-visual {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.mission-statement {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 24px;
}

.mission-statement span {
  color: var(--red);
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.audience-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid);
}

/* ===========================
   COURSES
   =========================== */
.courses {
  padding: var(--section-pad);
  background: var(--light);
}

.courses-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.courses-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.courses-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.language-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.lang-tab {
  padding: 10px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--mid);
  transition: all 0.2s;
}

.lang-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.courses-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.course-card-top {
  height: 8px;
}

.course-card-top.free {
  background: var(--green);
}

.course-card-top.paid {
  background: var(--red);
}

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

.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 14px;
}

.badge-free {
  color: var(--green);
}

.badge-paid {
  color: var(--red);
}

.course-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.course-outcome {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-card .btn {
  width: 100%;
  padding: 12px;
  font-size: 0.9rem;
}

.courses-cta {
  text-align: center;
  margin-top: 48px;
}

.courses-cta p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
  padding: var(--section-pad);
  background: var(--white);
}

.how-it-works-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.how-it-works-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 60px;
}

.how-it-works-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

.how-it-works-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  color: var(--white);
  position: relative;
}

.step:nth-child(1) .step-number {
  background: var(--red);
}

.step:nth-child(2) .step-number {
  background: var(--blue);
}

.step:nth-child(3) .step-number {
  background: var(--green);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ===========================
   LANGUAGE SECTION
   =========================== */
.languages {
  padding: var(--section-pad);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: var(--white);
}

.languages-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.languages h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.languages-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 48px;
}

.language-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
}

.language-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: background 0.2s, transform 0.2s;
}

.language-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-3px);
}

.language-flag {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.language-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.language-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.language-card .btn {
  width: 100%;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.languages-note {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials {
  padding: var(--section-pad);
  background: var(--light);
}

.testimonials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.testimonials-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-detail {
  font-size: 0.8rem;
  color: var(--muted);
}

.testimonials-placeholder {
  text-align: center;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px dashed var(--border);
}

.testimonials-placeholder p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* ===========================
   NEWSLETTER
   =========================== */
.newsletter {
  padding: var(--section-pad);
  background: var(--white);
}

.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.newsletter p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.newsletter-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.newsletter-benefit {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--mid);
  background: var(--light);
  padding: 7px 14px;
  border-radius: 100px;
}

.newsletter-benefit::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

/* EP Newsletter shortcode placeholder */
.ep-placeholder {
  background: var(--light);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 32px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  padding: var(--section-pad);
  background: var(--light);
}

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-email {
  background: rgba(230, 51, 41, 0.1);
}

.icon-response {
  background: rgba(26, 86, 196, 0.1);
}

.contact-detail-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.contact-detail-value {
  font-weight: 500;
  color: var(--dark);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

/* Simple form styles for preview */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 20px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .logo-badge {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-phone-mockup {
    width: 220px;
  }
  .what-is-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps::before {
    display: none;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .language-cards {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}
@media (max-width: 640px) {
  :root {
    --section-pad: 56px 20px;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .hero {
    padding: 56px 20px 64px;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .courses-grid {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}
/* ─── Phone Carousel ─── */
#phone-carousel {
  transition: opacity 0.4s ease;
}

.phone-lang-indicator {
  text-align: center;
  padding: 10px 0 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* === ep-courses (bundled so course drawer + viewer + landing render) === */
/**
 * EP Courses — Frontend Viewer
 * Styles for the [course-viewer] shortcode output.
 * Loaded sitewide via css_sitewide().
 */
/* Hide site chrome on focused landing pages.
   IMPORTANT: .page-container.page-text.top wraps the content too, so don't hide it —
   just trim its spacing and hide the title/author bits inside. */
body:has(.ep-course-landing) > nav,
body:has(.ep-course-landing) > footer,
body:has(.ep-course-landing) > header,
body:has(.ep-course-landing) .page-title,
body:has(.ep-course-landing) .page-author {
  display: none !important;
}

body:has(.ep-course-landing) .page-container.page-text.top,
body:has(.ep-course-landing) .container,
body:has(.ep-course-landing) > section.page-content,
body:has(.ep-course-landing) main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.ep-course-viewer {
  max-width: 1500px;
  margin: 32px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.ep-viewer-header h2 {
  margin: 0 0 8px;
}

.course-progress-bar {
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin: 8px 0 4px;
  max-width: 320px;
}

.course-progress-fill {
  height: 100%;
  background: #2a8a3e;
  transition: width 0.3s ease;
}

.ep-viewer-progress-text {
  font-size: 13px;
  color: #777;
}

.ep-course-viewer {
  position: relative;
}

.ep-viewer-layout {
  display: block;
  margin-top: 24px;
}

.ep-viewer-content {
  min-width: 0;
}

/* Action row: Mark as Complete + Lessons toggle, inline */
.ep-viewer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.ep-lessons-toggle {
  margin-left: auto;
  padding: 10px 18px;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ep-lessons-toggle:hover {
  background: #333;
}

.ep-lessons-toggle:active {
  transform: scale(0.96);
}

.ep-lessons-toggle:hover {
  background: #333;
}

.ep-lessons-toggle-icon {
  display: inline-block;
  width: 16px;
  height: 12px;
  position: relative;
}

.ep-lessons-toggle-icon::before,
.ep-lessons-toggle-icon::after,
.ep-lessons-toggle-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.ep-lessons-toggle-icon::before {
  top: 0;
}

.ep-lessons-toggle-icon span {
  top: 5px;
}

.ep-lessons-toggle-icon::after {
  bottom: 0;
}

/* Backdrop */
.ep-lessons-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.ep-course-viewer.sidebar-open .ep-lessons-backdrop {
  opacity: 1;
  visibility: visible;
}

.ep-viewer-content h3 {
  margin: 0 0 16px;
}

.ep-viewer-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ep-viewer-video iframe,
.ep-viewer-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ep-viewer-body {
  margin: 16px 0 24px;
  line-height: 1.6;
}

.ep-viewer-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.ep-viewer-done {
  display: inline-block;
  color: #2a8a3e;
  font-weight: 600;
  margin: 16px 0;
}

.ep-viewer-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  background: #fff;
  border-left: 1px solid #e0e0e0;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  padding: 24px 20px 32px;
  overflow-y: auto;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.ep-course-viewer.sidebar-open .ep-viewer-sidebar {
  transform: translateX(0);
}

.ep-lessons-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #555;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ep-lessons-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.ep-viewer-sidebar h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #777;
}

.ep-lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ep-lesson-list li {
  margin-bottom: 4px;
}

.ep-lesson-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  font-size: 14px;
  line-height: 1.3;
}

.ep-lesson-list li a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.ep-lesson-list li.active a {
  background: #eaf5ff;
  font-weight: 600;
}

.ep-lesson-num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.ep-lesson-num.done {
  background: #2a8a3e;
  color: white;
}

/* ═══════════════════════════════════════════════════
   Course landing page
   ═══════════════════════════════════════════════════ */
.ep-course-landing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px;
  box-sizing: border-box;
}

/* Hero */
.ep-landing-hero {
  margin: 40px 0 32px;
  padding: 64px 48px;
  background: linear-gradient(135deg, #111 0%, #2a2a4a 100%);
  color: #fff;
  border-radius: 16px;
}

.ep-landing-hero-inner {
  max-width: 760px;
}

.ep-landing-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.ep-landing-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: #fff;
}

.ep-landing-description {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.ep-landing-cta {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  background: #2a8a3e;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.ep-landing-cta:hover {
  background: #227030;
  transform: translateY(-1px);
}

/* Stats strip */
.ep-landing-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 0 0 48px;
  padding: 24px;
  background: #f7f8fa;
  border: 1px solid #e0e2e7;
  border-radius: 12px;
}

.ep-landing-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.ep-landing-stat strong {
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.ep-landing-stat span {
  font-size: 13px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Outcome block */
.ep-landing-outcome {
  margin: 0 0 48px;
  padding: 32px;
  background: #eaf5ff;
  border-left: 4px solid #1a8fe3;
  border-radius: 8px;
}

.ep-landing-outcome h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.ep-landing-outcome p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #334;
}

/* Lesson list */
.ep-landing-lessons {
  margin: 0 0 48px;
}

.ep-landing-lessons h2 {
  margin: 0 0 20px;
  font-size: 22px;
}

.ep-landing-lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: lesson;
}

.ep-landing-lesson-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #e0e2e7;
  border-radius: 10px;
  margin-bottom: 8px;
  background: #fff;
  counter-increment: lesson;
}

.ep-landing-lesson-list li::before {
  content: counter(lesson);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eaf5ff;
  color: #1a5a8e;
  font-weight: 600;
  font-size: 14px;
}

.ep-landing-lesson-title {
  flex: 1;
  font-weight: 500;
  color: #222;
}

.ep-landing-lesson-duration {
  color: #777;
  font-size: 14px;
  white-space: nowrap;
}

/* Bottom CTA */
.ep-landing-cta-bottom {
  text-align: center;
  padding: 56px 32px;
  background: #f7f8fa;
  border-radius: 16px;
}

.ep-landing-cta-bottom h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.ep-landing-cta-bottom p {
  margin: 0 0 24px;
  color: #555;
  font-size: 16px;
}

/* Narrow-screen tweaks */
@media (max-width: 680px) {
  .ep-landing-hero {
    padding: 40px 24px;
  }
  .ep-landing-outcome,
  .ep-landing-cta-bottom {
    padding: 24px;
  }
  .ep-landing-lesson-list li {
    padding: 14px 16px;
  }
}
/*---:[ Custom CSS ]:---*/
/* Header logo */
.nav-logo-img {
  display: block;
  height: 50px;
  width: auto;
}

@media (max-width: 768px) {
  .nav-logo-img {
    height: 42px;
  }
}
/* Blog list */
.blog-intro {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
}

.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.blog-card-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.35rem;
}

.blog-card-title a {
  text-decoration: none;
  color: inherit;
}

.blog-card-title a:hover {
  text-decoration: underline;
}

.blog-card-excerpt {
  margin: 0 0 1rem 0;
  color: #444;
}

.blog-card-more {
  margin: 0;
}

.blog-post-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1.25rem;
}

@media (min-width: 720px) {
  .blog-list {
    grid-template-columns: 1fr 1fr;
  }
}