/* =========================================================
   DESIGN SYSTEM & BRAND PALETTE (FROM image_7e3179.jpg)
   ========================================================= */

:root {
  /* The deep, atmospheric dark background canvas */
  --obsidian: #0A0C10; 
  
  /* Muted card/surface background layout */
  --charcoal: rgba(255, 255, 255, 0.015);
  
  /* Clean, elegant soft platinum text typography */
  --platinum: #E2E4E9;
  
  /* The signature premium champagne bronze metallic color */
  --gold: #C5A880; 
  
  /* Subtle dark bronze shade for secondary borders/subtitles */
  --ochre: #8A7253; 
}

/* =========================================================
   GLOBAL ARCHITECTURE
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--obsidian);
  color: var(--platinum);
  overflow-x: hidden;
  position: relative;
}

/* =========================================================
   BACKGROUND PARTICLES & MOUSE GLOW
   ========================================================= */

.particles {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(var(--platinum) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.03;
  z-index: -3;
}

.mouse-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.08), transparent 72%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -2;
}

/* =========================================================
   NAVBAR & HEADER
   ========================================================= */

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 26px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 12, 16, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--platinum);
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: rgba(226, 228, 233, 0.72);
  font-size: 14px;
  letter-spacing: 3px;
  position: relative;
  transition: 0.35s ease;
}

nav a:hover {
  color: var(--gold);
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: 0.35s ease;
}

nav a:hover::after {
  width: 100%;
}

/* =========================================================
   HERO SECTIONS (VISION)
   ========================================================= */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: 
    radial-gradient(circle at center, rgba(197, 168, 128, 0.06), transparent 45%),
    linear-gradient(to bottom, #050608, #0A0C10);
}

.horizon-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 700px;
  border-top: 2px solid rgba(197, 168, 128, 0.95);
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(197, 168, 128, 0.35),
    0 0 40px rgba(197, 168, 128, 0.18),
    0 0 100px rgba(197, 168, 128, 0.08);
  opacity: 0.95;
}

.sun-core {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow:
    0 0 20px rgba(197, 168, 128, 1),
    0 0 50px rgba(197, 168, 128, 0.8),
    0 0 120px rgba(197, 168, 128, 0.35),
    0 0 220px rgba(197, 168, 128, 0.15);
  animation: sunPulse 6s ease-in-out infinite;
}

@keyframes sunPulse {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-top: 120px;
}

.logo {
  font-size: 9rem;
  font-weight: 200;
  letter-spacing: 24px;
  color: var(--platinum);
  margin-bottom: 35px;
}

.subtitle {
  color: rgba(226, 228, 233, 0.72);
  font-size: 1.15rem;
  line-height: 2.1;
  letter-spacing: 9px;
  margin-bottom: 60px;
}

.arabic {
  font-size: 4.5rem;
  color: var(--gold);
  font-weight: 500;
}

/* =========================================================
   GLOBAL DIVIDERS & STRUCTURAL LAYOUT
   ========================================================= */

.divider {
  width: 140px;
  height: 1px;
  margin: 100px auto;
  background: linear-gradient(to right, transparent, var(--ochre), transparent);
  opacity: 0.5;
}

.about {
  padding: 140px 20px;
  max-width: 950px;
  margin: auto;
  text-align: center;
}

.about h2 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 7px;
  margin-bottom: 32px;
}

.about p {
  color: rgba(226, 228, 233, 0.72);
  line-height: 2.2;
  font-size: 1.05rem;
}

/* --- ABOUT SECTION REFINEMENTS --- */
.about-content {
  max-width: 760px; /* Limits paragraph width to professional reading scale */
  margin: 0 auto;
  text-align: center;
}

.about .tagline {
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: rgba(226, 228, 233, 0.5);
  margin-bottom: 50px;
  font-style: italic;
}

.about p {
  margin-bottom: 28px; /* Breaks up dense walls of text beautifully */
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(226, 228, 233, 0.72);
}

.about p.emphasis-text {
  color: var(--platinum);
  font-weight: 400;
  margin-top: 40px;
}

/* Signature brand accent color rule requested */
.brand-accent {
  color: var(--gold) !important;
  font-weight: 500;
}

/* =========================================================
   ARTICLES DECK LAYOUT
   ========================================================= */

.articles {
  width: 86%;
  max-width: 1280px;
  margin: 120px auto;
}

.section-title {
  text-align: center;
  margin-bottom: 75px;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 7px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 38px;
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(197, 168, 128, 0.10);
  padding: 38px;
  border-radius: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: 0.45s ease;
}

.card:hover {
  transform: translateY(-10px);
  border: 1px solid rgba(197, 168, 128, 0.25);
  box-shadow: 0 0 30px rgba(197, 168, 128, 0.05);
}

.card a {
  text-decoration: none;
}

