/* ========== Base ========== */
:root{
  --nav-height: 90px;
  --dark-navy: #2b3552;    /* heading / text color similar to screenshot */
  --muted: rgba(0,0,0,0.18);
  --accent: #1f2a4a;
  --white: #ffffff;
}
html, body {
  overflow-x: hidden;
}



* { box-sizing: border-box; }
/* Helvetica (Headings) */
@font-face {
  font-family: 'Helvetica';
  src: url('fonts/helvetica/Helvetica-Regular.woff2') format('woff2'),
       url('fonts/helvetica/Helvetica-Regular.woff') format('woff'),
       url('fonts/helvetica/Helvetica-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica';
  src: url('fonts/helvetica/Helvetica-Bold.woff2') format('woff2'),
       url('fonts/helvetica/Helvetica-Bold.woff') format('woff'),
       url('fonts/helvetica/Helvetica-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Gotham (Paragraphs) */
@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham Fonts Family/Gotham-Regular.woff2') format('woff2'),
       url('fonts/Gotham Fonts Family/Gotham-Regular.woff') format('woff'),
       url('fonts/Gotham Fonts Family/Gotham-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham Fonts Family/Gotham-Bold.woff2') format('woff2'),
       url('fonts/Gotham Fonts Family/Gotham-Bold.woff') format('woff'),
       url('fonts/Gotham Fonts Family/Gotham-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica';
  src: url('fonts/helvetica/Helvetica-Black.woff2') format('woff2'),
       url('fonts/helvetica/Helvetica-Black.woff') format('woff'),
       url('fonts/helvetica/Helvetica-Black.ttf') format('truetype');
  font-weight: 900; /* use 900 for Black */
  font-style: normal;
}

h1 {
  font-family: 'Helvetica', sans-serif;
  font-weight: 900;
}

h2, h3, h4, h5, h6 {
  font-family: 'Helvetica', sans-serif;
}

p, span, li, a {
  font-family: 'Gotham', 'Helvetica Neue', Arial, sans-serif;
}

/* ========== NAVBAR ========== */
.site-nav {
   position: relative;        /* overlays hero */
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 30;
  background: transparent;
}

/* Style all nested ULs inside overlay-list */
.overlay-list li ul {
  padding-left: 2rem;   /* indent ALL nested li */
  margin-top: 0.75rem;  /* space between parent link and first child */
}

/* Optional: add extra spacing between submenu items */
.overlay-list li ul li {
  margin-bottom: 0.5rem;
}

/* Add arrow indicator to parent items that have submenus */
.overlay-list li > a {
  position: relative;
  display: inline-block;
  padding-right: 1rem; /* space for the arrow */
}

.overlay-list li ul {
  list-style: none; /* remove bullets */
}

/* Arrow itself */
.overlay-list li:has(ul) > a::after {
  content: "▸";        /* right-pointing arrow */
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  margin-left: 2rem;
  color: #ffffff;         /* you can change color */
}
/* brand */
.brand-logo {
  height: 55px; /* matches screenshot proportion */
  width: auto;
  display: block;
}

/* Menu button appearance: rounded pill with border like the screenshot */
.menu-btn {
  border: 2px solid var(--accent);
  background: var(--white);
  padding: 8px 20px;
  border-radius: 36px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
  box-shadow:none;
  font-size:0.95rem;
  line-height:1;
}

/* hamburger icon (SVG) inherits currentColor */
.menu-btn .hamburger rect { fill: currentColor; }

/* hover/focus states */
.menu-btn:hover,
.menu-btn:focus {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 75vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding-top: 0; /* container holds spacing */
  margin-top: 0;
}

/* background image (full-bleed under navbar) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: none;
  z-index: 0;
}

/* optional pale overlay so text reads better */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.14) 100%);
  z-index: 1;
}

/* container that holds heading and info */
.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 15px;       /* moves the text to the top area of the hero */
}
/* inner row spacing */
.hero-inner {
  padding-top: 18px;
  padding-bottom: 14px;
}
/*===== core values ========*/
.core-values-section {
  background-color: #ffffff;
}

.value-box {
  background-color: #3a4768; /* Deep blue tone */
  color: #ffffff;
  border-radius: 8px;
  text-align: center;
}

