:root {
  --accent: #0b6efd;
  --panel-bg: #ffffff;
  --shadow: 0 8px 28px rgba(11, 110, 253, 0.12);
  --muted: #6b7280;
  --radius: 12px;
  --glass: rgba(255,255,255,0.75);
  --primary: #0052CC;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  color: #333;
  background-color: #f9fafc;
  line-height: 1.7;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  height: 90vh;
  background: url('/static/images/about-bg.jpeg.jpeg') center/cover no-repeat fixed;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 82, 204, 0.8), rgba(0, 59, 153, 0.7));
}

.hero h1,
.hero p,
.hero a {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.fade-in {
  animation: fadeInUp 1.6s ease-out;
}

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

/* ================= WHO WE ARE SECTION ================= */
.who-we-are-section {
  background: linear-gradient(135deg, #f7faff 0%, #eaf1ff 100%);
  padding: 60px 5%;
}

.section-title {
  font-weight: 700;
  color: #0052CC;
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.who-we-are-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

.feature-list i {
  color: #0052CC;
  margin-right: 12px;
  width: 24px;
  height: 24px;
}

/* ================= MISSION & VISION SECTION ================= */
.mission-vision {
  position: relative;
  background: url('/static/images/mission-bg.jpeg') center/cover no-repeat;
  background-attachment: fixed;
  padding: 60px 5%;
}

.mission-vision .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 59, 153, 0.85);
}

.mission-vision .container {
  position: relative;
  z-index: 2;
}

.mission-vision h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
}

.mv-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  text-align: center;
}

.mv-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

.mv-card h5 {
  color: white;
  font-weight: 700;
  margin: 15px 0 10px;
}

.mv-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.mv-card .icon {
  color: white;
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
}

/* ================= CORE VALUES SECTION ================= */
.core-values {
  position: relative;
  background: linear-gradient(to right, #0052CC, #003B99);
  padding: 60px 5%;
}

.core-values .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.core-values .container {
  position: relative;
  z-index: 2;
}

.core-values h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
}

.core-values > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  padding: 25px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.2);
}

.value-card h5 {
  color: white;
  font-weight: 700;
  margin: 15px 0 10px;
}

.value-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.value-icon {
  color: #fff;
  width: 45px;
  height: 45px;
  margin: 0 auto 10px;
}

/* ================= GLOBAL PRESENCE SECTION ================= */
.global-presence {
  position: relative;
  background: url('/static/images/worldmap-bg.jpeg') center/cover no-repeat fixed;
  /* reduced min-height so it doesn't leave huge empty area */
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding: 80px 5%;
}

.global-presence .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 59, 153, 0.7);
}

.global-presence .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.global-presence h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
}

