/* ==========================================================================
   Observ Media — Public Design Tokens
   RTL-first (Arabic default). Light + Dark themes via [data-theme].
   ========================================================================== */
/* ── CSS Variables ───────────────────────────────────────────── */
:root {
  --green-dark:    #0f2a24;
  --green-primary: #1a3c34;
  --green-mid:     #2e6b4f;
  --green-light:   #3d8c68;
  --gold:          #c9a84c;
  --gold-light:    #e8c97a;
  --gold-dark:     #a87e2a;
  --off-white:     #eeeeee;
  --white:         #ffffff;
  --text-primary:  #1a1a1a;
  --text-secondary:#4a5568;
  --text-muted:    #6b7280;
  --border:        rgba(26, 60, 52, 0.12);
  --border-gold:   rgba(201, 168, 76, 0.25);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.14);
  --shadow-gold:   0 8px 32px rgba(201, 168, 76, 0.18);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:      80px;
  --container:     1280px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Tajawal', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ── Utility ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.section-title.white { color: var(--white); }
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.section-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}
.section-header.centered {
  align-items: center;
  text-align: center;
}
.section-header .section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-mid);
  margin-top: 0.5rem;
  transition: var(--transition);
}
.section-header .section-link:hover { color: var(--gold); }
.section-header .section-link svg { width: 16px; }

/* ── Animation states ────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="fade-left"] { transform: translateX(30px); }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate].animate-in {
  opacity: 1;
  transform: translate(0);
}
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="50"]  { transition-delay: 0.05s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="450"] { transition-delay: 0.45s; }
[data-delay="550"] { transition-delay: 0.55s; }
