/* ============================================================
   AFRICA IN KAZAKHSTAN — Main Stylesheet
   Color palette: Pan-African (Green, Gold, Red)
   ============================================================ */

:root {
  --green-dark:  #1B4332;
  --green-mid:   #2D6A4F;
  --green-light: #40916C;
  --green-pale:  #D8F3DC;
  --gold:        #F4C430;
  --gold-dark:   #B8860B;
  --red:         #E63946;
  --red-pale:    #FDE8EA;
  --white:       #FFFFFF;
  --bg:          #FBF7EE;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-400:    #9CA3AF;
  --gray-600:    #4B5563;
  --gray-800:    #1F2937;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --container:   1160px;
  --header-h:    106px;
  --transition:  0.18s ease;
}

/* ============================================================
   ICON CONTAINERS
   ============================================================ */
.section-card__icon {
  width: 46px; height: 46px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 14px;
  transition: transform var(--transition);
}
.section-card__icon i { font-size: 19px; color: inherit; }
/* Pan-African colour cycle across the 8 cards */
.sections__grid .section-card:nth-child(4n+1) .section-card__icon { background: var(--green-dark); color:#fff; }
.sections__grid .section-card:nth-child(4n+2) .section-card__icon { background: var(--gold);       color: var(--green-dark); }
.sections__grid .section-card:nth-child(4n+3) .section-card__icon { background: var(--red);        color:#fff; }
.sections__grid .section-card:nth-child(4n+4) .section-card__icon { background: var(--green-light); color:#fff; }

.info-card__icon {
  width: 50px; height: 50px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 14px;
}
.info-card__icon i { font-size: 22px; color: inherit; }
.info-card--urgent .info-card__icon { background: var(--red); color:#fff; }
.info-grid .info-card:nth-child(3) .info-card__icon { background: var(--gold); color: var(--green-dark); }

.forum-cat__icon {
  width: 42px; height: 42px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
}
.forum-cat__icon i { font-size: 18px; color: var(--green-dark); }

/* Country Code Badge */
.cc {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  margin-right: 3px;
  font-family: 'Courier New', monospace;
}
.cc-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 22px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.5px;
  font-family: 'Courier New', monospace;
  padding: 0 4px;
}

/* Hot badge in forum */
.hot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FDE8EA;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 6px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea {
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
input:focus, textarea:focus { border-color: var(--green-light); }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.2vw, 24px);
}
.gold { color: var(--gold); }
.section-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--green-pale);
}
.badge-new {
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 5px;
  text-transform: uppercase;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: -40px;
  z-index: 200;
  background: var(--green-dark);
  border-bottom: 2px solid var(--gold);
  height: var(--header-h);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.header__stripe {
  order: 1;
  position: relative;
  height: 40px;
  overflow: hidden;
  background: #1B4332;
  flex-shrink: 0;
}
.stripe__track {
  display: flex;
  height: 100%;
  animation: stripe-scroll 90s linear infinite;
  width: max-content;
}
.stripe__track:hover {
  animation-play-state: paused;
}
@keyframes stripe-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.header__stripe-seg {
  width: 58px;
  height: 40px;
  flex-shrink: 0;
  position: relative;
  background: #111;
  border-right: 2px solid #0d2a1e;
  padding: 3px;
  box-sizing: border-box;
  cursor: default;
}
.header__stripe-seg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.header__stripe-seg .seg-code {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: rgba(0,0,0,0.72);
  text-align: center;
  font-size: 10px;
  line-height: 18px;
  font-weight: 900;
  font-family: 'Courier New', monospace;
  color: #fff;
  letter-spacing: 0.8px;
  pointer-events: none;
}
.header__inner {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
  flex-shrink: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1;
  min-width: 0;
}
.logo__text { min-width: 0; overflow: hidden; }
.logo__maps {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo__name {
  display: block;
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo__sub {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  line-height: 1.2;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 1 auto;
  min-width: 0;
  justify-content: center;
}
.nav__link {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav__link.active { color: var(--gold); background: rgba(244,196,48,0.12); }
/* Kazakh nav words are long — shrink them slightly so the brand name never clips */
html[lang="kk"] .nav__link { font-size: 12px; padding: 6px 7px; }

.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 2px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
  letter-spacing: 0;
}
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.lang-btn.active { background: var(--gold); color: var(--green-dark); }

/* Language dropdown */
.lang-dd { position: relative; flex-shrink: 0; }
.lang-dd__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background var(--transition);
}
.lang-dd__btn:hover { background: rgba(255,255,255,0.16); }
.lang-dd__btn > .fa-globe { font-size: 13px; color: var(--gold); }
.lang-dd__caret { font-size: 9px; opacity: 0.7; transition: transform 0.2s ease; }
.lang-dd.open .lang-dd__caret { transform: rotate(180deg); }
.lang-dd__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 5px;
  background: var(--green-dark);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  z-index: 300;
}
.lang-dd.open .lang-dd__menu { display: flex; }
.lang-dd__menu .lang-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
}
.lang-dd__menu .lang-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.lang-dd__menu .lang-btn.active { background: var(--gold); color: var(--green-dark); }
html[dir="rtl"] .lang-dd__menu { right: auto; left: 0; }
html[dir="rtl"] .lang-dd__menu .lang-btn { text-align: right; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: #6FB07A; /* scene mid-green; only ever peeks behind the blurred fill */
  padding: 72px 0 64px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
}
/* Blurred full-bleed fill: covers the side gaps on ultra-wide screens so the
   sharp, width-capped scene never sits on a hard color seam. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../img/hero-bg.jpg') center / cover no-repeat;
  filter: blur(34px) saturate(1.08);
  transform: scale(1.12);
}
/* Sharp scene, width-capped and centered. At/below the cap it is full-bleed
   (identical to before); above it the blurred ::before fills the sides so the
   Africa map is never zoomed past the frame and cropped. */
