/* =========================
   ROOT + VARIABLES
========================= */
:root {
  /* TYPOGRAPHY */
  --zg-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ZIMGerm OS COLOR SYSTEM */
  --zg-slate: #2A2F36;
  --zg-midnight: #0F1A2B;
  --zg-gold: #C6A667;
  --zg-earth: #7A4E2D;
  --zg-earth-accent: #8B4513;
  --zg-ivory: #FAF8F4;
  --zg-beige: #E0D8C2;

  /* MAP TO GLOBAL VARIABLES */
  --zg-color-bg: var(--zg-ivory);
  --zg-color-bg-soft: #f7f7f9;
  --zg-color-surface: #ffffff;
  --zg-color-border: #e2e2e8;

  --zg-color-text: var(--zg-slate);
  --zg-color-text-soft: #555555;
  --zg-color-accent: var(--zg-gold);

  /* SPACING + RADII (KEEP YOURS) */
  --zg-radius-card: 16px;
  --zg-radius-img: 18px;

  --zg-spacing-section-y: 4rem;
  --zg-spacing-container-x: 1.5rem;
  --zg-max-width: 1280px;
}


/* ZIMGerm Typography */
body {
  font-family: var(--zg-font-family);
  color: var(--zg-color-text);
}

h1, h2, h3, h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--zg-midnight);
}

p, li, span {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: var(--zg-slate);
}

/* Accent serif */
.zg-highlight,
.inv-body-l em,
.inv-body em {
  font-family: "Merriweather", serif;
  font-style: italic;
}




/* =========================
   GLOBAL LAYOUT
========================= */
body {
  margin: 0;
  font-family: var(--zg-font-family);
  background: var(--zg-color-bg);
  color: var(--zg-color-text);
}

.zg-section {
  padding: var(--zg-spacing-section-y) 0;
  background: var(--zg-color-bg);
}

.zg-container {
  width: 100%;
  max-width: var(--zg-max-width);
  margin: 0 auto;
  padding: 0 var(--zg-spacing-container-x);
}

/* =========================
   HERO
========================= */
.zg-hero {
  position: relative;
  padding: 5rem 0;
  background: #000;
  color: var(--zg-color-text);
  overflow: hidden;
}

.zg-hero.has-image {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
}

.zg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0,0,0,0.1), rgba(0,0,0,0.75));
}

.zg-hero-content {
  position: relative;
  max-width: var(--zg-max-width);
  margin: 0 auto;
  padding: 0 var(--zg-spacing-container-x);
}

/* =========================
   TYPOGRAPHY
========================= */
.zg-heading-xl {
  font-size: clamp(2.4rem, 3vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.zg-heading-l {
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.zg-heading-m {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}

.zg-body-l {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--zg-color-text-soft);
  margin: 0 0 1.5rem;
}

.zg-body-m,
.zg-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--zg-color-text-soft);
  margin: 0 0 1.25rem;
}

.zg-body-s {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--zg-color-text-soft);
}

/* =========================
   GRID + CARDS
========================= */
.zg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.zg-card {
  background: var(--zg-color-surface);
  border-radius: var(--zg-radius-card);
  border: 1px solid var(--zg-color-border);
  padding: 1.5rem;
}

/* =========================
   LISTS + STEPS
========================= */
.zg-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.zg-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--zg-color-text-soft);
}

.zg-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--zg-color-accent);
}

.zg-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.zg-steps li {
  margin-bottom: 0.75rem;
  color: var(--zg-color-text-soft);
}

