/* ================================================================
   AICRSS - Public Site Styles (Match original React design exactly)
   Deep Navy #0f1c2e + Gold #d4b572
   ================================================================ */

:root {
  --background: #0f1c2e;
  --background-light: #1a2d4a;
  --foreground: #f8fafc;
  --primary: #d4b572;
  --primary-dark: #b89855;
  --card: #1a2541;
  --muted: #2a3855;
  --muted-foreground: #a0aec0;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-2xl: 0 50px 100px -20px rgb(0 0 0 / 0.4);
  --radius: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', system-ui, sans-serif;
  background: #fff;
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1rem; }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: sticky;
  top: 0; left: 0; right: 0;
  background: rgba(15, 28, 46, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  max-width: var(--container);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.navbar-brand img { height: 64px; width: auto; object-fit: contain; }
.navbar-brand .text { display: flex; flex-direction: column; line-height: 1.2; }
.navbar-brand .text .title-main { color: #fff; font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.navbar-brand .text .title-sub { color: var(--primary); font-size: 0.9rem; font-weight: 600; margin-top: 0.4rem; white-space: nowrap; }

@media (max-width: 768px) {
  .navbar-brand img { height: 48px; }
  .navbar-brand .text .title-main { font-size: 0.75rem; }
  .navbar-brand .text .title-sub { font-size: 0.6rem; margin-top: 0.25rem; }
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.navbar-menu a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
  padding: 0.5rem 0;
  white-space: nowrap;
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--primary); }
.navbar-menu a.active { color: #fff; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  position: relative;
}
.lang-switcher-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-family: inherit;
}
.lang-switcher-btn:hover { color: var(--primary); }
.lang-switcher-btn svg { width: 16px; height: 16px; }
.lang-switcher .dropdown {
  position: absolute;
  top: 100%;
  margin-top: 0.5rem;
  background: var(--background);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 180px;
  padding: 0.5rem;
  display: none;
}
body[dir="rtl"] .lang-switcher .dropdown { right: 0; }
body[dir="ltr"] .lang-switcher .dropdown { left: 0; }
.lang-switcher.open .dropdown { display: block; }
.lang-switcher .dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.lang-switcher .dropdown a:hover { background: rgba(212,181,114,0.1); color: var(--primary); }
.lang-switcher .dropdown a.active { color: var(--primary); font-weight: 700; }

.btn-membership {
  background: var(--primary);
  color: var(--background);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-membership:hover { background: var(--primary-dark); transform: translateY(-1px); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Membership item inside mobile menu - hidden by default on desktop */
.mobile-membership { display: none; }
.mobile-membership-link {
  background: var(--primary) !important;
  color: var(--background) !important;
  font-weight: 700 !important;
  text-align: center;
}

/* Large desktop: tighten spacing progressively so long translations fit */
@media (max-width: 1366px) {
  .navbar-menu { gap: 1.1rem; }
  .navbar-menu a { font-size: 0.84rem; }
  .navbar-brand .text .title-main { font-size: 0.95rem; }
  .navbar-brand .text .title-sub { font-size: 0.8rem; }
  .navbar-brand img { height: 56px; }
}

@media (max-width: 1200px) {
  .navbar .container { gap: 0.75rem; }
  .navbar-menu { gap: 0.8rem; }
  .navbar-menu a { font-size: 0.8rem; }
  .navbar-actions { gap: 0.4rem; }
  .lang-switcher-btn { padding: 0.5rem 0.4rem; font-size: 0.8rem; }
  .lang-switcher-btn svg { display: none; }
  .btn-membership { padding: 0.55rem 0.85rem; font-size: 0.78rem; }
  /* Hide the brand text, keep only logo — frees a lot of space */
  .navbar-brand .text { display: none; }
}

/* Switch to mobile hamburger menu earlier so nothing overflows */
@media (max-width: 1100px) {
  .navbar { position: relative; }
  .navbar-menu { display: none; }
  .mobile-toggle { display: block; order: 3; }

  .navbar-menu.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--background);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.5);
    align-items: stretch;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 200;
  }
  .navbar-menu.open li { width: 100%; }
  .navbar-menu.open a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 1rem;
    width: 100%;
  }
  .navbar-menu.open a:hover { background: rgba(255,255,255,0.05); }

  /* Keep brand text visible on mobile */
  .navbar-brand .text { display: flex; }

  /* Membership: full-width item inside the dropdown */
  .navbar-menu.open .mobile-membership { display: block; margin-top: 0.5rem; }
  .navbar-menu.open .mobile-membership-link {
    padding: 0.9rem 1rem;
  }

  /* Hide the standalone desktop membership button on mobile */
  .navbar-actions .btn-membership { display: none; }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,28,46,0.85) 0%, rgba(15,28,46,0.65) 50%, rgba(15,28,46,0.92) 100%);
}
.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-decoration::before {
  content: '';
  position: absolute;
  top: 25%; left: 25%;
  width: 16rem; height: 16rem;
  background: rgba(212,181,114,0.05);
  border-radius: 50%;
  filter: blur(80px);
}
.hero-decoration::after {
  content: '';
  position: absolute;
  bottom: 25%; right: 25%;
  width: 24rem; height: 24rem;
  background: rgba(212,181,114,0.05);
  border-radius: 50%;
  filter: blur(80px);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1rem 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
.hero-logo {
  position: relative;
  margin-bottom: 2rem;
}
.hero-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212,181,114,0.2);
  border-radius: 50%;
  filter: blur(40px);
  transform: scale(1.5);
}
.hero-logo img {
  position: relative;
  height: 14rem;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.5));
}
.hero-vision {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero h1 .primary { color: var(--primary); display: block; }
.hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  color: var(--gray-300);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .hero { height: 650px; min-height: 600px; }
  .hero-logo img { height: 8rem; }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  text-align: center;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: var(--background); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--background); }
