/* ============================================
   Rawa Website v9 - Identity-Driven Design
   ألوان رواء كهوية قوية - تباين واضح - مينيمال احترافي
   ============================================ */

/* ===== الخطوط ===== */
@font-face {
  font-family: 'NT Panorama';
  src: url('../fonts/nt-panorama-naskh.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NT Panorama';
  src: url('../fonts/nt-panorama-naskh-long.otf') format('opentype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rawa Display';
  src: url('../fonts/thmanyahserifdisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Rawa Display';
  src: url('../fonts/thmanyahserifdisplay-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Rawa Display';
  src: url('../fonts/thmanyahserifdisplay-Black.otf') format('opentype');
  font-weight: 900;
  font-display: swap;
}

/* ===== المتغيرات - ألوان هوية رواء (مطابقة للهوية الأصلية) ===== */
:root {
  /* أزرق رواء - اللون الأساسي للهوية (RAWA BLUE من الهوية القديمة) */
  --rawa-blue: #2B5FC7;
  --rawa-blue-light: #4A7FE8;
  --rawa-blue-lighter: #E8EFFB;
  --rawa-blue-dark: #1E4DB5;
  --rawa-blue-deeper: #143A8A;
  
  /* نعناعي رواء - اللون الثانوي (RAWA TEAL من الهوية القديمة) */
  --rawa-mint: #2ABFA3;
  --rawa-mint-light: #3DDCC0;
  --rawa-mint-lighter: #E0F7F2;
  --rawa-mint-dark: #1D9B83;
  --rawa-mint-deeper: #0F7867;
  
  /* محايدة - لتباين عالي وواضح */
  --black: #050B18;
  --gray-900: #0D1629;
  --gray-800: #1A2540;
  --gray-700: #3A4866;
  --gray-600: #5A6B8C;
  --gray-500: #8295B5;
  --gray-400: #A8B6CF;
  --gray-300: #CDD5E5;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50: #F8FAFC;
  --white: #ffffff;
  
  /* الخطوط */
  --font-display: 'Rawa Display', 'Times New Roman', serif;
  --font-body: 'NT Panorama', system-ui, -apple-system, sans-serif;
  
  /* الحاويات */
  --container: 1200px;
  --container-narrow: 880px;
  --container-wide: 1440px;
  
  /* الانتقالات */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p {
  line-height: 1.85;
}

li {
  line-height: 1.85;
  margin-bottom: 8px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.8;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== التيبوغرافي ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--black);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.h1, h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.h2, h2 {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.2;
}

.h3, h3 {
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
}

.h4, h4 {
  font-weight: 700;
  font-size: 20px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rawa-blue);
}

.eyebrow-mint {
  color: var(--rawa-mint-deeper);
}

.lede {
  font-size: 20px;
  line-height: 1.6;
  color: var(--gray-700);
}

/* ===== الحاويات ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
}

/* الأقسام */
section {
  padding: 80px 0;
}

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

/* ===== Navigation ===== */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--rawa-blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
}

.nav-links a:hover {
  color: var(--rawa-blue);
  opacity: 1;
}

.nav-links a.active {
  color: var(--rawa-blue);
  font-weight: 700;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--rawa-mint);
}

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

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--rawa-blue);
  fill: none;
  stroke-width: 1.5;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

/* ===== الأزرار - بهوية رواء ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border: 2px solid;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.02em;
  border-radius: 4px;
}

.btn-primary {
  background: var(--rawa-blue);
  color: var(--white);
  border-color: var(--rawa-blue);
  box-shadow: 0 4px 12px rgba(60, 100, 180, 0.25);
}

.btn-primary:hover {
  background: var(--rawa-blue-dark);
  border-color: var(--rawa-blue-dark);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(60, 100, 180, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--rawa-blue);
  border-color: var(--rawa-blue);
}

.btn-secondary:hover {
  background: var(--rawa-blue);
  color: var(--white);
  opacity: 1;
}

.btn-mint {
  background: var(--rawa-mint);
  color: var(--white);
  border-color: var(--rawa-mint);
  box-shadow: 0 4px 12px rgba(80, 180, 160, 0.25);
}

.btn-mint:hover {
  background: var(--rawa-mint-deeper);
  border-color: var(--rawa-mint-deeper);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(80, 180, 160, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-300);
}

.btn-ghost:hover {
  border-color: var(--rawa-blue);
  color: var(--rawa-blue);
  opacity: 1;
}

.btn-light {
  background: var(--white);
  color: var(--rawa-blue);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--rawa-blue-lighter);
  opacity: 1;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 15px;
}

/* ===== Hero - بهوية رواء ===== */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--rawa-blue-lighter) 0%, var(--white) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80, 180, 160, 0.15), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--rawa-blue);
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--rawa-mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(80, 180, 160, 0.2);
}