.global-presence .lead {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

.global-presence .second-image {
  max-width: 400px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  margin-top: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.global-presence .second-image:hover {
  transform: scale(1.03);
}

/* ================= BUTTON OVERRIDES (Override Bootstrap) ================= */
.btn,
.btn-primary,
.btn-lg {
  background: linear-gradient(180deg, #0b6efd, #0052cc) !important;
  color: white !important;
  border: none !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.btn:hover,
.btn-primary:hover,
.btn-lg:hover {
  background: linear-gradient(180deg, #0052cc, #003b99) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0, 82, 204, 0.3) !important;
}

.btn-lg {
  padding: 15px 40px !important;
  font-size: 1.1rem !important;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .global-presence {
    min-height: 20%;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .who-we-are-section {
    padding: 40px 5%;
  }

  .mission-vision,
  .core-values,
  .global-presence {
    padding: 40px 5%;
  }

  .mv-card,
  .value-card {
    padding: 20px;
  }

  .global-presence .second-image {
    max-width: 100px;
  }
}

/* ================================
   Targeted layout overrides requested
   - move Who We Are paragraph to the right of the image
   - keep Mission & Vision side-by-side
   - display Core Values items in one line (support up to 5)
   These overrides are intentionally small, scoped, and responsive.
================================ */

.who-we-are-section .row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}

/* left image column: take approx 48% */
.who-we-are-section .row > [class*="col-"]:first-child {
  flex: 0 0 48%;
  max-width: 48%;
}

/* right text column: take rest */
.who-we-are-section .row > [class*="col-"]:nth-child(2) {
  flex: 1 1 0;
  max-width: 52%;
}

/* ensure image scales nicely */
.who-we-are-section .row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* MISSION & VISION: two cards side-by-side */
.mission-vision .row {
  display: flex;
  gap: 24px;
  align-items: stretch;
  flex-wrap: nowrap;
}

/* each column equal width */
.mission-vision .row > [class*="col-"] {
  flex: 1 1 0;
  max-width: 50%;
}

/* CORE VALUES: show multiple items in a single row (up to 5) */
.core-values .row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
}

/* make each value-card take approx 18% to allow up to 5 in one line */
.core-values .row > [class*="col-"] {
  flex: 0 0 18%;
  max-width: 18%;
}

/* in case there are fewer items, center them nicely */
.core-values .container > .row {
  justify-content: center;
}

/* RESPONSIVE: fall back to stacked layout for smaller screens */
@media (max-width: 992px) {
  .who-we-are-section .row,
  .mission-vision .row,
  .core-values .row {
    display: block;
  }

  .who-we-are-section .row > [class*="col-"]:first-child,
  .who-we-are-section .row > [class*="col-"]:nth-child(2),
  .mission-vision .row > [class*="col-"],
  .core-values .row > [class*="col-"] {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .core-values .row {
    gap: 16px;
  }
}
/* === Center WHO WE ARE title between image and paragraph === */

/* Turn the row into a vertical-center flexbox */
.who-we-are-section .row {
  display: flex;
  align-items: center;      /* vertically center contents */
}

/* Center the title inside its column */
.who-we-are-section .section-title {
  text-align: center;
  width: 100%;
  margin-bottom: 1.5rem;
}

/* Optional: center the paragraph block as well */
.who-we-are-section .col-lg-6:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical align */
}
body, html {
  overflow-x: hidden !important;
}

/* Remove unwanted white space gap between sections */
section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ensure no large gap below global-presence */
.global-presence {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* If the white bar is from Bootstrap's container spacing */
.container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* === METRICS SECTION === */
.metrics-section {
  /* you previously used a gradient; keep it or override. we keep previous theme but ensure spacing is tight */
  
  padding: 40px 0;
  color: white;
  margin-bottom: 0;
}

.metrics-wrapper {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.metric-box h2 {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6cd6ff, #1fbfff);
  background-clip: text; 
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.metric-box p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .metrics-wrapper {
    gap: 40px;
  }
  .metric-box h2 {
    font-size: 2.2rem;
  }
}

/* REMOVE BLUE BOX BEHIND METRICS SECTION - ensure transparent wrapper if needed */
.metrics-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  padding: 20px 0 !important;
}

/* Remove leftover container background if any */
.metrics-section .container {
  background: transparent !important;
}
/* Remove ONLY the white space under the metrics section */
.metrics-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* Extra Large Devices (1440px and up) */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .hero h1 { font-size: 4rem; }
  .section-title { font-size: 2.5rem; }
  .global-presence .second-image { max-width: 500px; }
}

/* Large Devices (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero h1 { font-size: 3.5rem; }
  .global-presence .second-image { max-width: 450px; }
}

/* Medium-Large Devices (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero { height: 80vh; }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.2rem; }
  .section-title { font-size: 2rem; }
  .who-we-are-section .row > [class*="col-"]:first-child {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .who-we-are-section .row > [class*="col-"]:nth-child(2) {
    max-width: 55%;
  }
  .global-presence .second-image { max-width: 380px; }
  .core-values .row > [class*="col-"] {
    flex: 0 0 22%;
    max-width: 22%;
  }
  .metrics-wrapper { gap: 60px; }
}

/* Tablet Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero { height: 70vh; background-attachment: scroll; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
  .section-title { font-size: 1.8rem; }

  .who-we-are-section,
  .mission-vision,
  .core-values,
  .global-presence { padding: 50px 5%; }

  .who-we-are-section .row,
  .mission-vision .row { display: block; }

  .core-values .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .metrics-wrapper { gap: 50px; }
  .metric-box h2 { font-size: 2.5rem; }
}

/* Tablet Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero { height: 60vh; background-attachment: scroll; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.6rem; }

  .core-values .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .metrics-wrapper { gap: 40px; }
  .metric-box h2 { font-size: 2.2rem; }
}

/* Mobile Large (480px - 575px) */
@media (min-width: 480px) and (max-width: 575px) {
  .hero { height: 55vh; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }

  .core-values .row { display: block; }

  .metrics-wrapper {
    gap: 35px;
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile Medium (375px - 479px) */
@media (min-width: 375px) and (max-width: 479px) {
  .hero { height: 50vh; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; }

  .core-values .row,
  .mission-vision .row { display: block; }

  .metrics-wrapper {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile Small (320px - 374px) */
@media (max-width: 374px) {
  .hero { height: 45vh; }
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 0.85rem; }

  .core-values .row,
  .mission-vision .row { display: block; }

  .metrics-wrapper {
    gap: 25px;
    flex-direction: column;
    align-items: center;
  }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { height: 100vh; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.9rem; }
  .global-presence { min-height: 100vh; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .core-values .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
  }

  .core-values .row > [class*="col-"] {
    max-width: 100%;
  }

  .value-card {
    height: 260px;          /* SAME size as first row */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
@media (max-width: 1024px) and (min-width: 768px) {

  .core-values .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .core-values .row > [class*="col-"] {
    flex: unset !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .value-card {
    height: 260px;                 /* all cards same size */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
  }
}
@media (min-width: 1440px) {
  .mission-vision .row {
    align-items: stretch;
  }

  .mv-card {
    height: 280px;              /* SAME height for both boxes */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
  }
}