.btn-dark { background: var(--background); color: #fff; }
.btn-dark:hover { background: var(--primary); color: var(--background); }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ================================================================
   SECTIONS
   ================================================================ */
section { padding: 5rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--background);
  display: inline-block;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 0.5rem;
}
.section-header.light h2 { color: #fff; }
.section-header p { color: var(--gray-500); margin-top: 1rem; font-size: 1rem; }

section.dark { background: var(--background); color: #fff; }
section.gray { background: var(--gray-50); }
section.gradient-light { background: linear-gradient(to bottom, #fff, var(--gray-50)); border-top: 1px solid var(--gray-100); }

/* ================================================================
   NEWS SLIDER
   ================================================================ */
.news-slider-wrap {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
  margin-bottom: 5rem;
}
.news-slider {
  background: #fff;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.news-slider-header {
  background: linear-gradient(to right, var(--background), #1e293b, var(--background));
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-slider-header .title-block { display: flex; align-items: center; gap: 1rem; }
.news-slider-header .accent-bar { width: 4px; height: 48px; background: var(--primary); border-radius: 2px; }
.news-slider-header h2 { color: #fff; font-size: 1.75rem; font-weight: 700; margin: 0; padding: 0; border: none; }
.news-slider-header p { color: var(--gray-400); font-size: 0.875rem; margin-top: 0.25rem; }

.news-slider-nav { display: flex; gap: 0.5rem; }
.news-nav-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.news-nav-btn:hover { background: var(--primary); color: var(--background); }
.news-nav-btn svg { width: 24px; height: 24px; }

.news-slider-track {
  display: flex;
  transition: transform 0.7s ease-out;
  direction: ltr;
}
.news-slide {
  width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.news-slide.no-image { grid-template-columns: 1fr; }
.news-slide-image {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: var(--gray-100);
}
.news-slide-image img { width: 100%; height: 100%; object-fit: contain; }
.news-slide-image .img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent);
}
.news-slide-image .category-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--primary);
  color: var(--background);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.news-slide-content {
  padding: 3rem;
  background: linear-gradient(to bottom right, var(--gray-50), #fff);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-slide-content .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.news-slide-content .meta svg { width: 20px; height: 20px; }
.news-slide-content .meta span { font-size: 0.875rem; font-weight: 500; }
.news-slide-content h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); color: var(--background); line-height: 1.3; margin-bottom: 1rem; font-weight: 700; }
.news-slide-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 2rem; font-size: 1rem; }
.news-slide-content .actions { display: flex; align-items: center; gap: 0.75rem; }

.news-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--gray-50);
}
.news-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.news-dot:hover { background: rgba(212,181,114,0.5); }
.news-dot.active { background: var(--primary); width: 40px; border-radius: 999px; }

@media (max-width: 768px) {
  .news-slide { grid-template-columns: 1fr; }
  .news-slide-image { height: 280px; }
  .news-slide-content { padding: 1.5rem; }
  .news-slider-header { padding: 1.25rem 1.5rem; }
  .news-slider-header h2 { font-size: 1.25rem; }
  .news-slider-nav { display: none; }
}

/* ================================================================
   RESEARCH AREAS (circular icon cards) - BIGGER, ONE ROW
   ================================================================ */
.research-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: visible;
  padding: 1rem 0.5rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}
.research-grid::-webkit-scrollbar { height: 6px; }
.research-grid::-webkit-scrollbar-track { background: transparent; }
.research-grid::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

@media (min-width: 1100px) {
  .research-grid {
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: visible;
    gap: 0.5rem;
  }
}
.research-card {
  flex: 0 0 auto;
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}
.research-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  background: var(--background-light);
  border: 2px solid rgba(212,181,114,0.3);
  color: var(--primary);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
}
.research-icon svg { width: 48px; height: 48px; stroke-width: 1.8; }
.research-card:hover .research-icon { background: var(--primary); color: var(--background); transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--primary); }
.research-card:hover h3 { color: var(--primary); }
.research-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--background); transition: color 0.3s; line-height: 1.3; }
@media (max-width: 768px) {
  .research-card { width: 95px; }
  .research-icon { width: 80px; height: 80px; }
  .research-icon svg { width: 36px; height: 36px; }
  .research-card h3 { font-size: 0.82rem; }
}

/* ================================================================
   PUBLICATIONS
   ================================================================ */