/* =========================
   OWNER ICONS
========================= */
.zg-owner-icons {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.owner-box {
  background: var(--zg-color-surface);
  border-radius: var(--zg-radius-img);
  border: 1px solid var(--zg-color-border);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.owner-box img {
  width: 100%;
  height: auto;
  border-radius: var(--zg-radius-img);
  display: block;
}

/* =========================
   SECTION-SPECIFIC HOOKS
========================= */
.zg-supports,
.zg-investors-lookfor,
.zg-process,
.zg-submit-who {
  background: var(--zg-color-bg-soft);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .zg-grid-2 {
    grid-template-columns: 1fr;
  }

  .zg-owner-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .zg-hero {
    padding: 3.5rem 0;
  }

  .zg-owner-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================
   HEADER
========================= */
.zg-header {
  background: var(--zg-color-bg-soft);
  border-bottom: 1px solid var(--zg-color-border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.zg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.zg-header-logo img {
  height: 48px;
  width: auto;
}

/* NAV */
.zg-nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zg-nav-menu a {
  color: var(--zg-color-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.zg-nav-menu a:hover {
  color: var(--zg-color-accent);
}

/* MOBILE */
.zg-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.zg-nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--zg-color-text);
  display: block;
}

.zg-nav-panel {
  display: none;
  background: var(--zg-color-bg);
  border-top: 1px solid var(--zg-color-border);
  padding: 1rem;
}

.zg-nav-menu-mobile {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zg-nav-menu-mobile li {
  margin-bottom: 1rem;
}

.zg-nav-menu-mobile a {
  color: var(--zg-color-text);
  text-decoration: none;
  font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .zg-nav {
    display: none;
  }

  .zg-nav-toggle {
    display: flex;
  }

  .zg-nav-panel {
    display: block;
  }
}


/* =========================
   HEADER (LIGHT THEME)
========================= */
.zg-header {
  background: #ffffff;
  border-bottom: 1px solid var(--zg-color-border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.zg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.zg-header-logo img {
  height: 52px;
  width: auto;
}

/* NAV */
.zg-nav-menu {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zg-nav-menu a {
  color: var(--zg-color-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.zg-nav-menu a:hover {
  color: var(--zg-color-accent);
}

/* MOBILE */
.zg-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.zg-nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--zg-color-text);
  display: block;
  border-radius: 2px;
}

.zg-nav-panel {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--zg-color-border);
  padding: 1.5rem;
}

.zg-nav-menu-mobile {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zg-nav-menu-mobile li {
  margin-bottom: 1.25rem;
}

.zg-nav-menu-mobile a {
  color: var(--zg-color-text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .zg-nav {
    display: none;
  }

  .zg-nav-toggle {
    display: flex;
  }

  .zg-nav-panel {
    display: block;
  }
}


/* =========================
   NAV DROPDOWN (DESKTOP)
========================= */

.zg-nav-menu li {
  position: relative;
}

.zg-nav-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--zg-color-border);
  border-radius: 8px;
  padding: 0.75rem 0;
  list-style: none;
  margin: 0;
  display: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 9999;
}

.zg-nav-menu li:hover > ul {
  display: block;
}

.zg-nav-menu li ul li {
  padding: 0;
  margin: 0;
}

.zg-nav-menu li ul li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--zg-color-text);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.zg-nav-menu li ul li a:hover {
  background: var(--zg-color-bg-soft);
  color: var(--zg-color-accent);
}


/* Prevent menu items from wrapping */
.zg-nav-menu a {
    white-space: nowrap;
}


.zg-header-logo img {
  height: 120px;
}


.zg-header-inner {
  padding: 1.75rem 0;
  
}


.zg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
}

/* LEFT + RIGHT ZONES */
.zg-header-left,
.zg-header-right {
    display: flex;
    align-items: center;
}

/* Space between menu and toggle */
.zg-header-right {
    gap: 2rem;
}

/* Bigger logo */
.zg-header-logo img {
    height: 140px; /* adjust as needed */
    width: auto;
}


.zg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

/* Two zones */
.zg-header-left {
  flex: 0 0 auto;          /* logo has its own fixed zone */
}

.zg-header-right {
  flex: 1 1 auto;          /* takes remaining space */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;               /* space between menu and toggle */
}

/* Logo size */
.zg-header-logo img {
  height: 140px;            /* adjust as you like */
  width: auto;
}

/* Prevent menu wrapping */
.zg-nav-menu {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zg-nav-menu a {
  white-space: nowrap;
}


/* Premium menu text */
.zg-nav-menu a {
    font-weight: 600;          /* thicker, premium */
    letter-spacing: 0.2px;     /* subtle spacing for luxury feel */
    font-size: 1.05rem;        /* slightly larger */
    color: var(--zg-color-text);
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.zg-nav-menu a:hover {
    color: var(--zg-color-accent);
    opacity: 0.85;
}


.zg-header-right {
    flex: 1;                 /* forces right side to take all remaining space */
    justify-content: flex-end;
    display: flex;
    align-items: center;
    gap: 2rem;
}


.zg-header-left {
    flex: 0 0 auto;   /* logo stays fixed, never expands into menu space */
}


.zg-header-inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}


/* =========================
   HEADER ZONE SEPARATION
========================= */

/* Left zone: logo */
.zg-header-left {
    flex: 0 0 auto;        /* logo stays fixed, never expands */
    display: flex;
    align-items: center;
}

/* Right zone: menu + toggle */
.zg-header-right {
    flex: 1 1 auto;        /* takes all remaining space */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.5rem;           /* space between menu and toggle */
}

/* Header container */
.zg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem; /* more breathing room */
}

/* Logo size */
.zg-header-logo img {
    height: 80px;         /* your chosen size */
    width: auto;
}

/* Prevent menu wrapping */
.zg-nav-menu a {
    white-space: nowrap;
}


/* =========================
   HERO
========================= */

.zg-hero {
    position: relative;
    padding: 8rem 0;
    color: var(--zg-color-text);
}

.zg-hero--image {
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.zg-hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* soft overlay */
    backdrop-filter: blur(2px);
}

.zg-hero .zg-container {
    position: relative;
    z-index: 2;
}

.zg-hero-content {
    max-width: 720px;
}

.zg-heading-xl {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
}

.zg-body-l {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #f2f2f2;
}

/* Responsive */
@media (max-width: 768px) {
    .zg-hero {
        padding: 5rem 0;
    }

    .zg-heading-xl {
        font-size: 2.2rem;
    }

    .zg-body-l {
        font-size: 1.1rem;
    }
}


/* =========================
   GLOBAL SECTIONS
========================= */

.zg-section {
    padding: 5rem 0;
}

.zg-section + .zg-section {
    border-top: 1px solid var(--zg-color-border);
}

.zg-section h2 {
    margin-bottom: 1.5rem;
}

.zg-section p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .zg-section {
        padding: 3.5rem 0;
    }
}


/* =========================
   INTRO SECTION
========================= */

.zg-section .zg-heading-l {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.zg-body-m {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    max-width: 760px;
}


/* =========================
   SUPPORT CARDS
========================= */

.zg-supports .zg-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.zg-card {
    background: #fff;
    border: 1px solid var(--zg-color-border);
    border-radius: 14px;
    padding: 2rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.zg-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.zg-heading-m {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.zg-body-s {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .zg-supports .zg-grid-2 {
        grid-template-columns: 1fr;
    }
}


/* =========================
   INVESTOR CHECKLIST
========================= */

.zg-investors-lookfor .zg-body {
    max-width: 760px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.zg-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 760px;
}

.zg-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.9rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.zg-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.2rem;
    font-size: 1.4rem;
    color: var(--zg-color-accent);
}



/* =========================
   SECTOR GRID
========================= */

.zg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.zg-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.zg-grid .zg-card {
    text-align: left;
    padding: 2rem;
    border-radius: 16px;
}

@media (max-width: 900px) {
    .zg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .zg-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   WHO SHOULD SUBMIT
========================= */

.zg-submit-who .zg-owner-icons {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.owner-box {
    background: #fff;
    border: 1px solid var(--zg-color-border);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.owner-box img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.owner-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 1100px) {
    .zg-submit-who .zg-owner-icons {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 700px) {
    .zg-submit-who .zg-owner-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* List styling */
.zg-owner-list {
    max-width: 760px;
    margin: 0 auto;
}


/* =========================
   PREMIUM FOOTER
========================= */

.zg-footer {
    background: #f7f7f9;
    padding: 3.5rem 0;
    border-top: 1px solid var(--zg-color-border);
    margin-top: 5rem;
}

.zg-footer .zg-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

/* Footer Menu */
.zg-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.zg-footer-menu li {
    display: inline-block;
}

.zg-footer-menu a {
    color: var(--zg-color-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.zg-footer-menu a:hover {
    color: var(--zg-color-accent);
}

/* Copyright */
.zg-footer-copy {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
}

/* Mobile */
@media (max-width: 600px) {
    .zg-footer-menu {
        gap: 1.25rem;
    }
}


/* =========================
   MOBILE NAV PANEL (CLOSED BY DEFAULT)
========================= */

.zg-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 2rem;
    overflow-y: auto;
    z-index: 9999;

    /* THE IMPORTANT PART */
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* OPEN STATE (when toggle adds .active) */
.zg-nav-panel.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}



.zg-grid,
.zg-grid-2 {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}


@media (max-width: 768px) {
    .zg-grid {
        grid-template-columns: 1fr !important;
    }
}


@media (max-width: 768px) {
    .zg-owner-icons {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


.zg-card {
    max-width: 100%;
    box-sizing: border-box;
}


.zg-header-inner {
    max-width: 100%;
    overflow: hidden;
}


/* FORCE HEADER TO STAY WITHIN SCREEN */
.zg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    overflow: hidden;
}

/* ALLOW MENU TO SHRINK INSTEAD OF PUSHING OUT */
.zg-header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0; /* CRITICAL */
}

/* ALLOW NAV MENU TO WRAP INSTEAD OF EXPANDING */
.zg-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 0; /* CRITICAL */
}

/* PREVENT MENU ITEMS FROM FORCING OVERFLOW */
.zg-nav-menu li a {
    white-space: nowrap;
}


/* MOBILE MENU PANEL — CLOSED BY DEFAULT */
.zg-nav-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 2rem;
    overflow-y: auto;
    z-index: 9999;

    transform: translateX(100%); /* HIDE OFF-SCREEN */
    opacity: 0;                  /* INVISIBLE */
    pointer-events: none;        /* NOT CLICKABLE */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* OPEN STATE */
.zg-nav-panel.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}


/* HEADER — CRITICAL FLEX FIX */
.zgfp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

/* ALLOW CHILDREN TO SHRINK INSTEAD OF PUSHING OUT */
.zgfp-header-left,
.zgfp-header-right {
    min-width: 0;
}

/* MENU MUST BE ALLOWED TO WRAP */
.zgfp-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 0;
}

/* PREVENT MENU ITEMS FROM FORCING OVERFLOW */
.zgfp-nav-menu li a {
    white-space: nowrap;
}


/* FORCE MENU TO STAY INSIDE HEADER */
.zgfp-header-right {
    display: flex;
    justify-content: flex-end;
    min-width: 0; /* CRITICAL */
    overflow: hidden; /* Prevents pushing header wider */
}

/* MENU ITSELF MUST BE ALLOWED TO SHRINK */
.zgfp-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 0; /* CRITICAL */
    max-width: 100%; /* Prevent overflow */
}

/* MENU ITEMS MUST NOT FORCE WIDTH */
.zgfp-nav-menu li a {
    white-space: nowrap;
}


/* REMOVE WORDPRESS DEFAULT PAGE OFFSETS */
.content-area,
.site-main,
.entry-content,
.page,
.page-template,
body.page {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* ENSURE ALL SECTIONS FIT THE SCREEN */
.zgfp-section,
.zgfp-section-light,
.zgfp-section-dark {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}


/* CLEAN, FINAL HEADER INNER — THE ONLY ONE YOU KEEP */
.zg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.5rem; /* SAFE PADDING */
    box-sizing: border-box;
    overflow: hidden;
}



/* FINAL CLEAN HEADER RESET — KEEP ONLY THIS VERSION */
.zg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px; /* match your container system */
    margin: 0 auto;
    padding: 0 1.5rem; /* safe padding */
    box-sizing: border-box;
    overflow: hidden;
}

/* LOGO SIZE — SAFE, DOESN'T BREAK LAYOUT */
.zg-header-logo img {
    height: 80px;
    width: auto;
}

/* MENU FIX — KEEP IT INSIDE THE HEADER */
.zg-header-right {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
    gap: 1.5rem;
}

/* MENU ITEMS MUST NOT FORCE OVERFLOW */
.zg-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 0;
}

.zg-nav-menu a {
    white-space: nowrap;
}


/* ============================================
   🔥 MOBILE SCROLL FIX — FINAL + CORRECT
   ============================================ */

/* 1) FIX NAV PANEL OVERFLOW */
@media (max-width: 900px) {
    .zg-nav-panel {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem; /* reduce padding */
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

/* 2) FIX HEADER ON MOBILE */
@media (max-width: 900px) {
    .zg-header-inner {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .zg-header-right {
        min-width: 0;
        overflow: hidden;
    }

    .zg-nav-menu {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
}

/* 3) FIX GRIDS THAT OVERFLOW ON MOBILE */
@media (max-width: 600px) {
    .zg-grid,
    .zg-grid-2,
    .zg-owner-icons {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        grid-template-columns: 1fr !important;
    }
}

/* 4) GLOBAL SAFETY NET */
html, body {
    overflow-x: hidden !important;
}


/* ============================================
   🔥 FIX MOBILE CONTAINER OVERFLOW
   ============================================ */

@media (max-width: 600px) {
    .zg-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}


/* ============================================
   🔥 FINAL MOBILE NAV FIX — CLEAN + WORKING
   ============================================ */

/* HAMBURGER BUTTON */
.zg-nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #000; /* darker background */
    padding: 8px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.zg-nav-toggle span {
    width: 24px;
    height: 3px;
    background: #fff; /* white lines for contrast */
    border-radius: 2px;
    transition: 0.3s ease;
}

/* HAMBURGER ACTIVE STATE (X icon) */
.zg-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.zg-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.zg-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE PANEL — CLOSED BY DEFAULT */
.zg-nav-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    padding: 2rem;
    overflow-y: auto;
    z-index: 9999;

    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* OPEN STATE */
.zg-nav-panel.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* MOBILE ONLY */
@media (min-width: 901px) {
    .zg-nav-panel {
        display: none !important;
    }
}


/* MOBILE PANEL — CLOSED */
.zg-nav-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    padding: 2rem;
    overflow-y: auto;
    z-index: 9999;

    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* OPEN */
.zg-nav-panel.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.zg-nav-toggle {
    background: #000;
    padding: 8px;
    border-radius: 6px;
}
.zg-nav-toggle span {
    background: #fff;
}



/* ============================================
   🔥 FINAL OVERRIDE — MOBILE NAV MUST WORK
   ============================================ */

/* CLOSED STATE */
.zg-nav-panel {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    padding: 2rem !important;
    overflow-y: auto !important;
    z-index: 9999 !important;

    transform: translateX(100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* OPEN STATE */
.zg-nav-panel.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}


.zg-nav-panel {
    transform: translateX(100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.zg-nav-panel.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}


/* ============================================
   🔥 MOBILE MENU PANEL — REAL STYLING
   ============================================ */

@media (max-width: 900px) {
    .zg-nav-panel {
        background: #ffffff !important; /* solid background */
        padding: 2rem !important;
        width: 100vw !important;
        height: 100vh !important;
        position: fixed !important;
        inset: 0 !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
        z-index: 9999 !important;

        /* Optional premium look */
        box-shadow: 0 0 40px rgba(0,0,0,0.15);
        border-left: 1px solid #e5e5e5;
    }

    /* Style the mobile menu items */
    .zg-nav-menu-mobile li {
        margin-bottom: 1.25rem;
    }

    .zg-nav-menu-mobile a {
        font-size: 1.2rem;
        font-weight: 600;
        color: #111;
        text-decoration: none;
        display: block;
        padding: 0.5rem 0;
    }

    .zg-nav-menu-mobile a:hover {
        color: #d89b00;
    }
}


@media (max-width: 900px) {

    /* MENU ITEM BACKGROUND + TEXT COLOR */
    .zg-nav-menu-mobile a {
        display: block;
        background: #002b5c; /* deep blue */
        color: #ffffff !important; /* white text */
        padding: 0.85rem 1.25rem;
        border-radius: 6px;
        font-size: 1.2rem;
        font-weight: 600;
        text-decoration: none;
        margin-bottom: 0.75rem;
    }

    /* HOVER EFFECT */
    .zg-nav-menu-mobile a:hover {
        background: #004080; /* lighter deep blue */
        color: #ffffff !important;
    }
}


@media (max-width: 900px) {
    .zg-nav-menu-mobile .sub-menu {
        display: none;
    }

    .zg-nav-menu-mobile li.open > .sub-menu {
        display: block;
    }
}


@media (max-width: 900px) {
    .zg-nav-panel {
        background: #001a33 !important; /* darker blue */
    }
}


/* ============================================
   🔥 PREMIUM MOBILE MENU (Zimgerm Edition)
   ============================================ */

@media (max-width: 900px) {

    /* PANEL BACKGROUND — premium navy + glass */
    .zg-nav-panel {
        background: rgba(0, 20, 40, 0.92) !important; /* deep navy glass */
        backdrop-filter: blur(8px);
        padding: 2rem !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }

    /* MAIN MENU ITEMS — premium cards */
    .zg-nav-menu-mobile > li > a {
        display: block;
        background: rgba(255, 255, 255, 0.06); /* subtle card */
        color: #ffffff !important;
        padding: 1rem 1.25rem;
        margin-bottom: 0.75rem;
        border-radius: 10px;
        font-size: 1.15rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        transition: background 0.25s ease, transform 0.2s ease;
    }

    .zg-nav-menu-mobile > li > a:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateX(4px);
    }

    /* SUBMENU TOGGLE ARROW */
    .zg-sub-toggle {
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.2rem;
        margin-left: 0.5rem;
        cursor: pointer;
        transition: transform 0.25s ease;
    }

    /* Rotate arrow when open */
    .zg-nav-menu-mobile li.open > .zg-sub-toggle {
        transform: rotate(180deg);
    }

    /* SUBMENU ITEMS — lighter cards */
    .zg-nav-menu-mobile .sub-menu a {
        display: block;
        background: rgba(255, 255, 255, 0.10);
        color: #ffffff !important;
        padding: 0.85rem 1.25rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        font-size: 1.05rem;
        font-weight: 500;
        letter-spacing: 0.2px;
        transition: background 0.25s ease, transform 0.2s ease;
    }

    .zg-nav-menu-mobile .sub-menu a:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateX(4px);
    }

    /* SUBMENU SPACING */
    .zg-nav-menu-mobile .sub-menu {
        padding-left: 0.5rem;
        margin-top: 0.5rem;
    }
}


@media (max-width: 900px) {

    /* MAIN MENU ITEMS — premium navy cards */
    .zg-nav-menu-mobile > li > a {
        display: block;
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff !important;
        padding: 1rem 1.25rem;
        margin-bottom: 0.75rem;
        border-radius: 10px;
        font-size: 1.15rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        transition: background 0.25s ease, transform 0.2s ease;
    }

    /* SUBMENU — CLEAR CONTRAST */
    .zg-nav-menu-mobile .sub-menu {
        margin-top: 0.5rem;
        padding-left: 0.5rem;
        border-left: 3px solid rgba(255, 255, 255, 0.25); /* visual depth marker */
    }

    /* SUBMENU ITEMS — brighter card for contrast */
    .zg-nav-menu-mobile .sub-menu a {
        display: block;
        background: rgba(255, 255, 255, 0.18); /* brighter than parent */
        color: #ffffff !important;
        padding: 0.85rem 1.25rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        font-size: 1.05rem;
        font-weight: 500;
        letter-spacing: 0.2px;
        transition: background 0.25s ease, transform 0.2s ease;
    }

    /* SUBMENU HOVER — even brighter */
    .zg-nav-menu-mobile .sub-menu a:hover {
        background: rgba(255, 255, 255, 0.28);
        transform: translateX(4px);
    }

    /* ARROW ROTATION */
    .zg-sub-toggle {
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.2rem;
        margin-left: 0.5rem;
        cursor: pointer;
        transition: transform 0.25s ease;
    }

    .zg-nav-menu-mobile li.open > .zg-sub-toggle {
        transform: rotate(180deg);
    }
}


.zg-nav-menu-mobile .sub-menu {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
}


@media (max-width: 900px) {

    /* PANEL BACKGROUND — Precision Slate */
    .zg-nav-panel {
        background: #2A2F36 !important; /* Precision Slate */
        padding: 2rem !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }

    /* MAIN MENU ITEMS — Midnight Blue cards */
    .zg-nav-menu-mobile > li > a {
        display: block;
        background: #0F1A2B; /* Midnight Engineering Blue */
        color: #FAF8F4 !important; /* Clean Ivory */
        padding: 1rem 1.25rem;
        margin-bottom: 0.75rem;
        border-radius: 10px;
        font-size: 1.15rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        transition: background 0.25s ease, transform 0.2s ease;
    }

    .zg-nav-menu-mobile > li > a:hover {
        background: #162538; /* slightly lighter midnight */
        transform: translateX(4px);
    }

    /* SUBMENU — clear depth indicator */
    .zg-nav-menu-mobile .sub-menu {
        margin-top: 0.5rem;
        padding-left: 0.75rem;
        border-left: 3px solid #C6A667; /* Sovereign Gold depth marker */
    }

    /* SUBMENU ITEMS — Ivory cards with Slate text */
    .zg-nav-menu-mobile .sub-menu a {
        display: block;
        background: #FAF8F4; /* Clean Ivory */
        color: #2A2F36 !important; /* Precision Slate text */
        padding: 0.85rem 1.25rem;
        margin-bottom: 0.5rem;
        border-radius: 8px;
        font-size: 1.05rem;
        font-weight: 500;
        letter-spacing: 0.2px;
        transition: background 0.25s ease, transform 0.2s ease;
    }

    .zg-nav-menu-mobile .sub-menu a:hover {
        background: #EDE8E0; /* slightly darker ivory */
        transform: translateX(4px);
    }

    /* SUBMENU TOGGLE ARROW */
    .zg-sub-toggle {
        background: none;
        border: none;
        color: #C6A667; /* Sovereign Gold */
        font-size: 1.2rem;
        margin-left: 0.5rem;
        cursor: pointer;
        transition: transform 0.25s ease;
    }

    .zg-nav-menu-mobile li.open > .zg-sub-toggle {
        transform: rotate(180deg);
    }
}


/* HAMBURGER LINES — Zimgerm Ivory */
.zg-nav-toggle span {
    width: 24px;
    height: 3px;
    background: #FAF8F4; /* Ivory */
    display: block;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ACTIVE (X icon) — Sovereign Gold accent */
.zg-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: #C6A667; /* Gold */
}
.zg-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.zg-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: #C6A667; /* Gold */
}


/* SUBMENU BACKGROUND — darker Midnight Blue */
.zg-nav-menu-mobile .sub-menu {
    margin-top: 0.5rem;
    padding-left: 0.75rem;
    border-left: 3px solid #C6A667; /* Gold */
    background: #0B1522; /* darker than main menu */
    padding: 1rem;
    border-radius: 10px;
}

/* SUBMENU ITEMS — lighter but still deep */
.zg-nav-menu-mobile .sub-menu a {
    display: block;
    background: #162538; /* lighter midnight */
    color: #FAF8F4 !important; /* Ivory */
    padding: 0.85rem 1.25rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: background 0.25s ease, transform 0.2s ease;
}

.zg-nav-menu-mobile .sub-menu a:hover {
    background: #1F324A; /* hover contrast */
    transform: translateX(4px);
}


.zg-sub-toggle {
    font-size: 1.5rem; /* bigger */
    color: #C6A667; /* Zimgerm gold */
    margin-left: 0.75rem;
}


.zg-nav-menu-mobile .sub-menu {
    background: #132033; /* lighter than before */
}


.zg-nav-menu-mobile .sub-menu a {
    background: #1C2E47; /* lighter */
}


/* Make the X icon visible */
.zg-nav-toggle.active span {
    background: #C6A667 !important; /* Zimgerm gold */
}


.zg-sub-toggle {
    font-size: 1.6rem; /* bigger */
    color: #C6A667; /* gold */
    margin-left: 0.75rem;
    line-height: 1;
}


.zg-sub-toggle {
    font-size: 1.6rem; /* bigger */
    color: #C6A667; /* gold */
    margin-left: 0.75rem;
    line-height: 1;
}


/* ============================================================
   ZIMGerm OS — Investor Portal (L1-A Ultra Light)
   Layout preserved, colors lightened, copper removed
============================================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography — replace serif with Inter */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--zg-slate);
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--zg-midnight);
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--zg-slate);
}

/* Section Wrapper */
.inv-section {
    padding: 60px 0;
    position: relative;
    text-align: center;
}

/* Container */
.inv-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Headings */
.inv-heading-xl {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--zg-ivory);
}

.inv-heading-l { font-size: 2.4rem; }
.inv-heading-m { font-size: 1.9rem; }
.inv-heading-s { font-size: 1.4rem; }

/* Body text */
.inv-body-l {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--zg-ivory);
}

.inv-body { font-size: 1rem; }
.inv-body-s { font-size: 0.9rem; }

/* ============================================================
   HERO — FIXED ALIGNMENT + LIGHT OVERLAY
============================================================ */
.inv-hero {
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    color: var(--zg-ivory);
    padding: 40px 20px;
}

.inv-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 43, 0.55); /* Midnight but lighter */
    z-index: 1;
}

.inv-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

/* ============================================================
   INTRO — ULTRA LIGHT
============================================================ */
.inv-intro {
    background-color: var(--zg-ivory);
}

/* ============================================================
   WHY ZIMBABWE — WHITE + FIXED CARD SIZE
============================================================ */
.inv-whyzim {
    background-color: #ffffff;
}

.zg-micro {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--zg-slate);
    margin-bottom: 0.5rem;
}