.hero__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  z-index: 1;
  background-image: url('../img/hero-bg.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.flag-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}
.hero__title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 12px;
}
.hero__sub {
  font-size: 14px;
  opacity: 0.82;
  max-width: 360px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.hero__btns {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.hero__btns .btn {
  padding: 11px 16px;
  font-size: 13px;
  white-space: nowrap;
}
.hero__layout {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero__left {
  flex: 0 0 auto;
  max-width: 453px;
  min-width: 0;
  padding: 28px 34px 30px;
  border-radius: 20px;
  background: rgba(20, 42, 30, 0.42);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.hero__right { display: none; }
.hero__flags { display: none; }
.hero__africa-logo {
  width: 100%;
  filter: drop-shadow(0 6px 28px rgba(0,0,0,0.45));
  animation: africa-float 5s ease-in-out infinite;
}
@keyframes africa-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .hero__layout { gap: 32px; }
  .hero__right  { width: 240px; }
}
@media (max-width: 680px) {
  .hero { min-height: 0; padding: 40px 0; }
  .hero__left {
    max-width: none;
    width: 100%;
    padding: 24px;
  }
  .hero__btns { flex-wrap: wrap; }
}
/* Large monitors (≥1600px): the scene width is capped at 1600px, so give the
   hero more height to reveal the full top (Mediterranean) and bottom (Cape) of
   the Africa map instead of center-cropping it. */
@media (min-width: 1600px) {
  .hero { min-height: 580px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--gold {
  background: var(--gold);
  color: var(--green-dark);
}
.btn--gold:hover {
  background: #e6b82a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(244,196,48,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--green {
  background: var(--green-dark);
  color: var(--white);
}
.btn--green:hover { background: var(--green-mid); }
.btn--white {
  background: var(--white);
  color: var(--green-dark);
}
.btn--white:hover { background: var(--green-pale); }
.btn--sm { padding: 7px 16px; font-size: 12px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats {
  background: var(--green-mid);
  padding: 18px 0;
}
.stats__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 12px;
  cursor: default;
  transition: transform 0.25s ease, background 0.25s ease;
}
.stat:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}
.stat__ic {
  font-size: 19px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), color 0.25s ease;
}
.stat:hover .stat__ic {
  transform: scale(1.25) rotate(-8deg);
  color: #fff;
}
.stat__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.stat-item__num,
.stat__num-static {
  font-size: 23px;
  font-weight: 800;
  color: var(--gold);
}
.stat__plus {
  font-size: 17px;
  font-weight: 800;
  color: var(--gold);
}
.stat__lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 1px;
}
.stat__sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* ============================================================
   SECTIONS GRID
   ============================================================ */
.sections { padding: 54px 0; }
.sections__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.section-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  border: 1.5px solid var(--gray-200);
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 14px rgba(27,67,50,0.07);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.section-card:hover {
  border-color: var(--green-light);
  border-top-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(27,67,50,0.14);
}
.section-card:hover .section-card__icon { transform: scale(1.08); }
.section-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 5px;
}
.section-card__desc {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.5;
  flex: 1;
}
.section-card__count {
  margin-top: 12px;
  font-size: 11px;
  color: var(--green-light);
  font-weight: 600;
}

/* ============================================================
   TWO-COLUMN LAYOUT BLOCK
   ============================================================ */
.two-col-section { padding: 40px 0 54px; background: #EAF4ED; }
.two-col-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.block {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
}
.block__header {
  padding: 14px 20px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.block__more {
  color: var(--gold);
  font-size: 11px;
  font-weight: 400;
  transition: color var(--transition);
}
.block__more:hover { color: var(--white); }

/* NEWS */
.news-item {
  padding: 13px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition);
}
.news-item:hover { background: var(--bg); }
.news-item:last-child { border-bottom: none; }
.news-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.news-tag--visa    { background: #FFF3CD; color: #856404; }
.news-tag--event   { background: #D1ECF1; color: #0C5460; }
.news-tag--culture { background: #F8D7DA; color: #721C24; }
.news-tag--info    { background: var(--green-pale); color: var(--green-dark); }
.news-title { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--gray-800); }
.news-meta  { font-size: 10px; color: var(--gray-400); margin-top: 3px; }

/* COUNTRIES LIST */
.country-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition);
}
.country-item:hover { background: var(--bg); }
.c-flag { font-size: 18px; width: 24px; text-align: center; }
.c-name { font-size: 13px; font-weight: 600; flex: 1; }
.c-bar-wrap {
  width: 70px; height: 5px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
}
.c-bar {
  height: 100%;
  background: var(--green-light);
  border-radius: 3px;
  width: 0;
  transition: width 1.2s ease;
}
.c-num { font-size: 11px; color: var(--gray-400); width: 36px; text-align: right; }
.countries-list__more {
  display: block;
  text-align: center;
  padding: 13px;
  font-size: 12px;
  color: var(--green-light);
  font-weight: 600;
  border-top: 1px solid var(--gray-100);
  cursor: pointer;
  transition: all var(--transition);
}
.countries-list__more:hover { color: var(--green-dark); background: var(--bg); }

/* ============================================================
   INFO CARDS (3-col)
   ============================================================ */
.info-section { padding: 40px 0 54px; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  border-left: 4px solid var(--green-light);
  padding: 24px;
  box-shadow: 0 4px 14px rgba(27,67,50,0.06);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27,67,50,0.12);
}
.info-card--urgent { border-left-color: var(--red); }
.info-grid .info-card:nth-child(3) { border-left-color: var(--gold); }
.info-card__icon { margin-bottom: 12px; }
.info-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.info-card__list { display: flex; flex-direction: column; gap: 0; flex: 1; }
.info-card__list li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 6px 0;
  border-bottom: 1px dashed var(--gray-200);
  line-height: 1.4;
}
.info-card__list li:last-child { border-bottom: none; }
.info-card__list li::before { content: '→ '; color: var(--green-light); font-weight: 700; }
.info-card--urgent .info-card__list li::before { content: ''; }
.info-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-light);
  transition: color var(--transition);
}
.info-card__link:hover { color: var(--green-dark); }
.info-card--urgent .info-card__link { color: var(--red); }