.publications-section {
  background: var(--background);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.publications-section::before {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 24rem; height: 24rem;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
  filter: blur(100px);
}
.publications-section .section-header h2 { color: #fff; border-color: var(--primary); }
.publications-section .section-header p { color: var(--gray-400); max-width: 32rem; margin: 1rem auto 0; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 56rem;
  margin: 0 auto;
}
.book-card { text-align: center; cursor: pointer; }
.book-cover {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  margin-bottom: 1.5rem;
  background: #fff;
  position: relative;
  transition: transform 0.5s;
}
.book-card:hover .book-cover { transform: translateY(-1rem); }
.book-cover img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; background: #fff; }
.book-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-card:hover .book-cover::after { opacity: 1; }
.book-card .book-cover .details-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s;
}
.book-card:hover .details-btn { opacity: 1; }
.book-tag {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.book-card h3 { font-size: 1.25rem; color: #fff; font-weight: 500; line-height: 1.4; }

/* ================================================================
   INFO CARDS (Vision/Mission/Values)
   ================================================================ */
.info-cards-section {
  background: linear-gradient(to bottom, #fff, var(--gray-50));
  border-top: 1px solid var(--gray-100);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.info-card {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s;
  color: #fff;
}
.info-card:hover { transform: translateY(-0.5rem); box-shadow: var(--shadow-2xl); }
.info-card.vision { background: linear-gradient(135deg, #2563eb, #4338ca); }
.info-card.mission { background: linear-gradient(135deg, #059669, #0d9488); }
.info-card.values { background: linear-gradient(135deg, #d97706, #c2410c); }

.info-card::before, .info-card::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.info-card::before { top: -4rem; right: -4rem; width: 8rem; height: 8rem; }
.info-card::after { bottom: -3rem; left: -3rem; width: 6rem; height: 6rem; }

.info-card-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.info-card-icon svg { width: 32px; height: 32px; color: rgba(255,255,255,0.95); }
.info-card.vision .info-card-icon svg { color: #93c5fd; }
.info-card.mission .info-card-icon svg { color: #6ee7b7; }
.info-card.values .info-card-icon svg { color: #fcd34d; }

.info-card h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.info-card p { color: rgba(255,255,255,0.85); line-height: 1.7; font-size: 0.95rem; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.info-card-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.95);
  font-size: 0.875rem;
  font-weight: 500;
}
.info-card-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.info-card:hover .info-card-link svg { transform: translateX(-4px); }
body[dir="ltr"] .info-card:hover .info-card-link svg { transform: translateX(4px); }

/* ================================================================
   BOARD MEMBERS
   ================================================================ */
.board-section { background: var(--gray-50); padding: 6rem 0; }
.board-section .tagline {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}
.board-section .section-header h2 { color: var(--background); border-bottom-color: var(--primary); }

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.member-photo {
  width: 220px;
  height: 260px;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 100%);
  padding: 3px;
  box-shadow:
    0 0 0 1px rgba(212, 181, 114, 0.4),
    0 12px 28px -8px rgba(15, 28, 46, 0.25),
    0 4px 10px -2px rgba(212, 181, 114, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.member-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, transparent 30%, transparent 70%, var(--primary) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.35s ease;
}
.member-card:hover .member-photo {
  transform: translateY(-8px);
  box-shadow:
    0 0 0 2px rgba(212, 181, 114, 0.7),
    0 24px 48px -12px rgba(15, 28, 46, 0.4),
    0 8px 20px -4px rgba(212, 181, 114, 0.35);
}
.member-card:hover .member-photo::before { opacity: 1; }
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(1rem - 3px);
  display: block;
  transition: transform 0.5s ease;
}
.member-card:hover .member-photo img { transform: scale(1.04); }
.member-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--background);
  margin-bottom: 0.4rem;
  line-height: 1.4;
  transition: color 0.25s ease;
}
.member-card .role {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.5;
}
.member-card:hover h3 { color: var(--primary); }
a.member-card { color: inherit; }

@media (max-width: 768px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .member-photo { width: 100%; max-width: 180px; height: 210px; }
}

/* ================================================================
   JOIN CTA
   ================================================================ */
.join-cta {
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--background), var(--background-light), var(--background));
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-2xl);
}
.join-cta::before, .join-cta::after {
  content: '';
  position: absolute;
  width: 16rem; height: 16rem;
  background: var(--primary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(80px);
}
.join-cta::before { top: -5rem; right: -5rem; }
.join-cta::after { bottom: -5rem; left: -5rem; }
.join-cta-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.join-cta-icon {
  width: 64px; height: 64px;
  background: rgba(212,181,114,0.2);
  border: 1px solid rgba(212,181,114,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.join-cta-icon svg { width: 32px; height: 32px; color: var(--primary); }
.join-cta h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; font-weight: 700; }
.join-cta p { color: var(--gray-300); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.7; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--background);
  color: #fff;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img { height: 80px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-brand h2 { color: var(--primary); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--gray-400); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }

.footer h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  padding-right: 0.75rem;
  border-right: 2px solid var(--primary);
}
body[dir="ltr"] .footer h3 { padding-right: 0; padding-left: 0.75rem; border-right: none; border-left: 2px solid var(--primary); }

.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 0.75rem; font-size: 0.875rem; color: var(--gray-400); display: flex; align-items: flex-start; gap: 0.75rem; }
.footer ul li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer ul li a { color: var(--gray-400); transition: color 0.2s; }
.footer ul li a:hover { color: var(--primary); }

.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--primary); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-bottom-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.footer-bottom-brand img { height: 96px; margin-bottom: 1.5rem; }
.footer-bottom-brand h2 {
  font-size: 1.75rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.footer-bottom-brand p { color: var(--gray-400); max-width: 30rem; margin: 0 auto; font-weight: 700; font-size: 1.05rem; line-height: 1.7; }
.footer-copyright { color: var(--gray-500); font-size: 0.85rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-dev { display: block; margin-top: 0.5rem; font-size: 0.8rem; color: var(--gray-600); }
.footer-dev:hover { color: var(--primary); }

/* ================================================================
   PAGE HEADER (about, news single, etc.)
   ================================================================ */
.page-header {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 100%);
  color: #fff;
  padding: 7rem 0 4rem;
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.page-header .subtitle { color: var(--gray-400); }

.page-content {
  padding: 4rem 0;
}
.page-content .container { max-width: 56rem; }
.page-content p, .page-content li { margin-bottom: 1rem; line-height: 1.9; font-size: 1.05rem; color: var(--gray-700); }
.page-content h2, .page-content h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--background); font-weight: 700; }
.page-content ul, .page-content ol { padding-right: 1.5rem; margin-bottom: 1rem; }
body[dir="ltr"] .page-content ul, body[dir="ltr"] .page-content ol { padding-right: 0; padding-left: 1.5rem; }

/* ================================================================
   CARDS (generic for news listing, etc.)
   ================================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--gray-100); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.5rem; }
.card-tag { color: var(--primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.card h3 { font-size: 1.15rem; margin: 0.5rem 0 0.75rem; color: var(--background); line-height: 1.4; font-weight: 700; }
.card p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.6; }
.card .meta { font-size: 0.85rem; color: var(--gray-500); margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; }

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.form-group label .required { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 120px; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border-left: 4px solid;
  background: var(--gray-50);
  font-size: 0.95rem;
}
body[dir="rtl"] .alert { border-left: none; border-right: 4px solid; }
.alert-success { border-color: var(--success); background: #d1fae5; color: #065f46; }
.alert-error { border-color: var(--danger); background: #fee2e2; color: #991b1b; }
.alert-info { border-color: var(--info); background: #dbeafe; color: #1e40af; }

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ================================================================
   ABOUT PAGE - Rich layout matching original
   ================================================================ */
.about-hero {
  background: linear-gradient(to bottom, var(--background) 0%, var(--background-light) 50%, var(--background) 100%);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.about-hero-decoration {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}
.about-hero-decoration::before, .about-hero-decoration::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.about-hero-decoration::before { top: 5rem; left: 2.5rem; width: 18rem; height: 18rem; background: rgba(212,181,114,0.2); }
.about-hero-decoration::after { bottom: 2.5rem; right: 2.5rem; width: 24rem; height: 24rem; background: rgba(212,181,114,0.1); }

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}
.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,181,114,0.1);
  border: 1px solid rgba(212,181,114,0.2);
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.about-hero-badge svg { width: 20px; height: 20px; color: var(--primary); }
.about-hero-badge span { color: var(--primary); font-weight: 700; font-size: 0.875rem; }
.about-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.about-hero p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--gray-400);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
}

.about-overview {
  background: var(--gray-50);
  padding: 5rem 0;
}
.about-overview .container { max-width: 56rem; }
.about-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.accent-line { width: 48px; height: 4px; background: var(--primary); border-radius: 2px; flex-shrink: 0; }
.about-section-head h2 { font-size: 1.75rem; font-weight: 700; color: var(--background); margin: 0; padding: 0; border: none; }
.about-overview-content p {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.9;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-vmv {
  background: var(--background);
  padding: 5rem 0;
}
.vmv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}
.vmv-card {
  background: var(--background);
  border: 1px solid rgba(212,181,114,0.2);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: all 0.3s;
}
.vmv-card:hover { border-color: rgba(212,181,114,0.5); transform: translateY(-4px); }
.vmv-mission { background: rgba(212,181,114,0.05); border-color: rgba(212,181,114,0.3); }
.vmv-icon {
  width: 64px; height: 64px;
  background: rgba(212,181,114,0.1);
  border-radius: var(--radius-2xl);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.vmv-card:hover .vmv-icon { background: rgba(212,181,114,0.2); }
.vmv-icon svg { width: 32px; height: 32px; color: var(--primary); }
.vmv-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.vmv-card p { color: var(--gray-400); line-height: 1.7; font-size: 0.95rem; }

.about-stats {
  background: rgba(212,181,114,0.05);
  border-top: 1px solid rgba(212,181,114,0.1);
  border-bottom: 1px solid rgba(212,181,114,0.1);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
.stat-item { text-align: center; }
.stat-icon {
  width: 56px; height: 56px;
  background: rgba(212,181,114,0.1);
  border-radius: var(--radius-2xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.stat-icon svg { width: 28px; height: 28px; color: var(--primary); }
.stat-num { font-size: 2.25rem; font-weight: 700; color: var(--background); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.875rem; color: var(--gray-500); font-weight: 700; }

.about-contact { background: var(--gray-50); padding: 4rem 0; }
.about-contact .container { max-width: 56rem; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.3s;
  color: inherit;
  text-decoration: none;
}
.contact-card:hover { border-color: rgba(212,181,114,0.3); }
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(212,181,114,0.1);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; color: var(--primary); }
.contact-card p { color: var(--gray-700); font-weight: 700; margin: 0; }

.about-cta {
  background: var(--background);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.about-cta::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 25%;
  width: 16rem;
  height: 16rem;
  background: rgba(212,181,114,0.2);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.about-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.about-cta h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1.5rem; font-weight: 700; }
.about-cta p { color: var(--gray-400); font-size: 1.0625rem; margin-bottom: 2rem; line-height: 1.7; }

/* ================================================================
   GOALS PAGE
   ================================================================ */
.goals-section { background: #fff; padding: 5rem 0; }
.goals-section .container { max-width: 72rem; }
.goals-divider { width: 96px; height: 4px; background: var(--primary); border-radius: 2px; margin: 0 auto 4rem; }
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}
.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  transition: background 0.2s;
}
.goal-item:hover { background: var(--gray-50); }
.goal-check {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.25rem;
}
.goal-check svg { width: 24px; height: 24px; }
.goal-item p { font-size: 1.0625rem; color: var(--gray-700); line-height: 1.7; font-weight: 700; margin: 0; }

/* ================================================================
   DEPARTMENTS PAGE
   ================================================================ */
.departments-section { background: var(--gray-50); padding: 5rem 0; }
.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}
.dept-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border-top: 4px solid var(--primary);
}
.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dept-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.dept-icon {
  font-size: 2.5rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,181,114,0.1);
  border-radius: var(--radius-xl);
  flex-shrink: 0;
}
.dept-card h3 { font-size: 1.25rem; color: var(--background); font-weight: 700; line-height: 1.4; margin: 0; }
.dept-desc { color: var(--gray-600); margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.6; }
.dept-items { list-style: none; padding: 0; }
.dept-items li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.dept-items li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }

/* ================================================================
   PROFILE PAGE (Dr. Walaa style)
   ================================================================ */
.profile-page {
  background: linear-gradient(to bottom, var(--background), var(--background-light));
  padding: 7rem 0 5rem;
  min-height: 100vh;
  color: #fff;
}
.profile-page .container { max-width: 64rem; }
.profile-content { color: #fff; }

.profile-header {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .profile-header { flex-direction: row; }
}
.profile-photo {
  flex-shrink: 0;
  margin: 0 auto;
  width: 256px;
  height: 320px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 4px solid rgba(212,181,114,0.3);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }

.profile-info {
  flex: 1;
  text-align: center;
}
@media (min-width: 768px) {
  .profile-info { text-align: start; }
}
.profile-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.profile-divider {
  width: 96px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 0 auto 1rem;
}
@media (min-width: 768px) {
  body[dir="rtl"] .profile-divider { margin-right: 0; }
  body[dir="ltr"] .profile-divider { margin-left: 0; }
}
.profile-position {
  font-size: 1.15rem;
  color: var(--gray-300);
  font-weight: 700;
  margin: 0;
}
.profile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .profile-contact { justify-content: flex-start; }
}
.profile-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,181,114,0.1);
  border: 1px solid rgba(212,181,114,0.3);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.profile-contact-btn:hover { background: rgba(212,181,114,0.2); }
