/* hero.css */

/* Hero Section */
#hero {
  width: 100%;
  height: 90vh;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 130%;
  height: 95%;
  background: linear-gradient(to right, rgba(30, 67, 86, 0.8), rgba(45, 58, 235, 0.6)), url("../img/hero-bg.jpg") center top no-repeat;
  z-index: 0;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%) rotate(0deg);
  pointer-events: none;
  background-size: cover !important;
  background-attachment: fixed !important;
}

#hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 130%;
  height: 96%;
  background: #6884c4;
  opacity: 0.3;
  z-index: 0;
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%) translateY(18px) rotate(2deg);
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
}

#hero h2 {
  color: #fff;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

#hero h2 span {
  color: #4facfe;
}

#hero p {
  color: #fff;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 30px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

#hero ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

#hero ul li {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
}

#hero .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 6px 30px;
  border-radius: 50px;
  color: #fff;
  border: none;
  background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
  background-size: 200% auto;
  box-shadow: 0 4px 15px rgba(65, 132, 234, 0.75);
  transition: all 0.5s ease;
}

#hero .btn-get-started:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #hero::after {
    width: 180%;
    height: 95%;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%) rotate(0deg);
  }

  #hero::before {
    width: 180%;
    height: 94%;
    border-radius: 0 0 50% 50%;
    transform: translateX(-50%) translateY(20px) rotate(4deg);
  }
}

@media (max-width: 575px) {
  #hero h2 {
    font-size: 30px;
  }

  #hero p {
    font-size: 18px;
  }

  #hero ul li {
    font-size: 18px;
  }

  #hero::before {
    width: 200%;
    transform: translateX(-50%) translateY(20px) rotate(4deg);
  }
}

@media (max-width: 480px) {
  #hero::after {
    background-attachment: scroll !important;
  }
}
/* Enlarge the Boxicons carousel chevrons */
.carousel-control-prev i,
.carousel-control-next i {
  font-size: 2.5rem; /* Adjust size as needed */
  color: #b3d4f1;    /* Match your brand color */
}

.mobile-nav-list .dropdown-toggle::after {
  display: none !important;
}
