/* =========================
   WARDWAY PLATFORM DIAGRAM
   ========================= */

.wardway-overview {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.diagram-frame {
  max-width: 940px;
  margin: 2.5rem auto;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 40px rgba(0,0,0,0.45);
}

.platform-diagram {
  max-width: 900px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* =========================
   TILE LOGO (WARDWAY DIGITAL)
   ========================= */
.tile-logo {
  display: block;
  max-width: 190px;
  height: auto;
  margin: 0 auto 0.15rem auto;
}

/* =========================
   AFRICA / GLOBAL REACH
   ========================= */

.global-reach {
  position: relative;
  padding: 3rem 1.5rem;
  overflow: hidden;

  display: flex;
  justify-content: center;

  min-height: 420px;   /* ← THIS IS THE KEY */
}

.global-bg {
  position: absolute;
  inset: 0;

  background: url("/img/africa-global-bg.png")
              center center / cover no-repeat;

  opacity: 0.08;
  filter: blur(8px) saturate(80%) brightness(95%);
  transform: scale(1.08);

  pointer-events: none;
  z-index: 0;
}

.global-content {
  position: relative;
  z-index: 1;

  max-width: 1200px;   /* ← match tile grid width */
  width: 100%;
  margin: 0 auto;

  box-sizing: border-box;
}

.global-content.glass {
  max-width: 1075px;   /* ← MATCH TILE GRID */
  width: 100%;
  margin: 0 auto;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 3rem;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 40px rgba(0,0,0,0.45);
}

/* =========================
   AFRICA TILE — FORCE INTRO MODE
   ========================= */

section#africa-reach .section-inner .feature-tile {
  box-shadow: none !important;
  background: transparent !important;
  padding-bottom: 2rem !important;
  margin-bottom: 0 !important;
}

/* Pull cinematic section upward slightly */
section.global-reach {
  margin-top: -2rem !important;
}

/* =========================
   TILE LINKS (ANCHOR FIX)
   ========================= */

.tile-grid a.tile,
.tile-bottom-center a.tile {
  display: flex;
  flex-direction: column;
  justify-content: center;

  text-decoration: none;
  color: inherit;
}

.tile-grid a.tile:hover {
  transform: translateY(-2px);
}

.tile-grid a.tile h3,
.tile-grid a.tile p {
  pointer-events: none;
}
/* =========================
   TILE GRID LINK COLOR FIX
   ========================= */

.tile-grid a {
  color: inherit;
  text-decoration: none;
}
/* =========================
   GLOBAL SECTION DIVIDER
   ========================= */

.global-divider {
  display: flex;
  justify-content: center;
  align-items: center;

  margin: 5rem 0 4rem;
  pointer-events: none;
}

.global-divider img {
  width: 420px;
  max-width: 70vw;

  opacity: 0.12;
  filter: blur(0.5px);
}

@media (max-width: 768px) {
  .global-divider {
    margin: 3.5rem 0 3rem;
  }

  .global-divider img {
    width: 280px;
    opacity: 0.08;
  }
}
/* =========================
   AFRICA REACH BADGE
   ========================= */

.africa-reach-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;

  width: 80px;
  max-width: 80px;

  opacity: 0.85;
  pointer-events: none;

  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}

@media (max-width: 768px) {
  .africa-reach-badge {
    width: 56px;
    max-width: 56px;
    opacity: 0.75;
  }
}
 /* =========================
   BOTTOM GET ACCESS TILE FIX
   ========================= */

.tile-bottom-center a.tile {
  text-decoration: none !important;
  color: #7CFC00 !important; /* Wardway green */
}

.tile-bottom-center a.tile h3,
.tile-bottom-center a.tile p {
  color: #7CFC00 !important;
}

.tile-bottom-center a.tile:visited {
  color: #7CFC00 !important;
}
