* General Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif;
}
/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
}

/* Apply same style to both links and dropdown toggle */
.nav-links a,
.dropdown-toggle {
  font-size: 1.6rem;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-links .dropdown-toggle i {
  color: black !important;
}

/* Hover effect */
.nav-links a:hover,
.dropdown-toggle:hover {
  color: var(--color-primary);
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Flex for arrow */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle {
  color: red;
}


.dropdown-toggle i {
  color: black;
}



/* Arrow animation */
.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.dropdown.active .arrow {
  transform: rotate(180deg);
}



/* Submenu hidden */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 300px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
  z-index: 999;
}
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}



/* Hero section */
/* Hero section background */
.hero-carousel {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
background-image: url('../images/hero1.jpeg');
  background-size: cover;
  background-position: center;
   background-attachment: scroll; /* default */
  background-attachment: fixed; /* fallback for desktop */
}

/* Dark overlay */
.hero-carousel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* darkness */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
  text-align: center;
  top: 25%;
  transform: translateY(-50%);
}

/* hero-text */
.hero-p {
  font-size: 2rem;
  color: #ffff;
  text-align: left;
  padding-left: 5rem;
  margin-top: 1rem;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 7rem;
  padding-left: 5rem;
  margin: 0 auto;
  letter-spacing: -2px;
  color: aliceblue;
  font-family: "Poppins", sans-serif;
  text-align: left;

}

.clean {
 color: var(--color-accent);
  font-size: 7rem;
}

.hero-content a {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 1.5rem 1.5rem;
 border: 5px solid var(--color-accent);
  margin-top: 1rem;
  transition: background 0.3s;
  font-family: "Poppins", sans-serif;
}

.hero-content a:hover {
  background: var(--color-primary-dark);
  border: 5px solid white;
}


/* About Section */

.blog-wrapper {
  padding:  2rem;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.about-section {
  padding: 0 2rem;
  background: var(--bg-body);
  background-color: white;
  display: flex;
  flex-wrap: wrap;
}

.about-container{
   display: flex;
  align-items: center;       /* vertically align */
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;           /* stack on smaller screens */
  padding: 0 2rem;
  margin: 2rem auto;

}
.about-image img {
  width: 100%;        /* take full container width */
  height: 370px;       /* keep natural height */
  object-fit: cover;

  display: block;
}

/* About image */
.about-image {
  flex: 1 1 400px;    /* flexible but min 400px on larger screens */
  max-width: 400px;
}


.about-image1 {
  flex: 1 1 400px;  
  max-width: 50%;  
    padding-top: 2rem 0;

}

.about-image1 img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
  padding-top: 2rem 0;
}

.about-content {
  flex: 1;                   /* ✅ text takes 1 part */
  max-width: 50%;            /* ✅ restrict to half screen */
}



.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-black);
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-black);
}

.about-content .title1 {
    margin-top: -10px 0 2rem;
    border-bottom: 5px solid var(--color-accent);
    display: inline-block;
    font-size: 3rem;
    margin: 2px;
    color: var(--color-primary);
}

.about-content .title {
  font-size: 3rem;
}


.about-content .description {
  /* font-size: 1.6rem; */
  line-height: 1.9;
  margin: 1rem 0;
  /* text-align: justify; */
  color: var(--text-black);
}




/* Blog Section */

.about-container1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.story-block.reverse {
  flex-direction: row-reverse; /* alternate layout */
}


/* Impact Section */


/* Fixed background container */
#impact-fixed-bg {
  position: fixed;
  inset: 0;  /* shorthand: top:0; right:0; bottom:0; left:0 */
   background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),  /* dark overlay */
    url('../images/hero1.jpeg');  /* background image */
 background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  object-fit: contain;
  z-index: -1;     /* keep behind all content */
  opacity: 0;      /* hidden by default */
  transition: opacity 300ms ease;
}

/* visible state */
#impact-fixed-bg.visible {
  opacity: 1;
}

/* keep section content above overlay */
.impact-section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}



.impact-title {
  position: relative;
  display: block;
  text-align: center;
  margin: 3rem auto;
  color: white;
  font-weight: bold;
  max-width: 1000px;

}
.impact-title h2 {
  text-align: center;
  margin: 0 auto;
}

.impact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width:100%;
  height: auto;
  /* max-width: 1200px; */
  padding: 0 3rem;
  margin: 0 auto;
}

.impact-card {
  /* background: #fff; */
  padding: 1rem;
  /* border-radius: 20px; */
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  z-index: 1;
  border: 2px solid white;
  margin-bottom: 3rem;
}

.impact-card:hover {
  transform: translateY(-8px);
}

.impact-icon {
  font-size: 7rem;
  margin-bottom: 1rem;
  display: block;
  color: #009bd5;
  text-align: center;
}