.value-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.core-image h2 {
  color: #1c1c1c;
  font-size: 2rem;
}

.core-image p {
  color: #6c757d;
  font-size: 1rem;
}

.core-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- Responsive adjustments --- */
@media (max-width: 767.98px) {
  .value-box {
    padding: 2rem 1rem;
  }

  .core-image h2 {
    font-size: 1.8rem;
  }

  .core-image p {
    font-size: 0.95rem;
  }
}




/* HEADLINE */
.hero-title {
  margin: 0;
  color: var(--dark-navy);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  /* responsive size: large on desktop, smaller on mobile */
  font-size: 38px;
  letter-spacing: -1px;
  margin-top: 6px;
  margin-bottom: 6px;
  max-width: 1000px;
}

/* RIGHT INFO block with vertical divider */
.hero-info {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 6px;
}

/* vertical divider + text box */
.info-box {
  border-left: 2px solid rgba(35,46,78,0.20); /* slim vertical rule */
  padding-left: 26px;
  color: rgba(35,46,78,0.9);
  font-size: 13px;
  line-height: 1.45;
  max-width: 500px;
}

/* call-to-action link style */
.explore-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--dark-navy);
}

/* subtle text sizing for paragraph */
.info-box p { margin:0 0 8px 0; }

/* ========== OVERLAY MENU (hidden by default) ========== */
.overlay-menu {
  position: fixed;
  inset: 0;
  background: rgba(30,42,87,0.96); /* dark navy overlay */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 3rem;
}

/* shown state */
.overlay-menu.open { display: flex; }

/* overlay inner content */
.overlay-inner {
  width: 100%;
  max-width: 680px;
  color: white;
  position: relative;
}

/* close button */
.overlay-close {
  position: absolute;
  top: -16px;
  right: -8px;
  font-size: 42px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* menu list */
.overlay-list li { margin-bottom: 0.5rem; }
.overlay-list a {
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 600;
}
.overlay-list a:hover { text-decoration: underline; }

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .hero-title { font-size: clamp(30px, 8.5vw, 56px); text-align: center; }
  .hero-info { margin-top: 18px; justify-content: center; }
  .info-box { border-left: none; padding-left: 0; text-align: center; }
  .info-box .explore-link { display:block; }
  .brand-logo { height: 38px; }
  .menu-btn { padding: 8px 14px; font-size: 0.9rem; }
}

@media (max-width: 575.98px) {
  .hero-container { padding-top: 32px; }
  .hero-title { line-height: 0.98; padding-left: 40px; }
  .info-box { font-size: 14px; }
  .market-leadership .col-md-6{max-width: 98%;}
  
  .ribbon-wrapper h5 {
    font-size: 0.8rem;   /* smaller heading */
  }
  .ribbon-wrapper p {
    font-size: 0.6rem; /* smaller text */
    margin-bottom: 0.2rem;
  }
  .ribbon-wrapper .btn {
    font-size: 0.5rem;
    padding: 0.2rem 0.7rem;
  }
  .figures{font-size: 1.2rem !important;}
  .figures-2{font-size: 1rem !important;}
  .sustainable-development h2{font-size: 1.3rem !important; top:40px !important; left:40% !important; width: 300pxS;}
  .sustainable-development p{width: 360px; padding:10px !important; left:50% !important; font-size: 0.8rem !important; top:150px;}
}