.hero-eyebrow span:not(.dot) {
  font-size: 13px;
  font-weight: 700;
  color: var(--rawa-blue);
  letter-spacing: 0.05em;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: var(--black);
}

.hero h1 .accent {
  color: var(--rawa-blue);
}

.hero h1 .accent-mint {
  color: var(--rawa-mint-deeper);
}

.hero p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--gray-700);
  max-width: 680px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .hero { padding: 60px 0 60px; }
}

/* ===== Stats Bar ===== */
.stats-bar {
  border-bottom: 1px solid var(--gray-200);
  padding: 60px 0;
  background: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 0 32px;
  border-right: 2px solid var(--rawa-blue-lighter);
  position: relative;
}

.stat-item:first-child {
  padding-right: 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--rawa-blue);
  margin-bottom: 8px;
}

.stat-item:nth-child(2n) .stat-value {
  color: var(--rawa-mint-deeper);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stat-item {
    padding: 16px 0;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }
}

/* ===== Section Heading ===== */
.section-heading {
  margin-bottom: 64px;
  max-width: 720px;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-heading p {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.6;
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ===== Services - بألوان رواء قوية ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  padding: 48px 32px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 4px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--rawa-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.service:hover {
  border-color: var(--rawa-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(60, 100, 180, 0.1);
}

.service:hover::before {
  transform: scaleX(1);
}

.service:nth-child(2n)::before {
  background: var(--rawa-mint);
}

.service:nth-child(2n):hover {
  border-color: var(--rawa-mint);
  box-shadow: 0 12px 24px rgba(80, 180, 160, 0.1);
}

.service-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--rawa-blue);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.service:nth-child(2n) .service-num {
  color: var(--rawa-mint-deeper);
}

.service-icon {
  margin-bottom: 24px;
  width: 56px;
  height: 56px;
  background: var(--rawa-blue-lighter);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service:nth-child(2n) .service-icon {
  background: var(--rawa-mint-lighter);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--rawa-blue);
  fill: none;
  stroke-width: 1.75;
}

.service:nth-child(2n) .service-icon svg {
  stroke: var(--rawa-mint-deeper);
}

.service h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--black);
}

.service p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 32px 24px; }
}

/* ===== News Grid ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
}

.news-card:hover {
  border-color: var(--rawa-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(60, 100, 180, 0.1);
}

.news-card-image {
  aspect-ratio: 16 / 10;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.news-card-content {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.news-card-tag {
  background: var(--rawa-blue);
  color: var(--white);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.news-card-tag.tag-mint {
  background: var(--rawa-mint);
}

.news-card-tag.tag-dark {
  background: var(--black);
}

.news-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--black);
}

.news-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.news-card .read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--rawa-blue);
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.news-card .read-more::after {
  content: '←';
  margin-right: 4px;
}

.news-card:hover .read-more {
  color: var(--rawa-mint-deeper);
}

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ===== Quote Block - بهوية رواء ===== */
.quote-block {
  background: linear-gradient(135deg, var(--rawa-blue) 0%, var(--rawa-blue-deeper) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80, 180, 160, 0.2), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.quote-block .container-wide {
  position: relative;
  z-index: 1;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 40px;
  color: var(--white);
}

.quote-block blockquote::before {
  content: '"';
  display: block;
  font-size: 96px;
  line-height: 0.5;
  margin-bottom: 16px;
  color: var(--rawa-mint);
}

.quote-cite {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.quote-cite strong {
  color: var(--rawa-mint-light);
  font-weight: 700;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--rawa-blue) 0%, var(--rawa-blue-deeper) 100%);
  color: var(--white);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80, 180, 160, 0.15), transparent);
  border-radius: 50%;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--white);
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--rawa-blue);
  border-color: var(--white);
}

