/* ========================================
   FDC - هيئة المستقبل للتنمية
   Modern Design System
======================================== */

:root {
  --red: #E30613;
  --red-dark: #B30410;
  --red-light: #ff2a3a;
  --green: #1E8F3E;
  --green-dark: #146a2c;
  --green-light: #34c759;
  --black: #0a0a0a;
  --gray-900: #1a1a1a;
  --gray-800: #2a2a2a;
  --gray-700: #444;
  --gray-500: #777;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #fafafa;
  --white: #ffffff;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
  --shadow-red: 0 10px 30px rgba(227,6,19,0.25);
  --shadow-green: 0 10px 30px rgba(30,143,62,0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
  --container: 1240px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  direction: rtl;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

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

/* ============ TOP BAR ============ */
.topbar {
  background: linear-gradient(90deg, var(--black) 0%, var(--gray-900) 100%);
  color: var(--gray-300);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 2px solid var(--red);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info i { color: var(--red); }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: var(--transition);
  font-size: 13px;
}
.topbar-social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

/* ============ HEADER ============ */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo-mark {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--white), var(--gray-100));
  display: grid; place-items: center;
  padding: 4px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gray-100);
}
.logo-mark img { border-radius: 50%; width: 100%; height: 100%; object-fit: contain; }
.logo-text h1 { font-size: 18px; font-weight: 800; color: var(--black); line-height: 1.2; }
.logo-text span { font-size: 11px; color: var(--red); font-weight: 700; letter-spacing: 1px; }

.nav ul { display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav .nav-mobile-brand,
.nav .nav-mobile-close { display: none !important; }
.nav .nav-mobile-brand img { max-width: 48px; max-height: 48px; }
.nav .nav-mobile-brand::before { display: none !important; }
.nav li { position: relative; }
.nav a {
  display: block;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}
.nav a::before {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--green));
  border-radius: 3px;
  transition: width var(--transition);
}
.nav a:hover, .nav a.active, .nav .current-menu-item > a, .nav .current-menu-ancestor > a { color: var(--red); }
.nav a:hover::before, .nav a.active::before, .nav .current-menu-item > a::before, .nav .current-menu-ancestor > a::before { width: 60%; }

/* ===== Submenus (dropdown) ===== */
.nav .menu-item-has-children > a { padding-left: 28px; }
.nav .menu-item-has-children > a::after {
  content: '\f107'; /* fa-chevron-down */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--gray-600);
  transition: transform var(--transition);
}
.nav .menu-item-has-children:hover > a::after,
.nav .menu-item-has-children.is-open > a::after { transform: translateY(-50%) rotate(-180deg); color: var(--red); }

.nav .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg, 0 12px 30px rgba(0,0,0,.12));
  border: 1px solid var(--gray-100);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 1000;
  list-style: none;
}
.nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -8px; right: 24px;
  border: 8px solid transparent;
  border-bottom-color: #fff;
  filter: drop-shadow(0 -1px 0 var(--gray-100));
}
.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu,
.nav li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav .sub-menu a {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav .sub-menu a::before { display: none; }
.nav .sub-menu a:hover,
.nav .sub-menu .current-menu-item > a { background: var(--gray-50, #f6f7f9); color: var(--red); }

/* nested (level 3+) — open to the left in RTL */
.nav .sub-menu .menu-item-has-children > a::after {
  content: '\f104'; /* chevron-left */
  left: 10px;
}
.nav .sub-menu .sub-menu {
  top: -8px;
  right: 100%;
  margin-right: 6px;
}
.nav .sub-menu .sub-menu::before { display: none; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
}
.header-cta:hover { background: var(--red-dark); transform: translateY(-2px); color: #fff; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--red);
  font-size: 22px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-3px); color:#fff; }
.btn-secondary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-secondary:hover { background: var(--green-dark); transform: translateY(-3px); color:#fff; }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--red); }
.btn-ghost {
  background: rgba(255,255,255,0.9);
  color: var(--red);
}
.btn-ghost:hover { background: #fff; }

/* ============ HERO SLIDER (Owl) ============ */
.hero-slider {
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.hero-slide {
  position: relative;
  min-height: 640px;
  color: #fff;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.75) 50%, rgba(179,4,16,0.35) 100%);
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 60%, rgba(227,6,19,0.35), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(30,143,62,0.3), transparent 45%);
  pointer-events: none;
}
.hero-slide-inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 80px 0;
}
.hero-slide .badge-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
  box-shadow: var(--shadow-red);
}
.hero-slide .badge-cat i { font-size: 11px; }
.hero-slide h2 {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-slide p {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 30px;
  max-width: 680px;
  line-height: 1.8;
}
.hero-slide .slide-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  flex-wrap: wrap;
}
.hero-slide .slide-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-slide .slide-meta i { color: var(--red); }
.hero-slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Owl overrides */
.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}
.owl-carousel .owl-nav button {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25) !important;
  font-size: 22px !important;
  transition: var(--transition);
  pointer-events: auto;
  z-index: 10;
}
.owl-carousel .owl-nav button:hover {
  background: var(--red) !important;
  border-color: var(--red) !important;
  transform: scale(1.1);
}
.owl-carousel .owl-nav button span { display: none; }
.owl-carousel .owl-nav .owl-prev::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.owl-carousel .owl-nav .owl-next::before { content: '\f104'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }

.owl-carousel .owl-dots {
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  text-align: center;
  z-index: 5;
}
.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}
.owl-carousel .owl-dots .owl-dot span {
  display: block;
  width: 12px !important;
  height: 12px !important;
  background: rgba(255,255,255,0.3) !important;
  border-radius: 50% !important;
  transition: var(--transition);
}
.owl-carousel .owl-dots .owl-dot.active span,
.owl-carousel .owl-dots .owl-dot:hover span {
  background: var(--red) !important;
  width: 32px !important;
  border-radius: 6px !important;
}

