/* === GLOBAL === */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body, h1, p, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  body {
    background-color: #fff;
    color: #111;
  }

/* === Slider === */
.slider {
  position: relative;
  width: 100%;
  height: 400px; /* 100% of viewport */
  margin-top: 80px;
  overflow: hidden;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%; /* always same as slider */
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slide backgrounds */
.slide:nth-child(1) {
  background-image: url('../assets/images/bg1.jpg');
}

.slide:nth-child(2) {
  background-image: url('../assets/images/bg2.jpeg');
}

/* Overlay inside each slide */
.overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay h1 {
  font-size: 3rem;
}

.btn.dark {
  background: #0c2340;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
}

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #f37021;
  opacity: 1;
}
  
  
/* === NAVBAR === */
.navbar {
  position: fixed;
  width: 100%;
  padding: 1rem 2rem;
  top: 0;
  left: 0;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000; /* higher than other content */
}

.navbar .logo img {
  height: 100px;
}

#navbar a.active {
  color: #0d6efd;
  border-color: #0d6efd;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links li {
  position: relative; /* ✨ crucial for dropdowns to be positioned absolutely inside */
}

.nav-links li a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.nav-links li a.active {
  font-weight: 700;
  color: #004AAD;
}

.nav-links li .btn {
  background-color: #004AAD;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.lang-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  vertical-align: middle;
  margin-left: 8px;
}

/* === MULTIPLE DROPDOWNS === */

/* Wrapper: has-dropdown must be relative */
.navbar .has-dropdown {
  position: relative;
}

/* Arrow icon on link */
.navbar .has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #0c2340;
  font-weight: 500;
  height: 100%;
}


/* Basic arrow shape */
.navbar .arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #0c2340;
  border-bottom: 2px solid #0c2340;
  transform: rotate(45deg); /* make it look like ▼ */
  transition: transform 0.2s ease;
  margin-left: 4px;
}

/* On hover: rotate up */
.navbar .has-dropdown:hover .arrow {
  transform: rotate(-135deg); /* looks like ▲ */
}
/* Dropdown: position absolute under the parent */
.navbar .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #0c2340;
  list-style: none;
  margin: 0;
  padding: 0;
  display: none; /* hidden by default */
  flex-direction: column;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1001; /* must be higher than navbar itself */
}

/* Show the dropdown when parent is hovered */
.navbar .has-dropdown:hover .dropdown {
  display: flex;
}

/* Each dropdown link */
.navbar .dropdown li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar .dropdown li:last-child {
  border-bottom: none;
}

.navbar .dropdown li a {
  display: block;
  padding: 0.75rem 1rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.navbar .dropdown li a:hover {
  background: gray;
  font-weight: bold;
}


  /* === Second banner === */
.solutions {
    margin-top: 3rem; /* Adjust value as needed */
    background: url('../assets/images/bg2.jpeg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
  }
  .solutions-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    color: white;
  }
  .solutions-overlay h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .btn.dark {
    background-color: #0c2340;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
/* === Services Section === */

.services {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #0a2740;
  margin-bottom: 40px;
  font-weight: 700;
}

.service-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.service-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 270px;
}

.card {
  width: 270px;
  height: 210px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  color: #fff;
}

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

.card img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: #fff;
}

/* Text card underneath */
.card-text {
  margin-top: 10px;
  background: #fff;
  color: #0a2740;
  border-radius: 6px;
  padding: 15px 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  width: 100%;
  text-align: center;
}

/* Optional color accents for text borders */
.navy-text {
  border-top: 3px solid #0a2740;
}

.orange-text {
  border-top: 3px solid #f37021;
}

.beige-text {
  border-top: 3px solid #e6dfd3;
}

.darkblue-text {
  border-top: 3px solid #001f4d;
}

/* Card background colors */
.card.navy {
  background-color: #0a2740;
}

.card.orange {
  background-color: #f37021;
}

.card.beige {
  background-color: #e6dfd3;
}

.card.beige img {
  filter: none; /* keep icons dark on beige */
}



.card.darkblue {
  background-color: #001f4d;
}

@media (max-width: 768px) {
  .service-block {
    width: 90%;
  }
  .card {
    width: 100%;
  }
}




  /* KPIs Section */
  .kpis {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    height: 400px;
    text-align: center;
  
    /* ✅ Add a background image or color: */
    background: url('../assets/images/bg3.jpeg') center/cover no-repeat;
    /* OR just a solid color: */
    /* background: #0c2340; */
  
    color: #fff; /* white text if dark bg */
  }
  
  .kpi-box {
    width: 300px;
    margin: 1rem;
  }
  
  .kpi-box img {
    height: 200px;
  }
  
  .kpi-box span {
    font-size: 1.2rem;
    line-height: 1.4;
  }

/* Testimonials Section */
.testimonials {
  text-align: center;
  padding: 3rem 1rem;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #0c2340;
  margin-bottom: 2rem;
}

.testimonial-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial-images img {
  width: 100%;
  max-width: 400px; /* Controls maximum width */
  height: auto;
  object-fit: contain; /* Keeps image inside box nicely */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-images img:hover {
  transform: scale(1.05); /* Subtle hover effect */
}



/* Contact Icons */
.contact-icons {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 2rem;
  text-align: center;
}
.contact-item {
  width: 200px;
  font-size: 14px;
}
.contact-item img {
  height: 35px;
  margin-bottom: 0.5rem;
}

/* === ABOUT US SECTION === */

/* WHO WE ARE */
.about-hero {
  background: url('../assets/images/bg4.jpeg') center/cover no-repeat;
  padding: 100px 20px;
  color: #fff;
  text-align: left;
}

.about-hero h1 {
  font-size: 2.8rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.about-hero p {
  max-width: 65%;
  line-height: 1.6;
  font-size: 1rem;
  background: rgba(0,0,0,0.3);
  padding: 1rem;
  border-radius: 4px;
}

/* MISSION */
.about-mission {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 60px 20px;
  background: #fff;
}

.about-mission img {
  width: 35%;
  border-radius: 4px;
}

.mission-text {
  flex: 1;
  min-width: 250px;
}

.mission-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* PILLARS */
.about-pillars {
  background-color: #e5dfd2; /* your beige background */
  background-image: url('../assets/images/bg5.jpeg'); /* your grow image */
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 100%; /* ⚡️ this scales nicely */
  padding: 50px 20px;
  min-height: 300px; /* ✅ ensure height so background shows */
}

.about-pillars h2 {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.about-pillars p {
  margin-bottom: 1rem;
}

.about-pillars ul {
  list-style: none;
  padding: 0;
  max-width: 800px;
}

.about-pillars li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}



/* WHY PARTNER */
.about-why {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 50px 20px;
}

.why-text {
  flex: 1;
}

.why-text h2 {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.why-text p {
  line-height: 1.6;
}

.about-why img {
  width: 40%;
}

@media (max-width: 768px) {
  .about-mission, .about-why {
    flex-direction: column;
    text-align: center;
  }

  .about-mission img, .about-why img {
    width: 80%;
  }
}



/* ✅ MOBILE MENU TOGGLE */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .nav-links.show {
    display: flex;
  }
}