.zg-sectors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.zg-sector {
    text-align: center;
    border: 1px solid var(--zg-color-border);
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
}

.zg-sector:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.zg-sector img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.zg-sector span {
    font-weight: 600;
    color: var(--zg-slate);
}

/* ============================================================
   CALLOUT — GOLD ONLY
============================================================ */
.inv-callout {
    background-color: var(--zg-ivory);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--zg-gold);
    margin: 30px 0;
}

.zg-highlight {
    font-style: italic;
    padding: 15px;
    background-color: rgba(198,166,103,0.12);
    border-left: 3px solid var(--zg-gold);
    color: var(--zg-slate);
}

/* ============================================================
   WHAT YOU GAIN — LIGHTENED
============================================================ */
.inv-gain {
    background-color: var(--zg-ivory);
}

.inv-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.inv-card {
    background-color: rgba(255,255,255,0.75);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
}

.inv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.inv-card h3 {
    color: var(--zg-midnight);
}

/* ============================================================
   PROCESS — GOLD STEPS, LIGHT BACKGROUND
============================================================ */
.inv-process {
    background-color: var(--zg-ivory);
}

.inv-steps {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
    max-width: 700px;
    margin: 0 auto;
}

.inv-steps li {
    margin-bottom: 20px;
}

.inv-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    width: 28px;
    height: 28px;
    background-color: var(--zg-gold);
    color: var(--zg-midnight);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