/* Legacy hero (kept for other pages) */
.hero {
  position: relative;
  min-height: 620px;
  background:
    linear-gradient(120deg, rgba(10,10,10,0.85) 0%, rgba(179,4,16,0.75) 50%, rgba(20,106,44,0.7) 100%),
    url('https://images.unsplash.com/photo-1593113630400-ea4288922497?w=1600&q=80') center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(227,6,19,0.35), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(30,143,62,0.35), transparent 45%);
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 80h1440V40C1200 60 900 20 720 30S240 60 0 40z'/%3E%3C/svg%3E") no-repeat center/cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h2 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  animation: fadeUp 0.9s ease;
}
.hero h2 .highlight {
  background: linear-gradient(90deg, #ff6b6b, #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 34px;
  max-width: 620px;
  animation: fadeUp 1s ease;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 1.1s ease; }

.hero-stats {
  position: absolute;
  bottom: 90px;
  left: 24px;
  right: auto;
  z-index: 3;
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-stat { text-align: center; padding: 0 18px; border-inline-start: 1px solid rgba(255,255,255,0.2); }
.hero-stat:first-child { border: none; }
.hero-stat strong { display: block; font-size: 26px; font-weight: 900; color: #fff; }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.8); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0.7); }
  50% { box-shadow: 0 0 0 10px rgba(52,199,89,0); }
}

/* ============ SECTION ============ */
.section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(227,6,19,0.1);
  color: var(--red);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span {
  color: var(--red);
  position: relative;
}
.section-title span::after {
  content: '';
  position: absolute;
  bottom: -5px; right: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
  border-radius: 2px;
}
.section-desc { font-size: 17px; color: var(--gray-500); }

/* ============ ABOUT PREVIEW ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(227,6,19,0.15), rgba(30,143,62,0.15)),
    url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=800&q=80') center/cover;
}
.about-badge-float {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: #fff;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 240px;
}
.about-badge-float .num {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  font-size: 24px;
  font-weight: 900;
}
.about-badge-float strong { display: block; color: var(--black); font-size: 16px; }
.about-badge-float span { font-size: 13px; color: var(--gray-500); }

.about-content h3 {
  font-size: 32px;
  color: var(--black);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-content p { color: var(--gray-700); margin-bottom: 24px; font-size: 16px; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.about-feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.about-feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(30,143,62,0.1);
  color: var(--green);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.about-feature h4 { font-size: 16px; margin-bottom: 4px; color: var(--black); }
.about-feature p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 70px; height: 70px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid; place-items: center;
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-red);
}
.service-card:nth-child(2n) .service-icon {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: var(--shadow-green);
}
.service-card:nth-child(3n) .service-icon {
  background: linear-gradient(135deg, var(--black), var(--gray-800));
}
.service-icon img,
.service-icon svg {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1); /* اجعل شعارات PNG/SVG أحادية بيضاء تنسجم مع تدرج الخلفية */
}
.service-icon--img { padding: 12px; }
.service-card h3 { font-size: 20px; color: var(--black); margin-bottom: 12px; }
.service-card p { color: var(--gray-500); font-size: 15px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}
.service-link:hover { gap: 12px; }

/* ============ NEWS ============ */
.news-bg { background: var(--gray-50); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--green));
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-thumb img { transform: scale(1.08); }
.news-date {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--red);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.news-category {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--red);
  color: #fff;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.news-body { padding: 24px; }
.news-body h3 { font-size: 18px; color: var(--black); margin-bottom: 10px; line-height: 1.5; }
.news-body h3 a:hover { color: var(--red); }
.news-body p { color: var(--gray-500); font-size: 14px; margin-bottom: 16px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--gray-100); font-size: 13px; color: var(--gray-500); }
.news-meta a { color: var(--green); font-weight: 700; }

/* ============ COUNTER ============ */
.counter-section {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.counter-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(227,6,19,0.15), transparent 60%);
}
.counter-section::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(30,143,62,0.15), transparent 60%);
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}
.counter-item { text-align: center; padding: 20px; }
.counter-item i { font-size: 40px; color: var(--red); margin-bottom: 12px; }
.counter-item:nth-child(2n) i { color: var(--green-light); }
.counter-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
  filter: brightness(0) invert(1); /* اجعل الشعار أبيض على خلفية سكشن العدّاد الداكنة */
}
.counter-num {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(180deg, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.counter-label { color: rgba(255,255,255,0.7); font-size: 15px; margin-top: 4px; }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M30 30l15-15v30z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}
.cta-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-strip h3 { font-size: 30px; font-weight: 900; margin-bottom: 6px; }
.cta-strip p { opacity: 0.9; }

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(180deg, var(--black) 0%, #050505 100%);
  color: var(--gray-300);
  padding: 80px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green), var(--red));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.footer-about .footer-logo {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.footer-about .footer-logo img { width: 60px; height: 60px; background: #fff; border-radius: 50%; padding: 4px; }
.footer-about .footer-logo strong { color: #fff; font-size: 18px; display: block; }
.footer-about .footer-logo span { font-size: 12px; color: var(--red); font-weight: 700; }
.footer-about p { font-size: 14px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: #fff;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--gray-300); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '\203A'; color: var(--red); font-weight: bold; transform: rotate(180deg); display: inline-block; }
.footer-links a:hover { color: #fff; transform: translateX(-4px); }

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  align-items: flex-start;
}
.footer-contact li i {
  color: var(--red);
  width: 32px; height: 32px;
  background: rgba(227,6,19,0.15);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.footer-newsletter { margin-top: 16px; }
.footer-newsletter form {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  overflow: hidden;
  padding: 4px;
}
.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  outline: none;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter button {
  background: var(--red);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
}
.footer-newsletter button:hover { background: var(--red-dark); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: var(--red); font-weight: 700; }

/* ============ PAGE HEADER ============ */
.page-header {
  background:
    linear-gradient(120deg, rgba(10,10,10,0.9), rgba(179,4,16,0.75)),
    url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1600&q=80') center/cover;
  color: #fff;
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 60h1440V20C1200 40 900 0 720 10S240 40 0 20z'/%3E%3C/svg%3E") no-repeat center/cover;
}
.page-header h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; margin-bottom: 14px; }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: var(--red); }
.breadcrumb .current { color: #fff; font-weight: 700; }

/* ============ BOARD ============ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.board-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.board-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.board-photo {
  height: 300px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  position: relative;
  overflow: hidden;
}
.board-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
}
.board-photo i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 100px;
  color: var(--gray-300);
}
.board-social {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  transition: var(--transition);
}
.board-card:hover .board-social { opacity: 1; }
.board-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.95);
  color: var(--red);
  border-radius: 50%;
  display: grid; place-items: center;
}
.board-social a:hover { background: var(--red); color: #fff; }
.board-info { padding: 26px; }
.board-info h3 { font-size: 18px; color: var(--black); margin-bottom: 6px; }
.board-info p { color: var(--red); font-weight: 700; font-size: 14px; }

/* ============ RAWAFD YOUTH TEAM ============ */
.rawafd-section .section-tag i { margin-inline-end: 6px; }

.rawafd-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 60px;
}
.rawafd-intro-copy {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 32px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.rawafd-intro-copy::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
}
.rawafd-intro-copy p {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.95;
  margin: 0 0 14px;
}
.rawafd-intro-copy p:last-child { margin-bottom: 0; }
.rawafd-intro-copy strong { color: var(--black); }

.rawafd-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rawafd-stat {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition: var(--transition);
  border-inline-start: 4px solid var(--red);
}
.rawafd-stat:nth-child(2) { border-inline-start-color: var(--green); }
.rawafd-stat:nth-child(3) { border-inline-start-color: var(--black); }
.rawafd-stat:hover { transform: translateX(-4px); box-shadow: var(--shadow-md); }
.rawafd-stat strong {
  font-size: 34px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.rawafd-stat span { color: var(--gray-500); font-size: 14px; font-weight: 700; }

/* Vision + Mission */
.rawafd-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}
.rawafd-vm-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.rawafd-vm-card::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(227,6,19,0.1), transparent 70%);
  border-radius: 50%;
}
.rawafd-vm-card.mission::after { background: radial-gradient(circle, rgba(30,143,62,0.12), transparent 70%); }
.rawafd-vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rawafd-vm-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid; place-items: center;
  font-size: 26px;
  box-shadow: var(--shadow-red);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.rawafd-vm-card.mission .rawafd-vm-icon {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: var(--shadow-green);
}
.rawafd-vm-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  margin: 0 0 12px;
  position: relative; z-index: 1;
}
.rawafd-vm-card p {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  position: relative; z-index: 1;
}

