/* Hero Section */
.hero-section {
  background-color: var(--primary-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* .hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  background-color: var(--primary-bg);
  z-index: 1;
} */

.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: 50%;
  mix-blend-mode: lighten;
}

.hero-title-container {
  /* padding: 25px; */
}

.hero-content {
  position: absolute !important;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  /* padding: 20px; */
  z-index: 2;
}
/* 
.hp-h1 {
    font-size: var(--h1-font-size);
    font-weight: 400;
} */

.hero-title {
  font-size: 128px;
  font-weight: 500;
  letter-spacing: -8px;
  color: var(--primary-text-white);
  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: 0px;
  bottom: -3px;
  width: 150%;
  height: 1px;
  background-color: var(--primary-text-white);
}

/* Remove underline from last span */
/* .hero-title span:last-child::after {
  display: none;
} */

/* Fraud Risk */

.fraud-risk-anytime-text {
  font-family: Outfit;
  font-size: 96px;
  color: var(--text-grey-100);
}

.fraud-risk-need-text {
  font-family: Outfit;
  color: var(--secondary-text-muted);
}

/* Guardians */

.guardians-court-text {
  color: var(--text-grey-100);
}

.guardians-description-text {
  font-family: Outfit;
  color: var(--light-text);
}

.guardians-content-text {
  font-family: Outfit;
  font-size: 36px;
  color: var(--secondary-text-muted);
}

/* .hp-lady-justice {
    position: relative;
    left: 20%;
} */

/* Top Documents Section */

.features-container {
  height: 600px;
  position: relative;
  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;
  color: var(--primary-text);
  font-family: Outfit;
}

.feature-text p {
  margin-bottom: 0;
  margin-top: auto;
  font-family: Outfit;
  color: var(--secondary-text-muted);
}

.section-title {
  font-family: Outfit;
  font-size: 96px;
  color: var(--text-grey-100);
}

/* Pro Notary */

.pro-notary-header {
  font-family: Outfit;
  font-weight: 500;
  font-size: 18px;
}

.pro-notary-content-text {
  font-family: Outfit;
  color: var(--primary-text);
}

.pro-notary-footer-text {
  color: var(--secondary-text-muted);
}
.pro-notary-card:hover {
  background-color: var(--primary-bg);
  color: var(--primary-text-white);
}
.pro-notary-card{
  transition: background-color 0.3s ease-in-out;
} 

/* Map Section */

.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;
  margin-top: 50px;
  width: auto;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.map-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Let's Connect Section */

.blue-overlay-section-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-bg);
  opacity: 0.85;
  z-index: 1;
}

.hp-h1 {
  font-weight: 400 !important;
}

.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;
}

.accordion-item {
  border-bottom: 1px solid var(--primary-text) !important;
  border-radius: 0px !important;
}

@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;
  }

  /* Fraud Risk */
  .hero-image-container {
    height: 70vh;
  }

  .fraud-risk-anytime-text {
    font-size: 64px;
  }

  .fraud-risk-need-text {
    font-size: 16px !important;
  }

  /* Hero Section */
  .hero-title {
    font-size: 48px;
    color: var(--primary-text-dark);
    letter-spacing: 0px;
  }
  .hero-content {
    background-color: var(--primary-text-white);
    padding: 10px;
  }

  /* Guardians */
  .guardians-court-text {
    font-size: 64px;
    width: 752px;
  }

  .guardians-content-text {
    font-size: 32px;
  }
  .guardians-col-remove {
    display: none !important;
  }

  /* Top Documents Section */
  .section-title {
    font-size: 64px !important;
  }

  .feature-text h3 {
    font-size: 32px !important;
  }

  .feature-text p {
    font-size: 16px !important;
  }

  /* API & Partner */
  .api-plug-and-play-text {
    font-size: 64px;
    width: 752px;
  }
  .api-parnter-text-container {
    display: flex;
    flex-direction: column;
  }
  .api-plug-paragraph {
    font-size: 16px !important;
  }
  .api-plug-and-play-text br {
    display: none;
  }

  /* Pro Notary */
  .pro-notary-explore-text {
    font-size: 64px;
  }

  /* Map Section */
  .map-title {
    font-size: 64px !important;
  }
  .map-description {
    font-size: 16px !important;
  }

  /* Let's Connect Section */
  .lets-connect-book {
    font-size: 16px !important;
  }
  .book-demo-btn {
    font-size: 14px !important;
  }
  .notarize-fater-text {
    font-size: 64px;
  }
}

@media (max-width: 991px) {
  /* Hero Section */
  .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 {
    letter-spacing: 0px !important;
  }
  .hero-title span::after {
    bottom: -5px;
  }
}

/* Mobile specific adjustments */
@media (max-width: 576px) {
  /* Hero Section */
  .hero-image-container {
    height: 600px;
  }

  .hero-title {
    font-size: 32px;
    font-weight: 500;
  }

  .hero-content {
    width: 80%;
    top: 80%;
  }
}

@media (max-width: 480px) {
  /* Top Documents Section */
  .section-title-container {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .section-title {
    font-size: 48px !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 Section */
  .map-title {
    font-size: 47px !important;

    br {
      display: none !important;
    }
  }
  #guardians .hp-h1 br {
    display: none;
}
}

@media (max-width: 431px) {
  /* Hero Section */
  .hero-title {
    font-size: var(--t-h6-font-size) !important;
    font-weight: 500;
  }

  .hero-title-container {
    padding: 0;
  }
  /* Fraud Risk */
  .fraud-risk-text-content {
    height: 240px;
  }

  .fraud-risk-anytime-text {
    font-size: var(--t-h4-font-size) !important;
  }

  /* API & Partner */
  .api-plug-and-play-text {
    font-size: var(--t-h4-font-size) !important;
  }

  /* Guardians */
  .guardians-court-text {
    font-size: var(--t-h4-font-size) !important;
    width: 343px;
  }
  .guardians-content-text {
    font-size: 24px;
  }

  /* Pro Notary */
  .pro-notary-explore-text {
    font-size: var(--t-h4-font-size) !important;
  }
  .pro-notary-header {
    font-size: 16px;
  }
  .pro-notary-rudy {
    font-size: var(--t-h6-font-size) !important;
  }
  .pro-notary-content-text {
    font-size: var(--t-h6-font-size) !important;
  }
  .pro-notary-footer-text {
    font-size: 16px !important;
  }

  /* Rated Testimonial */
  .rated-online-text {
    font-size: var(--t-h4-font-size) !important;
  }
  .rated-content-text {
    font-size: 24px !important;
  }
  .notarize-fater-text {
    font-size: var(--t-h4-font-size) !important;
  }
}