.profile-contact-btn svg { width: 16px; height: 16px; }

.profile-bio {
  margin-top: 4rem;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
  .profile-bio { padding: 3rem; }
}
.profile-bio p {
  font-size: 1.0625rem;
  color: var(--gray-300);
  line-height: 1.9;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: justify;
}
.profile-bio p:last-child { margin-bottom: 0; }

.profile-tags {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.profile-tag {
  background: rgba(212,181,114,0.1);
  border: 1px solid rgba(212,181,114,0.3);
  border-radius: var(--radius-xl);
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 200px;
}
.tag-label {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.tag-value {
  display: block;
  color: #fff;
  font-size: 0.875rem;
}

.profile-back {
  margin-top: 3rem;
  text-align: center;
}
.profile-back .btn-outline {
  background: rgba(212,181,114,0.05);
  border-color: rgba(212,181,114,0.4);
  color: var(--primary);
}
.profile-back .btn-outline:hover {
  background: var(--primary);
  color: var(--background);
}
body[dir="rtl"] .profile-back .btn-outline svg { transform: scaleX(-1); }

/* ================================================================
   IMPROVED STATS SECTION (about page)
   ================================================================ */
.about-stats {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 50%, var(--background) 100%);
  border-top: none;
  border-bottom: none;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.about-stats::before, .about-stats::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.about-stats::before { top: -5rem; left: 10%; width: 20rem; height: 20rem; background: rgba(212,181,114,0.1); }
.about-stats::after { bottom: -5rem; right: 10%; width: 24rem; height: 24rem; background: rgba(212,181,114,0.08); }
.about-stats .stats-grid { position: relative; z-index: 2; }
.about-stats .stat-item {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,181,114,0.2);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.5rem;
  transition: all 0.3s;
}
.about-stats .stat-item:hover {
  border-color: rgba(212,181,114,0.5);
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}
.about-stats .stat-icon {
  background: rgba(212,181,114,0.15);
  border: 1px solid rgba(212,181,114,0.3);
  width: 64px; height: 64px;
}
.about-stats .stat-icon svg { width: 32px; height: 32px; color: var(--primary); }
.about-stats .stat-num { color: var(--primary); font-size: 2.5rem; }
.about-stats .stat-label { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 50%, var(--background) 100%);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.contact-hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-hero-decoration::before, .contact-hero-decoration::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.contact-hero-decoration::before { top: 10%; left: 10%; width: 18rem; height: 18rem; background: rgba(212,181,114,0.15); }
.contact-hero-decoration::after { bottom: 10%; right: 10%; width: 20rem; height: 20rem; background: rgba(212,181,114,0.1); }

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}
.contact-hero-icon {
  width: 80px; height: 80px;
  background: rgba(212,181,114,0.15);
  border: 2px solid rgba(212,181,114,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.contact-hero-icon svg { width: 40px; height: 40px; color: var(--primary); }
.contact-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.contact-hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-300);
  line-height: 1.7;
}

