
body{
  text-transform: capitalize;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}



.carousel-item img {
  height: 500px;
  object-fit: cover;
}
/* ✨ Highlighted Carousel Navigation Buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

@media (max-width: 768px) {
  .carousel-control-prev,
.carousel-control-next {
  width: 15%;
} 
 .carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 3.5rem;
  background-color: var(--dark);
  border: 15px solid var(--dark);
} 

}


/* ✅ Service Card Styling */
.service-title {
  position: relative;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-top: 70px;
  padding-bottom: 10px;
}

.service-title::after {
  content: "";
  display: block;
  width: 180px; /* Underline width */
  height: 4px; /* Underline thickness */
  background-color: #2c3e50;
  margin: 8px auto 0; /* Center underline */
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .service-title {
      font-size: 2rem; /* Smaller text on small screens */
  }
  
  .service-title::after {
      width: 80px; /* Smaller underline */
      height: 3px;
  }
}




.container {
  max-width: 1200px;
}

/* ✅ Service Card Styling */
.service-card {
  overflow-x: hidden;
  background: white;
  padding: 15px;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  border: none;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  background: #1E8C26;
  color: white;
}

.service-card img {
  max-width: 70px;
  margin-bottom: 10px;
}

/* ✅ Responsive Font Sizes */
.service-card h5 {
  font-size: clamp(14px, 3vw, 18px); /* Adjusts between 14px and 18px */
  font-weight: bold;
  /* margin-top: 80px; */
  white-space: nowrap;
}

/* ✅ Responsive Spacing */
@media (max-width: 576px) {
  .service-card {
      padding: 10px; /* Less padding on small screens */
  }
  .service-card img {
      max-width: 60px; /* Smaller images for better fit */
  }
  .service-card h5 {
      font-size:0.7rem;
      font-weight: 700;
      padding-top: 20px; /* Smaller text for better readability */
  }
}
.product-main-div {
  display: flex;
  flex-wrap: wrap;  /* Overflow issue fix */
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 100vh;  /* min-height use karo instead of height */
  background-color: white;
  padding: 20px; /* Extra spacing to avoid cut-off */
  position: relative;
  overflow: hidden; /* Prevents AOS from breaking layout */
}








/* ✅ Common Circle Styling */

.product-title {
  position: relative;
  text-align: center;
  font-size: 3.5rem;
  font-weight: bold;
  color: #2c3e50;
  margin-top: 80px;
  padding-bottom: 50px;
}

/* ✅ Underline */
.product-title::after {
  content: "";
  display: block;
  width: 180px; /* Underline width */
  height: 4px; /* Underline thickness */
  background-color: #2c3e50;
  margin: 8px auto 0; /* Center underline */
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .product-title {
      font-size: 2.5rem; /* Smaller text on small screens */
  }
  
  .product-title::after {
      width: 80px; /* Smaller underline */
      height: 3px;
  }
}


.product-main-div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Allows wrapping for responsiveness */
  gap: 20px; /* Space between circles */
  padding: 20px;
  background-color: white;
  background-image: url(../img/bg.png); /* Make sure the path is correct */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.circle {
  width: 40vmin;
  height: 40vmin;
  border-radius: 50%;
  border: 2px solid;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.3s ease-in-out;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0px 0px 0px 70px;
}

/* ✅ Background Images for Each Circle */
.circle:nth-child(1) { background-image: url(../img/pro1.png); background-size: 100%; }
.circle:nth-child(2) { background-image: url(../img/pro2.png); background-size: 100%; }
.circle:nth-child(3) { background-image: url(../img/pro3.png); background-size: 100%; }
.circle:nth-child(4) { background-image: url(../img/pro4.png); background-size: 100%; }
.circle:nth-child(5) { background-image: url(../img/pro5.png); background-size: 100%; }
.circle:nth-child(6) { background-image: url(../img/pro6.png); background-size: 100%; }
.circle:nth-child(7) { background-image: url(../img/pro7.png); background-size: 100%; }
.circle:nth-child(8) { background-image: url(../img/pro8.png); background-size: 100%; }

/* ✅ Half Border Using Pseudo-elements */
.circle::before, .circle::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.2vmin solid transparent;
  box-sizing: border-box;
  transition: transform 0.7s ease-in-out;
}

/* ✅ Border Colors */
.circle::before {
  border-left-color: black;
  border-top-color: black;
}

