.hero-section {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--primary-bg);
}

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

.hero-image {
  width: 826px;
  height: 850px;
  object-fit: cover;
  object-position: right;
  position: relative;
  left: 42%;
  mix-blend-mode: lighten;
}

.hero-title-container {
  padding: 25px;
}

.hero-content {
  position: absolute !important;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-title {
  font-size: 128px;
  font-weight: 500;
  letter-spacing: -8px !important;
  color: var(--primary-text-white);
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.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;
  right: 35px;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background-color: var(--primary-text-white);
}

/* Remove underline from last span */
.hero-title span:last-child::after {
  display: none;
}

.state-tooltip {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  pointer-events: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}
.map-title {
  font-weight: 400 !important;
  font-size: 96px !important;
}
.map-description {
  font-size: 20px !important;
  font-weight: 400 !important;
  padding-top: 20px !important;
}
.map-container-wrapper {
  display: flex;
  justify-content: center;
  width: auto;
}
.map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.map-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
.accordion-item {
  border-bottom: 1px solid var(--primary-text) !important;
  border-radius: 0px !important;
}


.logo-slider img {
  object-fit: cover;
}

.content-section {
  padding: 40px 20px;
}

.content-section h1 {
  margin-bottom: 20px;
}

.content-section p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.slider-wrapper {
  display: flex;
  width: 100%;
  height: 750px; 
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.logo-slider {
  position: relative;
  width: 100%;
}
.underline::after {
  display: none;
}
.blue-overlay-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-bg);
  opacity: 0.85;
  z-index: 1;
}
.testimonial-customer-second-buttons {
  display: none !important;
}

.section-title-container {
  padding: 20px;
}

.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;
}

/* Add these new styles */
.features-container {
  height: 600px;
  position: relative;
  margin-top: 40px;
  overflow: hidden;
}

.features-wrapper {
  height: 400%;
  transition: transform 0.5s ease;
}

.feature-section {
  border: 1px solid var(--gray-90);
  height: 25%;
  display: flex;
  position: relative;
}

.feature-slider {
  width: 66.66%;
  height: 100%;
}

.feature-slide {
  width: 100%;
  height: 100%;
}

.feature-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  width: 33.33%;
  padding: 56px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-text {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-text h3 {
  font-size: 40px !important;
  font-weight: 500 !important;
  margin-top: 0;
}

.feature-text p {
  margin-bottom: 0;
  margin-top: auto;
}



@media (max-width: 992px) {
  .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;
  }

  .map-title {
    font-size: 64px !important;
    text-align: justify !important;
    br {
      display: none !important;
    }
  }

  .map-description {
    width: 463px !important;
    font-size: 16px !important;
    text-align: justify !important;
    padding-top: 15px !important;
  }

  .map-container {
    padding: 0 20px;
  }

  .hero-title {
    letter-spacing: 0px !important;
  }
  .hero-title span::after {
    bottom: -5px;
  }
  .slider-section {
    order: 2;
  }

  .content-section {
    order: 1;
    text-align: left;
    margin-bottom: 30px;
  }

  .slider-wrapper {
    flex-direction: column;
    height: auto;
  }

  .slider-container {
    width: 100%;
  }

  .logo-slider {
    display: flex;
  }
  .pill-btn-small{
    padding: 0.5rem;
    font-size: 14px;
  }
}


@media (max-width: 768px) {
  .hero-title span::before {
    content: "";
    position: absolute;
    right: 35px;
    top: 4px;
    width: 100%;
    height: 1px;
    background-color: var(--primary-text-dark-disabled);
  }
  .hero-title span::after {
    bottom: -5px;
    background-color: var(--primary-text-dark-disabled);
  }
  .hero-title span:last-child::after {
    display: block;
  }
  .hp-h1 {
    font-size: var(--t-h2-font-size);
  }

  .fraud-risk-anytime-text {
    font-size: var(--t-h2-font-size) !important;
  }

  .fraud-risk-need-text {
    font-size: 16px !important;
  }

  /* Hero Section */
  .hero-title {
    font-size: var(--t-h4-font-size) !important;
    color: var(--primary-text-dark);
    letter-spacing: 0px !important;
  }
  .hero-content {
    background-color: var(--primary-text-white);
    padding: 10px;
    top: 80%;
  }

  .section-title {
    font-size: 64px;
  }
  .section-title-container {
    margin-bottom: 0 !important;
  }

  .content-section h1 {
    font-size: 1.75rem;
  }
  .hero-image{
    object-position: center;
  }
  .slider-wrapper {
  
    height: auto;
    margin-bottom: 50px;
  }
  section#top-documents.vmh-100 {
    min-height: auto;
  }
}


/* Mobile specific adjustments */
@media (max-width: 576px) {
  .map-description {
    font-size: 14px !important;
    width: 100% !important;
  }
  .hero-title {
    font-size: var(--t-h6-font-size) !important;
    font-weight: 500;
    letter-spacing: 0px !important;
  }

  .hero-title-container {
    padding: 0;
  }
  .map-title {
    font-size: 47px !important;
    br {
      display: none !important;
    }
  }
  .hp-h1 {
    font-size: var(--t-h4-font-size) !important;
  }
  .title-and-escrow-title {
    font-size: 32px !important;
  }
  .section-title-container {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .section-title {
    font-size: var(--t-h4-font-size) !important;
  }
  .features-container {
    height: auto;
    margin: 0;
    overflow: visible;
  }

  .features-wrapper {
    height: auto;
    transform: none !important; /* Disable slider transformation */
  }

  .feature-section {
    flex-direction: column;
    height: auto;
    border: none;
  }

  .feature-slider {
    width: 100%;
    height: auto;
  }

  .feature-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }

  .feature-content {
    width: 100%;
    padding: 24px;
    height: auto;
  }

  .feature-text h3 {
    font-size: 24px !important;
    margin-bottom: 16px;
  }

  .feature-text p {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Hide slider navigation on mobile */
  .slider-nav {
    display: none;
  }

  /* Add spacing between sections */
  .feature-section + .feature-section {
    margin-top: 40px;
  }
  .map-title br{
    display: none;
  } 
}


.faq-accordion-item{
  background: transparent;
}