/* Strategic goals */
.rawafd-goals-block { margin-bottom: 60px; }
.rawafd-goals-head { text-align: center; margin-bottom: 32px; }
.rawafd-goals-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(227,6,19,0.1);
  color: var(--red);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.rawafd-goals-head h3 {
  font-size: 26px;
  font-weight: 900;
  color: var(--black);
}
.rawafd-goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.rawafd-goal {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.rawafd-goal::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 6px; height: 100%;
  background: linear-gradient(180deg, var(--red), var(--green));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.rawafd-goal:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.rawafd-goal:hover::before { transform: scaleY(1); }
.rawafd-goal-num {
  position: absolute;
  top: 12px; left: 16px;
  font-size: 40px;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  transition: color .3s ease;
}
.rawafd-goal:hover .rawafd-goal-num { color: rgba(227,6,19,0.15); }
.rawafd-goal-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gray-50, #f6f7f9), var(--gray-100));
  color: var(--red);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
  transition: var(--transition);
}
.rawafd-goal:hover .rawafd-goal-icon {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  transform: rotate(-6deg);
}
.rawafd-goal p {
  color: var(--gray-800);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  font-weight: 600;
}

/* Document CTA card */
.rawafd-doc {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.rawafd-doc::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(227,6,19,0.25), transparent 70%);
}
.rawafd-doc:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.35); color: #fff; }
.rawafd-doc-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(255,255,255,.05);
  display: grid; place-items: center;
  position: relative; z-index: 1;
}
.rawafd-doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rawafd-doc-thumb-icon { color: var(--red); font-size: 80px; }
.rawafd-doc-body { position: relative; z-index: 1; }
.rawafd-doc-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(227,6,19,0.2);
  color: #ff8590;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.rawafd-doc-body h4 {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
}
.rawafd-doc-body p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.rawafd-doc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
}
.rawafd-doc:hover .rawafd-doc-btn { background: var(--red-dark); }

@media (max-width: 900px) {
  .rawafd-intro { grid-template-columns: 1fr; }
  .rawafd-vm-grid { grid-template-columns: 1fr; }
  .rawafd-doc { grid-template-columns: 1fr; text-align: center; }
  .rawafd-doc-thumb { max-width: 200px; margin: 0 auto; }
  .rawafd-doc-kicker { margin-inline: auto; }
}

/* ============ BOARD OF DIRECTORS (full) ============ */
.board-directors-section .section-tag i { margin-inline-end: 6px; }
.directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  align-items: stretch;
}
.director-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.director-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.director-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.director-card:hover::before { transform: scaleX(1); }

.director-card.is-chair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  border: 2px solid var(--red);
  box-shadow: var(--shadow-red);
}
.director-card.is-chair .director-photo { height: 100%; min-height: 320px; }
.director-card.is-chair .director-body { padding: 32px; }
.director-card.is-chair .director-name { font-size: 24px; }
.director-card.is-chair .director-bio { -webkit-line-clamp: unset; line-clamp: unset; display: block; }

.director-photo {
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-50, #f6f7f9));
  overflow: hidden;
}
/* Blurred backdrop that fills the empty side space */
.director-photo::before {
  content: '';
  position: absolute;
  inset: -30px;
  background-image: var(--fdc-photo-bg);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.9) saturate(1.1);
  transform: scale(1.15);
  z-index: 0;
}
.director-photo img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;         /* الصورة كاملة بلا اقتطاع */
  object-position: center;
  transition: transform 0.6s ease;
}
.director-card:hover .director-photo img { transform: scale(1.03); }
.director-photo-fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: rgba(0,0,0,0.15);
  font-size: 90px;
}
.director-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55));
  z-index: 2;
}
.director-role-badge {
  position: absolute;
  bottom: 14px; right: 14px;
  z-index: 5;
  background: var(--red);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-red);
}
.director-role-badge i { font-size: 10px; }
.director-card:nth-child(3n+2) .director-role-badge { background: var(--green); box-shadow: var(--shadow-green); }
.director-card:nth-child(3n+3) .director-role-badge { background: var(--black); }
.director-card.is-chair .director-role-badge {
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}

.director-body {
  padding: 22px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.director-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.4;
}
.director-bio {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
.director-bio p { margin: 0 0 10px; }
.director-bio p:last-child { margin-bottom: 0; }
.director-bio ul, .director-bio ol { padding-inline-start: 22px; margin: 0 0 10px; }
.director-bio a { color: var(--red); font-weight: 700; }
.director-bio strong { color: var(--black); }

/* "More" link on non-chair cards — plain text, arrow slides on hover */
.director-more-btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: none;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: color .2s ease;
}
.director-more-btn:hover { color: var(--red-dark); }
.director-more-btn span { display: inline-flex; align-items: center; gap: 6px; }
.director-more-btn > i { transition: transform .25s ease; }
.director-more-btn:hover > i { transform: translateX(-4px); }