.contact-main {
  background: var(--gray-50);
  padding: 5rem 0;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Info Panel */
.contact-info-panel {
  background: linear-gradient(135deg, var(--background), var(--background-light));
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-info-panel::before {
  content: '';
  position: absolute;
  top: -3rem; right: -3rem;
  width: 12rem; height: 12rem;
  background: rgba(212,181,114,0.1);
  border-radius: 50%;
  filter: blur(40px);
}
.contact-info-panel h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
  border: none;
  display: inline-block;
}
.contact-info-panel h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.contact-info-list {
  position: relative;
  z-index: 2;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
a.contact-info-item:hover { opacity: 0.85; }
.contact-info-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(212,181,114,0.15);
  border: 1px solid rgba(212,181,114,0.3);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 22px; height: 22px; color: var(--primary); }
.info-label {
  display: block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-info-item p {
  color: rgba(255,255,255,0.95);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}
.contact-social a {
  width: 40px; height: 40px;
  background: rgba(212,181,114,0.1);
  border: 1px solid rgba(212,181,114,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: all 0.2s;
}
.contact-social a:hover { background: var(--primary); color: var(--background); transform: translateY(-2px); }
.contact-social svg { width: 18px; height: 18px; }

/* Form Panel */
.contact-form-panel, .membership-form-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
}
.form-header { margin-bottom: 2rem; }
.form-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--background);
  margin: 0 0 0.5rem;
  padding: 0;
  border: none;
}
.form-header p { color: var(--gray-500); margin: 0; font-size: 0.95rem; }

.contact-form, .membership-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--background);
  margin-bottom: 0.5rem;
}
.form-group label svg { width: 16px; height: 16px; color: var(--primary); }
.form-group label .required { color: var(--danger); }

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--gray-900);
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212,181,114,0.15);
}
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

.form-submit {
  margin-top: 1rem;
  align-self: stretch;
  justify-content: center;
  gap: 0.75rem;
}

