/* ==========================================================
   GLOBAL STYLES
========================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Kumbh Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html {
  scroll-behavior: smooth;
}
/* ==========================================================
   NAVBAR STYLES
========================================================== */

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.navbar-logo img {
  height: 103px;
  margin: 0 -32px -20px;
  width: auto;
  object-fit: contain;
}

/* Navbar container */
.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 100%;
  padding: 0 50px;
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Menu */
.navbar__menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.navbar__item {
  height: 80px;
  position: relative;
}

.navbar__links {
  color: #fff;
  text-decoration: none;
  height: 100%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar__links:hover {
  color: #e40c0c;
}

/* Buttons */
.navbar__btn.desktop {
  display: flex;
}

.navbar__btn.mobile {
  display: none;
}

.button {
  background: #e40c0c;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.button:hover {
  background: #ae3737;
}

/* ==========================================================
   DESKTOP DROPDOWNS
========================================================== */

/* Main dropdown arrow */
.navbar__item.dropdown > .navbar__links::after {
  content: '▼';
  font-size: 0.6rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
  color: #b60f0f;
}

.navbar__item.dropdown.active > .navbar__links::after {
  transform: rotate(-180deg);
}

/* Main dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  min-width: 180px;
  border-radius: 2px;
  flex-direction: column;
  z-index: 1000;
  list-style: none; /* remove bullet */
  padding: 0;
  margin: 0;
}

.navbar__item.dropdown:hover > .dropdown-menu {
  display: flex;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #e40c0c;
}

/* Sub-dropdown */
.dropdown-sub {
  position: relative;
}

.dropdown-sub-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #222;
  min-width: 180px;
  border-radius: 2px;
  flex-direction: column;
  z-index: 1000;
  list-style: none; /* remove bullet */
  padding: 0;
  margin: 0;
}

.dropdown-sub:hover > .dropdown-sub-menu {
  display: flex;
}

.dropdown-sub > a::after {
  content: "▸";
  float: right;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.dropdown-sub:hover > a::after {
  transform: rotate(90deg);
}

.dropdown-sub-menu li a:hover {
  background: #e40c0c;
}

/* Hamburger toggle */
.navbar__toggle {
  display: none;
}

/* ==========================================================
   MOBILE MENU (≤968px)
========================================================== */
@media screen and (max-width: 968px) {

  /* Hamburger */
  .navbar__toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2000;
  }

  /* Fullscreen menu */
  .navbar__menu {
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100% - 80px);
    opacity: 0;
    transition: all 0.4s ease;
    background: #000;
    display: flex;
    overflow-y: auto;
    padding: 0;
  }

  .navbar__menu.active {
    left: 0;
    opacity: 1;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    justify-content: center;
    display: block;
  }

  /* Buttons */
  .navbar__btn.desktop { display: none; }

  .navbar__btn.mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 12px 20px;
    width: 60%;
  }

  .button {
    width: 80%;
    text-align: center;
    padding: 14px 20px;
    margin: 0 auto;
    display: block;
  }

  /* Mobile dropdown slide-down */
  .navbar__item.dropdown .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar__item.dropdown.active .dropdown-menu {
    max-height: 1000px; /* enough for multiple items */
  }

  .dropdown-menu li a {
    text-align: center;
  }

  /* Nested sub-dropdown slide-down */
  .dropdown-sub-menu {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-sub.active .dropdown-sub-menu {
    max-height: 500px; /* enough for nested items */
  }

  /* Remove list bullets globally in mobile dropdowns */
  .dropdown-menu,
  .dropdown-sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
}

/* GLOBAL PARTNERSHIP CLEAN VERSION */
.global-partnership {
  padding: 60px 7%;
}

.gp-block {
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}

.gp-block:last-child {
  border-bottom: none;
}

.gp-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0a2342;
}

.gp-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
  max-width: 850px;
}