/* ============================================================
   ONBOARDING — WHITE
============================================================ */
.inv-onboarding {
    background-color: #ffffff;
}

.inv-step-number {
    background-color: var(--zg-gold);
    color: var(--zg-midnight);
}

/* ============================================================
   FEATURED CAROUSEL — FIXED CARD SIZE
============================================================ */
.inv-featured-carousel {
    background-color: var(--zg-ivory);
}

.inv-arrow {
    border: 1px solid var(--zg-slate);
    color: var(--zg-slate);
}

.inv-arrow:hover {
    background-color: var(--zg-gold);
    color: var(--zg-midnight);
}

.inv-project-card {
    flex: 0 0 350px; /* KEEP ORIGINAL SIZE */
    margin-right: 30px;
    background-color: rgba(255,255,255,0.75);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
    transition: 0.3s ease;
}

/* ============================================================
   BUTTONS — GOLD ONLY
============================================================ */
.inv-button {
    background-color: var(--zg-gold);
    color: var(--zg-midnight);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s ease;
}

.inv-button:hover {
    background-color: var(--zg-midnight);
    color: var(--zg-ivory);
}

/* Secondary */
.inv-btn-secondary {
    border: 2px solid var(--zg-slate);
    color: var(--zg-slate);
}

.inv-btn-secondary:hover {
    background-color: var(--zg-slate);
    color: var(--zg-ivory);
}

