/* =====================================================
   WEST AFRICA PAY - GLOBAL STYLESHEET
   Responsive • Mobile • Tablet • Desktop
===================================================== */

/* ================= GLOBAL RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body.dark-theme {
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
}

/* ================= HEADER ================= */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.main-header.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.header-content {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 40px;
}

/* NAVIGATION */

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.2s ease;
}

.nav a:hover {
  color: #2e7d32;
}

/* HEADER BUTTONS */

.header-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.header-buttons a {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  text-align: center;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

.btn-primary {
  background: #2e7d32;
  color: #fff;
}

.btn-primary:hover {
  background: #256628;
}

/* ================= HERO SECTION ================= */

.hero {
  background: url('assets/africa-map-bg.jpg') center center / cover no-repeat;
  padding: 180px 20px 120px 20px;
  text-align: center;
}

.hero-overlay {
  background: rgba(0,0,0,0.75);
  padding: 60px 20px;
}

.hero-content {
  max-width: 900px;
  margin: auto;
}

.hero-logo img {
  width: 450px;
  max-width: 100%;
}

.hero-tagline {
  font-size: 32px;
  margin-top: 25px;
}

.hero-subtext {
  font-size: 18px;
  opacity: 0.9;
  margin: 15px 0 25px 0;
}

/* HERO BUTTONS */

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-gold {
  background: linear-gradient(to right, #c9a227, #f5d76e);
  padding: 12px 28px;
  border-radius: 8px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.btn-green {
  background: #2e7d32;
  padding: 12px 28px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* ================= GENERIC SECTION STYLING ================= */

.features,
.why-section,
.accounts-section {
  padding: 90px 20px;
}

.features {
  background: #f5f5f5;
  color: #000;
}

.why-section {
  background: #ffffff;
  color: #000;
}

.accounts-section {
  background: #f8f8f8;
  color: #000;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

/* ================= GRID STRUCTURE ================= */

.features-grid,
.why-grid,
.accounts-grid {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 30px;
}

/* CARDS */

.feature-card,
.account-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  flex: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.why-item {
  flex: 1;
  text-align: center;
}

/* ================= FOOTER ================= */

.main-footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 50px 20px;
  font-size: 14px;
}

.main-footer a {
  color: #ccc;
  text-decoration: none;
}

.main-footer a:hover {
  color: #fff;
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

/* TABLET */

@media (max-width: 1024px) {

  .features-grid,
  .why-grid,
  .accounts-grid {
    flex-direction: column;
  }

  .hero-tagline {
    font-size: 24px;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .hero-logo img {
    width: 300px;
  }

}

/* MOBILE */

@media (max-width: 768px) {

  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .header-buttons {
    flex-direction: column;
    width: 100%;
  }

  .header-buttons a {
    width: 100%;
  }

  .hero {
    padding-top: 220px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-gold,
  .btn-green {
    width: 100%;
  }

}

/* SMALL PHONES */

@media (max-width: 480px) {

  .hero-tagline {
    font-size: 20px;
  }

  .section-title {
    font-size: 24px;
  }

}
