/* ==========================================================================
   Arab Therapy — Employee Wellbeing Survey Privacy Notice
   Shared stylesheet for the Arabic (RTL) and English (LTR) pages.
   Design source of truth: Figma "AT Web 2026 / Previcy_notice"
   ========================================================================== */

:root {
  --bg: #ffffff;
  --hero-tint: rgba(220, 252, 246, 0.65);
  --accent-bg: #dcfcf6;
  --accent-border: #a7f3d0;
  --accent-text: #4e7e76;
  --dot: #6dc09c;
  --heading: #1e293b;
  --body: #475569;
  --body-strong: #333333;
  --card-bg: #f5f7f5;
  --consent-bg: rgba(220, 252, 246, 0.55);
  --shadow-nav: 0 2px 6px rgba(0, 0, 0, 0.07);

  --maxw: 1000px;
  --pad-x: clamp(20px, 8vw, 120px);
  --radius-card: 16px;
  --radius-pill: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Navbar ---------- */
.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo at inline-start, language switch at inline-end */
  padding-inline: var(--pad-x);
  background: var(--bg);
  box-shadow: var(--shadow-nav);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar__logo {
  display: flex;
  align-items: center;
  height: 35px;
}

.navbar__logo img {
  height: 100%;
  width: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--accent-border);
  border-radius: 30px;
  color: var(--accent-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lang-switch:hover {
  border-color: var(--accent-text);
  box-shadow: 0 2px 8px rgba(78, 126, 118, 0.12);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 72px var(--pad-x) 64px;
  background: linear-gradient(to bottom, var(--hero-tint), var(--bg));
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 40px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 500;
}

.hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
  flex: 0 0 auto;
}

.hero__title {
  margin: 0;
  max-width: 900px;
  color: var(--heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.4;
}

.hero__subtitle {
  margin: 0;
  max-width: 720px;
  color: var(--body);
  font-size: clamp(15px, 2.4vw, 18px);
  font-weight: 400;
  line-height: 1.7;
}

/* ---------- Content ---------- */
.content {
  padding: 56px var(--pad-x) 80px;
}

.content__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ---------- Section ---------- */
.section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.section__num {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 700;
}

.section__title {
  margin: 0;
  flex: 1 1 auto;
  color: var(--heading);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}

.section__body {
  color: var(--body);
  font-size: 16px;
  line-height: 1.8;
}

.section__body p {
  margin: 0 0 10px;
}

.section__body p:last-child {
  margin-bottom: 0;
}

.section__body ul {
  margin: 0 0 10px;
  padding-inline-start: 1.2em;
  list-style: none;
}

.section__body li {
  position: relative;
  margin-bottom: 6px;
  padding-inline-start: 1em;
}

.section__body li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  color: var(--accent-text);
}

/* ---------- Contact card (section 17) ---------- */
.card-contact {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 32px;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-pill);
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-row:hover {
  border-color: var(--accent-text);
  box-shadow: 0 2px 8px rgba(78, 126, 118, 0.12);
}

.contact-row__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--accent-text);
}

/* ---------- Consent card ---------- */
.card-consent {
  background: var(--consent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-consent__title {
  margin: 0;
  color: var(--heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.card-consent__body {
  margin: 0;
  color: var(--body-strong);
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .content {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .content__inner {
    gap: 32px;
  }

  .card-contact,
  .card-consent {
    padding: 24px;
  }
}
