* html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

  /*
body {
  font-family: "Poppins", sans-serif;
}
/* .hero-bg {
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
  transition: opacity 1s ease-in-out;
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-bg.image-0::after {
  background-image: url("https://media.istockphoto.com/id/1830163120/photo/group-of-computer-programmers-talking-while-working-at-it-office.jpg?s=612x612&w=0&k=20&c=nnhMhZcifOMTSPiZJ72QUDVWxcSgCyth-2GQaDTgzx0=");
}
.hero-bg.image-1::after {
  background-image: url("https://d1eipm3vz40hy0.cloudfront.net/images/AMER/digitalcustomerservice4.jpg");
}
.hero-bg.image-2::after {
  background-image: url("https://www.baringa.com/globalassets/people/diversity-equity-inclusion/journey-as-black-woman-in-consulting.png");
}
.hero-bg.image-active::after {
  opacity: 1;
} */

.hero-bg {
  background-size: cover;
  background-position: center;
  min-height: 80vh;
}
.hero-text {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  width: 100%;
}
.hero-text.active {
  opacity: 1;
  position: relative;
}
.hero-text.inactive {
  opacity: 0;
}

.indicator {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}
.indicator.active {
  background: #0FFCBE;
}
{% for banner in banners %}
.hero-bg.image-{{ forloop.counter0 }} {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('{% if banner.image %}{{ banner.image.url }}{% else %}{% static 'img/Twitter header - nf.jpg'%}{% endif %}');
}
{% endfor %}
.nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav-link:hover {
  transform: translateY(-2px);
  color: #0de0a8;
}
.carousel-item {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.carousel-item.active {
  position: relative;
  opacity: 1;
}
.cta-btn {
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.cta-btn:hover {
  transform: scale(1.05);
}
.hero-text {
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-text.active {
  opacity: 1;
}
.hero-text.inactive {
  opacity: 0;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.3s ease;
}
.indicator.active {
  background: #0ffcbe;
}
.what-we-do-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #0ffcbe;
  margin: 2px 0;
  transition: all 0.3s ease;
}
.nav-menu {
  transition: all 0.3s ease;
}
.why-choose-img {
  object-fit: cover;
  width: 100%;
  height: 120px;
  border-radius: 0.25rem;
}
.carousel-item-img {
  object-fit: cover;
  width: 100%;
  max-height: 150px;
  border-radius: 1rem;
}
.moving-gradient {
  background: linear-gradient(45deg, #106ebe, #0ffcbe, #106ebe, #0ffcbe);
  background-size: 200% 200%;
  animation: moveGradient 4s linear infinite; /* Slowed from 2s to 4s */
  will-change: background-position;
}
@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.form-input {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
  border-color: #0ffcbe;
  box-shadow: 0 0 0 3px rgba(15, 252, 190, 0.3);
  outline: none;
}
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #106ebe;
    flex-direction: column;
    padding: 1rem;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    padding: 0.75rem 0;
    text-align: center;
  }
  .hero-bg {
    min-height: 70vh;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  .what-we-do-img {
    height: 250px;
    max-width: 100%;
  }
  .carousel-item-img {
    max-height: 150px;
  }
  .carousel-prev,
  .carousel-next {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
  .footer-links li {
    padding: 0.5rem 0;
  }
  .why-choose-img {
    height: 120px;
  }
}
@media (min-width: 768px) {
  .hero-bg {
    min-height: 90vh;
  }
  .what-we-do-img {
    max-width: 600px;
  }
  .why-choose-img {
    height: 200px;
  }
  .carousel-item-img {
    max-height: 300px;
  }
} 