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

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

.hero-image {
  height: 150vh;
  width: 100vw;
  position: relative;
  object-fit: cover;
  object-position: center;
}
.hero-title-container {
  background-color: white;
  padding: 25px;
}
.hero-content {
  width: 490px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  z-index: 2;
}
.hp-h1 {
  font-size: var(--h1-font-size);
  font-weight: 400;
}

.hero-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 600px;
  color: var(--primary-text);
  letter-spacing: 1px;
}
.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: -5px;
  width: 100%;
  height: 1px;
  background-color: var(--primary-text-dark-disabled);
}
.hero-title span::before {
  content: '';
  position: absolute;
  right: 35px;
  top: 4px;
  width: 100%;
  height: 1px;
  background-color: var(--primary-text-dark-disabled);
}

.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;
}
.pro-notary-card:hover {
  background-color: var(--primary-bg);
  color: var(--primary-text-white);
}
.pro-notary-card:hover svg {
  fill: white;
}
.pro-notary-card:hover svg path {
  fill: white;
}
.pro-notary-card{
  transition: background-color 0.3s ease-in-out;
} 
.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%;
}

.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);
  text-transform: uppercase;
  &::after {
    content: "Notaries * Notaries * Notaries * Notaries * Notaries * Notaries";
    margin-left: 50px;
  }
  animation: slideText 30s linear infinite;
}
.accordion-item {
  border-bottom: 1px solid var(--primary-text) !important;
  border-radius: 0px !important;
}

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


.testimonial-customer-second-buttons {
  display: none !important;
}

/* Media Query Start */
@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;
  }

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

@media (min-width: 768px){
  .hovertext{
    opacity: 0;
  }
  .pro-notary-card:hover .hovertext{
    opacity: 1;
  }
  .notary-card-heading{
    min-height: 120px;
  }
  .pro-notary-card{
    min-height: 390px;
  }
}

@media (max-width: 768px) {
  .hero-image-container {
    height: 70vh;
  }
  .hp-h1 {
    font-size: var(--t-h2-font-size) !important;
  }
}

/* Mobile specific adjustments */
@media (max-width: 576px) {
  .hero-image-container {
    height: 600px;
  }

  .hero-title {
    font-size: 29px;
    font-weight: 500;
  }

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

  .map-description {
    font-size: 14px !important;
    width: 100% !important;
  }
  .map-title {
    font-size: 47px !important;
    br {
      display: none !important;
    }
  }
  .hp-h1 {
    font-size: var(--t-h4-font-size) !important;
}
}