/*-----------------*/
/* section title */
.market-leadership{padding:48px 0 80px;background:#fff}
.section-title{
  text-align:center;
  font-size:34px;
  font-weight:700;
  margin-bottom:40px;
}
.market{
    margin: 20px;
}
/* ===== card wrap ===== */
.card-wrap{
  position: relative;           /* positioning context for curve + text */
  overflow: hidden;
  border-radius: var(--card-radius);
  height: var(--card-height);
  background:#f2f2f2;
}

/* main background image - covers full card area without stretching */
.card-wrap .bg{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.curve {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
  z-index: 3;          /* ensure it sits on top of bg */
  pointer-events: none;
  display: block;
}

/* curve area (uses user-supplied curved PNG as a background) */
.card-wrap .curve{
  position:absolute;
  top:0;
  height:100%;
  width: var(--curve-width);            /* how much of the card the curve occupies */
  z-index:2;
  background-repeat:no-repeat;
  background-size: auto 100%;           /* scale by height, keep aspect ratio */
  background-position: center;
  pointer-events:none;                 /* so clicks pass through */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* left-column cards: curve should sit on the RIGHT edge of the card */
.card-wrap.left .curve{
  right:0;
  left:auto;
  background-position: right center;
}

/* right-column cards: curve should sit on the LEFT edge of the card */
.card-wrap.right .curve{
  left:0;
  right:auto;
  background-position: left center;
}

/* ===== text block - width equals the curve area and anchored to same edge ===== */
.card-wrap .text{
  position:absolute;
  top:18%;
  z-index:3;
  width: var(--curve-width);   /* keep text inside the curve area */
  padding: 28px 36px;
  color:#fff;
  text-align:left;
  display:block;
}

/* anchor the text to right for left-cards (since the curve is anchored right) */
.card-wrap.left .text{
  right:0;
  left:auto;
}

/* anchor text to left for right-cards */
.card-wrap.right .text{
  left:0;
  right:auto;
}

/* typography inside the curve */
.card-wrap .text h3{
  margin:0 0 10px 0;
  font-size:1.15rem;
  font-weight:700;
  line-height:1.05;
  letter-spacing:0.2px;
}

.card-wrap .text p{
  margin:0 0 14px 0;
  font-size:0.95rem;
  line-height:1.45;
  opacity:0.95;
}

/* white pill button that matches the reference */
.card-wrap .text .btn{
  font-weight:700;
  font-size:0.88rem;
  padding:8px 18px;
  border-radius:30px;
}

/* small responsive adjustments */
@media (max-width: 991.98px){
  :root{ --card-height: 200px; --curve-width: 72%; }
  .section-title{ font-size:28px; margin-bottom:28px; }
}

@media (max-width: 575.98px){
  :root{ --card-height: 180px; --curve-width: 84%; }
  .card-wrap{ height: var(--card-height); }
  .card-wrap .text{ top:auto; bottom:12%; padding:18px; width:var(--curve-width) }
  .card-wrap .text h3{ font-size:1rem }
  .card-wrap .text p{ font-size:0.85rem }
}

/*--------------------------*/
 .banner {
     position: relative;
      background: url('../images/image-3.jpg') center center/cover no-repeat;
      height: 400px;
      color: #fff;
      display: flex;
      align-items: center;
      text-align: center;
    }
    .banner-overlay {
      background: rgba(0, 0, 0, 0.5); /* dark overlay for readability */
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .banner h1 {
      font-size: 2rem;
      margin-bottom: 2rem;
      font-weight: bold;
      margin-top: 5px;
      position: absolute;
      top: 40px;   /* distance from top */
      left: 50%;
      transform: translateX(-50%); /* keep it centered horizontally */
      margin: 0;
    }
    .icon-box i {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
    }
    .icon-box h2 {
      font-size: 2rem;
      margin: 0.25rem 0;
    }
    
    /*--------------------*/
    .news-section {
      padding: 60px 0;
      background: #fff;
    }
    .news-section h2 {
      font-weight: 700;
      margin-bottom: 40px;
      text-align: center;
      color: #2c3e50;
    }
    .carousel-inner {
      max-width: 900px;   /* limit width */
      margin: auto;       /* center it */
      padding: 20px;
    }
    .news-card {
      border: none;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      position: relative;
    }
    
    .date-circle {
      position: absolute;
      top: 15px;
      left: 15px;
      background: #fff;
      color: #2c3e50;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 10px 12px;
      border-radius: 50%;
      text-align: center;
      line-height: 1.2;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }
    /* Category ribbon */
    .category {
      display: inline-block;
      color: #fff;
      font-weight: 600;
      font-size: 0.8rem;
      padding: 6px 22px;
      position: relative;
      top: -20px; /* overlaps into the card */
      border-radius: 4px 4px 0 0;
      margin: 0 auto;   /* center horizontally */
    }
    .category::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -10px;
      height: 20px;
      background: inherit;
      border-radius: 0 0 20px 20px; /* curve at bottom */
    }
    .category.mobility { background-color: #e91e63; }
    .category.healthcare { background-color: #009688; }
    .category.group { background-color: #0056a3; }

    .news-card .card-body {
      padding: 18px;
      text-align: center; /* keeps ribbon and text centered */
    }
    .news-card h5 {
      font-size: 0.8rem;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .news-card p {
      color: #666;
      font-size: 0.75rem;
      margin-bottom: 15px;
    }
    .btn-learn {
      border-radius: 25px;
      padding: 6px 20px;
      font-size: 0.8rem;
      border: 1px solid #0d6efd;
      color: #0d6efd;
      background: #fff;
      transition: all 0.2s;
    }
    .btn-learn:hover {
      background: #0d6efd;
      color: #fff;
    }
    .btn-black {
  
  color: #040404;
  border: 1px solid #040404;
}

.btn-black:hover {
  background-color: #333; /* slightly lighter on hover */
  color: #fff;
}

    /* Carousel controls outside */
    .carousel-control-prev,
    .carousel-control-next {
      width: 5%;
    }
   
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      background-color: #040404;
      border-radius: 50%;
      padding: 14px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.25);
      background-size: 60% 60%;
    }
    .btn-impact {
      margin-top: 40px;
      border-radius: 25px;
      padding: 10px 25px;
      border: 1px solid #0d6efd;
      background: #fff;
      color: #0d6efd;
      font-weight: 500;
      transition: all 0.2s;
    }
    .btn-impact:hover {
      background: #0d6efd;
      color: #fff;
    }


.swiper-button-next,
.swiper-button-prev {
  color: #333;
  width: 40px;
  height: 40px;
  z-index: 10;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.position-relative > .swiper-button-next,
.position-relative > .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
}

    /*------------*/
    .values-section h2 {
  color: #fff;
}

.values-section p {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.4;
}
/*-----------*/
.sustainable-development {
    position: relative;
    background:
        linear-gradient(
            rgba(0, 60, 140, 0.65),
            rgba(0, 60, 140, 0.65)
        ),
        url('https://zilojolabs.com/cfaokenya/wp-content/uploads/2026/07/Website-Banner.jpg')
        center center/cover no-repeat;

    height: 400px;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}
    .sustain-banner-overlay {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .sustainable-development h2 {
      font-size: 1.6rem;
      margin-bottom: 3rem;
      font-weight: bold;
      margin-top: 10px;
      position: absolute;
      top: 80px;   /* distance from top */
      left: 30%;
      transform: translateX(-50%); /* keep it centered horizontally */
      margin: 0;
      padding: 20px;
    }
    .sustainable-development p {
      font-size: 1rem;
      text-align: left;
      margin-bottom: 3rem;
      font-weight: 300;
      margin-top: 10px;
      position: absolute;
      padding: 20px;
      left: 28%;
      transform: translateX(-50%); /* keep it centered horizontally */
      margin: 0;
    }

  .btn-darkblue {
  background-color: #003366; /* dark blue */
  color: #fff;              /* white text */
  border-radius: 30px;      /* rounded edges */
  padding: 10px 24px;       /* space inside */
  font-weight: 500;
  border: none;
  transition: all 0.2s ease-in-out;
  position: absolute;
  left: 8%;
  margin-left: 10px;
  bottom: 10%;
}

.btn-darkblue:hover {
  background-color: #002244; /* darker on hover */
  color: #fff;
}

   .btn-2{
  background-color: #003366; /* dark blue */
  color: #fff;              /* white text */
  border-radius: 30px;      /* rounded edges */
  padding: 10px 24px;       /* space inside */
  font-weight: 500;
  border: none;
  transition: all 0.2s ease-in-out;
  margin-top: 40px;
  margin-bottom: 40px;
   }

   .btn-2:hover{
    border: #003366 1px solid;
   }

   .bg-darkblue {
    background-color: #0a3d62; /* Dark navy blue */
  }

   .btn-3{
  color: #003366;              /* white text */
  border-radius: 30px;      /* rounded edges */
  padding: 10px 24px;       /* space inside */
  font-weight: 500;
  border: 1px solid #003366;
  transition: all 0.2s ease-in-out;
  margin-top: 40px;
  margin-bottom: 40px;
   }

   .btn-3:hover{
    color: #fff; 
    background-color: #003366;
   }

   /* SECTION */
   
    /* Section wrapper */
    .leadership{padding:90px 0; background:#fff}

    /* Top-left heading panel */
    .leadership .section-heading{font-size:34px; font-weight:700; margin-bottom:16px}
    .leadership .intro{color:var(--muted); font-size:0.95rem; line-height:1.4; margin-bottom:20px;}
    .btn-history{
      display:inline-block; padding:9px 16px; border-radius:8px; border:2px solid var(--accent); color:var(--accent); text-decoration:none; font-weight:600; background:#fff
    }

    /* Portraits (upper row) */
    .profile-img{width:100%; height:260px; 
		object-fit:contain; border-radius:2px; display:block}
    .profile-name{font-weight:700; margin-top:12px; font-size:0.95rem}
    .profile-role{color:rgba(0, 0, 0, 0.75); font-size:0.85rem; margin-top:4px}

    /* Lower row large portraits */
    .lower-img{width:100%; height:260px; object-fit:cover; border-radius:2px}
    .lower-card .profile-name{font-size:1rem}

    /* Timeline list */
    .timeline{position:relative; padding-left:56px; margin-top:18px}
    /* vertical line */
    .timeline:before{content:''; position:absolute; left:24px; top:0; bottom:0; width:4px; background:var(--accent); border-radius:2px}

    .timeline li{position:relative; list-style:none; padding:18px 0}
    .timeline li .dot{position:absolute; left:-36px; top:23px; width:12px; height:12px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 5px inset}

    .timeline li p{margin:0; color:var(--accent); font-weight:700}
    .timeline li small{display:block; color:var(--muted); margin-top:6px}

    /* Spacing tweaks */
    .upper-portraits .col-lg-3{padding-top:6px}

    @media (max-width: 991.98px){
      .profile-img{height:200px}
      .lower-img{height:220px}
      .leadership{padding:40px 0}
    }
/* 📱 Mobile responsive tweaks */
@media (max-width: 575.98px){
.leadership{padding:40px 0}
.profile-img, .lower-img{height:auto}
.section-heading{font-size:26px}
.profile-name{font-size:0.9rem}
.profile-role{font-size:0.8rem}
.timeline{padding-left:36px}
.timeline:before{left:14px}
.timeline li .dot{left:-25px}
.col-lg-3{padding-bottom: 40px;}
}

/*----------*/
        .history-section {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            padding: 80px 0;
            min-height: 100vh;
        }

        .history-container {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Vertical line */
        .history-container::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            height: 100%;
            width: 2px;
            background: white;
            transform: translateX(-50%);
            z-index: 1;
        }

        .history-item {
            position: relative;
            margin-bottom: 80px;
        }

        .history-item:last-child {
            margin-bottom: 0;
        }

        /* Timeline dots */
        .history-dot {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 16px;
            height: 16px;
            background: white;
            border-radius: 50%;
            z-index: 2;
        }

        .history-year {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .history-description {
            font-size: 0.7rem;
            line-height: 1.6;
            opacity: 0.95;
        }

        .history-content-box {
            background: rgba(255, 255, 255);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            min-height: 180px;
        }

        /* Left side items */
        .history-left {
            text-align: right;
            padding-right: 60px;
        }

        /* Right side items */
        .history-right {
            text-align: left;
            padding-left: 60px;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .history-container::before {
                left: 30px;
            }

            .history-dot {
                left: 30px;
                transform: translateX(-50%);
            }

            .history-left,
            .history-right {
                text-align: left;
                padding-left: 60px;
                padding-right: 15px;
            }

            .history-year {
                font-size: 2rem;
            }

            .history-description {
                font-size: 1rem;
            }

            .history-content-box {
                min-height: 120px;
            }

            .history-item {
                margin-bottom: 60px;
            }
        }

        @media (max-width: 576px) {
            .history-section {
                padding: 60px 0;
            }

            .history-year {
                font-size: 1.8rem;
            }

            .history-description {
                font-size: 0.95rem;
            }

            .history-left,
            .history-right {
                padding-left: 50px;
            }

            .history-container::before {
                left: 25px;
            }

            .history-dot {
                left: 25px;
            }
        }
/* vision */
.vision {
  max-width: 800px;
  margin: 40px auto 18px;
  text-align: center;
}
.vision h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.vision p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.slogan {
  text-align: center;
  margin-top: 22px;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}
.logos {
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  margin-bottom: 80px;
  margin-top: 6px;
}
.logos img {
  height: 36px;
  object-fit: contain;
}

/* responsive */
@media (max-width: 767.98px) {
  .history-heading { font-size: 18px; }
  .section-sub { font-size: 14px; }
  .cfaotimeline-box { padding: 28px 18px; }
  .cfaotimeline::before { left: 18px; transform: none; }
  .cfaotimeline-item { display: block; padding-left: 36px; }
  .cfaotimeline-item .cfaotimeline-card { width: 82%; margin: 8px 0 8px 14px; }
  .cfaotimeline-meta {
    position: relative;
    left: auto;
    transform: none;
    width: auto;
    margin-left: 14px;
    text-align: left;
  }
  .cfaotimeline-dot { left: 18px; transform: none; top: 34px; }
}

    .toyota-tsusho-section .section-title {
        font-size: 2rem;
        font-weight: 500;
        color: #333;
        line-height: 1.2;
    }
    
    .toyota-tsusho-section .section-content {
        font-size: 1rem;
        line-height: 1.5;
        color: #666;
        font-weight: 300;
    }
    
    .toyota-tsusho-section .with-africa-title {
        font-size: 3rem;
        font-weight: 300;
        color: #333;
        letter-spacing: 1px;
    }
    
    .toyota-tsusho-section .logo-container {
        gap: 2rem;
    }
    
    .toyota-tsusho-section .logo-divider {
        height: 2px;
        background-color: #333;
        flex: 1;
        max-width: 100px;
    }
    
    .toyota-tsusho-section .toyota-logo {
        height: 60px;
        max-width: 120px;
        object-fit: contain;
    }
    
    .toyota-tsusho-section .cfao-logo {
        height: 50px;
        max-width: 120px;
        object-fit: contain;
    }
    
    .toyota-tsusho-section .section-navigation {
        border-top: 1px solid #ddd;
    }
    
    .toyota-tsusho-section .nav-link {
        color: #666;
        font-size: 1rem;
        padding: 10px 20px;
        border-radius: 25px;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
    }
    
    .toyota-tsusho-section .nav-link:hover {
        background-color: #e9ecef;
        color: #333;
    }
    
    .toyota-tsusho-section .nav-arrow {
        font-size: 0.8rem;
    }
    
    /* Mobile Responsiveness */
    @media (max-width: 768px) {
        .toyota-tsusho-section .section-title {
            font-size: 2rem;
        }
        
        .toyota-tsusho-section .section-content {
            font-size: 1rem;
        }
        
        .toyota-tsusho-section .with-africa-title {
            font-size: 2rem;
            letter-spacing: 1px;
        }
        
        .toyota-tsusho-section .logo-container {
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .toyota-tsusho-section .logo-divider {
            width: 50px;
            max-width: none;
        }
        
        .toyota-tsusho-section .toyota-logo {
            height: 50px;
            max-width: 100px;
        }
        
        .toyota-tsusho-section .cfao-logo {
            height: 40px;
            max-width: 100px;
        }
        
        .toyota-tsusho-section .nav-link {
            font-size: 0.9rem;
            padding: 8px 16px;
        }
    }
    
    @media (max-width: 576px) {
        .toyota-tsusho-section .section-title {
            font-size: 1.5rem;
        }
        
        .toyota-tsusho-section .with-africa-title {
            font-size: 1.5rem;
        }
        
        .toyota-tsusho-section .logo-container {
            gap: 1rem;
        }
        
        .toyota-tsusho-section .toyota-logo {
            height: 40px;
            max-width: 80px;
        }
        
        .toyota-tsusho-section .cfao-logo {
            height: 35px;
            max-width: 80px;
        }
        .ops{
          font-size: 0.8rem;
        }
        .team{
          max-width: 97%;
          padding-left: 40px;
        }
    }

    /*-----------*/
    .sdg-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .section-subtitle {
            color: #7f8c8d;
            font-size: 1.1rem;
            text-align: center;
            margin-bottom: 3rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }
        
        .sdg-icons-container {
            display: flex;
            justify-content: center;
            margin-bottom: 4rem;
            flex-wrap: wrap;
            gap: 0;
        }
        
        .sdg-icon {
            width: 120px;
            height: 120px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 0.85rem;
            text-align: center;
            padding: 15px;
            box-sizing: border-box;
            position: relative;
        }
        
        .sdg-icon-3 {
            background: #4CAF50;
        }
        
        .sdg-icon-4 {
            background: #C5282F;
        }
        
        .sdg-icon-7 {
            background: #FCC30B;
        }
        
        .sdg-icon-8 {
            background: #A21942;
        }
        
        .sdg-icon-9 {
            background: #FD6925;
        }
        
        .sdg-number {
            font-size: 2rem;
            font-weight: 900;
            margin-bottom: 5px;
        }
        
        .sdg-text {
            font-size: 0.75rem;
            line-height: 1.2;
            text-transform: uppercase;
            font-weight: 600;
        }
        
        .sdg-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .sdg-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .sdg-card-image {
            height: 250px;
            background: linear-gradient(135deg, #f1f2f6 0%, #ddd6fe 100%);
            position: relative;
            overflow: hidden;
        }
        
        .sdg-card-content {
            padding: 2rem;
        }
        
        .sdg-inner{
          max-width: 1000px;
        }
        /*---------------*/
        
        .news-header {
            text-align: center;
            color: #2c3e50;
            font-weight: bold;
            font-size: 2.5rem;
            margin: 2rem 0;
        }
        
        .filter-section {
            background: white;
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .filter-label {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.5rem;
        }
        
        .form-select {
            border: 1px solid #dee2e6;
            border-radius: 5px;
            padding: 0.75rem;
        }
        
        .news-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin-bottom: 2rem;
            position: relative;
            height: 400px;
        }
        
        .card-header-section {
            height: 200px;
            background: #4a4a4a;
            position: relative;
        }
        
        .date-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: white;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 0.75rem;
            font-weight: bold;
            color: #666;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }
        
        .date-day {
            font-size: 1.2rem;
            color: #2c3e50;
        }
        
        .category-tag {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            padding: 8px 24px;
            color: white;
            font-weight: bold;
            font-size: 0.85rem;
            min-width: 120px;
            text-align: center;
            clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
        }
        
.date-circle {
  
  font-size: 0.8rem;
  text-align: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  font-weight: bold;
}

.category-ribbon {
  top: -14px;
  left: 33%;
  width: 110px;
  height: 40px;
}

.category-ribbon img {
  
  border-radius: 4px;
}




        .card-content {
            padding: 2rem 1.5rem;
            height: 200px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .card-title {
            font-weight: bold;
            color: #2c3e50;
            font-size: 1.1rem;
            margin-bottom: 1rem;
            line-height: 1.4;
        }
        
        .card-text {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }
        
        .learn-more-btn {
            background: transparent;
            border: 2px solid #dee2e6;
            color: #666;
            padding: 8px 24px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            align-self: flex-start;
            transition: all 0.3s ease;
        }
        
        .learn-more-btn:hover {
            background: #f8f9fa;
            border-color: #adb5bd;
        }
        
        .pagination-container {
            display: flex;
            justify-content: center;
            margin-top: 3rem;
        }
        
        .pagination .page-link {
            border: none;
            color: #666;
            padding: 8px 12px;
            margin: 0 2px;
            border-radius: 5px;
        }
        
        .pagination .page-item.active .page-link {
            background-color: #2c3e50;
            color: white;
        }
        
        .pagination .page-link:hover {
            background-color: #f8f9fa;
            color: #2c3e50;
        }
   
        /*----------------*/
         .stats-container {
            background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);
            padding: 40px 0;
            color: white;
        }
        
        .stat-item {
            text-align: center;
            padding: 20px;
        }
        
        .stat-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            opacity: 0.9;
        }
        
        .stat-number {
            font-size: 3.5rem;
            font-weight: bold;
            line-height: 1;
            margin-bottom: 10px;
        }
        
        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
            font-weight: 300;
        }
        
        @media (max-width: 768px) {
            .stat-number {
                font-size: 2.5rem;
            }
            
            .stat-icon {
                font-size: 2.5rem;
            }
            
            .stats-section {
                padding: 60px 0;
            }
        }

        .contact-container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            max-width: 600px;
            width: 100%;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .office-section {
            margin-bottom: 40px;
        }

        .office-section:last-child {
            margin-bottom: 0;
        }

        .office-title {
            color: #1e3c72;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 3px solid #2a5298;
            display: inline-block;
        }

        .contact-info {
            line-height: 1.8;
            color: #333;
        }

        .contact-line {
            margin-bottom: 8px;
            font-size: 16px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .contact-line:last-child {
            margin-bottom: 0;
        }

        .label {
            font-weight: 600;
            color: #1e3c72;
            min-width: 60px;
        }

        .value {
            color: #555;
            flex: 1;
        }

        .email-link {
            color: #2a5298;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .email-link:hover {
            color: #1e3c72;
            text-decoration: underline;
        }

        .phone-link {
            color: #2a5298;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .phone-link:hover {
            color: #1e3c72;
            text-decoration: underline;
        }

        .address {
            color: #555;
        }

        /* Mobile Responsive Design */
        @media (max-width: 768px) {
            .contact-container {
                padding: 30px 25px;
                margin: 10px;
                border-radius: 15px;
            }

            .office-title {
                font-size: 20px;
                margin-bottom: 15px;
            }

            .contact-line {
                font-size: 15px;
                flex-direction: column;
                gap: 5px;
                margin-bottom: 12px;
            }

            .label {
                min-width: auto;
                font-size: 14px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

            .value {
                padding-left: 0;
            }

            .office-section {
                margin-bottom: 35px;
            }
        }

        @media (max-width: 480px) {
            .contact-container {
                padding: 25px 20px;
            }

            .office-title {
                font-size: 18px;
                margin-bottom: 12px;
            }

            .contact-line {
                font-size: 14px;
                margin-bottom: 10px;
            }

            .label {
                font-size: 13px;
            }
            .sdg-inner{
              max-width: 470px;
            }
        }

        /* Animation on load */
        .contact-container {
            animation: slideIn 0.6s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    
       
        .contact-main-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        .contact-header-section {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .contact-main-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 30px;
        }
        
        .contact-subtitle {
            font-size: 1.1rem;
            color: #6c757d;
            margin-bottom: 40px;
            line-height: 1.6;
        }
        
        .contact-section-title {
            font-size: 2rem;
            font-weight: 600;
            color: #2c3e50;
            text-align: center;
            margin-bottom: 50px;
        }
        
        .form-container {
            background: white;
            border-radius: 10px;
        }
        
        .form-title {
            font-size: 1.8rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 30px;
        }
        
        .required-text {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 30px;
        }
        
        .required-asterisk {
            color: #dc3545;
        }
        
        .form-label {
            font-weight: 500;
            color: #495057;
            margin-bottom: 8px;
        }
        
        .form-control, .form-select {
            border: 1px solid #ced4da;
            border-radius: 5px;
            padding: 12px 15px;
            font-size: 1rem;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
        }
        
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        
        .privacy-text {
            font-size: 0.85rem;
            color: #6c757d;
            line-height: 1.5;
            margin-top: 30px;
            margin-bottom: 20px;
        }
        
        .privacy-link {
            color: #0d6efd;
            text-decoration: none;
        }
        
        .privacy-link:hover {
            text-decoration: underline;
        }
        
        .form-check-input:checked {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }
        
        .submit-btn {
            background-color: #1e3a8a;
            border-color: #1e3a8a;
            padding: 12px 30px;
            font-weight: 500;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .submit-btn:hover {
            background-color: #1e40af;
            border-color: #1e40af;
            transform: translateY(-1px);
        }
        
        @media (max-width: 768px) {
            .main-title {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
            
            .form-container {
                padding: 25px;
            }
        }

.news-section .swiper-slide {
  width: auto !important;
  flex: 0 0 auto !important;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.news-section .news-card {
  width: 100%;
  max-width: 340px;
}

.news-section .card-img-top {
  object-fit: cover;
  height: 220px; /* optional — makes them uniform */
}

.post-date {
  font-size: 0.95rem;
  color: #6c757d;
  letter-spacing: 0.5px;
}

/* Contact Form 7 Select Styling */
.wpcf7-form-control.wpcf7-select {
    all: unset;
    box-sizing: border-box;

    width: 100% !important;
    padding: 12px 44px 12px 14px !important;

    font-family: inherit;
    font-size: 15px !important;
    line-height: 1.5;
    color: #333;

    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%23666' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;

    border: 1px solid #ccc !important;
    border-radius: 6px !important;

    cursor: pointer;
}
