/* ====== VARIABLES ====== */
:root {
  --primary:      #1c7a7c;
  --primary-dark: #104f52;
  --primary-light:#2da0a2;
  --accent:       #882030;
  --accent-dark:  #5e1520;
  --accent-light: #b03048;
  --light-bg:     #f2fafa;
  --text-dark:    #1a2e30;
  --text-muted:   #4a7072;
  --border-light: #c0e2e4;
}

/* ====== BASE ====== */
* { box-sizing: border-box; }
body {
  font-family: 'Tajawal', sans-serif;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ====== TOP BAR ====== */
.top-bar {
  display: none;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.82rem;
  padding: 6px 0;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--accent); }
.top-bar .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  margin-inline-start: 4px;
  transition: background .2s;
}
.top-bar .social-icons a:hover { background: var(--accent); }

/* ====== NAVBAR ====== */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 16px rgba(30,107,90,0.10);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand img { height: 65px; }
.navbar-brand .brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-inline-start: 8px;
  vertical-align: middle;
}
.main-navbar .nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 28px 9px !important;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.main-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s;
  opacity: 0;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--primary) !important; }
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}
.main-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 8px 30px rgba(30,107,90,0.15);
  border-radius: 12px;
  min-width: 200px;
  padding: 8px;
  margin-top: 0;
}
.main-navbar .dropdown-item {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: background .2s, color .2s;
}
.main-navbar .dropdown-item:hover {
  background: var(--light-bg);
  color: var(--primary);
}
.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ====== DROPDOWN ON HOVER (desktop only) ====== */
@media (min-width: 992px) {
  .main-navbar .navbar-collapse { flex-wrap: nowrap; align-items: center; }
  .main-navbar .navbar-nav { flex-wrap: nowrap; }
  .main-navbar .dropdown:hover > .dropdown-menu {
    display: block;
    animation: fadeInDown .2s ease;
  }
  .main-navbar .dropdown > .dropdown-toggle::after {
    transition: transform .2s;
  }
  .main-navbar .dropdown:hover > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.btn-nav-join {
  background: var(--primary);
  color: #fff !important;
  border-radius: 50px;
  padding: 6px 14px;
  font-weight: 600;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.82rem;
  transition: background .2s;
  border: none;
  white-space: nowrap;
}
.btn-nav-join:hover { background: var(--primary-dark); color: #fff !important; }
.btn-nav-login {
  background: transparent;
  color: var(--primary) !important;
  border-radius: 50px;
  padding: 6px 14px;
  font-weight: 600;
  white-space: nowrap;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.9rem;
  transition: all .2s;
  border: 1.5px solid var(--primary);
}
.btn-nav-login:hover { background: var(--light-bg); color: var(--primary-dark) !important; }

/* ====== HERO CAROUSEL ====== */
.hero-carousel { position: relative; }
.hero-slide {
  min-height: 560px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-slide-1 {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2dae88 100%);
}
.hero-slide-2 {
  background: linear-gradient(160deg, #0f3d31 0%, var(--primary) 55%, #2dae88 100%);
}
.hero-slide-3 {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a7a62 50%, #3dbf95 100%);
}

/* Wave decorator bottom */
.hero-slide::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom/cover;
  z-index: 3;
  pointer-events: none;
}

/* Large heart shape (top-right) — mimics logo open heart */
.hero-shape {
  position: absolute;
  right: -70px; top: -50px;
  width: 520px; height: 520px;
  background: radial-gradient(ellipse at 42% 48%, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0.04) 55%, transparent 100%);
  clip-path: path('M260,490 C260,490 20,335 20,178 C20,82 98,25 175,60 C208,74 235,98 260,128 C285,98 312,74 345,60 C422,25 500,82 500,178 C500,335 260,490 260,490Z');
  transform: rotate(8deg);
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.06));
  pointer-events: none;
}

/* Small heart shape (bottom-left) — outline ring style */
.hero-shape2 {
  position: absolute;
  left: -30px; bottom: 50px;
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.05);
  clip-path: path('M110,205 C110,205 9,142 9,75 C9,34 42,10 74,25 C88,31 100,42 110,55 C120,42 132,31 146,25 C178,10 211,34 211,75 C211,142 110,205 110,205Z');
  transform: rotate(-10deg);
  pointer-events: none;
}