/* ============================================================
   EVENTS
   ============================================================ */
.event-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition);
}
.event-item:hover { background: var(--bg); }
.event-item:last-child { border-bottom: none; }
.event-date {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  width: 42px;
  min-width: 42px;
  text-align: center;
  padding: 6px 0;
  flex-shrink: 0;
}
.event-day   { font-size: 18px; font-weight: 800; line-height: 1; }
.event-month { font-size: 9px; text-transform: uppercase; opacity: 0.8; }
.event-name  { font-size: 13px; font-weight: 600; color: var(--gray-800); line-height: 1.3; }
.event-loc   { font-size: 11px; color: var(--gray-400); margin-top: 3px; }
.event-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 5px;
}

/* ============================================================
   FORUM
   ============================================================ */
.forum-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition);
}
.forum-item:hover { background: var(--bg); }
.forum-item:last-child { border-bottom: none; }
.forum-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.forum-q       { font-size: 13px; font-weight: 600; color: var(--gray-800); line-height: 1.35; }
.forum-meta    { font-size: 10px; color: var(--gray-400); margin-top: 3px; }
.forum-replies { color: var(--green-light); font-weight: 600; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  background: linear-gradient(130deg, var(--green-dark) 0%, #204D3A 100%);
  padding: 56px 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta__text h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.cta__text p {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
}
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: #0D2B1F;
  color: rgba(255,255,255,0.65);
  overflow: hidden;
}
/* pan-African accent strip on top */
.footer__strip {
  position: relative;
  z-index: 3;
  height: 4px;
  background: linear-gradient(90deg,
    var(--green-light) 0%,
    var(--green-mid) 22%,
    var(--gold) 50%,
    var(--gold-dark) 64%,
    var(--red) 100%);
}
/* white-line chevron-weave pattern behind content */
.footer__pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.10;
  pointer-events: none;
}
.footer__pattern svg { display: block; width: 100%; height: 100%; }
/* faint Africa map watermark on the right */
.footer__map {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  height: auto;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
}
.footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  padding: 44px 24px 36px;
  flex-wrap: wrap;
}
.footer__brand { max-width: 420px; }
.footer__brand .logo { margin-bottom: 14px; }
.footer__brand .logo__text { overflow: visible; }
.footer__brand .logo__name { white-space: nowrap; overflow: visible; text-overflow: clip; }
.footer__brand .footer__note { max-width: 300px; }
.footer__note { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.45); }
.footer__cols {
  display: flex;
  gap: 48px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.footer__col a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--gold); }