.card h2 {
  color: var(--platinum);
  font-size: 1.7rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.card p {
  color: rgba(226, 228, 233, 0.60);
  line-height: 1.9;
}

/* ==========================================================================
   GLOBAL YOUTH PULSE SECTION (MATCHING image_7eadbc.jpg)
   ========================================================================== */

.pulse-report {
  width: 86%;
  max-width: 1280px;
  margin: 140px auto;
  padding: 20px 0;
}

.report-header {
  text-align: center;
  margin-bottom: 90px;
}

.report-header .tagline {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 5px;
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0.85;
}

.report-header h2 {
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 6px;
  margin-bottom: 35px;
  color: var(--platinum);
}

.report-intro {
  margin: 0 auto;
  color: rgba(226, 228, 233, 0.65);
  font-size: 1.05rem;
  line-height: 2.1;
  max-width: 850px;
}

/* --- QUICK METRICS --- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 38px;
  margin-bottom: 120px;
}

.metric-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.01), transparent);
  border-top: 1px solid var(--ochre);
  border-left: 1px solid rgba(138, 114, 83, 0.15);
  border-right: 1px solid rgba(138, 114, 83, 0.15);
  border-bottom: 1px solid rgba(138, 114, 83, 0.15);
  padding: 45px 30px;
  border-radius: 0 0 24px 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.metric-num {
  font-size: 3.8rem;
  font-weight: 200;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.metric-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(226, 228, 233, 0.5);
  line-height: 1.8;
  text-transform: uppercase;
}

/* --- DATA INSIGHTS SPLIT ARCHITECTURE --- */
.insights-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 120px;
  align-items: start;
}

.insight-block h3, 
.subsection-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--platinum);
  margin-bottom: 40px;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}

.representation-stat {
  display: flex;
  align-items: center;
  gap: 35px;
  background: var(--charcoal);
  border: 1px solid rgba(138, 114, 83, 0.15);
  padding: 45px;
  border-radius: 24px;
  min-height: 240px;
}

.stat-circle {
  min-width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px dashed var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
  background: rgba(197, 168, 128, 0.02);
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(226, 228, 233, 0.8);
}

.quote span {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  display: block;
  margin-top: 15px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* --- SCROLL-BOUND PROGRESS BARS --- */
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bar-wrapper {
  display: flex;
  align-items: center;
  font-size: 13px;
}

.bar-label {
  width: 45%;
  color: rgba(226, 228, 233, 0.7);
  padding-right: 20px;
  line-height: 1.5;
}

.bar-container {
  width: 45%;
  background: rgba(255, 255, 255, 0.03);
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
}

.bar {
  width: 0; 
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Activated via JavaScript on Scroll Intersection */
.pulse-report.active .bar {
  width: var(--progress);
}

.bar-val {
  width: 10%;
  text-align: right;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
}

/* --- VOICES REGIONAL MODULES --- */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 38px;
  margin-top: 45px;
}

.region-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.01), transparent);
  border: 1px solid rgba(138, 114, 83, 0.15);
  padding: 40px;
  border-radius: 24px;
  transition: 0.45s ease;
}

.region-card:hover {
  transform: translateY(-5px);
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.region-card h4 {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.region-card p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(226, 228, 233, 0.55);
}

/* ==========================================================================
   SCROLL ENGINE VISIBILITY PARAMS (INTERSECTION ENGINE RULES)
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active-in {
  opacity: 1;
  transform: translateY(0);
}

.metrics-grid .metric-card:nth-child(2) { transition-delay: 0.15s; }
.metrics-grid .metric-card:nth-child(3) { transition-delay: 0.3s; }
.metrics-grid .metric-card:nth-child(4) { transition-delay: 0.45s; }

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  text-align: center;
  padding: 45px;
  color: rgba(226, 228, 233, 0.42);
  letter-spacing: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--obsidian);
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

@media (max-width: 900px) {
  .insights-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media(max-width: 768px) {
  header {
    padding: 20px;
    flex-direction: column;
    gap: 18px;
  }

  nav {
    gap: 22px;
  }

  .logo {
    font-size: 5rem;
    letter-spacing: 10px;
  }

  .subtitle {
    font-size: 0.82rem;
    letter-spacing: 4px;
    line-height: 2;
  }

  .arabic {
    font-family: 'Cairo', sans-serif; /* Applied signature Arabic font */
  font-size: 4.5rem;
  color: var(--gold);
  font-weight: 500;
  direction: rtl; /* Ensures correct right-to-left layout alignment */

  }

  .horizon-glow {
    width: 240%;
    top: 40%;
  }

  .sun-core {
    top: 39%;
  }

  .about h2,
  .section-title {
    font-size: 2rem;
  }

  .pulse-report {
    width: 90%;
    margin: 90px auto;
  }

  .report-header h2 {
    font-size: 2rem;
    letter-spacing: 4px;
  }

  .representation-stat {
    flex-direction: column;
    text-align: center;
    padding: 35px;
  }

  .bar-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bar-label, .bar-container, .bar-val {
    width: 100%;
  }

  .bar-val {
    text-align: left;
  }
}