.iso-blocks {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.iso-card {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.iso-card i {
  font-size: 32px;
  color: #0057b8;
  margin-bottom: 10px;
}

/* IMAGE GALLERY */
.fzco-gallery {
  padding: 60px 7%;
}

.gallery-title {
  font-size: 30px;
  margin-bottom: 30px;
  color: #0a2342;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  height: 200px;
}

/* ==========================================================
   HERO SECTION
========================================================== */
.career-hero {
  background: 
    linear-gradient(rgba(194, 27, 27, 0.75), rgba(10, 35, 66, 0.75)),
    url("images/csr.webp") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
  position: relative;
}

.career-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.career-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.career-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0.95;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .career-hero {
    padding: 120px 20px;
  }
  .career-hero h1 {
    font-size: 2.5rem;
  }
  .career-hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .career-hero {
    padding: 100px 15px;
  }
  .career-hero h1 {
    font-size: 2rem;
  }
  .career-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .career-hero {
    padding: 80px 10px;
  }
  .career-hero h1 {
    font-size: 1.6rem;
  }
  .career-hero p {
    font-size: 0.95rem;
  }
}

/* ============================
   FOOTER (Improved Design)
============================ */
.site-footer {
    background: #0c0c0c;
    color: #eee;
    padding: 70px 20px 25px;
    font-family: "Kumbh Sans", sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Footer Column */
.footer-col h3 {
    color: #e40c0c;
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, #e40c0c, #ff544e);
    bottom: -6px;
    left: 0;
    border-radius: 6px;
}

/* About */
.footer-about p {
    font-size: 1rem;
    color: #bfbfbf;
    line-height: 1.7;
    max-width: 320px;
}

/* Logo */
.footer-logo {
    width: 160px;
    margin-bottom: 20px;
    filter: brightness(1.1);
    transition: transform 0.25s;
}

.footer-logo:hover {
    transform: scale(1.07);
}

/* Links */
.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.25s;
}

.footer-links ul li a:hover {
    color: #e40c0c;
    padding-left: 6px;
}

/* Contact Info */
.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.6;
    color: #ccc;
}

.footer-contact i {
    color: #e40c0c;
    margin-right: 8px;
}

/* Social Icons */
.footer-social a {
    color: #ccc;
    font-size: 1.3rem;
    margin-right: 15px;
    transition: 0.25s;
}

.footer-social a:hover {
    color: #e40c0c;
    transform: translateY(-4px);
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

/* =============================
   RESPONSIVE FOOTER
============================= */
@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social a {
        margin-right: 10px;
    }

    .footer-about p,
    .footer-contact p {
        margin: 0 auto 10px;
        max-width: 350px;
    }
}
/* ================================
   ABOUT US PAGE STYLES - Petro Z
   ================================ */

/* ====== Layout Container ====== */
.about-section {
  width: 85%;
  max-width: 1100px;
  margin: 60px auto;
}

.about-section h2 {
  color: #222;
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 2px solid #e40c0c;
  display: inline-block;
  padding-bottom: 5px;
}

.about-section p {
  margin-bottom: 15px;
  color: #555;
}

.about-section ul {
  list-style: none;
  margin: 15px 0;
  padding: 0;
}

.about-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #444;
}

.about-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #e40c0c;
  font-size: 20px;
  line-height: 1;
}

.who-we-are-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.who-we-are-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.who-we-are-text {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.who-we-are-text h2 {
  color: #e40c0c;
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #e40c0c;
  display: inline-block;
  padding-bottom: 5px;
}

.who-we-are-text p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333;
}

/* Video styling (replaces iframe styling) */
.who-we-are-video video {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  background: #000; /* prevents white flash on load */
}

/* Responsive */
@media screen and (max-width: 768px) {
  .who-we-are-container {
    grid-template-columns: 1fr;
  }

  .who-we-are-video video {
    min-height: 250px;
  }
}



/* ====== Intro Section ====== */
.intro {
  margin-bottom: 50px;
}

.intro strong {
  color: #e40c0c;
}

/* ===== Timeline Section ===== */
.timeline-section {
  margin: 60px 0;
  text-align: center;
      padding: 13px;
    text-align: center;
    background: linear-gradient(rgba(174, 55, 55, 0.7), rgba(174, 55, 55, 0.7)), /* red overlay */ url(images/hero2.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 12px;
    background-attachment: fixed;
    border-top: 4px solid #0a0000
}

.timeline-section h2 {
  font-size: 1.7rem;
  color: #f7f2f2;
  margin-bottom: 30px;
  font-weight: 600;
  border-bottom: 2px solid #e40c0c;
  display: inline-block;
  padding-bottom: 5px;
}

/* Horizontal Timeline */
.timeline-inline {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
}

/* Each Block */
.timeline-block {
  flex: 1 1 300px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #e40c0c;
  position: relative;
}

.timeline-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

/* Icon inside each block */
.timeline-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.timeline-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* Year and text */
.timeline-block .year {
  color: #e40c0c;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline-block p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .timeline-inline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-block {
    width: 90%;
  }
}

/* ===== License Block ===== */
.license-block {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  margin: 50px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #e40c0c;
}

.license-block h3 {
  font-size: 1.4rem;
  color: #222;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.license-block h3 i {
  color: #e40c0c;
  font-size: 1.5rem;
}