/* ============================================================
   DATA BAR — MIDNIGHT ANCHOR
============================================================ */
.inv-data-bar {
    background-color: var(--zg-midnight);
    color: var(--zg-ivory);
}

/* ============================================================
   PARTNERS — LIGHT
============================================================ */
.inv-partners {
    background-color: var(--zg-ivory);
}

.inv-list li::before {
    content: '✓';
    color: var(--zg-gold);
}

/* ============================================================
   CTA — LIGHT
============================================================ */
.inv-cta {
    background-color: var(--zg-ivory);
    padding: 80px 0;
}

/* ============================================================
   ANIMATIONS (unchanged)
============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.inv-section {
    animation: fadeInUp 1s ease-out forwards;
}


/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Typography — replace serif with Inter */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--zg-slate);
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--zg-midnight);
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--zg-slate);
}

/* Class Names from HTML */
.inv-section {
    padding: 60px 0;
    position: relative;
}

.inv-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Headings */
.inv-heading-xl {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--zg-ivory); /* hero contrast */
}

.inv-heading-l { font-size: 2.5rem; }
.inv-heading-m { font-size: 2rem; }
.inv-heading-s { font-size: 1.5rem; }

/* Body */
.inv-body-l {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--zg-ivory);
}

.inv-body { font-size: 1rem; }
.inv-body-s { font-size: 0.9rem; }