/* Inline contacts (chair card / modal) */
.director-contacts {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.director-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-800);
  font-weight: 700;
  font-size: 13px;
  direction: ltr;
}
.director-contact:hover { background: var(--red); color: #fff; }
.director-contact i { color: var(--red); }
.director-contact:hover i { color: #fff; }

.director-social { display: inline-flex; gap: 8px; align-items: center; }
.director-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-800);
  font-size: 14px;
  transition: var(--transition);
}
.director-social a:hover { transform: translateY(-3px); }
.director-social .s-facebook:hover  { background: #1877f2; color: #fff; }
.director-social .s-twitter:hover   { background: #000;     color: #fff; }
.director-social .s-instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.director-social .s-whatsapp:hover  { background: #25d366; color: #fff; }
.director-social .s-linkedin:hover  { background: #0a66c2; color: #fff; }

.director-contacts.in-modal { justify-content: center; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.director-contacts.in-modal .director-social a { width: 40px; height: 40px; font-size: 16px; }

/* Popup Modal */
.director-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.director-modal[hidden] { display: none; }
.director-modal.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.director-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.director-modal-panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: calc(100% - 40px);
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  animation: fdcModalIn .28s ease;
}
@keyframes fdcModalIn {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.director-modal-close {
  position: absolute;
  top: 14px; left: 14px;
  width: 40px; height: 40px;
  border: none;
  background: rgba(0,0,0,.06);
  color: var(--gray-800);
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  display: grid; place-items: center;
  z-index: 5;
  transition: var(--transition);
}
.director-modal-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }

.director-modal-header {
  padding: 32px 32px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, var(--gray-50, #f6f7f9), #fff);
  border-bottom: 1px solid var(--gray-100);
}
.director-modal-avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.director-modal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.director-modal-titles h3 { font-size: 22px; font-weight: 900; color: var(--black); margin: 6px 0 0; line-height: 1.35; }
.director-modal-role {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  padding: 4px 12px; border-radius: 50px;
  font-size: 12px; font-weight: 700;
}
.director-modal-role i { font-size: 10px; }

.director-modal-body {
  padding: 24px 32px 32px;
  overflow-y: auto;
}
.director-modal-body .director-bio { font-size: 15px; }

body.fdc-modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .director-modal-header { flex-direction: column; text-align: center; padding: 28px 20px 20px; }
  .director-modal-body { padding: 20px; }
  .director-modal-titles h3 { font-size: 18px; }
}

@media (max-width: 768px) {
  .director-card.is-chair { grid-template-columns: 1fr; }
  .director-card.is-chair .director-photo { min-height: 280px; }
  .director-card.is-chair .director-body { padding: 22px; }
  .director-card.is-chair .director-name { font-size: 20px; }
}

/* ============ TIMELINE / VISION ============ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.value-card {
  background: #fff;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:nth-child(2) { border-top-color: var(--green); }
.value-card:nth-child(3) { border-top-color: var(--black); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card i { font-size: 40px; color: var(--red); margin-bottom: 16px; }
.value-card:nth-child(2) i { color: var(--green); }
.value-card:nth-child(3) i { color: var(--black); }
.value-card h3 { font-size: 20px; color: var(--black); margin-bottom: 10px; }
.value-card p { color: var(--gray-500); font-size: 15px; }

/* ============ NEWS ARCHIVE ============ */
.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: #fff;
  color: var(--gray-700);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.pagination a {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: #fff;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
  font-weight: 700;
  transition: var(--transition);
}
.pagination a.active, .pagination a:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ============ NEWS DETAILS ============ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
}
.article-main {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-hero { height: 420px; background: linear-gradient(135deg, var(--red), var(--green)); overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 40px; }
.article-meta {
  display: flex;
  gap: 20px;
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
  flex-wrap: wrap;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta i { color: var(--red); }
.article-body h1 { font-size: 32px; color: var(--black); line-height: 1.3; margin-bottom: 24px; font-weight: 900; }
.article-body p { color: var(--gray-700); margin-bottom: 20px; font-size: 16px; line-height: 1.9; }
.article-body h2 { font-size: 22px; color: var(--black); margin: 30px 0 16px; }
.article-body blockquote {
  border-inline-start: 4px solid var(--red);
  background: var(--gray-50);
  padding: 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: 17px;
  color: var(--gray-800);
  font-style: italic;
}
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.article-tags a {
  padding: 6px 16px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.article-tags a:hover { background: var(--red); color: #fff; }
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.article-share strong { color: var(--black); }
.article-share a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--red);
  display: grid; place-items: center;
  transition: var(--transition);
}
.article-share a:hover { background: var(--red); color: #fff; }

/* ============ Auto-gallery grid inside post content ============ */
.article-body .post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.article-body .post-gallery img,
.article-body .post-gallery a > img,
.article-body .post-gallery figure > img,
.article-body .post-gallery figure > a > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  cursor: zoom-in;
  transition: transform .35s ease, box-shadow .35s ease;
  display: block;
  margin: 0;
}
.article-body .post-gallery figure {
  margin: 0;
  padding: 0;
}
.article-body .post-gallery figure figcaption {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 6px;
}
.article-body .post-gallery a { display: block; line-height: 0; }

/* WordPress [gallery] shortcode — force a clean responsive grid regardless of
   gallery-columns-N. WP renders these as stacked table rows by default. */
.article-body .gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  gap: 12px !important;
  margin: 24px 0 !important;
  width: 100% !important;
}
.article-body .gallery br { display: none; }
.article-body .gallery-item,
.article-body .gallery .gallery-item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
  text-align: initial !important;
}
.article-body .gallery-icon { margin: 0 !important; padding: 0 !important; }
.article-body .gallery-icon img,
.article-body .gallery-icon a > img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: var(--radius-md) !important;
  border: none !important;
  background: var(--gray-100);
  cursor: zoom-in;
  transition: transform .35s ease, box-shadow .35s ease;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100%;
}
.article-body .gallery-icon img:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.article-body .gallery-caption {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin: 6px 0 0 !important;
}
.article-body .post-gallery img:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* Single stand-alone images inside content — cap height so tall images don't dominate */
.article-body p > img:only-child,
.article-body figure.wp-block-image img {
  max-width: 100%;
  max-height: 560px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
  margin: 24px auto;
  cursor: zoom-in;
}

/* Simple lightbox */
.fdc-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fdcModalIn .25s ease;
}
.fdc-lightbox.is-open { display: flex; }
.fdc-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.fdc-lightbox-close {
  position: absolute;
  top: 20px; left: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: grid; place-items: center;
  transition: var(--transition);
}
.fdc-lightbox-close:hover { background: var(--red); transform: rotate(90deg); }
.fdc-lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: grid; place-items: center;
  transition: var(--transition);
}
.fdc-lightbox-nav:hover { background: var(--red); }
.fdc-lightbox-nav.prev { right: 20px; }
.fdc-lightbox-nav.next { left: 20px; }
.fdc-lightbox-counter {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 700;
  background: rgba(0,0,0,.4);
  padding: 6px 14px;
  border-radius: 50px;
}

/* ============ Embedded video in article content ============ */
.article-body iframe,
.article-body video,
.article-body .fdc-inline-video,
.article-body .wp-video,
.article-body .mejs-container,
.article-body .fluid-width-video-wrapper,
.article-body .wp-block-embed__wrapper > iframe,
.article-body figure.wp-block-embed iframe,
.article-body .wp-block-video,
.article-body .wpb_video_wrapper iframe,
.article-body .wpb_video_widget iframe,
.article-body .vc_video-widget iframe,
.article-body [class*="youtube"] iframe,
.article-body [class*="vimeo"] iframe {
  width: 100% !important;
  height: 400px !important;
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
  background: #000;
  margin: 20px 0;
}

/* Ensure any WP responsive-embed wrappers don't force 16:9 aspect ratio */
.article-body .wp-block-embed__wrapper,
.article-body .wpb_video_wrapper,
.article-body .fluid-width-video-wrapper {
  position: static !important;
  padding-bottom: 0 !important;
  height: auto !important;
}

@media (max-width: 640px) {
  .article-body iframe,
  .article-body video,
  .article-body .wp-video,
  .article-body .fluid-width-video-wrapper,
  .article-body .wpb_video_wrapper iframe,
  .article-body .vc_video-widget iframe { height: 240px !important; }
}

/* ============ COMMENTS ============ */
.article-comments {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}
.article-comments .comments-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.article-comments .comments-header h3 i { color: var(--red); }