/* Grid layout for licenses */
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Each item block */
.license-item {
  background: #fff;
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.license-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.license-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.license-item p {
  margin: 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .license-grid {
    grid-template-columns: 1fr;
  }

  .license-item {
    padding: 15px;
  }

  .license-item img {
    width: 35px;
    height: 35px;
  }
}


/* ====== Lightbox Grid ====== */
.lightbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.lightbox-item {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.lightbox-item h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 10px;
}

.lightbox-item i {
  color: #e40c0c;
  margin-right: 8px;
}

/* ====== Mission & Vision ====== */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.mission, .vision {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #e40c0c;
}

/* ====== Partnership / Impact / Commitment ====== */
.partnership, .impact, .commitment, .contact-info {
  margin: 60px 0;
}

.impact ul li, .commitment ul li {
  margin-bottom: 8px;
}

/* ====== Contact Info ====== */
.contact-info {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #e40c0c;
}

.contact-info strong {
  color: #e40c0c;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  .about-section {
    width: 90%;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline-item .year {
    width: auto;
    display: block;
    margin-bottom: 5px;
  }

  .lightbox-grid {
    gap: 20px;
  }

  h2 {
    font-size: 1.5rem;
  }
}
/* ===== Global Partnership Section - Mixed Layout ===== */
.global-partnership {
  display: flex;
  flex-direction: column;
  padding: 100px 20px;
  background: #f9f9f9;
}

/* Each block: image + text */
.gp-block {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* Reverse layout for alternate blocks */
.gp-block.reverse {
  flex-direction: row-reverse;
}

/* Text column */
.gp-text {
  flex: 1 1 50%;
  animation: fadeInUp 1s ease forwards;
}

.gp-text h2 {
  font-size: 2rem;
  color: #e40c0c;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gp-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
}

/* ISO Cards inside text */
.iso-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.iso-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iso-card i {
  color: #e40c0c;
  font-size: 1.5rem;
}

.iso-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.iso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Image column */
.gp-image {
  flex: 1 1 45%;
}

.gp-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gp-image img:hover {
  transform: scale(1.05) rotate(0.5deg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 900px) {
  .gp-block, .gp-block.reverse {
    flex-direction: column;
    gap: 30px;
  }

  .gp-text, .gp-image {
    flex: 1 1 100%;
  }
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* --- Commitment to Africa Section --- */
.africa-commitment {
  position: relative;
  background: linear-gradient(to bottom right, #f6f7fa, #ffffff);
  overflow: hidden;
  padding: 100px 0;
}

.africa-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/world-pattern.png") center/cover no-repeat;
  opacity: 0.07;
}

.africa-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  z-index: 2;
}

/* Title */
.africa-title {
  margin-bottom: 60px;
}

.africa-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0a2342;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.africa-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c21b1b, #e65c00);
  margin: 10px auto 0;
  border-radius: 2px;
}

.africa-title p {
  max-width: 850px;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Content layout */
.africa-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
}

/* Map */
.africa-map {
  flex: 1 1 45%;
  position: relative;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 20px;
}

.africa-map img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.6s ease;
}

.africa-map:hover img {
  transform: scale(1.05);
}

.map-label {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(194, 27, 27, 0.9);
  padding: 10px 0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Country Cards */
.africa-cards {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.country-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 30px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-left: 5px solid #c21b1b;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.country-card h3 {
  font-size: 1.1rem;
  color: #0a2342;
  margin-bottom: 10px;
  font-weight: 600;
}

.country-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.country-card li {
  color: #555;
  font-size: 0.98rem;
  padding: 6px 0;
  display: flex;
  align-items: center;
}

.country-card li::before {
  content: "▹";
  color: #c21b1b;
  margin-right: 8px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 900px) {
  .africa-content {
    flex-direction: column;
  }
  .africa-map, .africa-cards {
    flex: 1 1 100%;
  }
}

/* ===== Impact & Achievements - Emerging from Footer ===== */
.impact {
  position: relative;
  background: linear-gradient(170deg, #000000 30%, #a13939 90%);
  color: #fff;
  padding: 120px 20px 100px;
  overflow: hidden;
  margin-top: -80px; /* makes it visually rise from footer */
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0% 100%);
}

.impact::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 120px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0%, 100% 100%, 0 100%);
}

/* Section header */
.impact-header {
  text-align: center;
  margin-bottom: 60px;
}

.impact-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.impact-header p {
  color: #fceaea;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 10px auto 0;
}

/* Stats Grid */
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  background: #fff;
  color: #222;
  border-radius: 15px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.stat-icon {
  font-size: 3.5rem;
  color: #e40c0c;
  margin-bottom: 20px;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 15px;
  color: #222;
}

.stat-item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .impact {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 100%);
    padding: 100px 20px;
  }
  .impact-header h2 {
    font-size: 2rem;
  }
  .stat-icon {
    font-size: 2.8rem;
  }
  .stat-number {
    font-size: 2.3rem;
  }
}

#page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.dots-loader {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.dots-loader span {
    width: 15px;
    height: 15px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.dots-loader span:nth-child(2) { animation-delay: 0.2s; }
.dots-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0% { transform: translateY(0); opacity: 0.3; }
    100% { transform: translateY(-15px); opacity: 1; }
}

#loader-text {
    font-weight: 700;
    color: var(--primary-blue);
}