/* Hero Section */
.inv-hero {
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    color: var(--zg-ivory);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* FIX ALIGNMENT */
    min-height: 70vh;
    overflow: hidden;
    text-align: center;
    padding: 40px 20px;
}

.inv-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 43, 0.55); /* lighter midnight */
    z-index: 1;
}

.inv-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

/* Intro Section */
.inv-intro {
    background-color: var(--zg-ivory);
}

.inv-intro .inv-container {
    text-align: center;
}

/* Why Zimbabwe Section */
.inv-whyzim {
    background-color: #ffffff;
}

.zg-micro {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--zg-slate);
    margin-bottom: 0.5rem;
}

/* KEEP ORIGINAL GRID */
.zg-sectors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.zg-sector {
    text-align: center;
    border: 1px solid var(--zg-color-border);
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
}

.zg-sector:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.zg-sector img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.zg-sector span {
    display: block;
    font-weight: bold;
    color: var(--zg-slate);
}

/* Callout */
.inv-callout {
    background-color: var(--zg-ivory);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-left: 5px solid var(--zg-gold);
}

.zg-highlight {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--zg-slate);
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(198,166,103,0.12);
    border-left: 3px solid var(--zg-gold);
}

/* What You Gain Section */
.inv-gain {
    background-color: var(--zg-ivory);
}

