/* ===========================================
   جمعية مديم الرقمية - Static CSS
   DGA Platforms Code Design System
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

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

:root {
  --background: #fcfcfc;
  --foreground: #212529;
  --card: #ffffff;
  --card-foreground: #212529;
  --primary: #166b4a;
  --primary-light: #e8f5ef;
  --primary-foreground: #ffffff;
  --secondary: #f1f3f5;
  --secondary-foreground: #212529;
  --muted: #f1f3f5;
  --muted-foreground: #6b7280;
  --accent: #d99a06;
  --accent-light: #fef9e7;
  --accent-foreground: #212529;
  --border: #e5e7eb;
  --destructive: #dc3545;
  --radius: 0.5rem;
  --dga-green: #166b4a;
  --dga-green-light: #e8f5ef;
  --dga-green-dark: #0f4f36;
  --dga-gold: #d99a06;
  --dga-gold-light: #fef9e7;
  --dga-gray: #212529;
  --dga-gray-light: #6b7280;
  --font-arabic: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-arabic);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ── Container ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Government Banner ── */
.gov-banner {
  background: var(--dga-green);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.5rem 0;
}
.gov-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.gov-banner a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.gov-banner a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 252, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.header-logo img { height: 3.5rem; width: auto; }

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
  .mobile-menu-btn { display: none !important; }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.nav-link:hover {
  color: var(--primary);
  background: rgba(22, 107, 74, 0.05);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-arabic);
  transition: all 0.2s;
}
.dropdown-trigger:hover { color: var(--primary); background: rgba(22, 107, 74, 0.05); }
.dropdown-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; }
.dropdown:hover .dropdown-trigger svg { transform: rotate(180deg); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: 0 10px 40px rgba(22, 107, 74, 0.08);
  margin-top: 0.5rem;
  z-index: 60;
}
.dropdown:hover .dropdown-menu { display: block; }

.dropdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(22, 107, 74, 0.7);
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.05em;
}
.dropdown-divider { height: 1px; background: var(--border); margin: 0.25rem 0; opacity: 0.4; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  color: var(--foreground);
}
.dropdown-item:hover { background: rgba(22, 107, 74, 0.05); color: var(--primary); }
.dropdown-item .icon-box {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  background: rgba(22, 107, 74, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(22, 107, 74, 0.6);
  transition: all 0.2s;
}
.dropdown-item:hover .icon-box {
  background: rgba(22, 107, 74, 0.1);
  color: var(--primary);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-arabic);
  transition: all 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(22, 107, 74, 0.2);
}
.btn-primary:hover {
  background: var(--dga-green-dark);
  box-shadow: 0 6px 20px rgba(22, 107, 74, 0.3);
}
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; height: 3.5rem; }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,0.9); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: flex; align-items: center; } }

/* Mobile */
.mobile-menu-btn {
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 0.5rem;
}
.mobile-menu-btn:hover { background: var(--muted); }
.mobile-menu-btn svg { width: 24px; height: 24px; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-blob-1 {
  position: absolute;
  top: 5rem; left: 10%;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  background: rgba(22, 107, 74, 0.05);
  filter: blur(48px);
  animation: blob1 8s ease-in-out infinite;
}
.hero-blob-2 {
  position: absolute;
  bottom: 5rem; right: 10%;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  background: rgba(217, 154, 6, 0.05);
  filter: blur(48px);
  animation: blob2 10s ease-in-out infinite;
}

@keyframes blob1 {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.7; }
}
@keyframes blob2 {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.6; }
}

.hero .container { position: relative; z-index: 10; }
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 3fr 2fr; }
}
.hero-content { text-align: center; }
@media (min-width: 1024px) { .hero-content { text-align: right; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  color: var(--dga-green);
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid rgba(22, 107, 74, 0.1);
  animation: fadeIn 0.6s ease-out forwards;
}
.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero h1 { font-size: 4.5rem; } }

.hero h1 .highlight { color: var(--primary); position: relative; display: inline-block; }
.hero h1 .highlight svg {
  position: absolute;
  bottom: -0.5rem;
  right: 0;
  width: 100%;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  line-height: 1.8;
}
@media (min-width: 1024px) { .hero-desc { margin-left: unset; margin-right: 0; } }

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
@media (min-width: 1024px) { .hero-cta { justify-content: flex-start; } }

