 :root {
    --primary: #1e824c;
  }
  .text-primary {
    color: var(--primary);
  }
  .bg-primary {
    background-color: var(--primary);
  }
  .border-primary {
    border-color: var(--primary);
  }


  html, body {
  overflow-x: hidden;
}

.glassmorphism-card {
  background: #ffffffb3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 32px #0b2c4d1a;
}


.nav-link {
  position: relative;
  color: #374151;
  font-weight: 500;
  transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
  /* color: #D32F2F; */
  color: #D61724;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: -8px;
  /* background: #D32F2F; */
  background: #D61724;
  transform: translateX(-50%);
  transition: .3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}



/* Infrastructure */
.infra-item {
  display: flex;
  flex-direction: column;
  /* gap: 4px; */
  padding: 4px 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  font-weight: 600;
  color: #111827;
  transition: .3s ease;
}

.infra-item span {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.infra-item:hover {
  transform: translateY(-4px);
  border-color: #E46236;
  box-shadow: 0 15px 35px rgba(211, 47, 47, .12);
}



/* === Carousel Container === */
.home-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Slides === */
.home-slides {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
}

.home-slide {
  min-width: 100%;
  display: none;
  text-align: center;
}

.home-slide.active {
  display: block;
}

/* === Image Styling (Fixed Zoom/Crop Issue) === */
.home-slide img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  /* ✅ prevents cropping */
  display: block;
  margin: 0 auto;
}

/* === Navigation Buttons === */
.home-prev,
.home-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10;
}

.home-prev:hover,
.home-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.home-prev {
  left: 15px;
}

.home-next {
  right: 15px;
}

/* === Dots (Indicators) === */
.home-dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.home-dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.home-dot.active,
.home-dot:hover {
  background-color: #f78025;
}

/* === Responsive Adjustments === */

/* Large Desktop */
@media (min-width: 1200px) {
  .home-slide img {
    max-height: 85vh;
  }
}

/* Laptops & Tablets */
@media (max-width: 1199px) and (min-width: 768px) {
  .home-slide img {
    max-height: 70vh;
  }
}

/* Mobiles Landscape */
@media (max-width: 767px) {
  .home-slide img {
    max-height: 60vh;
  }

  .home-prev,
  .home-next {
    padding: 6px 12px;
    font-size: 18px;
  }

  .home-dot {
    height: 10px;
    width: 10px;
  }
}

/* Small Mobiles */
@media (max-width: 480px) {
  .home-slide img {
    max-height: 50vh;
  }
}