/* Success state */
.contact-success { background: var(--gray-50); padding: 5rem 0; }
.success-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
}
.success-icon {
  width: 96px; height: 96px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-icon svg { width: 48px; height: 48px; }
.success-card h2 {
  font-size: 1.75rem;
  color: var(--background);
  margin-bottom: 1rem;
  font-weight: 700;
}
.success-card p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ================================================================
   MEMBERSHIP PAGE
   ================================================================ */
.membership-hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 50%, var(--background) 100%);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.membership-hero-decoration::before {
  content: '';
  position: absolute;
  top: -10rem; right: -10rem;
  width: 24rem; height: 24rem;
  background: rgba(212,181,114,0.15);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.membership-hero-decoration::after {
  content: '';
  position: absolute;
  bottom: -10rem; left: -10rem;
  width: 24rem; height: 24rem;
  background: rgba(212,181,114,0.12);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.membership-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4b572' fill-opacity='0.6'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.membership-hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  margin-top: 2rem;
}
.membership-hero-icon {
  width: 64px; height: 64px;
  background: rgba(212,181,114,0.2);
  border: 1px solid rgba(212,181,114,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.membership-hero-icon svg { width: 32px; height: 32px; color: var(--primary); }
.membership-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.membership-hero p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--gray-300);
  line-height: 1.7;
  max-width: 40rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.8; }
body[dir="rtl"] .back-link svg { transform: scaleX(-1); }

.membership-form-section {
  background: var(--gray-50);
  padding: 4rem 0 5rem;
}
.membership-form-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
}
@media (max-width: 768px) {
  .membership-form-card { padding: 2rem 1.5rem; }
}

.form-section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-100);
}
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.form-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--background);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: none;
}
.form-section-title svg { width: 22px; height: 22px; color: var(--primary); }

/* ================================================================
   RESEARCH PAGE (Listing + Single)
   ================================================================ */
.research-hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 50%, var(--background) 100%);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.research-hero-decoration {
  position: absolute; inset: 0; pointer-events: none;
}
.research-hero-decoration::before, .research-hero-decoration::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
}
.research-hero-decoration::before { top: 10%; left: 5%; width: 18rem; height: 18rem; background: rgba(212,181,114,0.15); }
.research-hero-decoration::after { bottom: 10%; right: 5%; width: 22rem; height: 22rem; background: rgba(212,181,114,0.1); }

.research-hero-content {
  position: relative; z-index: 2;
  max-width: 48rem; margin: 0 auto; text-align: center;
}
.research-hero-badge {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  background: rgba(212,181,114,0.1);
  border: 1px solid rgba(212,181,114,0.3);
  border-radius: 999px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.research-hero-badge svg { width: 18px; height: 18px; color: var(--primary); }
.research-hero-badge span { color: var(--primary); font-weight: 700; font-size: 0.85rem; }
.research-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 1rem; font-weight: 700; }
.research-hero p { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--gray-300); line-height: 1.7; }

.research-list { background: var(--gray-50); padding: 5rem 0; }
.research-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.research-list-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: all 0.3s;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.research-list-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}
body[dir="ltr"] .research-list-card::before { transform-origin: left; }
.research-list-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,181,114,0.3);
}
.research-list-card:hover::before { transform: scaleX(1); }
.research-list-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(212,181,114,0.15), rgba(212,181,114,0.05));
  border: 1px solid rgba(212,181,114,0.2);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}
.research-list-card:hover .research-list-icon {
  background: var(--primary);
  color: var(--background);
  transform: scale(1.05);
}
.research-list-icon svg { width: 32px; height: 32px; }
.research-list-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--background);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.2s;
}
.research-list-card:hover h3 { color: var(--primary); }
.research-list-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.research-list-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: auto;
}
.research-list-arrow svg { width: 16px; height: 16px; transition: transform 0.3s; }
body[dir="rtl"] .research-list-arrow svg { transform: scaleX(-1); }
.research-list-card:hover .research-list-arrow svg { transform: translateX(-4px) scaleX(-1); }
body[dir="ltr"] .research-list-card:hover .research-list-arrow svg { transform: translateX(4px); }

/* Research single hero */
.research-single-hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 50%, var(--background) 100%);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.research-single-decoration {
  position: absolute; inset: 0; pointer-events: none;
}
.research-single-decoration::before {
  content: ''; position: absolute; top: -3rem; right: 20%;
  width: 18rem; height: 18rem;
  background: rgba(212,181,114,0.15);
  border-radius: 50%; filter: blur(80px);
}
.research-single-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 50rem; margin: 0 auto;
}
.research-single-icon {
  width: 96px; height: 96px;
  background: rgba(212,181,114,0.15);
  border: 2px solid rgba(212,181,114,0.3);
  border-radius: var(--radius-2xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary);
}
.research-single-icon svg { width: 48px; height: 48px; }
.research-single-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.research-single-hero p {
  color: var(--gray-300);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.research-single-content-section {
  background: var(--gray-50);
  padding: 5rem 0;
}
.research-content { font-size: 1.05rem; line-height: 1.8; color: var(--gray-700); }
.research-content p { margin-bottom: 1.25rem; }

.research-related { background: #fff; padding: 5rem 0; border-top: 1px solid var(--gray-100); }

/* ================================================================
   PUBLICATIONS PAGE
   ================================================================ */
.pub-hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--background-light) 50%, var(--background) 100%);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.pub-hero-decoration { position: absolute; inset: 0; pointer-events: none; opacity: 0.6; }
.pub-hero-decoration::before, .pub-hero-decoration::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(120px);
}
.pub-hero-decoration::before { top: 5rem; right: 5rem; width: 24rem; height: 24rem; background: rgba(212,181,114,0.2); }
.pub-hero-decoration::after { bottom: 0; left: 5rem; width: 20rem; height: 20rem; background: rgba(59,130,246,0.15); }

.pub-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 900px) { .pub-hero-grid { grid-template-columns: 3fr 2fr; } }

.pub-hero-info {}

.pub-tag-badge {
  display: inline-block;
  background: rgba(212,181,114,0.2);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.pub-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.pub-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  font-size: 0.95rem;
}
.pub-meta-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