.cta-section .btn-primary:hover {
  background: var(--rawa-mint);
  color: var(--white);
  border-color: var(--rawa-mint);
}

.cta-section .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
  background: var(--white);
  color: var(--rawa-blue);
  border-color: var(--white);
}

/* ===== Footer ===== */
footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand .brand-text {
  color: var(--white);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--rawa-mint-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--rawa-mint);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Two Column Layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col.with-image {
  align-items: center;
}

@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
}

/* ===== Boxes ===== */
.box {
  border: 2px solid var(--gray-200);
  padding: 40px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--transition);
}

.box-bordered-blue {
  border-color: var(--rawa-blue);
  border-right: 6px solid var(--rawa-blue);
}

.box-bordered-mint {
  border-color: var(--rawa-mint);
  border-right: 6px solid var(--rawa-mint);
}

.box-blue {
  background: linear-gradient(135deg, var(--rawa-blue) 0%, var(--rawa-blue-deeper) 100%);
  color: var(--white);
  padding: 48px;
  border: none;
}

.box-blue h3,
.box-blue h4 {
  color: var(--white);
}

.box-mint {
  background: linear-gradient(135deg, var(--rawa-mint) 0%, var(--rawa-mint-deeper) 100%);
  color: var(--white);
  padding: 48px;
  border: none;
}

.box-mint h3,
.box-mint h4 {
  color: var(--white);
}

.box-dark {
  background: var(--black);
  color: var(--white);
  padding: 48px;
  border: none;
}

.box-dark h3,
.box-dark h4 {
  color: var(--white);
}

.box-light {
  background: var(--rawa-blue-lighter);
  border: none;
  padding: 40px;
}

/* ===== Tags ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1.5px solid var(--rawa-blue);
  background: var(--rawa-blue-lighter);
  color: var(--rawa-blue);
  border-radius: 4px;
}

.tag-mint {
  background: var(--rawa-mint);
  color: var(--white);
  border-color: var(--rawa-mint);
}

.tag-blue {
  background: var(--rawa-blue);
  color: var(--white);
  border-color: var(--rawa-blue);
}

.tag-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.tag-outline {
  background: var(--white);
  color: var(--rawa-blue);
  border-color: var(--rawa-blue);
}

/* ===== Languages ===== */
.languages-bar {
  background: linear-gradient(135deg, var(--rawa-blue-lighter) 0%, var(--rawa-mint-lighter) 100%);
  padding: 80px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.languages-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 32px;
  align-items: center;
}

.lang {
  text-align: center;
  padding: 16px 8px;
  background: var(--white);
  border-radius: 8px;
  transition: all var(--transition);
}

.lang:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(60, 100, 180, 0.15);
}

.lang-flag {
  font-size: 32px;
  margin-bottom: 8px;
}

.lang-name {
  font-size: 11px;
  color: var(--rawa-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .languages-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .languages-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .lang-flag { font-size: 24px; }
}

/* ===== Page Header ===== */
.page-header {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(180deg, var(--rawa-blue-lighter) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(80, 180, 160, 0.15), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.page-header > .container-wide {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 24px;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--rawa-blue);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--rawa-mint-deeper);
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  max-width: 900px;
  color: var(--black);
}

.page-header h1 .accent {
  color: var(--rawa-blue);
}

.page-header h1 .accent-mint {
  color: var(--rawa-mint-deeper);
}

.page-header p {
  font-size: 20px;
  color: var(--gray-700);
  line-height: 1.6;
  max-width: 720px;
}

/* ===== أول كلمة كبيرة (بدل drop cap) ===== */
.lead-paragraph {
  font-size: 19px;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.lead-paragraph .first-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4em;
  color: var(--rawa-blue);
  letter-spacing: -0.02em;
  margin-left: 4px;
}

.lead-paragraph .first-word.mint {
  color: var(--rawa-mint-deeper);
}

/* أول كلمة كبيرة في كروت الأخبار */
.news-card .card-first-word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25em;
  color: var(--rawa-blue);
  letter-spacing: -0.01em;
  margin-left: 4px;
}

/* ===== Utilities ===== */
.divider {
  height: 1px;
  background: var(--gray-200);
  border: none;
  margin: 0;
}

.text-mint { color: var(--rawa-mint-deeper); }
.text-blue { color: var(--rawa-blue); }
.text-white { color: var(--white); }

