/* =========================== GLOBAL STYLES =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: #f4f4f4;
  color: #000;
  transition: background 0.3s, color 0.3s;
  padding-top: 120px;   /* header spacing */
  padding-bottom: 90px; /* footer spacing */
}

/* Dark/Light Mode Compatibility */
body.dark,
body.dark-mode {
  background: #0a0a0f;
  color: #fff;
}

:root {
  --blue: #3B82F6;
  --gold: #FFBF00;
  --purple: #6D28D9;

  --light-bg: #ffffff;
  --light-text: #111827;

  --dark-bg: #0a0a0f;
  --dark-card: #1a1b22;
  --dark-text: #f3f4f6;
}

/* =========================== HEADER NAVIGATION =========================== */
header {
  background: linear-gradient(to right, #87CEFA 0%, #3B82F6 40%, #0A1A4A 100%);
  color: #fff;
  padding: 28px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Bigger, more visible logo */
header .logo {
  height: 85px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.8));
  padding: 4px;
  border-radius: 10px;
  box-shadow:
    0 0 12px rgba(255,191,0,0.35),
    inset 0 0 3px rgba(255,191,0,0.45);
  transition: 0.25s;
}

header .logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 14px rgba(255,255,255,1));
}

nav a {
  color: #fff;
  margin: 0 15px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links a {
  text-decoration: none; 
  color: #ffffff; 
  margin-left: 1.5rem; 
  font-weight: 600; 
  font-size: 1.6rem; /* Increase this value (e.g., 1.2rem or 18px) to make text bigger */
}

/* Active Page Styling */
.nav-links a.active {
  color: #facc15 !important; /* Gold color from your homepage screenshot */
  border-bottom: 3px solid #facc15; /* Optional: adds a gold line under the text */
  padding-bottom: 5px;
}
nav a:hover { opacity: 0.7; }

/* Mobile Menu */
#menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: #0a0a2e;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.4s ease;
}

#mobile-menu a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
}

#mobile-menu.open { right: 0; }

/* =========================== HERO =========================== */
.hero {
  background: linear-gradient(to bottom right, #0a0a3a, #141445);
  padding: 150px 20px;
  text-align: center;
  color: #fff;
  max-width: 1000px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

.subtitle {
  font-size: 1.4rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 20px auto;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 18px 40px;
  font-size: 1.3rem;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  border: none;
}

.btn-secondary {
  background: transparent;
  border: 3px solid var(--gold);
  color: var(--gold);
}

/* =========================== SECTIONS + CARDS =========================== */
.section {
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
  max-width: 1000px;
  margin: auto;
}

.plans {
  display: grid;
  gap: 20px;
  max-width: 1100px;
  margin: auto;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.plan-card,
.form-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: 0.25s;
}

.plan-card:hover { transform: translateY(-10px); }

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin: 10px 0 15px;
}

/* =========================== eSIM AD SECTION =========================== */
.ads-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.ad-box {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align: center;
}

.glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(26,159,58,0.35), transparent 70%);
  animation: floatGlow 6s infinite alternate ease;
}

@keyframes floatGlow {
  from { transform: translate(0,0); }
  to { transform: translate(10%,10%); }
}

/* =========================== HOME PAGE LAYOUT =========================== */
.home-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  max-width: 1400px;
  margin: auto;
  padding: 40px 20px;
}

.ads-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* =========================== ACCOUNT PAGE =========================== */
.account-hero {
  padding: 80px 20px 60px;
}

.account-container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.dash-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.dash-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.recharge-box {
  background: #0a0a2e;
  color: #fff;
  padding: 40px;
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  max-width: 650px;
  margin: auto;
}

/* =========================== DARK MODE (cleaned) =========================== */
body.dark .plan-card,
body.dark .form-card,
body.dark .dash-card {
  background: var(--dark-card);
  color: var(--dark-text);
}

body.dark #theme-toggle {
  background: #ffffffaa;
  color: #373434;
}

#theme-toggle {
  position: fixed;
  bottom: 35px;
  left: 35px;
  background: #675f5f;
  color: #ffffffae;
  border: none;
  font-size: 1.6rem;
  padding: 14px;
  border-radius: 50%;
  z-index: 999;
}

.fade { opacity: 0; transform: translateY(20px); transition: 1s ease; }
.fade.show { opacity: 1; transform: none; }

.fade-up { opacity: 0; transform: translateY(40px); transition: 1s ease; }
.fade-up.show { opacity: 1; transform: none; }