/* ECG / heartbeat line — animated inline SVG */
.hero-ecg {
  position: absolute;
  bottom: 85px; left: 0; right: 0;
  height: 70px;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.hero-ecg svg {
  width: 100%; height: 70px;
}
.hero-ecg-path {
  fill: none;
  stroke: rgba(220, 90, 110, 0.75);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1300;
  stroke-dashoffset: 1300;
  animation: ecgDraw 4s ease-in-out infinite;
}
@keyframes ecgDraw {
  0%   { stroke-dashoffset: 1300; opacity: 0; }
  8%   { opacity: 1; }
  55%  { stroke-dashoffset: 0; opacity: 1; }
  80%  { stroke-dashoffset: 0; opacity: 0.7; }
  95%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 1300; opacity: 0; }
}

/* Breathing background hearts */
@keyframes heroShapeBreathe {
  0%,100% { transform: rotate(8deg) scale(1); }
  50%      { transform: rotate(8deg) scale(1.1); opacity: 0.13; }
}
@keyframes heroShape2Breathe {
  0%,100% { transform: rotate(-10deg) scale(1); }
  50%      { transform: rotate(-10deg) scale(1.15); opacity: 0.09; }
}
.hero-shape  { animation: heroShapeBreathe 6s ease-in-out infinite; }
.hero-shape2 { animation: heroShape2Breathe 6s ease-in-out infinite 3s; }

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  box-shadow:
    80px  200px rgba(255,255,255,0.45),
    160px 380px rgba(255,255,255,0.3),
    240px 140px rgba(255,255,255,0.55),
    320px 420px rgba(255,255,255,0.35),
    400px  80px rgba(255,255,255,0.25),
    480px 300px rgba(255,255,255,0.5),
    560px 180px rgba(255,255,255,0.4),
    640px 460px rgba(255,255,255,0.45),
    720px 120px rgba(255,255,255,0.3),
    800px 340px rgba(255,255,255,0.55),
    880px 240px rgba(255,255,255,0.35),
    960px 500px rgba(255,255,255,0.4),
   1040px 100px rgba(255,255,255,0.25),
   1120px 360px rgba(255,255,255,0.5),
   1200px 270px rgba(255,255,255,0.4);
  animation: heroParticleFloat 13s linear infinite;
}
.hero-particles::after {
  animation-delay: -6.5s;
  animation-duration: 10s;
  opacity: 0.65;
}
@keyframes heroParticleFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-560px); }
}

/* Heartbeat pulse rings */
.hero-pulse-ring {
  position: absolute;
  top: 48%; left: 22%;
  pointer-events: none;
  z-index: 1;
}
.hero-pulse-ring::before,
.hero-pulse-ring::after {
  content: '';
  position: absolute;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  width: 50px; height: 50px;
  top: 0; left: 0;
  animation: heroRingExpand 3.5s ease-out infinite;
}
.hero-pulse-ring::after {
  animation-delay: 1.75s;
  border-color: rgba(255,255,255,0.1);
}
@keyframes heroRingExpand {
  0%   { transform: translate(-50%,-50%) scale(0.3); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(7);   opacity: 0; }
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content .badge-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 50px;
  padding: 5px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.hero-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .2s;
  font-family: 'Tajawal', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-hero-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .2s;
  font-family: 'Tajawal', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }
