:root {
  --brand-50: #e9f5f1;
  --brand-100: #c7e5db;
  --brand-300: #6bbfa4;
  --brand-500: #14856a;
  --brand-600: #0f6f58;
  --brand-700: #0b5a48;
  --brand-900: #07382d;
  --gold: #d9a441;
  --gold-2: #f1c26a;
  --ink: #0e1a17;
  --ink-2: #223a34;
  --muted: #6c7a76;
  --bg: #f7f5ef;
  --card: #ffffff;
  --border: rgba(10, 60, 48, 0.12);
  --shadow: 0 10px 30px rgba(10, 60, 48, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 60, 48, 0.15);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.5) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--brand-700);
}
.brand img {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--brand-100);
}
.brand span { font-size: 18px; }
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--brand-600); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  box-shadow: 0 10px 25px rgba(14, 133, 106, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14, 133, 106, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--brand-700);
  border: 1px solid var(--brand-300);
}
.btn-ghost:hover { background: var(--brand-50); }

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(217, 164, 65, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(20, 133, 106, 0.22), transparent 60%),
    linear-gradient(180deg, #eaf4ef 0%, #f7f5ef 90%);
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(217, 164, 65, 0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 60%, rgba(20, 133, 106, 0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 90%, rgba(20, 133, 106, 0.06) 0 2px, transparent 3px);
  background-size: 120px 120px, 180px 180px, 140px 140px;
  opacity: 0.8;
  z-index: -1;
}
.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  padding: 5px;
  background: conic-gradient(from 180deg, var(--gold), var(--brand-500), var(--gold-2), var(--brand-700), var(--gold));
  box-shadow: var(--shadow-lg);
  margin-bottom: 22px;
  animation: spin 20s linear infinite;
}
.hero-avatar img {
  width: 100%; height: 100%; border-radius: 50%;
  background: #fff;
  border: 4px solid #fff;
  object-fit: cover;
  animation: spin 20s linear infinite reverse;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hero-title {
  font-family: 'Amiri', 'Tajawal', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  margin: 6px 0 8px;
  background: linear-gradient(135deg, var(--brand-700), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--brand-700);
  font-weight: 500;
  margin: 4px 0 18px;
}
.hero-desc {
  max-width: 680px;
  color: var(--ink-2);
  font-size: 17px;
  margin: 0 0 30px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 40px;
}
.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 12px 28px;
  justify-content: center;
  color: var(--ink-2);
  font-weight: 500;
}
.hero-stats li {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.7);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.stat-ico { font-size: 20px; }

/* Sections */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand-700);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: 'Amiri', 'Tajawal', serif;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 10px;
  color: var(--brand-900);
}
.section-sub {
  color: var(--muted);
  margin: 0 auto;
  max-width: 640px;
}

/* About */
.about { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  align-items: center;
}
.about-text p { color: var(--ink-2); font-size: 17px; margin: 0 0 16px; }
.about-quote {
  font-family: 'Amiri', serif;
  font-size: 22px !important;
  color: var(--brand-700) !important;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--brand-50), #fff);
  border-right: 4px solid var(--gold);
  border-radius: 10px;
  margin: 22px 0 !important;
  line-height: 1.9;
}
.quote-ref {
  display: block;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.about-card {
  display: flex; justify-content: center;
}
.about-card-inner {
  background: linear-gradient(160deg, var(--brand-700), var(--brand-900));
  color: #fff;
  padding: 36px 28px;
  border-radius: 24px;
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-card-inner::before {
  content: "";
  position: absolute; top: -60px; left: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.35), transparent 70%);
}
.about-card-inner::after {
  content: "";
  position: absolute; bottom: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 191, 164, 0.35), transparent 70%);
}
.about-card-inner img {
  width: 110px; height: 110px; border-radius: 50%;
  margin: 0 auto 16px;
  border: 4px solid rgba(255,255,255,0.25);
  position: relative; z-index: 1;
}
.about-card-inner h3 {
  margin: 6px 0 4px; font-family: 'Amiri', serif; font-size: 26px;
  position: relative; z-index: 1;
}
.about-card-inner .muted { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.tags {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  position: relative; z-index: 1;
}
.tags span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
}

/* Categories */
.categories { background: var(--bg); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; inset-inline-end: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top left, rgba(20,133,106,0.08), transparent 70%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}
.card-ico {
  font-size: 36px;
  margin-bottom: 14px;
  display: inline-flex;
  width: 58px; height: 58px; border-radius: 14px;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
}
.card h3 {
  font-family: 'Amiri', serif;
  color: var(--brand-900);
  font-size: 22px;
  margin: 0 0 8px;
}
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Videos */
.videos { background: #fff; border-top: 1px solid var(--border); }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.video {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.video:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-300);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.video:hover .video-thumb img { transform: scale(1.06); }
.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45) 100%);
}
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(229, 9, 20, 0.95);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 1;
  transition: transform .2s;
}
.video:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.video-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.video-title {
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  color: var(--muted); font-size: 13px;
  margin-top: auto;
  display: flex; align-items: center; gap: 6px;
}

.center { text-align: center; margin-top: 40px; }

/* CTA */
.cta-section {
  background:
    radial-gradient(800px 300px at 20% 30%, rgba(217,164,65,0.25), transparent 60%),
    radial-gradient(700px 300px at 80% 70%, rgba(107,191,164,0.25), transparent 60%),
    linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 10px;
  color: #fff;
}
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 17px; margin: 0 0 28px; }

/* Footer */
.footer {
  background: #0a1f1a;
  color: #c8d2cf;
  padding: 60px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px;
}
.footer-brand img {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.footer-title {
  color: #fff; font-weight: 700; margin-bottom: 10px; font-size: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: #c8d2cf; font-size: 14px;
}
.footer-links a:hover { color: #fff; }
.social-icons { display: flex; gap: 10px; }
.social {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background .2s, transform .2s;
  color: #fff;
}
.social:hover { transform: translateY(-2px); }
.social.yt:hover { background: #e50914; border-color: #e50914; }
.social.fb:hover { background: #1877f2; border-color: #1877f2; }
.social.tt:hover { background: #000; border-color: #000; }
.social.tg:hover { background: #229ED9; border-color: #229ED9; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  color: #8b9994;
  font-size: 14px;
}
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .about-grid, .cards, .videos-grid, .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .about-card { order: -1; }
  .nav-links { display: none; }
  .hero-stats { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 50px; }
  .about-grid, .cards, .videos-grid, .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand { justify-content: center; text-align: center; }
  .footer-links, .footer-social { text-align: center; align-items: center; }
  .footer-inner { gap: 28px; }
}
