/* Basma Planets — website styles (shared by the English and Arabic pages) */
/* Baloo Bhaijaan 2 (SIL Open Font License, see fonts/OFL.txt), hosted with the site: no outside requests. */
@font-face { font-family: "Baloo Bhaijaan 2"; src: url("fonts/baloo-bhaijaan-2-medium.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Baloo Bhaijaan 2"; src: url("fonts/baloo-bhaijaan-2-semibold.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
:root {
  --night: #1c2066;
  --night-2: #3a2a86;
  --night-3: #5b3aa0;
  --ink: #2a2350;
  --ink-soft: #5d5683;
  --cream: #fff8ee;
  --paper: #ffffff;
  --gold: #ffc94a;
  --gold-deep: #f2a81d;
  --coral: #ff6f91;
  --mint: #4fd1b0;
  --sky: #5aa9ff;
  --lilac: #a98bff;
  --line: #ece4f7;
  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(42, 35, 80, .35);
  --head: "Baloo Bhaijaan 2", system-ui, sans-serif;
  --body: "Baloo Bhaijaan 2", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }
.center .lead { margin-inline: auto; }
.kicker {
  display: inline-block; font: 700 .9rem/1 var(--head); letter-spacing: .04em;
  color: var(--night-3); background: #efe7ff; padding: 8px 14px; border-radius: 99px; margin-bottom: 14px;
}
[dir="rtl"] .kicker { letter-spacing: 0; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ------------------------------------------------------------------ header */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding: 18px 0;
}
.top .wrap { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font: 800 1.35rem/1 var(--head); }
.brand img { width: 46px; height: 46px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.nav { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.nav a { color: #e9e6ff; text-decoration: none; font: 700 1rem/1 var(--head); padding: 10px 12px; border-radius: 12px; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav .lang { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.3); color: #fff; padding: 10px 16px; }
@media (max-width: 760px) { .nav a:not(.lang) { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, #6a49c4 0%, transparent 60%),
              linear-gradient(170deg, var(--night) 0%, var(--night-2) 62%, var(--night-3) 100%);
  padding: 130px 0 0;
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .7; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .15; transform: scale(.6); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: end; }
.hero-copy { padding-bottom: 110px; }
.hero h1 .gold { color: var(--gold); }
.hero p.lead { color: #d9d4ff; font-size: 1.22rem; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 800 1.08rem/1 var(--head); padding: 17px 26px; border-radius: 18px; border: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #3a2400; box-shadow: 0 6px 0 var(--gold-deep), 0 14px 30px -10px rgba(255, 201, 74, .7); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn small { display: block; font-size: .72rem; font-weight: 700; opacity: .8; margin-bottom: 3px; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; }
.btn svg { width: 26px; height: 26px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 7px 14px; font: 700 .95rem/1.2 var(--head); color: #f1eeff; }

.hero-art { position: relative; height: 640px; }
.phone {
  position: absolute; width: 300px; aspect-ratio: 9 / 16; border-radius: 38px; overflow: hidden;
  border: 10px solid #15123a; background: #15123a; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone.a { inset-inline-end: 60px; bottom: -40px; transform: rotate(4deg); z-index: 2; }
.phone.b { inset-inline-end: 300px; bottom: 40px; width: 240px; transform: rotate(-7deg); opacity: .95; }
[dir="rtl"] .phone.a { transform: rotate(-4deg); }
[dir="rtl"] .phone.b { transform: rotate(7deg); }
.basma { position: absolute; width: 220px; inset-inline-start: -60px; bottom: -10px; z-index: 3; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); animation: bob 4s ease-in-out infinite; }
[dir="rtl"] .basma { transform: scaleX(-1); animation-name: bob-rtl; }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes bob-rtl { 50% { translate: 0 -10px; } }
.planet-deco { position: absolute; border-radius: 50%; }
.planet-deco.p1 { width: 90px; height: 90px; top: 30px; inset-inline-end: 20px; background: radial-gradient(circle at 30% 30%, #ffd88a, #ff8f5a); box-shadow: 0 0 0 10px rgba(255, 201, 74, .18); }
.planet-deco.p2 { width: 46px; height: 46px; top: 150px; inset-inline-start: 40%; background: radial-gradient(circle at 30% 30%, #b8f7e4, #3fbf9c); }
.hill { display: block; width: 100%; height: 90px; margin-top: -1px; }

@media (max-width: 900px) {
  .hero { padding-top: 110px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .cta, .chips { justify-content: center; }
  .hero-art { height: 520px; }
  .phone.a { inset-inline-end: 50%; margin-inline-end: -170px; width: 250px; }
  .phone.b { display: none; }
  .basma { width: 170px; inset-inline-start: 50%; margin-inline-start: -200px; }
  .planet-deco.p1 { width: 60px; height: 60px; top: 10px; }
}
@media (max-width: 420px) {
  .hero-art { height: 470px; }
  .phone.a { width: 220px; margin-inline-end: -140px; }
  .basma { width: 140px; margin-inline-start: -170px; }
}

/* ------------------------------------------------------------------ promises */
.promises { padding: 30px 0 60px; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { background: var(--paper); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.promise .ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.promise h3 { font-size: 1.12rem; margin-bottom: 2px; }
.promise p { margin: 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 960px) { .promise-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promise-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ planets */
section.block { padding: 70px 0; }
.planets { display: grid; gap: 26px; margin-top: 40px; }
.planet {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--paper); border-radius: 36px; padding: 40px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.planet::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; inset-inline-end: -120px; top: -120px; background: var(--tint); opacity: .16; }
.planet:nth-child(even) .shots { order: -1; }
.planet .badge { display: inline-flex; align-items: center; gap: 10px; font: 800 1rem/1 var(--head); color: var(--tint); margin-bottom: 10px; }
.planet .badge span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: #fff; font-size: 20px; box-shadow: inset -6px -6px 0 rgba(0,0,0,.12); }
.planet ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.planet li { padding-inline-start: 30px; position: relative; color: var(--ink-soft); }
.planet li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--tint); }
.planet li b { color: var(--ink); }
.shots { display: flex; gap: 16px; justify-content: center; position: relative; }
.shots img { width: 46%; max-width: 230px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 24px; border: 6px solid #fff; box-shadow: 0 16px 34px -14px rgba(42,35,80,.5); }
.shots img:nth-child(2) { margin-top: 40px; }
@media (max-width: 860px) {
  .planet { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; }
  .planet:nth-child(even) .shots { order: 0; }
}

/* ------------------------------------------------------------------ bilingual band */
.band {
  color: #fff; border-radius: 40px; padding: 54px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2b2f86 0%, #5b3aa0 100%);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.band p { color: #dcd6ff; }
.band .letters { font: 800 clamp(3rem, 8vw, 6rem)/1 var(--head); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.band .letters span { text-shadow: 0 6px 0 rgba(0,0,0,.18); }
.band .letters span:nth-child(1) { color: var(--gold); }
.band .letters span:nth-child(2) { color: var(--coral); }
.band .letters span:nth-child(3) { color: var(--mint); }
.band .letters span:nth-child(4) { color: #8ec5ff; }
.band .shots img { border-color: rgba(255,255,255,.25); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 34px 22px; text-align: center; } }

/* ------------------------------------------------------------------ gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 20px 4px 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery img { flex: none; width: 230px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; scroll-snap-align: start; box-shadow: var(--shadow); border: 6px solid #fff; }

/* ------------------------------------------------------------------ parents */
.parents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card { background: var(--paper); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); }
.card .ico { font-size: 34px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .parents { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ faq */
.faq { max-width: 820px; margin: 30px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: 20px; padding: 4px 24px; box-shadow: 0 8px 22px -16px rgba(42,35,80,.4); }
.faq summary { cursor: pointer; list-style: none; font: 700 1.12rem/1.3 var(--head); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: .8; color: var(--night-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }

/* ------------------------------------------------------------------ final call + footer */
.final { text-align: center; color: #fff; padding: 80px 0 60px; background: linear-gradient(170deg, var(--night) 0%, var(--night-2) 100%); position: relative; overflow: hidden; }
.final img.mascot { width: 150px; margin: 0 auto 12px; filter: drop-shadow(0 14px 20px rgba(0,0,0,.35)); }
.final p { color: #d9d4ff; }
.final .cta { justify-content: center; }
footer { background: #141648; color: #b9b4e6; padding: 34px 0; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: #e2deff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .basma, .stars i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ legal pages */
.legal-head { background: linear-gradient(170deg, var(--night) 0%, var(--night-2) 100%); color: #fff; padding: 120px 0 50px; }
.legal-head p { color: #d9d4ff; margin: 0; }
.legal { max-width: 820px; margin: 0 auto; padding: 50px 0 70px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal ul { padding-inline-start: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .box { background: #fff; border-radius: 22px; padding: 22px 26px; box-shadow: var(--shadow); }