/* social icon circles */
.footer__social { display: flex; gap: 10px; margin-top: 4px; }
.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.footer__social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.footer__social .s-tg { background: #229ED9; }
.footer__social .s-ig { background: #E1306C; }
.footer__social .s-fb { background: #1877F2; }
.footer__social .s-wa { background: #25D366; }
.footer__bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 24px;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}
.footer__bottom-links { display: flex; gap: 16px; }
.footer__bottom-links a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer__bottom-links a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .sections__grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-section__inner { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; flex-direction: column; }
  .burger { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--green-dark);
    padding: 12px 20px 20px;
    gap: 3px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
    z-index: 199;
  }
  .nav.open .nav__link {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .hero { padding: 44px 0 36px; }
}
@media (max-width: 640px) {
  .sections__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .info-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 24px; }
  .stats__row { gap: 10px 4px; }
  .stat__sep { display: none; }
  .stat { padding: 4px 14px; }
  .cta__inner { flex-direction: column; }
  .footer__inner { flex-direction: column; gap: 24px; }
  .footer__cols { flex-direction: column; gap: 20px; }
  .footer__col { gap: 6px; }
  .logo__sub { display: none; }
}
@media (max-width: 560px) {
  .header__inner { gap: 8px; }
  .logo__maps { height: 44px; }
  .logo__name { font-size: 13px; }
  .lang-switcher { padding: 2px; gap: 2px; flex-wrap: wrap; max-width: 104px; row-gap: 3px; justify-content: flex-end; }
  .lang-btn { padding: 3px 6px; font-size: 10px; letter-spacing: 0; }
  .stat { padding: 6px 12px; gap: 8px; }
  .stat-item__num, .stat__num-static { font-size: 20px; }
  .stat__ic { font-size: 17px; }
}
@media (max-width: 400px) {
  .sections__grid { grid-template-columns: 1fr; }
  .logo__name { font-size: 12px; }
  .logo__maps { height: 36px; }
}

/* ============================================================
   RTL (Arabic)
   ============================================================ */
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] .hero__layout { direction: ltr; }            /* keep glass card over the sun */
html[dir="rtl"] .hero__left { direction: rtl; text-align: right; }
html[dir="rtl"] .logo { direction: ltr; }                    /* brand name stays LTR */
html[dir="rtl"] .accordion__head { text-align: right; }
html[dir="rtl"] .crumb-arrow { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .page-content,
html[dir="rtl"] .sidebar-card,
html[dir="rtl"] .sidebar-urgent,
html[dir="rtl"] .accordion__body,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .info-card,
html[dir="rtl"] .event-card,
html[dir="rtl"] .forum-thread,
html[dir="rtl"] .forum-cat { text-align: right; }
html[dir="rtl"] .form-label { display: block; text-align: right; }
html[dir="rtl"] input,
html[dir="rtl"] textarea { text-align: right; }
