/* Base */
:root {
  /* Dark palette tuned to logo (warm sand + olive) */
  --bg: #0f100f;
  --bg-elev: #151613;
  --text: #f2f0e8;
  --muted: #c7c3b6;
  --brand: #c9b88a;   /* warm sand/gold */
  --brand-2: #8f9a7b; /* olive */
  --card: #121311;
  --border: #2a2b26;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
body {
  padding-top: 72px; /* adjust if header height differs */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
/* .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 20, 0.6);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
} */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 10000;

  background: rgba(11, 15, 20, 0.6);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);

  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: 0.3px; font-size: 20px; }
.logo span { color: var(--brand); }
.logo-img { height: 72px; width: auto; display: block; object-fit: contain; }
@media (max-width: 800px) {
  .logo-img { height: 56px; }
}
.nav { display: flex; gap: 20px; align-items: center; }
.nav-link { color: var(--muted); font-weight: 500; }
.nav-link:hover { color: var(--text); }
.nav .cta { color: #0b0f14; background: var(--brand); padding: 10px 14px; border-radius: 10px; }
.nav .cta:hover { filter: brightness(0.95); }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elev); align-items: center; justify-content: center; gap: 6px; flex-direction: column; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: clip; padding: 64px 0 32px; background: linear-gradient(0deg, transparent, transparent); }
.hero-bg { display: none; }
.hero-bg img { display: none; }

.hero-grid {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 40px;
  align-items: start;
}
.hero-content-inner {
  grid-row: 2;
  direction: ltr; /* keep image on the left even in RTL */
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 28px;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}
.hero-content-inner h1 { font-size: clamp(32px, 4vw, 56px); line-height: 1.1; margin: 0 0 12px; }
.hero-content-inner .subtitle { color: var(--muted); margin: 0 0 24px; font-size: clamp(16px, 2vw, 18px); }
.hero-content-inner .hero-cta { display: flex; gap: 12px; margin-bottom: 18px; }
.hero-bullets { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; color: var(--muted); }

.hero-copy {
  grid-column: 2;
  direction: rtl;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-text,
.hero-cta,
.hero-bullets {
  direction: rtl;
  text-align: right;
}
/* .hero-cta { justify-content: flex-end; } */

.hero-media {
  grid-row: 1;
  position: relative;
  width: 100%;
}
.photo-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--card);
}
.photo-frame img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


.hero-bullets.stars {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-bullets.stars li {
  position: relative;
  padding-right: 28px; /* space for star (RTL) */
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.hero-bullets.stars li::before {
  content: "★";
  position: absolute;
  right: 0;
  top: 0;
  color: #f5c542; /* warm yellow */
  font-size: 18px;
  line-height: 1;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; font-weight: 600; border: 1px solid transparent; transition: transform .15s ease, filter .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #1a1a16; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.outline { background: transparent; color: var(--text); border-color: var(--brand); }
.btn.full { width: 100%; }


/* Sections */
.section { padding: 72px 0; background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section:nth-of-type(odd) { background: #131411; }
.section-header { text-align: center; margin-bottom: 28px; }
.section-header h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 36px); }
.section-header p { color: var(--muted); margin: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.0)); border: 1px solid var(--border); border-radius: 16px; padding: 48px 20px 20px; box-shadow: var(--shadow); position: relative; }
.card h3 { margin: 0 0 6px; font-size: 20px; }
.price { color: var(--muted); margin: 0 0 12px; }
.price span { color: var(--text); font-weight: 800; font-size: 28px; }
.features { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; color: var(--muted); }
.featured { border-color: transparent; background: linear-gradient(180deg, rgba(127,182,255,.12), rgba(105,224,163,.12)); }
.badge { position: absolute; top: 14px; right: 14px; background: var(--bg); border: 1px solid var(--border); padding: 6px 10px; border-radius: 999px; font-size: 12px; color: var(--muted); }

/* Testimonials */
.testimonials .carousel { position: relative; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 12px; }
.slides { overflow: hidden; }
.slides .track { display: flex; gap: 12px; will-change: transform; transition: transform .45s ease; }
.slide { min-width: calc(100% - 0px); margin: 0; padding: 22px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)); border: 1px solid var(--border); box-shadow: var(--shadow); }
.slide .stars { letter-spacing: 2px; color: transparent; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; margin-bottom: 8px; }
.slide blockquote { margin: 0 0 8px; font-size: clamp(16px, 2.6vw, 20px); }
.slide figcaption { color: var(--muted); font-size: 14px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); cursor: pointer; }
.carousel-btn:hover { filter: brightness(1.1); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; grid-column: 1 / -1; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: #2a3444; border: 1px solid var(--border); transition: transform .2s ease, background .2s ease; }
.dot.is-active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); transform: scale(1.15); }

/* Multi-card at larger screens */
@media (min-width: 900px) {
  .slide { min-width: calc(50% - 6px); }
}
@media (min-width: 1200px) {
  .slide { min-width: calc(33.333% - 8px); }
}

/* Booking */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.booking-copy p { color: var(--muted); margin-top: 8px; }
.checklist { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; color: var(--muted); }
.checklist li::before { content: '✔'; color: var(--brand); margin-right: 8px; }