.inv-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.inv-card {
    background-color: rgba(255, 255, 255, 0.75);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
}

.inv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.inv-card h3 {
    margin-bottom: 10px;
    color: var(--zg-midnight);
}

/* Verification Section */
.inv-verification {
    background-color: #ffffff;
}

/* Process Section */
.inv-process {
    background-color: var(--zg-ivory);
}

.inv-steps {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 30px;
}

.inv-steps li {
    position: relative;
    margin-bottom: 20px;
    padding-left: 40px;
}

.inv-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--zg-gold);
    color: var(--zg-midnight);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.inv-steps li strong {
    color: var(--zg-midnight);
}

/* Onboarding Section */
.inv-onboarding {
    background-color: #ffffff;
}

.inv-step-number {
    background-color: var(--zg-gold);
    color: var(--zg-midnight);
}

.inv-step-title {
    margin-bottom: 10px;
    color: var(--zg-midnight);
}

.inv-step-text {
    font-size: 0.95rem;
    color: var(--zg-slate);
}

/* Featured Carousel */
.inv-featured-carousel {
    background-color: var(--zg-ivory);
}

.inv-arrow {
    background: none;
    border: 1px solid var(--zg-slate);
    color: var(--zg-slate);
}

.inv-arrow:hover {
    background-color: var(--zg-gold);
    color: var(--zg-midnight);
}