.article-comments .comments-list,
.article-comments .comments-list ol.children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-comments .comments-list ol.children {
  margin-top: 16px;
  padding-right: 36px;
  border-right: 2px dashed var(--gray-100);
}
.article-comments .comment-card { margin: 0 0 16px; }
.article-comments .comment-inner {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.article-comments .comment-card.bypostauthor > .comment-inner {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(227,6,19,0.08), var(--shadow-sm);
}
.article-comments .comment-inner:hover { box-shadow: var(--shadow-md); }
.article-comments .comment-avatar img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-100);
}
.article-comments .comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 8px;
  font-size: 13px;
}
.article-comments .comment-author { font-weight: 800; color: var(--black); font-size: 15px; }
.article-comments .comment-author a { color: inherit; }
.article-comments .comment-author a:hover { color: var(--red); }
.article-comments .comment-date { color: var(--gray-500); display: inline-flex; align-items: center; gap: 6px; }
.article-comments .comment-date i { color: var(--red); font-size: 11px; }
.article-comments .comment-edit a { color: var(--gray-500); font-size: 12px; }
.article-comments .comment-edit a:hover { color: var(--red); }
.article-comments .comment-awaiting {
  background: #fff8e1;
  color: #8a6d1a;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 10px;
  display: inline-flex; gap: 8px; align-items: center;
}
.article-comments .comment-content { color: var(--gray-800); line-height: 1.85; font-size: 15px; }
.article-comments .comment-content p { margin-bottom: 10px; }
.article-comments .comment-content p:last-child { margin-bottom: 0; }
.article-comments .comment-actions { margin-top: 10px; }
.article-comments .comment-reply-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-800);
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition);
}
.article-comments .comment-reply-link:hover { background: var(--red); color: #fff; }

.article-comments .comments-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin: 24px 0;
}
.article-comments .comments-pagination a,
.article-comments .comments-pagination .current {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-800);
  font-weight: 700;
  font-size: 14px;
}
.article-comments .comments-pagination .current { background: var(--red); color: #fff; }

/* Comment form */
.article-comments .comment-respond {
  margin-top: 40px;
  background: var(--gray-50, #f6f7f9);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.article-comments .comment-respond .comment-reply-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 18px;
}
.article-comments .crf-title { display: inline-flex; align-items: center; gap: 8px; }
.article-comments .crf-title i { color: var(--red); }
.article-comments .comment-reply-title small { font-size: 13px; margin-inline-start: 12px; }
.article-comments .comment-reply-title small a { color: var(--red); font-weight: 700; }

.article-comments .comment-form { display: grid; gap: 14px; }
.article-comments .comment-form .crf-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.article-comments .comment-form label { font-weight: 700; color: var(--gray-800); font-size: 14px; }
.article-comments .comment-form .req { color: var(--red); }
.article-comments .comment-form input[type="text"],
.article-comments .comment-form input[type="email"],
.article-comments .comment-form input[type="url"],
.article-comments .comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}
.article-comments .comment-form input:focus,
.article-comments .comment-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227,6,19,0.12);
}
.article-comments .comment-form textarea { resize: vertical; min-height: 120px; }
.article-comments .comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-500); }
.article-comments .comment-form .form-submit { margin: 6px 0 0; }
.article-comments .comment-form .btn { font-size: 15px; }

@media (min-width: 720px) {
  .article-comments .comment-form { grid-template-columns: 1fr 1fr; }
  .article-comments .comment-form .crf-field-comment,
  .article-comments .comment-form .crf-field-url,
  .article-comments .comment-form .comment-form-cookies-consent,
  .article-comments .comment-form .form-submit { grid-column: 1 / -1; }
}

.sidebar-widget {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 18px;
  color: var(--black);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-100);
  position: relative;
}
.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: -2px; right: 0;
  width: 40px; height: 2px;
  background: var(--red);
}
.recent-post { display: flex; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-img {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--red), var(--green));
  flex-shrink: 0;
  overflow: hidden;
}
.recent-post-img img { width: 100%; height: 100%; object-fit: cover; }
.recent-post h4 { font-size: 14px; color: var(--black); margin-bottom: 6px; line-height: 1.5; }
.recent-post h4 a:hover { color: var(--red); }
.recent-post span { font-size: 12px; color: var(--gray-500); }
.recent-post span i { color: var(--red); margin-inline-end: 4px; }

.category-list li a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  font-size: 14px;
}
.category-list li:last-child a { border-bottom: none; }
.category-list li a:hover { color: var(--red); }
.category-list .count {
  background: var(--gray-100);
  color: var(--red);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--green));
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(179,4,16,0.85));
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .info {
  position: absolute;
  bottom: 16px; right: 16px; left: 16px;
  color: #fff;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .info { transform: translateY(0); opacity: 1; }
.gallery-item .info h4 { font-size: 16px; margin-bottom: 4px; }
.gallery-item .info span { font-size: 12px; opacity: 0.9; }
.gallery-item .zoom-icon {
  position: absolute;
  top: 16px; left: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.95);
  color: var(--red);
  border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}
.gallery-item:hover .zoom-icon { opacity: 1; }
.gallery-item.large { grid-row: span 2; aspect-ratio: 4/6; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  place-items: center;
  z-index: 9999;
  padding: 40px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute;
  top: 20px; left: 20px;
  color: #fff;
  font-size: 30px;
  background: rgba(255,255,255,0.1);
  width: 50px; height: 50px;
  border-radius: 50%;
}
.lightbox-close:hover { background: var(--red); }