.bg-blue { background: var(--rawa-blue); }
.bg-mint { background: var(--rawa-mint); }
.bg-blue-light { background: var(--rawa-blue-lighter); }
.bg-mint-light { background: var(--rawa-mint-lighter); }

.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

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

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  padding: 24px;
  display: none;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--rawa-blue);
}

.mobile-menu-cta {
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== Policy Detail (للحوكمة) ===== */
.policy-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}

.policy-section:last-child {
  border-bottom: none;
}

.policy-header {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--rawa-blue-lighter);
}

.policy-num {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--rawa-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  border-radius: 8px;
}

.policy-section:nth-child(2n) .policy-num {
  background: var(--rawa-mint);
}

.policy-section:nth-child(2n) .policy-header {
  border-bottom-color: var(--rawa-mint-lighter);
}

.policy-title h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  color: var(--black);
}

.policy-title .meta {
  font-size: 13px;
  color: var(--gray-600);
  letter-spacing: 0.03em;
  font-weight: 500;
}

.policy-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 32px 0 16px;
  color: var(--rawa-blue);
}

.policy-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.policy-body ul,
.policy-body ol {
  padding-right: 24px;
  margin-bottom: 24px;
}

.policy-body li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 8px;
  padding-right: 8px;
}

.policy-body li::marker {
  color: var(--rawa-blue);
  font-weight: 700;
}

.policy-section:nth-child(2n) .policy-body h4 {
  color: var(--rawa-mint-deeper);
}

.policy-section:nth-child(2n) .policy-body li::marker {
  color: var(--rawa-mint-deeper);
}

@media (max-width: 768px) {
  .policy-header { flex-direction: column; gap: 16px; }
  .policy-num { width: 64px; height: 64px; font-size: 28px; }
  .policy-title h3 { font-size: 28px; }
}

/* ===== News Aside ===== */
.news-aside {
  background: var(--rawa-blue-lighter);
  padding: 32px;
  border-right: 6px solid var(--rawa-mint);
  border-radius: 4px;
}

.news-aside h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--rawa-blue);
}

.news-aside ul {
  list-style: none;
}

.news-aside li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(60, 100, 180, 0.15);
  font-size: 14px;
  color: var(--gray-800);
}

.news-aside li:last-child {
  border-bottom: none;
}

.news-aside .label {
  display: block;
  font-size: 11px;
  color: var(--rawa-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  font-weight: 700;
}

/* ===== Forms ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--gray-300);
  font-family: inherit;
  font-size: 15px;
  background: var(--white);
  color: var(--black);
  border-radius: 4px;
  transition: border-color var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--rawa-blue);
}

label {
  display: block;
  font-size: 12px;
  color: var(--gray-700);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Language Switcher ===== */
.lang-switcher {
  position: relative;
  display: inline-block;
}
.lang-switcher .lang-current {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 100px;
  font-family: inherit;
  cursor: pointer;
  color: var(--gray-800);
  transition: all 0.2s;
}
.lang-switcher .lang-current:hover {
  border-color: var(--rawa-blue);
  color: var(--rawa-blue);
}
.lang-switcher .lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  max-height: 360px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  padding: 8px;
}
.lang-switcher.open .lang-menu {
  display: block;
  animation: langFadeIn 0.2s ease;
}
@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-switcher .lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: var(--gray-800);
  transition: background 0.15s;
}
.lang-switcher .lang-option:hover {
  background: var(--gray-50);
}
.lang-switcher .lang-option.active {
  background: var(--rawa-blue-lighter);
  color: var(--rawa-blue-deeper);
  font-weight: 700;
}

/* Mobile */
@media (max-width: 768px) {
  .lang-switcher .lang-current span:nth-of-type(2) { display: none; }
  .lang-switcher .lang-menu {
    inset-inline-end: -8px;
    min-width: 200px;
  }
}

/* ===== Languages page ===== */
.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.language-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 16px;
}
.language-card:hover {
  border-color: var(--rawa-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 95, 199, 0.12);
}
.language-card .flag {
  font-size: 40px;
  line-height: 1;
}
.language-card .info { flex: 1; }
.language-card .name-native {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.language-card .name-en {
  font-size: 13px;
  color: var(--gray-600);
}