.hero-bottom-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* Hero Visual Desktop */
.hero-visual-desktop { display: none; }
@media (min-width: 1024px) {
  .hero-visual-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.hero-visual-wrapper {
  position: relative;
  padding: 4rem;
  overflow: visible;
}
.hero-main-card {
  width: 18rem;
  height: 18rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(22,107,74,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-card-corner-tr {
  position: absolute; top: 0; right: 0;
  width: 6rem; height: 6rem;
  background: linear-gradient(to bottom left, rgba(22,107,74,0.1), transparent);
  border-radius: 0 1.5rem 0 0;
}
.hero-card-corner-bl {
  position: absolute; bottom: 0; left: 0;
  width: 6rem; height: 6rem;
  background: linear-gradient(to top right, rgba(217,154,6,0.1), transparent);
  border-radius: 0 0 0 1.5rem;
}

/* Scattering Dots - Leaf pattern matching React version */
.scattering-dots {
  position: relative;
  width: 12rem;
  height: 12rem;
}
.scattering-dots span {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
}

.hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 1rem;
  border: 1px solid var(--border);
  animation: floatIn 0.6s ease-out forwards;
  opacity: 0;
  z-index: 10;
}
.hero-float-card .value { font-size: 1.5rem; font-weight: 700; }
.hero-float-card .label { font-size: 0.7rem; color: var(--muted-foreground); }

.float-tr { top: -0.5rem; right: -1rem; animation-delay: 0.9s; }
.float-bl { bottom: -0.5rem; left: -1rem; animation-delay: 1.1s; }
.float-ml {
  top: 50%; left: -2rem; transform: translateY(-50%);
  background: var(--dga-green); color: #fff;
  border: none;
  animation-delay: 1.3s;
}
.float-ml .label { color: rgba(255,255,255,0.8); }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.float-ml { animation-name: floatInX; }
@keyframes floatInX {
  from { opacity: 0; transform: translateY(-50%) translateX(20px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Mobile Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .hero-stats { display: none; } }

.hero-stat-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.hero-stat-card:hover { transform: scale(1.02); }
.hero-stat-card .value { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.hero-stat-card .label { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }

/* ── Sections Common ── */
.section-padding { padding: 4rem 0; }
@media (min-width: 768px) { .section-padding { padding: 6rem 0; } }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .tag {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}
.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .section-header h2 { font-size: 2.25rem; } }
.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* ── About Section ── */
.about-grid { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-tag { color: var(--primary); font-weight: 500; margin-bottom: 1rem; display: block; }
.about-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-title { font-size: 2.25rem; } }
.about-desc { font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.8; margin-bottom: 2rem; }

.vision-card, .mission-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}
.vision-card { background: var(--dga-green-light); border: 1px solid rgba(22, 107, 74, 0.2); }
.mission-card { background: var(--accent-light); border: 1px solid rgba(217, 154, 6, 0.2); }
.vision-card h3, .mission-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.vision-card p, .mission-card p { color: var(--muted-foreground); }

.capabilities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.capability-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.capability-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-4px); }
.capability-card .icon-box {
  width: 3.5rem; height: 3.5rem;
  background: rgba(22, 107, 74, 0.15);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary);
}
.capability-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.capability-card p { font-size: 0.875rem; color: var(--muted-foreground); }

/* ── Infographic / Journey ── */
.journey-grid { display: grid; gap: 1.5rem; position: relative; }
@media (min-width: 768px) { .journey-grid { grid-template-columns: repeat(4, 1fr); } }