/* ============ VIDEO ============ */
.video-featured {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  aspect-ratio: 16/9;
  position: relative;
}
.video-featured iframe { width: 100%; height: 100%; border: none; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb {
  height: 200px;
  position: relative;
  background: linear-gradient(135deg, var(--black), var(--red));
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.video-play span {
  width: 66px; height: 66px;
  background: rgba(255,255,255,0.95);
  color: var(--red);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.video-card:hover .video-play span { background: var(--red); color: #fff; transform: scale(1.15); }
.video-duration {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
}
.video-info { padding: 22px; }
.video-info h3 { font-size: 17px; color: var(--black); margin-bottom: 10px; line-height: 1.5; }
.video-info .video-meta { display: flex; gap: 16px; color: var(--gray-500); font-size: 13px; }
.video-info .video-meta span { display: inline-flex; align-items: center; gap: 4px; }
.video-info .video-meta i { color: var(--red); }

/* ============ PODCAST ============ */
.podcast-hero-card {
  background: linear-gradient(135deg, var(--black), var(--gray-900));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 50px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.podcast-hero-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(227,6,19,0.3), transparent 60%);
}
.podcast-cover {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: grid; place-items: center;
  font-size: 90px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.podcast-hero-info { position: relative; z-index: 2; }
.podcast-hero-info .badge {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: var(--red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}
.podcast-hero-info h2 { font-size: 30px; font-weight: 900; margin-bottom: 12px; }
.podcast-hero-info p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.podcast-player {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.podcast-player .play-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.podcast-player .play-btn:hover { background: var(--red-dark); }
.progress { flex: 1; height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; overflow: hidden; cursor: pointer; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--red), var(--green)); width: 35%; border-radius: 3px; }
.podcast-player .time { font-size: 13px; color: rgba(255,255,255,0.8); }

.podcast-list { display: grid; gap: 16px; }
.podcast-episode {
  background: #fff;
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  transition: var(--transition);
}
.podcast-episode:hover { box-shadow: var(--shadow-md); transform: translateX(-4px); }
.podcast-episode .play {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid; place-items: center;
  font-size: 20px;
  box-shadow: var(--shadow-red);
  transition: var(--transition);
}
.podcast-episode:hover .play { transform: scale(1.1); }
.podcast-episode:nth-child(2n) .play { background: linear-gradient(135deg, var(--green), var(--green-dark)); box-shadow: var(--shadow-green); }
.podcast-episode-info h3 { font-size: 17px; color: var(--black); margin-bottom: 4px; }
.podcast-episode-info .meta { color: var(--gray-500); font-size: 13px; display: flex; gap: 14px; }
.podcast-episode-info .meta i { color: var(--red); margin-inline-end: 4px; }
.podcast-episode .duration {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
}

.podcast-platforms {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.podcast-platforms a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  padding: 10px 18px;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}
.podcast-platforms a:hover { background: var(--red); border-color: var(--red); }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}
.contact-info-cards { display: grid; gap: 20px; }
.contact-info-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  border-inline-start: 4px solid var(--red);
}
.contact-info-card:nth-child(2) { border-color: var(--green); }
.contact-info-card:nth-child(3) { border-color: var(--black); }
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-info-card .icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: rgba(227,6,19,0.1);
  color: var(--red);
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-card:nth-child(2) .icon { background: rgba(30,143,62,0.1); color: var(--green); }
.contact-info-card:nth-child(3) .icon { background: rgba(0,0,0,0.08); color: var(--black); }
.contact-info-card h3 { font-size: 17px; color: var(--black); margin-bottom: 6px; }
.contact-info-card p { color: var(--gray-500); font-size: 15px; }

.contact-form-wrap {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { font-size: 24px; color: var(--black); margin-bottom: 8px; font-weight: 900; }
.contact-form-wrap > p { color: var(--gray-500); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; color: var(--black); margin-bottom: 8px; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
  background: var(--gray-50);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(227,6,19,0.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.map-wrapper {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  background: var(--gray-100);
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.2) contrast(1.1); }

/* ============ HOME EXTRA SECTIONS ============ */

/* News mosaic */
.news-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.news-mosaic .tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--green));
}
.news-mosaic .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.news-mosaic .tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.85));
}
.news-mosaic .tile:hover img { transform: scale(1.08); }
.news-mosaic .tile .caption {
  position: absolute;
  bottom: 16px; right: 16px; left: 16px;
  color: #fff;
  z-index: 2;
}
.news-mosaic .tile .caption .cat {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.news-mosaic .tile .caption h4 { font-size: 15px; font-weight: 700; line-height: 1.5; }
.news-mosaic .tile.big { grid-column: span 2; grid-row: span 2; }
.news-mosaic .tile.big .caption h4 { font-size: 22px; }
.news-mosaic .tile.wide { grid-column: span 2; }
.news-mosaic .tile.wide .caption h4 { font-size: 18px; }

/* Success stories */
.stories-section {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stories-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 50%; height: 160%;
  background: radial-gradient(circle, rgba(227,6,19,0.15), transparent 60%);
}
.stories-section .section-title { color: #fff; }
.stories-section .section-desc { color: rgba(255,255,255,0.7); }
.stories-section .section-tag { background: rgba(227,6,19,0.2); color: #ff8590; }

.story-slider-wrap { position: relative; z-index: 2; }
.story-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
}
.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-image::after {
  content: '\201C';
  position: absolute;
  top: 20px; right: 20px;
  font-size: 100px;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  font-family: serif;
}
.story-content .story-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.story-content h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
}
.story-quote {
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--red);
}
.story-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.story-author-img {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: grid; place-items: center;
  color: #fff;
  font-size: 22px;
  overflow: hidden;
}
.story-author strong { display: block; font-size: 16px; }
.story-author span { font-size: 13px; color: rgba(255,255,255,0.7); }
.story-stats {
  display: flex;
  gap: 30px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.story-stat { text-align: center; }
.story-stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--red-light); }
.story-stat span { font-size: 12px; color: rgba(255,255,255,0.7); }

/* Photo gallery preview */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gallery-preview .g-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, var(--red), var(--green));
}
.gallery-preview .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-preview .g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(227,6,19,0.85);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-preview .g-item .icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 26px;
  opacity: 0;
  z-index: 2;
  transition: var(--transition);
}
.gallery-preview .g-item:hover img { transform: scale(1.1); }
.gallery-preview .g-item:hover::after { opacity: 1; }
.gallery-preview .g-item:hover .icon { opacity: 1; }
.gallery-preview .g-item.tall { grid-row: span 2; aspect-ratio: 1/2; }