.hover-up:hover { transform: translateY(-10px); }

@media (max-width: 900px) {
  #menu-btn { display: block; }
  .nav-links { display: none; }

  .home-layout { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-buttons { justify-content: center; }

  .ads-column { align-items: center; gap: 20px; }
  .ads-column .row { flex-direction: column; }
}

/* =========================== HOMEPAGE LAYOUT (FINAL FIXED) =========================== */
.home-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1500px;
  margin: 40px auto;
  padding: 0 20px;
}

.home-left {
  flex: 1;
  min-width: 48%;
}

.home-right {
  flex: 1;
  min-width: 48%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ALIGN HERO LEFT */
.hero {
  text-align: left;
  padding: 60px 40px;
}

.hero .subtitle,
.hero .hero-buttons {
  text-align: left;
  justify-content: flex-start;
}

/* RIGHT COLUMN BOXES */
.ad-box {
  position: relative;
  background: linear-gradient(to bottom right, #ffffff, #eefbea);
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.ad-box:hover { transform: translateY(-6px); }

/* SHONA + NDEBELE ROW */
.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.row .ad-box { flex: 1; max-width: 100%; }

@media (max-width: 900px) {
  .home-wrapper { flex-direction: column; gap: 30px; }
  .home-left, .home-right { min-width: 100%; }
  .row { flex-direction: column; gap: 20px; }
}

/* ========================================== NEW IMPROVED eSIM COLOR THEME ========================================== */
.ad-box {
  background: linear-gradient(165deg, #f1fff1, #e5f7e8);
  border-radius: 22px;
  padding: 28px 32px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ad-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.20);
}

.ad-box .title {
  font-size: 28px;
  font-weight: 800;
  color: #6D28D9;
  margin-bottom: 3px;
}

.ad-box .subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #A132B3;
  margin-bottom: 15px;
}

.ad-box .features p {
  font-size: 16px;
  margin: 6px 0;
  color: #333;
}

.cta-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 34px;
  background: #3A25D6;
  color: #fff;
  font-size: 17px;
  border-radius: 32px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta-btn:hover {
  background: #6D28D9;
  transform: scale(1.05);
}

.glow { opacity: 0.18; }

.row .ad-box {
  padding: 24px;
  border-radius: 20px;
}

.row { gap: 20px; }

/* =========================== FOOTER =========================== */
footer {
  background: #0a0a2e;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 50px;
}

/* =========================== PROMO BANNER UNDER HERO =========================== */
.promo-banner {
  background: linear-gradient(135deg, #ffffffd7, #e8e8ff);
  padding: 22px 28px;
  border-radius: 18px;
  margin: 25px 0 35px;
  max-width: 650px;
  color: #1a1a2e;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  border-left: 6px solid #6D28D9;
  animation: fadeIn 1.2s ease forwards;
}

.promo-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6D28D9;
  margin-bottom: 6px;
}

.promo-details {
  font-size: 1rem;
  line-height: 1.6rem;
  opacity: 0.85;
  margin-bottom: 12px;
}

.promo-btn {
  display: inline-block;
  background: #6D28D9;
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
}

.promo-btn:hover {
  background: #4E22A9;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .promo-banner { padding: 18px 20px; }
  .promo-title { font-size: 1.2rem; }
}

/* ====================================== FIXED NAVIGATION BAR (HEADER) ====================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(to right, #87CEFA 0%, #3B82F6 40%, #0A1A4A 100%);
  color: #fff;
  padding: 28px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

body {
  padding-top: 120px !important;
  padding-bottom: 90px !important;
}

nav a {
  color: #fff;
  margin: 0 15px;
  font-weight: bold;
  text-decoration: none;
}

nav a:hover { opacity: 0.7; }

#menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100%;
  background: #0a0a2e;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.4s ease;
  z-index: 9999;
}

#mobile-menu.open { right: 0; }

/* =========================== HEADER ANIMATED NETWORK WAVES =========================== */
.header-waves {
  flex: 1;
  height: 45px;
  margin: 0 20px;
  background: url('wave.svg');
  background-size: 200% 100%;
  background-repeat: repeat-x;
  animation: waveMove 6s linear infinite;
  opacity: 0.45;
  filter: brightness(1.3);
}

@keyframes waveMove {
  0% { background-position-x: 0; }
  100% { background-position-x: -200%; }
}

.dark-mode .header-waves,
body.dark .header-waves {
  opacity: 0.65;
  filter: brightness(1.8);
}

/* =========================== CONTINUOUS NETWORK WAVES =========================== */
.header-waves {
  flex: 1;
  height: 45px;
  margin: 0 25px;
  background: url('wave-continuous.svg');
  background-size: 1200px 50px;
  background-repeat: repeat-x;
  animation: waveFlow 8s linear infinite;
  opacity: 0.55;
  filter: brightness(1.4);
}

@keyframes waveFlow {
  0% { background-position-x: 0; }
  100% { background-position-x: -1200px; }
}

.dark-mode .header-waves,
body.dark .header-waves {
  opacity: 0.75;
  filter: brightness(2);
}

/* =========================== GOGO IMAGE SECTION — SMALLER HEIGHT =========================== */
.gogo-row {
  display: flex;
  justify-content: center;
  margin-top: 0 !important;
}

.gogo-image {
  width: 100%;
  max-width: 700px;
  height: 550px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  animation: fadeIn 1.1s ease forwards;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .gogo-image {
    max-width: 300%;
    height: 300px;
  }
}

/* FIX HOMEPAGE EMPTY SPACE (RIGHT SIDE GAP) */
.home-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.hero {
  padding: 80px 40px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ads-column {
  margin-top: 0 !important;
  padding-top: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.ads-column img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.ads-column .ad-box:first-child {
  padding: 30px;
  transform: scale(0.95);
  margin-bottom: 10px !important;
}

@media (max-width: 1100px) {
  .home-layout { gap: 10px; }
}

/* ====================================== FIXED FOOTER (BOTTOM) ====================================== */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0a0a2e;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  z-index: 9999;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
}

/* =========================== FLOATING WHATSAPP BUTTON =========================== */
.chat-btn {
  position: fixed;
  bottom: 35px;
  right: 35px;
  background: #25d366;
  color: #fff;
  font-size: 2rem;
  padding: 18px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  z-index: 999;
}

.chat-btn:hover { transform: scale(1.1); }

/* ==================================================
   === FIX: MAKE HERO + ESIM + IMAGE LARGER ===
   ================================================== */

/* Bigger full-width layout */
.home-layout {
    max-width: 1800px !important;
    grid-template-columns: 1fr 1fr !important;
}

/* Bigger hero */
.hero {
    padding: 120px 60px !important;
    max-width: 100% !important;
}
.hero h1 {
    font-size: 4.6rem !important;
}
.subtitle {
    font-size: 1.6rem !important;
}

/* Bigger eSIM English card */
.ads-column .ad-box:first-child {
    transform: scale(1.15) !important;
    padding: 45px !important;
}

/* Bigger right-side image */
.ads-column img {
    max-height: 600px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
}
/* ===========================
   FIX: FULL-WIDTH HOMEPAGE
   =========================== */

/* Remove the max-width limits */
.home-layout,
.home-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Stretch hero container fully */
.home-left .hero {
    max-width: 100% !important;
    width: 100% !important;
}

/* Expand left and right grid equally */
.home-layout {
    grid-template-columns: 1.2fr 1fr !important;
    gap: 40px !important;
    padding: 40px 40px !important; /* add side padding instead of blank gap */
}

/* Make right-side column stretch wider */
.ads-column {
    width: 100% !important;
}

/* Make image fill more space */
.ads-column img {
    max-width: 130% !important;
    width: 130% !important;
    max-height: 650px !important;
    object-fit: cover;
    border-radius: 20px;
}

/* Make the eSIM card expand too */
.ads-column .ad-box:first-child {
    width: 100% !important;
    transform: scale(1.08) !important;
}
/* ======================================
   MAKE RIGHT-SIDE IMAGE FULL WIDTH
====================================== */

.ads-column img {
    width: 120% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 20px;
}

/* Remove inner padding so the image touches left & right edges */
.home-right {
    padding: 0 !important;
}

/* Also expand the eSIM box above it to full width */
.ads-column .ad-box {
    width: 100% !important;
    margin: 0 !important;
}

/* Make the whole right column stretch evenly */
.home-layout {
    grid-template-columns: 1fr 1fr !important;
    column-gap: 0 !important;
}
/* Active Page Styling */
.nav-links a.active {
  color: #facc15 !important; /* Gold color from your homepage screenshot */
  border-bottom: 3px solid #facc15; /* Optional: adds a gold line under the text */
  padding-bottom: 5px;
}
