/* =========================================================
   SALKA GLOBAL ONLINE EDUCATION ACADEMY — style.css
   Warme kleuren, lettertypes, indeling en mobiele weergave.
   Pas de kleuren eenvoudig aan in het :root-blok hieronder.
   ========================================================= */

:root {
  /* Merkkleuren */
  --terracotta: #c8643b;
  --terracotta-dark: #a94f2a;
  --teal: #2a7f7a;
  --teal-dark: #1f625e;
  --ochre: #d9a441;
  --plum: #7a4069;

  /* Neutraal & achtergrond */
  --cream: #fff8f0;
  --sand: #f6ebdd;
  --white: #ffffff;
  --text: #3a2a20;
  --text-soft: #6b5a4e;
  --border: #ead9c6;

  /* Vorm */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(90, 55, 30, 0.10);
  --shadow-hover: 0 16px 40px rgba(90, 55, 30, 0.16);

  --font-head: "Nunito", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--teal); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header p { color: var(--text-soft); font-size: 1.05rem; }

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

/* ---------- Knoppen ---------- */
button { font-family: inherit; cursor: pointer; }

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(200, 100, 59, 0.3);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal); color: var(--white); }

.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }

.full-width { width: 100%; }

.btn-link {
  background: none;
  border: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 6px;
}