/* KEEP ORIGINAL CARD SIZE */
.inv-project-card {
    flex: 0 0 350px;
    margin-right: 30px;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
}

.inv-project-title {
    margin: 10px 15px 0 15px;
    font-size: 1.3rem;
    color: var(--zg-midnight);
}

.inv-project-text {
    margin: 5px 15px 15px 15px;
    font-size: 0.9rem;
    color: var(--zg-slate);
}

/* Buttons */
.inv-button {
    background-color: var(--zg-gold);
    color: var(--zg-midnight);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s ease;
}

.inv-button:hover {
    background-color: var(--zg-midnight);
    color: var(--zg-ivory);
}

.inv-btn-secondary {
    background-color: transparent;
    color: var(--zg-slate);
    border: 2px solid var(--zg-slate);
}

.inv-btn-secondary:hover {
    background-color: var(--zg-slate);
    color: var(--zg-ivory);
}

/* Data Bar */
.inv-data-bar {
    background-color: var(--zg-midnight);
    color: var(--zg-ivory);
}

/* Partners Section */
.inv-partners {
    background-color: var(--zg-ivory);
}

.inv-list li::before {
    content: '✔';
    color: var(--zg-gold);
}

/* CTA Section */
.inv-cta {
    background-color: var(--zg-ivory);
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Animations — unchanged */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.inv-section {
    animation: fadeInUp 1s ease-out forwards;
}


/* ============================================================
   SECTION HEADING FIX — restores clean spacing + alignment
============================================================ */

/* All section headings centered and spaced correctly */
.inv-heading-l,
.inv-heading-m,
.inv-heading-s {
    text-align: center !important;
    color: var(--zg-midnight) !important;
    margin-bottom: 1.2rem !important;
}

/* Section intro paragraphs */
.inv-section p,
.inv-body,
.inv-body-l {
    text-align: center !important;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: var(--zg-slate) !important;
}

/* Fix spacing between heading and intro text */
.inv-section .inv-heading-l + p,
.inv-section .inv-heading-m + p {
    margin-top: -0.5rem;
}

/* Add breathing room above each section */
.inv-section {
    padding-top: 70px !important;
}

/* Featured Opportunities title fix */
.inv-featured-carousel .inv-heading-l {
    margin-bottom: 0.8rem !important;
}

/* How to Engage section fix */
.inv-process .inv-heading-l {
    margin-bottom: 1rem !important;
}


/* ============================================================
   CLEAN SECTION HEADING FIX — SAFE, NON-BREAKING
============================================================ */

/* Center only section titles */
.inv-heading-l,
.inv-heading-m,
.inv-heading-s {
    text-align: center;
    color: var(--zg-midnight);
    margin-bottom: 1.2rem;
}

/* Center only the FIRST paragraph after a heading */
.inv-section .inv-heading-l + p,
.inv-section .inv-heading-m + p {
    text-align: center;
    max-width: 750px;
    margin: -0.3rem auto 1.2rem auto;
    color: var(--zg-slate);
}

/* Do NOT touch all paragraphs globally */
.inv-section p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* Restore original section padding */
.inv-section {
    padding-top: 60px;
}

/* Featured Opportunities title spacing */
.inv-featured-carousel .inv-heading-l {
    margin-bottom: 0.8rem;
}

/* How to Engage title spacing */
.inv-process .inv-heading-l {
    margin-bottom: 1rem;
}