.hero-img-wrap { position: relative; z-index: 2; text-align: center; }
.hero-img-wrap .hero-card {
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  padding: 40px 48px;
  display: inline-block;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.hero-img-wrap .hero-card i {
  font-size: 80px;
  color: rgba(255,255,255,0.75);
  display: block;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.hero-img-wrap .hero-card svg { display:block; margin:0 auto 14px; }
.hero-img-wrap .hero-card p {
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.01em;
}
.carousel-indicators button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
}
.carousel-indicators button.active { background: #fff; }

/* ====== STATS BAR ====== */
.stats-bar {
  /* background: #fff;
  box-shadow: 0 4px 24px rgba(30,107,90,0.10);
  border-radius: 16px;
  margin-top: -40px;
  position: relative;
  z-index: 10; */
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-inline-end: 1px solid var(--border-light);
}
.stat-item:last-child { border-inline-end: none; }
.stat-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-item .num span { color: var(--accent); }
.stat-item p { color: var(--text-muted); font-size: 0.88rem; margin: 4px 0 0; font-weight: 500; }

/* ====== GLOBAL SECTION SPACING (reduced) ====== */
.content-section { padding: 44px 0 !important; }
.content-section.bg-light-custom { background: var(--light-bg); }

/* ====== SECTION HEADERS ====== */
.section-header { text-align: center; margin-bottom: 32px; }
.section-header .label {
  display: inline-block;
  background: var(--light-bg);
  color: var(--primary);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 4px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-header h2 span { color: var(--primary); }
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}
.divider-bar {
  width: 60px; height: 4px;
  background: linear-gradient(to left, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ====== CEO SECTION ====== */
.ceo-section {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 65%, #1f9a7c 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* Background heart shapes */
.ceo-bg-heart1 {
  position: absolute;
  top: -60px; left: -80px;
  width: 420px; height: 420px;
  background: rgba(255,255,255,0.05);
  clip-path: path('M210,380 C210,380 16,267 16,142 C16,65 78,20 140,48 C166,59 188,78 210,103 C232,78 254,59 280,48 C342,20 404,65 404,142 C404,267 210,380 210,380Z');
  transform: rotate(-20deg);
  pointer-events: none;
}
.ceo-bg-heart2 {
  position: absolute;
  bottom: -80px; right: -60px;
  width: 340px; height: 340px;
  background: rgba(255,255,255,0.04);
  clip-path: path('M170,308 C170,308 13,217 13,115 C13,53 63,16 113,39 C135,48 152,63 170,83 C188,63 205,48 227,39 C277,16 327,53 327,115 C327,217 170,308 170,308Z');
  transform: rotate(15deg);
  pointer-events: none;
}

/* Photo */
.ceo-photo-outer { position: relative; display: inline-block; }
.ceo-ring-gold {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  opacity: 0.8;
  animation: ceoRingSpin 8s linear infinite;
}
.ceo-ring-gold::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes ceoRingSpin { to { transform: rotate(360deg); } }
.ceo-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  border: 3px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 5.5rem;
  color: rgba(255,255,255,0.55);
  margin: 0 auto;
  backdrop-filter: blur(6px);
}
.ceo-name-badge {
  display: inline-flex; align-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  padding: 5px 16px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.ceo-name { color: #fff; font-weight: 800; font-size: 1.35rem; margin: 0 0 4px; }
.ceo-credentials { color: rgba(255,255,255,0.65); font-size: .85rem; margin: 0; }

/* Mini stats */
.ceo-mini-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
}
.ceo-mini-num { font-size: 1.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.ceo-mini-lbl { font-size: .75rem; color: rgba(255,255,255,0.7); margin-top: 3px; }

/* Quote label tag */
.ceo-label-tag {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Quote card */
.ceo-quote-card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  padding: 36px 40px 30px;
  position: relative;
}
.ceo-qmark {
  font-size: 7rem;
  line-height: 0.55;
  color: var(--accent);
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 18px;
  display: block;
  opacity: 0.85;
}
.ceo-qtext {
  color: rgba(255,255,255,0.92);
  font-size: 1.08rem;
  line-height: 2;
  font-weight: 500;
  margin: 0;
}
.ceo-qfooter {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.ceo-qline { flex: 1; height: 1px; background: rgba(255,255,255,0.2); }
.ceo-read-btn {
  color: var(--accent);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.ceo-read-btn:hover { color: #fff; }

/* Values chips */
.ceo-value-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50px;
  padding: 9px 14px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background .2s;
}
.ceo-value-chip:hover { background: rgba(255,255,255,0.14); }
.ceo-value-chip i { color: var(--accent); }

/* ====== ABOUT ====== */
.about-section { padding: 80px 0; background: #fff; }
.about-img-wrap { position: relative; }
.about-img-wrap .img-main {
  border-radius: 20px;
  width: 100%;
  background: linear-gradient(135deg, var(--light-bg), #c8ede4);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.about-img-wrap .img-main i { font-size: 100px; color: var(--primary); opacity: 0.4; }
.about-img-main {
  border-radius: 20px;
  width: 100%;
  background: linear-gradient(135deg, var(--light-bg), #c8ede4);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.about-badge {
  position: absolute;
  bottom: -20px; left: 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  text-align: center;
  min-width: 130px;
  box-shadow: 0 8px 24px rgba(30,107,90,0.3);
}
.about-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge p { font-size: 0.8rem; margin: 2px 0 0; opacity: .85; }
.about-content { padding-inline-start: 24px; }
.about-content h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.about-content h2 span { color: var(--primary); }
.about-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.9; margin-bottom: 16px; }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.about-value-tag {
  display: flex; align-items: center; gap: 8px;
  background: var(--light-bg);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}
.about-value-tag i { color: var(--accent); }
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .2s;
  font-family: 'Tajawal', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-custom {
  border-radius: 50px;
  font-family: 'Tajawal', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ====== PROGRAMS ====== */
.programs-section { padding: 80px 0; background: var(--light-bg); }
.prog-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  height: 100%;
  border: 1px solid var(--border-light);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.prog-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(to left, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: right;
}
.prog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(30,107,90,0.15); }
.prog-card:hover::before { transform: scaleX(1); }
.prog-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.prog-card h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.prog-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 14px;
}
.prog-link:hover { color: var(--primary-dark); }

/* ====== NEWS ====== */
.news-section { padding: 80px 0; background: #fff; }
.news-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.news-card:hover { box-shadow: 0 12px 36px rgba(30,107,90,0.13); transform: translateY(-4px); }
.news-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), #2dae88);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.news-img img { width:100%; height:100%; object-fit:cover; display:block; transition: transform .4s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-img.v2 { background: linear-gradient(135deg, #134d40, var(--primary-light)); }
.news-img.v3 { background: linear-gradient(135deg, #0f3d31, var(--primary)); }
.news-img i { font-size: 48px; color: rgba(255,255,255,0.3); }
.news-cat {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}
.news-body { padding: 20px; background: #fff; }
.news-date { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 0.82rem; margin-bottom: 10px; }
.news-body h5 { font-size: 1rem; font-weight: 700; line-height: 1.5; margin-bottom: 8px; color: var(--text-dark); }
.news-body p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; margin: 0; }
.news-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.87rem;
  margin-top: 12px;
}
.news-read:hover { color: var(--primary-dark); }

/* ====== CTA MEMBERSHIP ====== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2dae88 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta-content { position: relative; z-index: 2; text-align: center; color: #fff; }
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.cta-content h2 span { color: var(--accent); }
.cta-content p { font-size: 1.05rem; opacity: 0.88; max-width: 560px; margin: 0 auto 32px; line-height: 1.8; }
.btn-cta-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 34px;
  font-weight: 700;
  font-size: 1rem;
  transition: background .2s, transform .2s;
  font-family: 'Tajawal', sans-serif;
}
.btn-cta-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-cta-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 11px 30px;
  font-weight: 600;
  font-size: 1rem;
  margin-inline-start: 12px;
  transition: all .2s;
  font-family: 'Tajawal', sans-serif;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }
.member-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.member-type-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  color: #fff;
  min-width: 150px;
  transition: background .2s;
}
.member-type-card:hover { background: rgba(255,255,255,0.2); }
.member-type-card i { font-size: 2rem; display: block; margin-bottom: 8px; }
.member-type-card p { font-size: 0.9rem; margin: 0; font-weight: 600; }

/* ====== GOVERNANCE ====== */
.governance-section { padding: 80px 0; background: var(--light-bg); }
.gov-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  height: 100%;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.gov-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(30,107,90,0.12); }
.gov-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
  background: var(--light-bg);
  border: 2px solid var(--border-light);
  color: var(--primary);
  transition: background .2s, color .2s;
}
.gov-card:hover .gov-icon { background: var(--primary); color: #fff; border-color: var(--primary); }
.gov-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.gov-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* ====== PARTNERS ====== */
.partners-section { padding: 60px 0 70px; background: #fff; border-top: 1px solid var(--border-light); }

/* Marquee wrapper — clips overflow, adds fade edges */
.partners-marquee-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  padding: 14px 0;
  direction: ltr; /* force LTR so translateX(-50%) works correctly regardless of page direction */
}
.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.partners-marquee-wrapper::before { left: 0;  background: linear-gradient(to right, #fff 60%, transparent 100%); }
.partners-marquee-wrapper::after  { right: 0; background: linear-gradient(to left,  #fff 60%, transparent 100%); }

/* Track holds 2 identical sets — no gap property, use margin-right per card
   so each card unit = card-width + margin = equal across both sets → gapless loop */
.partners-marquee-track {
  display: flex;
  width: max-content;
  animation: partnersScroll 26s linear infinite;
}
.partners-marquee-track:hover { animation-play-state: paused; }

/* Each card: 220px + 26px margin-right = 246px unit × 6 = 1476px per set
   translateX(-50%) = exactly -1476px → seamless */
@keyframes partnersScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual logo card */
.partner-logo {
  flex-shrink: 0;
  width: 220px;
  margin-right: 26px;   /* spacing comes AFTER every card including last of set 1 → equal halves */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--border-light);
  padding: 14px 20px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  cursor: default;
}
.partner-logo:hover {
  box-shadow: 0 6px 24px rgba(28,122,124,0.13);
  transform: translateY(-3px);
  border-color: var(--primary-light);
}
.partner-logo img {
  max-height: 72px;
  max-width: 180px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter .3s;
}
.partner-logo:hover img { filter: grayscale(0%); }

/* ====== FOOTER ====== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); padding: 60px 0 0; }
.footer .row { align-items: flex-start; }
.footer-logo { text-align: center; }
.footer-logo img { width: 100%; max-width: 160px; height: auto; margin: 0 auto 12px; display: block; filter: brightness(0) invert(1); }
.footer-logo h5 { text-align: center; font-size: 1rem; }
.footer-logo p { text-align: center; font-size: 0.85rem; line-height: 1.7; opacity: .8; margin-bottom: 0; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-inline-end: 6px;
  color: #fff;
  font-size: 0.95rem;
  transition: background .2s;
}
.footer-social a:hover { background: var(--accent); }
.footer h6 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color .2s, padding-inline-end .2s;
  display: flex; align-items: center; gap: 8px;
}
.footer-links a i { font-size: 0.6rem; color: var(--accent); }
.footer-links a:hover { color: #fff; padding-inline-end: 4px; }
.footer-contact li {
  display: flex; gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact li i { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; margin-top: 48px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; opacity: .7; text-align: center; }

/* ====== SCROLL TO TOP ====== */
#scrollTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, background .2s;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(30,107,90,0.3);
}
#scrollTop.show { opacity: 1; pointer-events: auto; }
#scrollTop:hover { background: var(--primary-dark); }

/* ====== WHATSAPP FLOAT ====== */
#wa-float {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 52px; height: 52px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  z-index: 9998;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  transition: transform .2s, box-shadow .2s;
}
#wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.6); color: #fff; }

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
  .hero-slide { min-height: 420px; }
  .about-content { padding-inline-start: 0; margin-top: 60px; }
  .about-badge { left: 10px; bottom: -16px; }
  .stat-item { border-inline-end: none; border-bottom: 1px solid var(--border-light); }
  .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 767px) {
  .top-bar .d-flex { flex-wrap: wrap; gap: 6px; }
  .hero-slide { min-height: 360px; text-align: center; }
  .hero-content p { max-width: 100%; }
  .btn-hero-outline { margin-inline-start: 0; margin-top: 10px; }
  .member-type-card { min-width: 120px; }
  .about-badge { display: none; }
  .about-content { padding-inline-start: 0; }
}

/* ====== PAGE HERO (sub-pages) ====== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 45px 0 35px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.page-hero h1 { font-weight: 800; font-size: 2.4rem; position: relative; z-index: 2; }
.page-hero .breadcrumb { position: relative; z-index: 2; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.75); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ====== VISION / MISSION BOXES ====== */
.vision-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 20px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.vision-box::before {
  content: '\F50E';
  font-family: 'bootstrap-icons';
  position: absolute;
  font-size: 8rem;
  color: rgba(255,255,255,0.07);
  top: 10px; left: 20px;
}
.mission-box {
  background: var(--light-bg);
  border: 2px solid var(--border-light);
  border-right: 5px solid var(--primary);
  border-radius: 16px;
  padding: 50px 40px;
  height: 100%;
}

/* ====== GOAL CARDS ====== */
.goal-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px 24px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.goal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(28,122,124,0.15);
  border-color: var(--primary-light);
}
.goal-card .goal-num {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  margin-bottom: 16px;
}
.goal-card h5 { color: var(--primary-dark); font-weight: 700; }
.goal-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; margin: 0; }

/* ====== VALUE CARDS ====== */
.value-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}
.value-card:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28,122,124,0.2);
}
.value-card .value-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}
.value-card:hover .value-icon { color: var(--accent); }
.value-card h5 { color: var(--primary-dark); font-weight: 700; font-size: 1.05rem; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.value-card:hover h5, .value-card:hover p { color: #fff; }
.value-card:hover p { color: rgba(255,255,255,0.85); }

/* ====== INTRO BOX ====== */
.intro-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-right: 5px solid var(--primary);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(28,122,124,0.08);
}
.intro-box p { font-size: 1.08rem; line-height: 2.1; color: var(--text-dark); margin: 0; text-align: justify; }

/* ====== CONTENT SECTION ALT BACKGROUNDS ====== */
.content-section:nth-child(even) { background: var(--light-bg); }

/* ====== DEMO BADGE ====== */
#demo-badge {
  position: fixed;
  bottom: 90px;
  left: 16px;
  z-index: 9999;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-family: 'Tajawal', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
  animation: demoPulse 3s ease-in-out infinite;
  pointer-events: none;
  user-select: none;
}
#demo-badge i { font-size: 0.9rem; }

@keyframes demoPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(245,158,11,0.35); }
  50%       { box-shadow: 0 4px 28px rgba(245,158,11,0.65); }
}
