/* =========================
   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;
}

/* ---------- Wardway Offer Section ---------- */

.tile-offer h3 {
  text-align: center;
}

.tile-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.offer-intro {
  max-width: 720px;
  text-align: left;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.offer-level {
  max-width: 720px;
  text-align: left;
  margin-top: 0.8rem;
}

.offer-level h4 {
  margin-bottom: 0.2rem;
}

.offer-summary {
  margin-top: 1.2rem;
  text-align: center;
}

.tile-architecture {
  grid-column: 1 / -1;
}

.architecture-diagram {
  width: 90%;
  max-width: 1100px;
  margin-top: 1rem;
  border-radius: 12px;
}

/* Architecture feature tile */

.tile-architecture {
  max-width: 1200px;
  width: 95%;
  margin: 3rem auto;
  text-align: center;
}

.architecture-intro {
  max-width: 720px;
  margin: 0 auto 1rem auto;
  text-align: left;
  line-height: 1.6;
}

.architecture-diagram {
  width: 100%;
  max-width: 1100px;
  border-radius: 12px;
  margin-top: 1rem;
}
/* ---------- Architecture Tile Override ---------- */

.tile.tile-architecture {
  max-width: none;
  width: 42vw;
  margin: 3rem auto;
}

.tile-architecture .architecture-diagram {
  width: 100%;
  max-width: 1200px;
  height: auto;
}

/* Space below header logo */

.wardway-section:first-of-type {
  margin-top: 1rem;
}

.section-inner {
  margin-top: 1rem;
}
body {
  padding-top: 80px;
}
/* Space between logo header and tiles */

.page-content {
  margin-top: 20px;
}

/* Header spacing */

.hero h1 {
  margin-bottom: 0.3rem;
}

.hero p {
  margin-top: 0.3rem;
}

/* =========================
   WARDWAY HEADER / HERO
   ========================= */

.hero {
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.hero img {
  margin-bottom: 0.25rem;
}

.hero h1 {
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.hero p {
  margin-top: 0.25rem;
}
/* =========================
   HERO HEADER (WARDWAY LOGO)
   ========================= */

.hero {
  text-align: center;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.hero img {
  margin-bottom: 0.2rem;
}

.hero h1 {
  margin-top: 0.1rem;
  margin-bottom: 0.2rem;
}

.hero p {
  margin-top: 0.2rem;
}
.hero {
  text-align: center;
  padding: 0.6rem 1rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