.circle::after {
  border-right-color: green;
  border-bottom-color: green;
}

/* ✅ Rotate border on hover */
.circle:hover::before {
  transform: rotate(180deg);
}

.circle:hover::after {
  transform: rotate(-180deg); /* Opposite direction for cool effect */
}

/* ✅ Black Overlay Effect */
.circle .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* Initially transparent */
  transition: background 0.3s ease-in-out;
  border-radius: 50%;
}

/* ✅ On hover, overlay becomes black */
.circle:hover .overlay {
  background: rgba(0, 0, 0, 0.7); /* 70% black overlay */
}

/* ✅ Text Styling */
.circle span {
  position: absolute;
  opacity: 0;
  font-size: 3vw;
  font-weight: bold;
  color: white;
  text-align: center;
  transition: opacity 0.3s ease-in-out;
  z-index: 2;
}

/* ✅ Show text on hover */
.circle:hover span {
  opacity: 1;
}

/* ✅ Mobile View: 2 Circles Per Row */
@media (max-width: 768px) {
  .product-main-div {
      flex-direction: row; /* Allow wrapping instead of stacking */
      justify-content: center;
      gap: 10px;
  }

  .circle {
      width: 45vw;  /* Adjusted for two circles per row */
      height: 45vw;
      margin: 5px; /* Reduce margin for better spacing */
  }

  .circle span {
      font-size: 3vmin;
  }
}

@media (max-width: 480px) {
  .circle {
      width: 36vw;  /* Keeping two circles per row for very small screens */
      height: 36vw;
      margin: 0px 0px 0px 30px;
  }

  .circle span {
      font-size: 5vmin;
  }
}


/* whychhose */

.why-choose-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 110px 10%;
  background: linear-gradient(90deg, rgba(29,61,41,1) 2%, rgba(33,63,46,0.966) 23%, rgba(41,141,69,1) 100%);
  color: white;
  flex-wrap: wrap;
  font-family: "Poppins", sans-serif;
  
  overflow: hidden;  /* ✅ Prevents elements from overflowing */
  position: relative; /* ✅ Keeps animations inside */
}


/* ✅ Left Side: Description */
.why-text {
  flex: 1;
  max-width: 500px;
}

.why-text h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: white;
}

.why-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* ✅ Right Side: 4 Sections */
.why-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 500px;
}

.why-item {
  background: rgba(255, 255, 255, 0.3);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.why-item:hover,
.why-item h3:hover {
  transform: scale(1.05);
  background-color: rgb(32, 31, 31);
  color: #e0e0e0;
  
}

.why-icon {
  font-size: 50px;
  margin-bottom: 10px;
}

.why-item h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: white;
}

.why-item p {
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
  .why-choose-section {
      flex-direction: column;
      text-align: center;
      padding: 50px 5%;
  }

  .why-text, .why-grid {
      max-width: 100%;
  }

  .why-grid {
      grid-template-columns: 1fr;
  }
}

/* whychhose end */



/* mileston start */
.milestone-section {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #328351, #1b2e2b, #18533e, #045d42);
  background-size: 400% 400%;
  animation: waveBackground 11s ease infinite;
  color: white;
  padding: 80px 10%;
  text-align: center;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  margin-bottom: -10px;
}

@keyframes waveBackground {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 💫 Milestone Header */
.milestone-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.milestone-header p {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 40px;
}

/* 📦 Milestone Box Container */
.milestone-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

/* ✨ Milestone Box with Animated Border */
.milestone-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 16px;
  width: 260px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 50px;
}

/* 🎇 Animated Border Effect */
.milestone-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #00ff88, #00b894, #005f4b, #1b2e2b);
  z-index: -1;
  background-size: 300% 300%;
  animation: borderWave 6s ease infinite;
  border-radius: 18px;
}

@keyframes borderWave {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 🔥 Glow & Lift Effect */
.milestone-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 45px rgba(0, 255, 135, 0.4);
}

/* 🌀 Floating Icon Animation */
.milestone-box i {
  font-size: 50px;
  color: #ffcc00;
  margin-bottom: 20px;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.milestone-box:hover i {
  color: #ff5722;
}

.milestone-box h3 {
  font-size: 1.9rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.milestone-box p {
  font-size: 1rem;
  color: #f5f5f5;
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
  .milestone-container {
    flex-direction: column;
    align-items: center;
  }

  .milestone-box {
    width: 90%;
  }
}