.impact-number {
  /* font-size: 3.5rem; */
  font-weight: bold;
  color: white;
  text-align: center;
}

.impact-label {
  /* font-size: 2rem; */
  margin-top: 0.5rem;
  color: white;
  text-align: center;
}

/* Add + after any counting number */
.impact-number::after {
  content: " +";
  /* tweak spacing/appearance as needed */
  font-weight: inherit;
  color: inherit;        /* matches the number color */
  opacity: 0.9;
  pointer-events: none;  /* purely visual */
  user-select: none;     /* don't select the + when highlighting */
}

.no-plus::after {
  content: "";
}

.impact-icon i {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}



/* Solution */

.container1 {
            width: 100%;
            text-align: center;
            padding: 3rem;
           
            
        }
.container1 h2 {
          display: inline-block;
         margin: 3rem auto;
         color: var(--color-primary);
         border-bottom: 5px solid var(--color-accent);
        }
        .card-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 5px;
        }
        .card-solution {
            overflow: hidden;
            width: 250px;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px;
            text-align: left;
        }
        .card-solution img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 6px;
        }
        .card-content1 {
            padding: 15px 0;
        }
        .card-content1 h3 {
            margin: 1rem;
            font-size: 2rem;
        
        }
        .card-content1 p {
            line-height: 1.5;
            /* text-align: justify; */
            /* font-size: 1.2rem; */
        }
        .card-button {
            display: inline-block;
            /* padding: 10px 20px; */
            background-color: #007bff;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            margin-top: auto;
            transition: background-color 0.3s ease;
        }
        .card-button:hover {
            background-color: #0056b3;
        }

        /* Update section */

        .section-header h2 {
          display: inline-block;
          margin: 1rem auto;
          color: var(--color-primary);
          border-bottom: 5px solid var(--color-accent);
        }

      

/* Image Slider */

   .image-slider {
      position: relative;
      width: 90%;
      max-width: 1200px;
      margin: 2rem auto;
      overflow: hidden;
      /* border-radius: 12px; */
      text-align: center;
  
    }

    .image-slider h2{
      display: inline-block;
      margin: 3rem auto;
      /* font-weight: 200; */
      border-bottom: 5px solid var(--color-accent);
      color: var(--color-primary);
    }



    .image-slider-track{
      display: flex;
      align-items: center;
      transition: transform 0.5s ease-in-out;
      margin-top: 2rem;
    }

    .image-slide {
      flex: 0 0 25%;
     /* flex: 0 0 23.23%; */
      text-align: center;
      padding: 0 0.5rem;
      box-sizing: border-box;
    }
    

    .image-slide h5 {
      margin-top: 0.5rem;
      font-size: 1.2rem;
      color: var(--text-black);
    }


    .image-slide1 {
      flex: 0 0 20%;
      text-align: center;
      padding: 0 0.5rem;
    }

    .image-slide1 img {
      width:50%;
      max-width: 400px;
      /* height: auto; fixed height */
    }

    .image-slide img {
      width:100%;
      max-width: 350px;
      /* height: auto; fixed height */
      height: 300px;
      object-fit: cover;

    }

    /* Navigation Arrows */
    .image-slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      color: var(--color-accent);
      border: none;
      /* padding: 2px; */
      cursor: pointer;
      /* border-radius: 50%; */
      font-size: 30px;
      transition: background 0.3s;
    }

    .image-slider-btn.prev {
      left: 15px;
    }

    .image-slider-btn.next {
      right: 15px;
    }

    /* Dots */
    .slider-dots {
      text-align: center;
      padding: 12px 0;
      display: none;
    }

    .slider-dots button {
      height: 12px;
      width: 12px;
      margin: 0 5px;
      border-radius: 50%;
      border: none;
      background: #bbb;
      cursor: pointer;
      transition: background 0.3s;
    }

    .slider-dots button.active {
      background: #333;
    }


    .slider-learn-more {
      display: flex;
      justify-content: center;
      margin: 2rem;
    }


/* Interested section  */

.interest {
  text-align: center;
  background: white;
}

    .interest-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      max-width: 1200px;
      margin: auto;
      text-align: center;
    }

    .interest h2 {
      display: inline-block; /* shrinks to text width */
  margin: 10rem auto 1rem;
  color: #0073C7;
  border-bottom: 5px solid var(--color-accent);
    }

    .interest-card {
      position: relative;
      overflow: hidden;
      height: 400px;
      display: flex;
      align-items: flex-end;
      color: #fff;
      margin-top: 3rem;

    }

    .interest-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.4); /* dark overlay */
    }

    .interest-content {
      position: relative;
      padding: 1.5rem;
      z-index: 1;
      text-align: left;
    }

    .interest-card h3 {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
    }

    .btn {
      display: inline-block;
      padding: 1rem 1rem;
      text-decoration: none;
      color: #fff;
      font-weight: bold;
      font-size: 1.4rem;
      transition: all 0.3s ease;
      border: 5px solid var(--color-accent);
      text-align: left;
      background: var(--color-primary);
     
    }

    .btn:hover {
      background: var(--color-primary-dark);
      color: var(--color-light);
      text-decoration: none;
    }

    /* Background images */
    .interest1 {
      background: url("../images/career1.jpeg") center/cover no-repeat;
    }

    .interest2 {
      background: url("../images/product3.jpg") center/cover no-repeat;
    }