/* Video preview */
.video-preview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
}
.video-preview-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--black);
  aspect-ratio: 16/9;
}
.video-preview-item.featured { grid-row: span 2; aspect-ratio: auto; }
.video-preview-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity var(--transition); }
.video-preview-item:hover img { opacity: 1; }
.video-preview-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
}
.video-preview-item .play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.video-preview-item .play-icon span {
  width: 66px; height: 66px;
  background: rgba(255,255,255,0.95);
  color: var(--red);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.video-preview-item.featured .play-icon span { width: 90px; height: 90px; font-size: 30px; }
.video-preview-item:hover .play-icon span { background: var(--red); color: #fff; transform: scale(1.15); }
.video-preview-item .v-info {
  position: absolute;
  bottom: 18px;
  right: 18px; left: 18px;
  color: #fff;
  z-index: 3;
}
.video-preview-item .v-info h4 { font-size: 15px; margin-bottom: 4px; }
.video-preview-item.featured .v-info h4 { font-size: 22px; }
.video-preview-item .v-info span { font-size: 12px; opacity: 0.85; }
.video-preview-item .v-info span i { color: var(--red-light); }

/* Publications */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Publications owl slider — uniform heights + dots below on light bg */
.pub-slider .owl-stage { display: flex; }
.pub-slider .owl-item  { display: flex; }
.pub-slider .owl-item > .pub-card { width: 100%; height: 100%; }
.pub-slider .owl-dots {
  position: static !important;
  margin-top: 32px;
}
.pub-slider .owl-dots .owl-dot span {
  background: var(--gray-200, #e5e7eb) !important;
  border: 1px solid var(--gray-300, #d1d5db);
}
.pub-slider .owl-dots .owl-dot:hover span { background: var(--gray-300, #d1d5db) !important; }
.pub-slider .owl-dots .owl-dot.active span {
  background: var(--red) !important;
  border-color: var(--red);
}

.pub-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: column;
}
.pub-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pub-cover {
  height: 180px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  position: relative;
  overflow: hidden;
}
.pub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.pub-card:hover .pub-cover img { transform: scale(1.08); }
.pub-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(227,6,19,0.15) 0%, rgba(10,10,10,0.35) 60%, rgba(10,10,10,0.85) 100%);
}
.pub-card:nth-child(2n) .pub-cover::after { background: linear-gradient(180deg, rgba(30,143,62,0.15) 0%, rgba(10,10,10,0.35) 60%, rgba(10,10,10,0.85) 100%); }
.pub-card:nth-child(3n) .pub-cover::after { background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(10,10,10,0.45) 60%, rgba(10,10,10,0.9) 100%); }
.pub-cover .pub-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--red);
  color: #fff;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pub-card:nth-child(2n) .pub-cover .pub-badge { background: var(--green); }
.pub-card:nth-child(3n) .pub-cover .pub-badge { background: var(--black); }
.pub-cover .pub-year {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--red);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  z-index: 2;
}
.pub-cover .pub-icon-float {
  position: absolute;
  bottom: 12px; left: 12px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  color: var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  z-index: 2;
}
.pub-card:nth-child(2n) .pub-cover .pub-icon-float { color: var(--green); }
.pub-card:nth-child(3n) .pub-cover .pub-icon-float { color: var(--black); }
.pub-body {
  padding: 16px 18px;
  border-top: 3px solid var(--red);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.pub-body .pub-actions { margin-top: auto; }
.pub-card:nth-child(2n) .pub-body { border-color: var(--green); }
.pub-card:nth-child(3n) .pub-body { border-color: var(--black); }
.pub-body h3 { font-size: 15px; color: var(--black); margin-bottom: 6px; line-height: 1.4; }
.pub-body p { font-size: 12px; color: var(--gray-500); margin-bottom: 12px; line-height: 1.5; }
.pub-actions { display: flex; gap: 8px; }
.pub-actions a {
  flex: 1;
  text-align: center;
  padding: 7px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pub-actions .view { background: var(--gray-100); color: var(--gray-800); }
.pub-actions .view:hover { background: var(--black); color: #fff; }
.pub-actions .dl { background: var(--red); color: #fff; }
.pub-actions .dl:hover { background: var(--red-dark); }

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

/* Uniform slide heights for the projects owl slider */
.projects-slider .owl-stage { display: flex; }
.projects-slider .owl-item { display: flex; }
.projects-slider .owl-item > .project-card { width: 100%; height: 100%; }

/* Pagination below the slider — visible on white section background */
.projects-slider .owl-dots {
  position: static !important;
  margin-top: 32px;
}
.projects-slider .owl-dots .owl-dot span {
  background: var(--gray-200, #e5e7eb) !important;
  border: 1px solid var(--gray-300, #d1d5db);
}
.projects-slider .owl-dots .owl-dot:hover span {
  background: var(--gray-300, #d1d5db) !important;
}
.projects-slider .owl-dots .owl-dot.active span {
  background: var(--red) !important;
  border-color: var(--red);
}

.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-cover {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red), var(--green));
}
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-cover img { transform: scale(1.08); }
.project-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5));
}
.project-status {
  position: absolute;
  top: 16px; right: 16px;
  padding: 6px 14px;
  background: rgba(30,143,62,0.95);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}
.project-status.done { background: rgba(0,0,0,0.7); }
.project-status.new { background: var(--red); }
.project-info {
  padding: 26px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.project-info .project-meta { margin-top: auto; }
.project-info h3 { font-size: 18px; color: var(--black); margin-bottom: 8px; }
.project-info > p { font-size: 14px; color: var(--gray-500); margin-bottom: 18px; line-height: 1.7; }
.project-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-700);
  flex-wrap: wrap;
}
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta i { color: var(--red); }
.project-progress {
  margin: 12px 0 0;
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}
.project-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--green));
  border-radius: 4px;
}