.journey-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.journey-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.journey-card .step-num {
  position: absolute;
  top: -0.75rem;
  right: 50%; transform: translateX(50%);
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(22, 107, 74, 0.3);
}
.journey-card .icon-box {
  width: 4rem; height: 4rem;
  background: rgba(22, 107, 74, 0.1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto 1.25rem;
  color: var(--primary);
}
.journey-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.journey-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* ── Values ── */
.values-section {
  padding: 3rem 0 4rem;
  background: rgba(241, 243, 245, 0.3);
  background-image: radial-gradient(circle, rgba(22, 107, 74, 0.06) 2px, transparent 2px);
  background-size: 32px 32px;
}
.values-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s;
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.value-card .icon-box {
  width: 4rem; height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.value-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.value-card p { color: var(--muted-foreground); }

.values-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--dga-green-light);
  border: 1px solid rgba(22, 107, 74, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ── Products/Services ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }

.product-card {
  display: block;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.product-card .icon-box {
  width: 3.5rem; height: 3.5rem;
  background: rgba(22, 107, 74, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
  transition: background 0.2s;
}
.product-card:hover .icon-box { background: rgba(22, 107, 74, 0.2); }
.product-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-card p { font-size: 0.75rem; color: var(--muted-foreground); line-height: 1.6; }

/* ── Stats ── */
.stats-section { position: relative; overflow: hidden; }
.stats-bg-circle {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: rgba(22, 107, 74, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 60rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.stat-main {
  grid-column: span 2;
  grid-row: span 2;
  background: rgba(22, 107, 74, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(22, 107, 74, 0.2);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-main:hover { background: rgba(22, 107, 74, 0.1); }
.stat-main .value { font-size: 3rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
@media (min-width: 768px) { .stat-main .value { font-size: 4.5rem; } }
.stat-main .label { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.stat-main .platform-tag {
  font-size: 0.75rem;
  color: rgba(22, 107, 74, 0.7);
  background: rgba(22, 107, 74, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
}

.stat-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(229, 231, 235, 0.6);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s;
}
.stat-card:hover { background: rgba(22, 107, 74, 0.05); border-color: rgba(22, 107, 74, 0.2); }
.stat-card .value { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.375rem; }
@media (min-width: 768px) { .stat-card .value { font-size: 1.875rem; } }
.stat-card .label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.stat-card .platform-tag {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  background: rgba(241, 243, 245, 0.6);
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
}

/* ── Partners Marquee ── */
.partners-section { overflow: hidden; }
.partners-marquee-wrap { position: relative; width: 100%; }
.partners-marquee-wrap .fade-right {
  position: absolute; inset: 0; right: 0; left: auto;
  width: 6rem; background: linear-gradient(to left, var(--background), transparent);
  z-index: 10; pointer-events: none;
}
.partners-marquee-wrap .fade-left {
  position: absolute; inset: 0; left: 0; right: auto;
  width: 6rem; background: linear-gradient(to right, var(--background), transparent);
  z-index: 10; pointer-events: none;
}
@media (min-width: 768px) {
  .partners-marquee-wrap .fade-right, .partners-marquee-wrap .fade-left { width: 10rem; }
}

.partners-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-rtl 25s linear infinite;
}
@keyframes marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 100px;
  flex-shrink: 0;
}
.partner-logo-card img { max-height: 70px; max-width: 150px; object-fit: contain; }

/* ── CTA Section ── */
.cta-box {
  background: var(--primary);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-box { padding: 4rem; } }

.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 2px, transparent 2px);
  background-size: 24px 24px;
  opacity: 0.1;
}
.cta-content { position: relative; z-index: 10; max-width: 42rem; margin: 0 auto; }
.cta-icon {
  width: 4rem; height: 4rem;
  background: rgba(255,255,255,0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
}
.cta-box h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-box h2 { font-size: 2.25rem; } }
.cta-box p { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

/* ── Footer ── */
.site-footer {
  background: var(--dga-gray);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand img { height: 5rem; width: auto; filter: brightness(0) invert(1); margin-bottom: 1.5rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.8; margin-bottom: 1.5rem; max-width: 28rem; }

.footer-contact a, .footer-contact div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--accent); }

.footer-col h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-col h4 { font-weight: 600; font-size: 0.875rem; color: rgba(255,255,255,0.9); margin-bottom: 0.75rem; }
.footer-col .gov-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col .gov-link:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: right; }
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer-bottom .license { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.footer-bottom .code-link { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.footer-bottom .code-link a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom .code-link a:hover { color: var(--accent); }

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }

/* ── SVG Icons (inline) ── */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

/* ── Utilities ── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

/* ── Back to Top Button ── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(22, 107, 74, 0.3);
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--dga-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 107, 74, 0.4);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ── Header Scroll Effect ── */
.header-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ── Scroll Reveal Animation ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Accordion ── */
.mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  font-weight: 600;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-arabic);
  color: var(--foreground);
}
.accordion-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.mobile-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  border-radius: 0.375rem;
}
.mobile-submenu a:hover {
  background: rgba(22, 107, 74, 0.05);
  color: var(--primary);
}

/* Hidden utility */
.hidden { display: none !important; }

/* ── Animated Tech Squares Background ── */
.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.animated-bg__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom left, var(--dga-green-light), var(--background), rgba(254,249,231,0.3));
}
.animated-bg__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  padding: 8px;
}
@media (min-width: 768px) {
  .animated-bg__grid { grid-template-columns: repeat(12, 1fr); }
}
@media (min-width: 1024px) {
  .animated-bg__grid { grid-template-columns: repeat(20, 1fr); }
}
.animated-bg__square {
  aspect-ratio: 1;
  border-radius: 2px;
  animation: sq-pulse ease-in-out infinite;
}
.animated-bg__square--green {
  background: rgba(22,107,74,0.02);
  border: 1px solid rgba(22,107,74,0.05);
}
.animated-bg__square--gold {
  background: rgba(217,154,6,0.02);
  border: 1px solid rgba(217,154,6,0.05);
}
@keyframes sq-pulse {
  0%, 100% {
    opacity: 0.1;
    box-shadow: 0 0 0 transparent;
  }
  50% {
    opacity: 0.4;
    box-shadow: 0 0 8px rgba(22,107,74,0.15);
  }
}
.animated-bg__square--gold {
  animation-name: sq-pulse-gold;
}
@keyframes sq-pulse-gold {
  0%, 100% {
    opacity: 0.1;
    background: rgba(217,154,6,0.02);
    border-color: rgba(217,154,6,0.05);
    box-shadow: 0 0 0 transparent;
  }
  50% {
    opacity: 0.4;
    background: rgba(217,154,6,0.12);
    border-color: rgba(217,154,6,0.2);
    box-shadow: 0 0 8px rgba(217,154,6,0.15);
  }
}
.animated-bg__square--green {
  animation-name: sq-pulse-green;
}
@keyframes sq-pulse-green {
  0%, 100% {
    opacity: 0.1;
    background: rgba(22,107,74,0.02);
    border-color: rgba(22,107,74,0.05);
    box-shadow: 0 0 0 transparent;
  }
  50% {
    opacity: 0.4;
    background: rgba(22,107,74,0.15);
    border-color: rgba(22,107,74,0.25);
    box-shadow: 0 0 8px rgba(22,107,74,0.2);
  }
}
.animated-bg__lines {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: linear-gradient(var(--dga-green) 1px, transparent 1px), linear-gradient(90deg, var(--dga-green) 1px, transparent 1px);
  background-size: 60px 60px;
}