/* Map Section */
.map-section {
  padding: 4rem;
  text-align: center;
  background: #f9f9f9; /* light background for contrast */

}

.map-section h2 {
  font-size: 2rem;
  color: #0073C7;
  margin-bottom: 3rem;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 1200px; /* prevents map from being too wide on large screens */
  margin: 0 auto;
  padding-bottom: 35%; /* 16:9 aspect ratio */
  height: 50px;
  overflow: hidden;
  border-radius: 12px; /* smooth rounded corners */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); /* subtle shadow */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}


.underline1 {
  display: block;
  margin: 0 auto 3rem; /* center and add bottom spacing */
}



/* Mobile */

@media (max-width: 68.8rem) {
  /* html {
    font-size: 60%;
  } */
}

@media (max-width: 900px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
     .Quote {
    display: none;
  }
  .hero-content h1 {
    padding-left: 2rem;
  }

  .hero-p {
    padding-left: 2rem;
  }

  .Hero-button {
  text-align: left;
  padding-left: 2rem;
  
}

.Hero-button a {
  font-size: 1.4rem;
  padding: 1rem;
  
}

}

   /* .about-container {
    flex-wrap: wrap;     /* allow stacking 
    padding: 0 2rem;      /* reduce padding 
  
  }

  .about-image1 {
    width: 100%;          /* let it go full width on small screens 
    flex: 1 1 100%;       /* allow it to resize now 
  } */

/* Responsive design */

/* Desktop: show on hover */

@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}


        @media (max-width: 1180px) {
          .dropdown.active .dropdown-menu {
    display: block;
    position: static; /* makes it stack nicely */
    box-shadow: none;
    background: #f9f9f9;
    /* margin-top: 5px; */
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: white;
    position: absolute;
    top: 70px; /* adjust based on your header height */
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    z-index: 1000;
  }
  .Quote {
    display: none;
  }

 .hero-carousel{
    height: 100vh;
  }



            .card-solution {
                width: 45%;
            }
        }
        @media (max-width: 480px) {
            .card-solution {
                width: 90%;
            }

              .dropdown-toggle i {
  display: block;
}
        }

        
    /* Mobile: show 1 image */
    @media (max-width: 900px) {
      .image-slide {
        /* min-width: 100%; */
        flex: 0 0 100%;
      }

      .image-slide img {
        height: 350px; /* smaller height for mobile */
         padding: 0 0.5rem;
      }
      /* .about-image1 {
      max-width: 600px;
      width: 100%; */
}
    





@media (max-width: 768px) {

.interest-container {
    grid-template-columns: 1fr; /* single column on mobile */
    padding: 2rem;
  }
.hero-carousel {
  height: 70vh;
  background-attachment: scroll;
}
.hero-content h1 {
  letter-spacing: -1.5px;
  font-size: 3.5rem;
} 
.clean {
  font-size: 3.5rem;
}
.hero-p {
  font-size: 1.4rem;
  /* padding-left: 2rem; */
}


.image-slide img {
      width:100%;
      max-width: 350px;
      /* height: auto; fixed height */
      height: 200px;
      object-fit: cover;
      border-radius: 12px;
    }

    .image-slide1 img {
     width: 100%;
      max-width: 300px;
      /* height: auto; fixed height */
      /* height: 200px; */
    }

.card img {
  height: 300px;
}
.map-container {
  padding-bottom: 40%;
}

.about-section, .blog-wrapper {
  padding: 2rem 0;
} 
  .about-image1,
  .about-content {
    max-width: 100%;    /* full width each */
    flex: 1 1 100%;
  }

  .about-image1 img {
    height: auto;       /* natural height on mobile */
  }

    .about-image,
  .about-content {
    flex: 1 1 100%;
    max-width: 100%;   /* no fixed width */
  }

  .about-image img {
    height: auto;      /* no forced 300px height */
    max-height: 300px; /* optional: cap height */
  }

}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}


@media (max-width: 768px) {
  .dropdown-toggle i {
    display: inline-block !important;
  }

}

@media (max-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

   .interest-content h3 {
    font-size: 2.5rem;
  }
    .hero-p {
    font-size: 1.4rem;
    padding-left: 0;
    text-align: left;
    max-width: 90%;
    margin: 1rem auto;
  }

  .about-content .title {
    font-size: 2rem;
  }
}