.booking-form { display: grid; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.booking-form label { display: grid; gap: 6px; }
.booking-form span { font-size: 14px; color: var(--muted); }
.booking-form input, .booking-form select, .booking-form textarea {
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; padding: 12px; color: var(--text);
}
.booking-form input::placeholder,
.booking-form textarea::placeholder {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: inherit;
  color: var(--muted);
  opacity: 0.75;
  -webkit-font-smoothing: antialiased;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: 2px solid rgba(127, 182, 255, 0.35); border-color: transparent; }
.form-note { margin: 4px 0 0; font-size: 14px; color: var(--muted); min-height: 20px; }
.social-links { display: flex; gap: 10px; margin-top: 10px; justify-content: center; width: 100%; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); }
.social.facebook:hover { color: #1877F2; }
.social.tiktok:hover { color: #c9468e; }
.social.instagram:hover { color: #e1306c; }
.social.whatsapp:hover { color: #25D366; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: rgba(11, 15, 20, 0.4); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0% { transform: translateY(0); } 50% { transform: translateY(-6px); } 100% { transform: translateY(0); } }

.animate-fade-up { opacity: 0; animation: fadeUp .7s ease forwards; animation-delay: var(--delay, 0ms); }
.animate-rise { opacity: 0; transform: translateY(10px); animation: fadeUp .7s ease forwards; animation-delay: var(--delay, 0ms); }
.animate-float { animation: floatY 6s ease-in-out infinite; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-rows: auto 1fr;
    gap: 32px;
  }
  .hero-media {
    grid-row: 1;
  }
  .hero-content-inner {
    grid-row: 2;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hamburger { display: inline-flex; }
  .nav { position: absolute; right: 4%; top: 64px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 10px; flex-direction: column; gap: 10px; min-width: 200px; box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
}

@media (max-width: 780px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  /* .nav-phone-text {display: none;} */
}


/* RTL tweaks */
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .nav { right: auto; left: 4%; }
[dir="rtl"] .hero-grid { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .checklist li::before { margin-left: 8px; margin-right: 0; }
[dir="rtl"] .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(-45deg); }
[dir="rtl"] .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(45deg); }

/* FAQ */
.faq .faq-panel { max-width: 760px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; text-align: center; }
.faq .faq-title { font-size: clamp(22px, 3vw, 28px); margin: 0 0 18px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.faq .faq-list { list-style: none; padding: 0; margin: 0; text-align: start; }
.faq .faq-item { border-bottom: 1px solid var(--border); padding: 10px 0; }
.faq .faq-item:last-child { border-bottom: 0; }
.faq .q { width: 100%; background: none; border: 0; color: var(--text); padding: 10px 4px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 18px; }
.faq .q .num { opacity: .7; margin-inline-end: 6px; }
.faq .q .chev { transition: transform .2s ease; margin-inline-start: 8px; color: var(--muted); }
.faq .q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq .a { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .3s ease, opacity .3s ease; }
.faq .a-inner { padding: 6px 6px 10px; }
.faq .a p { color: var(--muted); margin: 0; }
.faq .q[aria-expanded="true"] + .a { opacity: 1; }
.faq .faq-note { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }

.hero-teacher {
  justify-self: center;
}

/* Teacher image */
.hero-teacher img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .hero-content-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-teacher {
    order: -1;
  }
  .hero-copy {
    grid-column: auto;
    text-align: center;
    align-items: center;
  }
  .hero-text,
  .hero-cta,
  .hero-bullets {
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-grid {
    grid-template-rows: auto 1fr;
    gap: 28px;
  }
}

/* Text block */
.hero-text {
  flex: 1;
}

.form-microcopy {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted, #6b7280);
  text-align: center;
}

.existing-students {
  margin-top: 12px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.existing-students a {
  color: var(--primary, #2563eb);
  text-decoration: underline;
}

.existing-students a:hover {
  text-decoration: none;
}

.cta-nudge {
  margin-top: 24px;
  text-align: center;
  font-size: 1rem;
  opacity: 0.9;
}
/* Bulet point answer in FAQ */
.faq-bullets {
  margin: 8px 0 0;
  padding-right: 18px; /* RTL indentation */
}

.faq-bullets li {
  margin-bottom: 6px;
  line-height: 1.5;
  color: var(--muted);
}

/* Schedule Section */
.schedule-section {
  padding: 72px 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.schedule-section h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 36px);
}

.schedule-section p {
  color: var(--muted);
  margin: 0 0 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #1a1a16;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary:hover {
  filter: brightness(0.95);
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-elev);
}

[dir="rtl"] .modal-close {
  right: auto;
  left: 12px;
}

/* Success popup (independent modal) */
.success-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.success-modal.is-open {
  display: block;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.success-modal__content {
  position: relative;
  background: var(--bg-elev);
  color: var(--text);
  max-width: 360px;
  margin: 20vh auto;
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.success-modal__close {
  position: absolute;
  top: 10px;
  left: 10px; /* RTL-friendly */
  color: #fff;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}
.success-modal__close:hover {
  color: #333;
}