.hero-section {
  background-color: #f8f9fa;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100% !important;
  position: relative !important;
  object-position: center;
}

.hero-title-container {
  background-color: white;
  padding: 14px;
}

.hero-content {
  width: 490px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 2;
}

.hero-title {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 600px;
}

.hero-title::after {
  display: block !important;
  /* Override any previous display: none */
}

/* Add underline effect for each line */
.hero-title span {
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  left: 0px;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background-color: var(--primary-text-dark-disabled);
}

.hero-title span::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 4px;
  width: 100%;
  height: 1px;
  background-color: var(--primary-text-dark-disabled);
}

.text-loop {
  position: absolute;
  top: 50px;
  left: 0;
  width: fit-content;
  white-space: nowrap;
  overflow: hidden;
  font-size: 100px;
  font-weight: 500;
  z-index: 1;
  color: rgb(250, 248, 248);

  &::after {
    content: "";
    margin-left: 50px;
  }

  animation: slideText 20s linear infinite;
}

.accordion-item {
  border-bottom: 1px solid var(--primary-text) !important;
  border-radius: 0px !important;
}

.eclosingImgWrapper {
  overflow: hidden;
}


.section-title-container {
  width: 70.666667% !important;
  margin-left: 40px !important;
}

.section-title {
  font-size: 96px;
  font-weight: 400;
  color: var(--primary-text-dark);
  margin-bottom: 0.5rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 50%;
}

.feature-icon img {
  width: 40px;
  height: 40px;
}

.eclosing-stats-btn {
  display: none;
}

.eclosing-header {
  height: 900px;
}

.underline::after {
  display: none;
}

@keyframes slideText {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


@media (max-width: 991px) {
  .hero-image-container {
    height: 800px;
    overflow: hidden;
  }

  .hero-image {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    position: absolute !important;
    object-fit: cover;
  }

  .hero-content {
    width: 90%;
    max-width: 490px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
  }

  .hero-title {
    font-size: 40px;
    text-align: left;
  }

  .eclosingImgWrapper {
    margin-top: auto !important;
  }

  .eClosingText {
    padding-top: 30px !important;
    gap: 50px !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-image-container {
    height: 70vh;
  }

  .section-title {
    font-size: var(--t-h4-font-size);
  }

  .section-title-container {
    width: 54.666% !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 576px) {
  .hero-image-container {
    height: 600px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-content {
    width: 85%;
    top: 80%;
  }

  .section-title-container {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .section-title {
    padding: 32px 16px;
    font-size: 48px !important;
  }

  .slider-nav {
    display: none;
  }

  .feature-section+.feature-section {
    margin-top: 40px;
  }
}