.pub-affiliation {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}
.pub-affiliation svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.pub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pub-actions .btn { background: var(--primary); color: var(--background); font-weight: 700; }
.pub-actions .btn:hover { background: var(--primary-dark); }
.pub-actions .btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.pub-actions .btn-outline:hover { background: var(--primary); color: var(--background); }

.pub-hero-cover {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pub-hero-cover img {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  border: 4px solid rgba(212,181,114,0.2);
  transition: transform 0.5s;
}
.pub-hero-cover img:hover { transform: scale(1.03); }

/* Body */
.pub-body {
  background: var(--gray-50);
  padding: 4rem 0 5rem;
}
.pub-body-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) { .pub-body-grid { grid-template-columns: 2fr 1fr; } }

.pub-main { display: flex; flex-direction: column; gap: 2rem; }

.pub-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.pub-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.pub-card-icon {
  width: 40px; height: 40px;
  background: rgba(212,181,114,0.1);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pub-card-icon svg { width: 22px; height: 22px; color: var(--primary); }
.pub-card-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--background);
  margin: 0;
  padding: 0;
  border: none;
}
.pub-card-body p {
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.pub-card-body p:last-child { margin-bottom: 0; }

.findings-list { list-style: none; padding: 0; margin: 0; }
.findings-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-size: 1rem;
}
.findings-list li:last-child { margin-bottom: 0; }
.findings-list svg {
  width: 24px; height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pub-rich-content { line-height: 1.8; color: var(--gray-700); }
.pub-rich-content p { margin-bottom: 1rem; }

.pub-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.pub-info-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.pub-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--background);
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.pub-info-list { display: flex; flex-direction: column; gap: 0.85rem; }
.pub-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9rem;
}
.pub-info-row .label {
  color: var(--gray-500);
  flex-shrink: 0;
}
.pub-info-row .value {
  color: var(--background);
  font-weight: 700;
  text-align: end;
}

.pub-download-card {
  background: linear-gradient(135deg, var(--background), #1e293b);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pub-download-card::before {
  content: '';
  position: absolute;
  top: -3rem; right: -3rem;
  width: 8rem; height: 8rem;
  background: rgba(212,181,114,0.15);
  border-radius: 50%;
  filter: blur(40px);
}
.pub-download-card > * { position: relative; z-index: 2; }
.pub-download-card h3 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.pub-download-card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.pub-download-card .btn-primary { background: var(--primary); color: var(--background); }
.pub-download-card .btn-outline { color: var(--primary); border-color: var(--primary); background: transparent; }
.pub-download-card .btn-outline:hover { background: var(--primary); color: var(--background); }
.pub-downloads-count {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.75rem;
}

/* Publications listing */
.pub-list-section { background: var(--gray-50); padding: 4rem 0 5rem; }
.pub-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 600px) { .pub-list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pub-list-grid { grid-template-columns: repeat(3, 1fr); } }

.pub-list-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.pub-list-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,181,114,0.3);
}
.pub-list-cover {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.pub-list-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.pub-list-card:hover .pub-list-cover img { transform: scale(1.05); }
.pub-list-info { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pub-list-info .pub-tag-badge {
  background: rgba(212,181,114,0.12);
  font-size: 0.7rem;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem;
  align-self: flex-start;
}
.pub-list-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--background);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.pub-author { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 0.75rem; font-weight: 600; }
.pub-list-desc { color: var(--gray-600); font-size: 0.875rem; line-height: 1.7; flex: 1; margin-bottom: 1rem; }
.pub-list-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-100);
}
body[dir="rtl"] .pub-list-arrow svg { transform: scaleX(-1); }
.pub-list-card:hover .pub-list-arrow { color: var(--primary-dark); }

/* ================================================================
   PDF PREVIEW MODAL
   ================================================================ */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pdf-modal.open { display: flex; }
.pdf-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}
.pdf-modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-2xl);
  max-width: 1200px;
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}
.pdf-modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--gray-50);
  flex-shrink: 0;
}
.pdf-modal-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--background);
  margin: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-modal-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.pdf-modal-close {
  background: var(--gray-200);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-700);
  display: flex; align-items: center; justify-content: center;
}
.pdf-modal-close:hover { background: var(--gray-300); }
.pdf-modal-body { flex: 1; overflow: hidden; }
.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--gray-100);
}

/* ================================================================
   PUBLICATION - Book sections (quote, launch details)
   ================================================================ */
.pub-quote-card { background: linear-gradient(135deg, #fdf6e3, #fef9e9); border-left: 4px solid var(--primary); }
body[dir="rtl"] .pub-quote-card { border-left: none; border-right: 4px solid var(--primary); }
.author-quote {
  margin: 0;
  padding: 0.5rem 0;
  border: none;
  position: relative;
}
.author-quote p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 1rem;
}
.author-quote p:last-child { margin-bottom: 0; }
.author-quote p:first-child::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 0;
  vertical-align: -0.4em;
  margin-inline-end: 0.25rem;
  font-family: serif;
}