.btn-small-warm {
  background: var(--ochre);
  color: var(--text);
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.btn-small-warm:hover { background: #e8b75a; }

.badge-warm {
  display: inline-block;
  background: rgba(200, 100, 59, 0.12);
  color: var(--terracotta-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Bovenbalk ---------- */
.top-bar {
  background: var(--teal-dark);
  color: var(--white);
  font-size: 0.9rem;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.top-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.top-contact a { color: var(--white); text-decoration: none; opacity: 0.92; }
.top-contact a:hover { opacity: 1; text-decoration: underline; }
.top-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Header ---------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(90, 55, 30, 0.07);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.logo-icon { font-size: 2rem; line-height: 1; }
.logo-img { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.footer-logo .logo-img { width: 52px; height: 52px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--terracotta);
}
.logo-text span { font-size: 0.8rem; color: var(--text-soft); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--sand);
  color: var(--terracotta-dark);
}

.mobile-menu-toggle {
  display: none;
  background: var(--sand);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  width: 46px;
  height: 46px;
  color: var(--text);
}

/* USP-balk */
.usp-banner {
  background: var(--terracotta);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}
.usp-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 164, 65, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(42, 127, 122, 0.10), transparent 40%),
    var(--cream);
  padding: 70px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-lead { font-size: 1.12rem; color: var(--text-soft); max-width: 560px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-image-wrapper { position: relative; }
.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 28px 28px 28px 90px;
  box-shadow: var(--shadow);
}
.hero-floating-card {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  border-left: 5px solid var(--ochre);
}
.hero-floating-card strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--teal-dark); }
.hero-floating-card span { font-size: 0.88rem; color: var(--text-soft); }

/* ---------- Over ons ---------- */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.subtitle-bold { font-weight: 700; font-size: 1.1rem; color: var(--teal-dark); }

.about-checklist-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 38px;
  border-bottom: 1px dashed var(--border);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

/* ---------- Lesprogramma's ---------- */
.programs-section { background: var(--sand); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.card-img-box { position: relative; }
.card-img-box img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.age-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.badge-terracotta { background: var(--terracotta); }
.badge-teal { background: var(--teal); }
.badge-ochre { background: var(--ochre); color: var(--text); }
.badge-plum { background: var(--plum); }

.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body ul {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.94rem;
  flex: 1;
}
.card-body li { margin-bottom: 6px; }
.card-body li::marker { color: var(--terracotta); }

.card-link-btn {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.98rem;
}
.card-link-btn:hover { color: var(--terracotta-dark); text-decoration: underline; }

/* ---------- Ervaringen ---------- */
.testimonials-section { background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--ochre);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card:nth-child(2) { border-top-color: var(--teal); }
.testimonial-card:nth-child(3) { border-top-color: var(--plum); }
.quote { font-style: italic; font-size: 1.02rem; }
.author { display: flex; flex-direction: column; }
.author strong { font-family: var(--font-head); }
.author span { font-size: 0.88rem; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-section { background: var(--white); }
.faq-container { max-width: 820px; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--cream);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}
.accordion-header:hover { color: var(--terracotta-dark); }
.accordion-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: transform 0.25s;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content p { padding: 0 22px 20px; margin: 0; color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact-section {
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-details {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0 28px;
  border-left: 5px solid var(--teal);
}
.contact-details p { margin: 0 0 6px; }
.contact-details p:last-child { margin: 0; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

/* ---------- Formulieren ---------- */
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

label { font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 127, 122, 0.18);
  background: var(--white);
}
.field-error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15) !important;
}

.form-feedback {
  margin: 12px 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.4em;
}
.form-feedback.success { color: var(--teal-dark); }
.form-feedback.error { color: #c0392b; }

/* ---------- Footer ---------- */
.main-footer { background: #2e2119; color: #e9dccd; padding-top: 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text strong { color: var(--ochre); }
.footer-logo .logo-text span { color: #cbb8a5; }
.footer-desc { color: #cbb8a5; max-width: 380px; }
.main-footer h4 { color: var(--white); font-size: 1.05rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a,
.footer-btn-link {
  color: #e9dccd;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.96rem;
  text-align: left;
}
.footer-links a:hover,
.footer-btn-link:hover { color: var(--ochre); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.88rem;
  text-align: center;
}
.footer-bottom p { margin: 0; color: #b4a290; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(46, 33, 25, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 38px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--sand);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
}
.modal-close:hover { background: var(--border); }
.modal-subtitle { color: var(--text-soft); }

/* ---------- Taalkeuze ---------- */
.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  background: none;
  border: none;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.lang-btn[data-lang="ar"] { font-family: "Tajawal", sans-serif; font-size: 0.95rem; }
.lang-btn:hover { background: rgba(255, 255, 255, 0.18); }
.lang-btn.active { background: var(--white); color: var(--teal-dark); }

/* ---------- Taalcursussen ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--teal);
  display: flex;
  flex-direction: column;
}
.course-card p { color: var(--text-soft); flex: 1; }
.course-card .card-link-btn { margin-top: 8px; }
.course-terracotta { border-top-color: var(--terracotta); }
.course-plum { border-top-color: var(--plum); }
.course-flag {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--sand);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--terracotta);
  font-family: "Tajawal", sans-serif;
  margin-bottom: 16px;
}
.course-for { font-weight: 700; color: var(--teal-dark) !important; flex: 0 !important; margin-bottom: 8px; }

.levels {
  margin: 48px 0 80px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}
.levels-track {
  list-style: none;
  margin: 10px 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.levels-track li {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid var(--ochre);
}
.levels-track li:nth-child(1) { border-bottom-color: #e9c98a; }
.levels-track li:nth-child(2) { border-bottom-color: var(--ochre); }
.levels-track li:nth-child(3) { border-bottom-color: var(--terracotta); }
.levels-track li:nth-child(4) { border-bottom-color: var(--teal); }
.levels-track li:nth-child(5) { border-bottom-color: var(--plum); }
.levels-track strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--text); }
.levels-track span { font-size: 0.85rem; color: var(--text-soft); }
.levels-note { color: var(--text-soft); margin: 0; font-weight: 600; }
.section-header-sub { margin-bottom: 36px; }

/* ---------- Religieus onderwijs ---------- */
.religion-section { background: var(--white); }
.religion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.religion-grid p { color: var(--text-soft); }
.religion-grid .btn-primary { margin-top: 10px; }
.religion-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.religion-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.religion-list p { margin: 4px 0 0; font-size: 0.95rem; }
.religion-list strong { font-family: var(--font-head); font-size: 1.1rem; }
.rel-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(42, 127, 122, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

/* ---------- Boeken ---------- */
.books-section { background: var(--sand); }
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.book-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.book-cover {
  aspect-ratio: 3 / 3.4;
  width: 100%;
  object-fit: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  position: relative;
  border-bottom: 6px solid var(--ochre);
}
.book-cover::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  pointer-events: none;
}
.cover-mint { background: linear-gradient(160deg, #cfeee0, #9fd8c4); }
.cover-sand { background: linear-gradient(160deg, #f7e3c4, #e9c98a); }
.cover-sky { background: linear-gradient(160deg, #d6ecf7, #a8d3ea); }
.cover-water { background: linear-gradient(160deg, #d0f0f2, #8fd0d6); }
.cover-ar {
  font-family: "Tajawal", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--text);
  direction: rtl;
}
.cover-en { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--teal-dark); }
.book-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.book-body p { color: var(--text-soft); font-size: 0.94rem; flex: 1; }
.book-tag {
  align-self: flex-start;
  background: rgba(122, 64, 105, 0.1);
  color: var(--plum);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* =========================================================
   ARABISCH: VAN RECHTS NAAR LINKS (RTL)
   ========================================================= */
[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] button, [dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea,
[dir="rtl"] .logo-text span {
  font-family: "Tajawal", system-ui, sans-serif;
}
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .logo-text strong,
[dir="rtl"] .levels-track strong { font-family: var(--font-head); }

[dir="rtl"] .check-list li { padding: 10px 38px 10px 0; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; }
[dir="rtl"] .card-body ul { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .age-badge { left: auto; right: 14px; }
[dir="rtl"] .hero-floating-card { left: auto; right: -22px; border-left: none; border-right: 5px solid var(--ochre); }
[dir="rtl"] .hero-img { border-radius: 28px 28px 90px 28px; }
[dir="rtl"] .contact-details { border-left: none; border-right: 5px solid var(--teal); }
[dir="rtl"] .accordion-header,
[dir="rtl"] .card-link-btn,
[dir="rtl"] .footer-links a,
[dir="rtl"] .footer-btn-link { text-align: right; }
[dir="rtl"] .modal-close { right: auto; left: 14px; }
[dir="rtl"] .book-tag { align-self: flex-start; }
[dir="rtl"] input[dir="ltr"] { text-align: right; }

/* =========================================================
   RESPONSIEF / MOBIELE WEERGAVE
   ========================================================= */
@media (max-width: 1080px) {
  .programs-grid,
  .books-grid { grid-template-columns: repeat(2, 1fr); }

  .mobile-menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(90, 55, 30, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 520px; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 20px; gap: 2px; }
  .main-nav a { border-radius: var(--radius-sm); padding: 12px 14px; }
}

@media (max-width: 900px) {
  section { padding: 60px 0; }

  .courses-grid,
  .religion-grid { grid-template-columns: 1fr; gap: 24px; }
  .religion-grid { gap: 36px; }
  [dir="rtl"] .hero-floating-card { right: 12px; }

  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .hero { padding: 50px 0 70px; }
  .hero-floating-card { left: 12px; bottom: -18px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .top-bar-inner { justify-content: center; text-align: center; }
  .top-contact { justify-content: center; gap: 12px; font-size: 0.85rem; }
  .usp-grid { gap: 6px 18px; font-size: 0.84rem; }

  .programs-grid,
  .books-grid { grid-template-columns: 1fr; }
  .levels-track { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .levels-track li { padding: 10px 2px; }
  .levels-track strong { font-size: 1.15rem; }
  .levels-track span { font-size: 0.68rem; line-height: 1.3; }
  .levels { padding: 22px 14px; }
  .top-actions { flex-wrap: wrap; justify-content: center; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; }

  .about-checklist-card,
  .contact-form-card { padding: 24px; }
  .modal-box { padding: 30px 22px; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Formulier: toestemming & spamfilter ---------- */
.hp-field { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.9rem; cursor: pointer; }
.consent-label input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--teal); }
.consent-label input.field-error { outline: 2px solid #c0392b; }
.footer-bottom a { color: #e9dccd; }
.footer-bottom a:hover { color: var(--ochre); }

/* ---------- Oprichter ---------- */
.founder-section { background: var(--cream); }
.founder-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
}
.founder-photo { margin: 0; }
.founder-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.founder-role { font-weight: 700; color: var(--teal-dark); }
.founder-text p { color: var(--text-soft); }
.founder-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--terracotta-dark) !important;
  border-inline-start: 4px solid var(--ochre);
  padding-inline-start: 14px;
  margin: 20px 0 24px;
}
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- WhatsApp-knop ---------- */
.wa-float {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }
@media (max-width: 600px) {
  .wa-float span { display: none; }
  .wa-float { padding: 14px; bottom: 16px; inset-inline-end: 16px; }
}

/* ---------- Social media in footer ---------- */
.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.social-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); color: #e9dccd;
  text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover { background: var(--ochre); color: var(--text); }

/* ---------- Start januari 2027 ---------- */
.start-pill {
  display: inline-block; margin: 0 0 18px 8px;
  background: var(--terracotta); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px;
}
[dir="rtl"] .start-pill { margin: 0 8px 18px 0; }
.start-pill:hover { background: var(--terracotta-dark); }
.course-when { font-weight: 700; color: var(--teal-dark) !important; flex: 0 !important; font-size: 0.95rem; }
.course-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.course-actions a.card-link-btn { text-decoration: none; color: var(--teal); }

/* Drie doelgroepen naast elkaar */
.programs-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .programs-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .programs-grid-3 { grid-template-columns: 1fr; } }

/* ---------- Zo werkt inschrijven ---------- */
.steps-section { background: var(--sand); }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps-grid li { background: var(--white); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.steps-grid p { color: var(--text-soft); margin: 0; font-size: 0.95rem; }
.steps-grid h3 { margin: 12px 0 6px; }
.step-nr { width: 42px; height: 42px; border-radius: 50%; background: var(--terracotta); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.steps-cta { text-align: center; margin: 30px 0 0; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.rv-empty { max-width: 640px; margin: 0 auto; text-align: center; background: var(--white); border: 2px dashed var(--border); border-radius: var(--radius); padding: 26px; color: var(--text-soft); }
.rv-empty p { margin: 0; }
.rv-empty[hidden], #reviewsGrid[hidden] { display: none; }
.rv-stars { color: var(--ochre); font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 8px; }
.rv-title { font-size: 1.05rem; margin-bottom: 6px; }

/* ---------- In het kort ---------- */
.kort-section { background: var(--white); padding: 50px 0; }
.kort-title { text-align: center; margin-bottom: 26px; }
.kort-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kort-grid li { display: flex; gap: 14px; align-items: flex-start; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.kort-grid strong { display: block; font-family: var(--font-head); color: var(--terracotta-dark); margin-bottom: 2px; }
.kort-grid span:not(.kort-ico) { color: var(--text); font-size: 0.95rem; }
.kort-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 1.3rem; box-shadow: 0 2px 8px rgba(90,55,30,.08); }
@media (max-width: 900px) { .kort-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .kort-grid { grid-template-columns: 1fr; } }