/* Partners */
.partners-section { background: var(--white); }
.partner-item {
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  height: 130px;
  display: grid;
  place-items: center;
  padding: 20px;
  transition: var(--transition);
  filter: grayscale(0.5);
  opacity: 0.75;
}
.partner-item:hover {
  border-color: var(--red);
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.partner-item img { max-width: 100%; max-height: 80px; object-fit: contain; }
.partner-item .partner-text {
  text-align: center;
  color: var(--black);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
}
.partner-item .partner-text small {
  display: block;
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
}

/* ============ SCROLL TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 30px; left: 30px;
  width: 50px; height: 50px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-red);
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-4px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .about-grid, .contact-grid, .article-layout, .podcast-hero-card { grid-template-columns: 1fr; }
  .about-badge-float { position: static; margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { position: static; margin-top: 40px; }
  .news-mosaic { grid-template-columns: repeat(2, 1fr); }
  .news-mosaic .tile.big, .news-mosaic .tile.wide { grid-column: span 2; }
  .story-card { grid-template-columns: 1fr; padding: 24px; }
  .gallery-preview { grid-template-columns: repeat(3, 1fr); }
  .gallery-preview .g-item.tall { grid-row: auto; aspect-ratio: 1; }
  .video-preview-grid { grid-template-columns: 1fr 1fr; }
  .video-preview-item.featured { grid-row: auto; aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: #fff;
    padding: 80px 30px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .nav a { padding: 14px 18px; border-bottom: 1px solid var(--gray-100); }

  /* Brand header inside mobile drawer */
  .nav { padding: 0 !important; }
  .nav .nav-mobile-brand { display: flex !important; }
  .nav .nav-mobile-close { display: grid !important; }
  .nav-mobile-brand {
    align-items: center;
    gap: 12px;
    padding: 20px 22px;
    background: linear-gradient(135deg, var(--gray-50, #f6f7f9), #fff);
    border-bottom: 2px solid var(--gray-100);
    text-decoration: none;
    margin: 0 0 12px;
  }
  .nav-mobile-brand img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    border: 2px solid var(--gray-100);
    flex-shrink: 0;
  }
  .nav-mobile-brand strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.3;
  }
  .nav-mobile-brand span {
    display: block;
    font-size: 10.5px;
    color: var(--red);
    font-weight: 700;
    letter-spacing: .5px;
    margin-top: 2px;
  }
  .nav-mobile-brand a { padding: 0; border: 0; }
  .nav-mobile-close {
    position: absolute;
    top: 16px; left: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-800);
    border: none;
    font-size: 14px;
    display: grid; place-items: center;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition);
  }
  .nav-mobile-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
  .nav > ul { padding: 0 12px 20px; }

  /* Mobile submenus — expand inline, tap to toggle */
  .nav .menu-item-has-children > a { padding-left: 42px; }
  .nav .menu-item-has-children > a::after {
    left: 14px;
    font-size: 13px;
    color: var(--red);
  }
  .nav .sub-menu,
  .nav .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav .sub-menu::before { display: none; }
  .nav li.is-open > .sub-menu { max-height: 1000px; }
  .nav .sub-menu a {
    padding: 12px 34px;
    font-size: 14px;
    border-bottom: 1px dashed var(--gray-100);
  }
  .nav .sub-menu .sub-menu a { padding-right: 54px; }
  .header-cta span { display: none; }
  .header-cta { padding: 12px; width: 44px; height: 44px; justify-content: center; }
  .section { padding: 60px 0; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .podcast-hero-card { padding: 30px; }
  .contact-form-wrap { padding: 24px; }
  .article-body { padding: 24px; }
  .cta-strip-inner { text-align: center; }
  .cta-strip-inner > div { width: 100%; }
  .topbar-info span:not(:first-child) { display: none; }

  /* WPBakery rows/columns — zero out horizontal spacing on mobile */
  .vc_row { margin-left: 0 !important; margin-right: 0 !important; }
  .vc_column_container > .vc_column-inner { padding-left: 0 !important; padding-right: 0 !important; }

  /* Counters — 2 per row on mobile */
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ============ Related posts (single view) ============ */
.related-section .section-header { margin-bottom: 36px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  justify-content: start;
}
@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: minmax(0, 1fr); }
}
.related-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.related-thumb {
  height: 190px;
  overflow: hidden;
  background: var(--gray-100);
}
.related-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.related-card:hover .related-thumb img { transform: scale(1.06); }
.related-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--gray-500);
  font-size: 12px;
  margin-bottom: 10px;
}
.related-meta i { color: var(--red); margin-inline-end: 4px; font-size: 11px; }
.related-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card:hover .related-title { color: var(--red); }
.related-excerpt {
  color: var(--gray-500);
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-more {
  margin-top: auto;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.related-card:hover .related-more { gap: 12px; }

/* ============ Contact popup + button spinner ============ */
.fdc-btn-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fdcSpin .7s linear infinite;
  vertical-align: middle;
  margin-inline-end: 8px;
}
@keyframes fdcSpin { to { transform: rotate(360deg); } }
button.is-loading { opacity: .85; cursor: wait; }

.fdc-popup {
  position: fixed; inset: 0;
  z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.fdc-popup.is-open { opacity: 1; visibility: visible; }
.fdc-popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fdc-popup-panel {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px 30px;
  width: calc(100% - 40px);
  max-width: 440px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: fdcModalIn .28s ease;
}
.fdc-popup-close {
  position: absolute;
  top: 12px; left: 12px;
  width: 34px; height: 34px;
  background: rgba(0,0,0,.06);
  border: none; border-radius: 50%;
  color: var(--gray-800);
  cursor: pointer;
  display: grid; place-items: center;
  transition: var(--transition);
}
.fdc-popup-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.fdc-popup-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  font-size: 42px;
  color: #fff;
}
.fdc-popup.is-success .fdc-popup-icon { background: linear-gradient(135deg, #1e8f3e, #146a2c); box-shadow: 0 10px 30px rgba(30,143,62,.35); }
.fdc-popup.is-error   .fdc-popup-icon { background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: var(--shadow-red); }
.fdc-popup-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  margin: 0 0 10px;
}
.fdc-popup-message {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin: 0 0 24px;
}
.fdc-popup-ok { min-width: 140px; justify-content: center; }

/* ============================================================
   MOBILE POLISH (≤768 / ≤560) — hero slider, video library,
   and global font-size + spacing tuning
   ============================================================ */
@media (max-width: 768px) {
  /* Global type scale — tighter for mobile */
  html { font-size: 15px; }

  /* Section header */
  .section { padding: 50px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(22px, 6vw, 28px); line-height: 1.3; margin-bottom: 12px; }
  .section-desc  { font-size: 14.5px; line-height: 1.75; }
  .section-tag   { font-size: 12px; padding: 5px 14px; margin-bottom: 12px; letter-spacing: .5px; }

  /* ===== Hero slider — full viewport height on mobile ===== */
  .hero-slider,
  .hero-slider .owl-stage-outer,
  .hero-slider .owl-stage,
  .hero-slider .owl-item { height: 100vh; }
  .hero-slide { min-height: 100vh; height: 100vh; }
  .hero-slide-inner { padding: 90px 0 70px; }
  .hero-slide .badge-cat {
    font-size: 11px; padding: 6px 14px; margin-bottom: 14px;
  }
  .hero-slide h2 {
    font-size: clamp(20px, 6.2vw, 30px);
    line-height: 1.35;
    margin-bottom: 14px;
  }
  .hero-slide p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
    /* clamp to 3 lines on small screens so the slide doesn't blow up */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-slide .slide-meta { font-size: 12px; gap: 12px; margin-bottom: 16px; }
  .hero-slide .slide-meta i { font-size: 11px; }
  .hero-slide-buttons { gap: 10px; }
  .hero-slide-buttons .btn { padding: 10px 16px; font-size: 13px; }

  /* Owl nav arrows smaller on mobile */
  .owl-carousel .owl-nav button { width: 36px !important; height: 36px !important; font-size: 13px !important; }
  .owl-carousel .owl-dots { bottom: 14px; }

  /* ===== Video library / preview ===== */
  .video-preview-grid { grid-template-columns: 1fr; gap: 14px; }
  .video-preview-item { aspect-ratio: 16 / 10; }
  .video-preview-item.featured { aspect-ratio: 16 / 10; grid-row: auto; }
  .video-preview-item .play-icon span { width: 54px; height: 54px; font-size: 18px; }
  .video-preview-item.featured .play-icon span { width: 60px; height: 60px; font-size: 20px; }
  .video-preview-item .v-info { bottom: 12px; right: 12px; left: 12px; }
  .video-preview-item .v-info h4,
  .video-preview-item.featured .v-info h4 { font-size: 14px; }
  .video-preview-item .v-info span { font-size: 11px; }

  /* Full video grid (video.html-style) */
  .video-info h3 { font-size: 15px; }
  .video-info .video-meta { font-size: 12px; gap: 12px; }

  /* Common card typography */
  .service-card h3, .project-info h3, .pub-body h3, .board-info h3 { font-size: 16px; }
  .service-card p, .project-info > p { font-size: 13.5px; line-height: 1.75; }
  .service-icon { width: 56px; height: 56px; font-size: 22px; }

  /* Counters */
  .counter-num { font-size: 34px !important; }
  .counter-label { font-size: 13px; }

  /* Buttons — global */
  .btn { padding: 11px 18px; font-size: 13.5px; }

  /* Breadcrumb / page header (if present) */
  .page-header h1 { font-size: clamp(22px, 6vw, 30px); }
}

@media (max-width: 480px) {
  html { font-size: 14.5px; }
  .section-title { font-size: 22px; }
  .section-desc  { font-size: 14px; }

  .hero-slide { min-height: 100vh; height: 100vh; }
  .hero-slide h2 { font-size: 22px; }
  .hero-slide p { font-size: 13.5px; -webkit-line-clamp: 2; line-clamp: 2; }

  /* Buttons stay side-by-side on mobile (no stack) */
  .hero-slide-buttons { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 8px; }
  .hero-slide-buttons .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .hero-slide-buttons .btn i { font-size: 12px; }

  .video-preview-item .play-icon span { width: 48px; height: 48px; font-size: 16px; }
}