.pub-launch-card {
  background: linear-gradient(135deg, #fff8ec, #ffffff);
  border-top: 4px solid var(--primary);
}
.pub-launch-card h3 {
  color: var(--background);
  border-bottom-color: rgba(212,181,114,0.3);
}
.pub-info-stack {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0.35rem;
}
.pub-info-stack .value { text-align: start; }

/* ================================================================
   ABOUT - Goals section (merged in)
   ================================================================ */
.about-goals {
  background: #fff;
  padding: 5rem 0;
  border-top: 1px solid var(--gray-100);
}
.about-goals .container { max-width: 72rem; }
.about-goals .about-section-head { margin-bottom: 2.5rem; }


/* ================================================================
   LEADERSHIP PAGE (Premium redesign)
   ================================================================ */
.ldr-hero {
  background: linear-gradient(135deg, #0a1525 0%, var(--background-light) 55%, #0a1525 100%);
  padding: 7rem 0 9rem;
  position: relative;
  overflow: hidden;
}
.ldr-hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.ldr-hero-glow-1 { top: -4rem; right: 6%; width: 26rem; height: 26rem; background: rgba(212,181,114,0.18); }
.ldr-hero-glow-2 { bottom: -6rem; left: 4%; width: 28rem; height: 28rem; background: rgba(59,90,150,0.22); }
.ldr-hero-pattern {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d4b572' stroke-width='0.5'/%3E%3C/svg%3E");
}
.ldr-hero-content { position: relative; z-index: 2; max-width: 52rem; margin: 0 auto; text-align: center; }
.ldr-hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(212,181,114,0.1);
  border: 1px solid rgba(212,181,114,0.35);
  border-radius: 999px; padding: 0.55rem 1.6rem; margin-bottom: 1.75rem;
}
.ldr-hero-badge svg { width: 18px; height: 18px; color: var(--primary); }
.ldr-hero-badge span { color: var(--primary); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em; }
.ldr-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem); color: #fff; margin-bottom: 1.25rem; font-weight: 800; line-height: 1.2;
}
.ldr-hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--gray-300); line-height: 1.9; }

.ldr-body {
  background: var(--gray-50);
  padding-bottom: 5rem;
}
.ldr-body .container { max-width: 1140px; }

/* Chairperson featured card - pulled up over hero */
.ldr-chair {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15,28,46,0.35), 0 0 0 1px rgba(212,181,114,0.2);
  margin-top: -6rem;
  position: relative;
  z-index: 5;
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.ldr-chair.is-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -20px rgba(15,28,46,0.45), 0 0 0 1px rgba(212,181,114,0.5);
}
.ldr-chair-photo {
  position: relative;
  background: linear-gradient(135deg, var(--background), var(--background-light));
  min-height: 380px;
  overflow: hidden;
}
.ldr-chair-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ldr-chair-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,28,46,0.4), transparent 40%);
}
.ldr-chair-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.ldr-chair-info::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  inset-inline-start: 0;
  width: 4px;
  height: 60px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}
body[dir="rtl"] .ldr-chair-info::before { border-radius: 4px 0 0 4px; }
.ldr-chair-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.ldr-chair-info h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--background);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  border: none; padding: 0;
}
.ldr-chair.is-link:hover .ldr-chair-info h2 { color: var(--primary); }
.ldr-chair-position {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.ldr-chair-bio {
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.ldr-chair-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary); font-weight: 700; font-size: 0.9rem;
}
.ldr-chair-more svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
body[dir="rtl"] .ldr-chair-more svg { transform: scaleX(-1); }
.ldr-chair.is-link:hover .ldr-chair-more svg { transform: translateX(-5px) scaleX(-1); }
body[dir="ltr"] .ldr-chair.is-link:hover .ldr-chair-more svg { transform: translateX(5px); }

@media (max-width: 768px) {
  .ldr-chair { grid-template-columns: 1fr; margin-top: -4rem; }
  .ldr-chair-photo { min-height: 320px; }
  .ldr-chair-info { padding: 2rem; }
}

/* Section divider */
.ldr-section-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 4.5rem 0 2.5rem;
}
.ldr-section-head h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--background);
  white-space: nowrap;
  border: none; padding: 0; margin: 0;
}
.ldr-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gray-300), transparent); }

/* Trustees grid */
.ldr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 600px) { .ldr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 950px) { .ldr-grid { grid-template-columns: repeat(3, 1fr); } }

.ldr-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(15,28,46,0.12);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.ldr-card.is-link { cursor: pointer; }
.ldr-card.is-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -16px rgba(15,28,46,0.3);
  border-color: rgba(212,181,114,0.4);
}
.ldr-card-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--background), var(--background-light));
  overflow: hidden;
}
.ldr-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.6s ease;
}
.ldr-card.is-link:hover .ldr-card-photo img { transform: scale(1.06); }
.ldr-card-overlay {
  position: absolute; inset: 0;
  background: rgba(15,28,46,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s ease;
}
.ldr-card.is-link:hover .ldr-card-overlay { opacity: 1; }
.ldr-card-overlay svg {
  width: 44px; height: 44px; color: var(--primary);
  background: rgba(255,255,255,0.1);
  padding: 10px; border-radius: 50%;
  border: 1px solid rgba(212,181,114,0.5);
}
.ldr-photo-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(212,181,114,0.4);
}
.ldr-photo-ph svg { width: 56px; height: 56px; }
.ldr-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}
.ldr-card-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--background);
  margin-bottom: 0.4rem;
  line-height: 1.4;
  transition: color 0.25s ease;
}
.ldr-card.is-link:hover .ldr-card-info h3 { color: var(--primary); }
.ldr-card-position {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}
.ldr-card-bio {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: auto;
}

/* CTA */
.ldr-cta {
  margin-top: 5rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: linear-gradient(135deg, var(--background), #16273f, var(--background));
  padding: 4rem 2rem;
  text-align: center;
}
.ldr-cta-glow {
  position: absolute; top: -8rem; left: 50%; transform: translateX(-50%);
  width: 30rem; height: 30rem;
  background: rgba(212,181,114,0.12);
  border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.ldr-cta-inner { position: relative; z-index: 2; max-width: 44rem; margin: 0 auto; }
.ldr-cta-icon {
  width: 72px; height: 72px;
  background: rgba(212,181,114,0.15);
  border: 1px solid rgba(212,181,114,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
}
.ldr-cta-icon svg { width: 36px; height: 36px; color: var(--primary); }
.ldr-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.25rem; font-weight: 800; border: none; padding: 0; }
.ldr-cta p { color: var(--gray-300); font-size: 1.05rem; line-height: 1.9; margin-bottom: 2rem; }
