.insurance-landing-page {
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 132px;
}

/* ===== Hero Section Customized ===== */
.hero-section {
  align-items: flex-start;
  padding-left: 100px;
}

.r {
  position: absolute;
  right: 0px;
  bottom: -140px;
  overflow: visible;
  aspect-ratio: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  max-width: 700px;
  text-align: left;
}
.cta-button--primary {
  padding: 12px 65px;
}

section {
  padding: 0 100px;
}

.feature-gradient-bg {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 8px;
  padding: 60px 40px 0px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}
.feature-gradient-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.feature-gradient-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
}
.feature-white-card-wrapper {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.feature-white-card {
  background: #ffffff;
  border: 1px solid #b1b1af;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 280px;
}

.feature-white-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.feature-white-card-title {
  color: #290074;
  text-align: center;
  font-family: "AlbertSans-Bold", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 700;
  position: relative;
}
.feature-white-card-text {
  color: #4c4c4c;
  text-align: center;
  font-family: "AlbertSans-Regular", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}
.feature-white-card:hover {
  background: #290074;
}
.feature-white-card:hover .feature-white-card-title {
  color: #ffffff;
}
.feature-white-card:hover .feature-white-card-text {
  color: rgba(255, 255, 255, 0.5);
}
.feature-white-card:hover .feature-white-card-icon img {
  filter: brightness(0) invert(1);
}

/*Feature Gradient Section Customization*/

.feature-white-card:nth-child(-n + 3) {
  flex: 0 0 calc((100% - 64px) / 3);
}
.feature-white-card:nth-child(n + 4) {
  flex: 0 0 calc((100% - 32px) / 3);
}

.feautre-solid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 52px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

.feature-solid-content {
  display: flex;
  flex-direction: row;
  gap: 52px;
  align-items: center;
}
.feature-solid-image img {
  width: 100%;
  max-width: 515px;
  height: auto;
  object-fit: cover;
  display: block;
  align-self: center;
}

.accordion-item {
  border-bottom: 1px solid #ccccca;
  padding-bottom: 20px;
  gap: 0px;
}

.accordion-item-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px 0;
  opacity: 1 !important;
}

.accordion-icon {
  margin-right: 15px;
  width: 40px;
  height: 40px;
}

.accordion-item-title {
  font-family: "Albert Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #290074;
  margin: 0;
}

.accordion-content {
  padding-left: 75px;
  display: block !important;
}

.accordion-content p {
  color: #616160;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.feature-gradient-60-bg {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 8px;
  padding: 60px 40px 0px 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.feature-stats-alt-wrapper {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.stats-alt-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  text-align: center;
}
.stats-alt-card-number {
  color: #4000a9;
  font-family: "Inter-Bold", sans-serif;
  font-size: 40px;
  line-height: 120%;
  font-weight: 700;
  position: relative;
}
.stats-alt-card-text {
  color: #323232;
  text-align: center;
  font-family: "AlbertSans-Regular", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  position: relative;
}
.proven-results {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.card-stats {
  display: flex;
  gap: 30px;
}
.card-stats-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
}
.card-stats-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.card-stats-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.label-wrapper {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  border-style: solid;
  border-color: #4000a9;
  border-width: 1px;
  padding: 12px 16px 12px 16px;
  align-items: center;
  justify-content: center;
  position: relative;
  display: inline-flex;
}

.label-text {
  color: #4000a9;
  text-align: center;
  font-family: "AlbertSans-SemiBold", sans-serif;
  font-size: 16px;
  letter-spacing: 0.03em;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-stat-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  position: relative;
}
.card-stats-title {
  color: #342e77;
  text-align: left;
  font-family: "AlbertSans-Bold", sans-serif;
  font-size: 32px;
  line-height: 112%;
  font-weight: 700;
  position: relative;
  align-self: stretch;
}
.card-stats-bold {
  color: #4000a9;
  text-align: left;
  font-family: "AlbertSans-SemiBold", sans-serif;
  font-size: 16px;
  line-height: 120%;
  font-weight: 600;
  position: relative;
  align-self: stretch;
}
.card-stats-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 1;
  position: relative;
}
.card-stats-table {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-content: center;
  align-self: stretch;
  flex-shrink: 0;
  min-width: 520px;
  position: relative;
}

.top-left {
  background: #eaeae8;
  border-style: solid;
  border-color: #b1b1af;
  border-width: 1px;
  padding: 20px 12px 20px 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  height: 92px;
  min-width: 240px;
  position: relative;
}

.top-right {
  background: #eaeae8;
  border-style: solid;
  border-color: #b1b1af;
  border-width: 1px;
  padding: 20px 12px 20px 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  height: 92px;
  min-width: 240px;
  position: relative;
}
.bottom-left {
  background: #eaeae8;
  border-style: solid;
  border-color: #b1b1af;
  border-width: 1px;
  padding: 20px 12px 20px 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  height: 92px;
  min-width: 240px;
  position: relative;
}
.bottom-right {
  background: #eaeae8;
  border-style: solid;
  border-color: #b1b1af;
  border-width: 1px;
  padding: 20px 12px 20px 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  height: 92px;
  min-width: 240px;
  position: relative;
}
.stat {
  color: #4000a9;
  text-align: left;
  font-family: "Inter-Bold", sans-serif;
  font-size: 40px;
  line-height: 50%;
  font-weight: 700;
  position: relative;
}
.stat-text {
  color: #616160;
  text-align: left;
  font-family: "AlbertSans-Regular", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  position: relative;
  flex: 1;
}
.small-texts {
  font-family: "Inter-Medium", sans-serif;
  font-size: 24px;
  line-height: 120%;
  font-weight: 500;
}
.small-text {
  line-height: 100%;
  font-size: 16px;
  font-weight: 700;
}

/* How it Works Section */
.how-it-works-section {
  padding: 0px 60px;
}

.how-it-works-container {
  margin: 0 auto;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 40px;
}

.how-it-works-title {
  font-family: "Albert Sans", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #290074;
  margin: 0 0 40px 0;
}

.how-it-works-steps {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
}

.how-it-works-steps {
  position: relative;
}

.dotted-line-canvas {
  position: absolute;
  top: 10px;
  left: 16px;
  right: 16px;
  height: 20px;
  z-index: 10;
  width: calc(100% - 32px);
  pointer-events: none;
}

.step-item {
  flex: 1;
  text-align: left;
  margin-top: 100px;

  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  background: #4000a9;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #290074;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.step-description {
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  z-index: 10001;
}

.modal-close:hover {
  color: #000;
}

/* Testimonial Carousel Section */
.testimonial-carousel-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 20px;
  width: 100%;
}

.testimonial-carousel-title {
  font-family: "Albert Sans", sans-serif;
  font-size: 40px;
  color: #290074;
  text-align: center;
  margin-bottom: 60px;
}

.testimonial-carousel {
  width: 100%;
  max-width: 1200px;
  position: relative;
  margin-bottom: 40px;
  padding: 0 60px;
}

.testimonial-carousel-container {
  display: flex;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border-style: solid;
  border-color: #b1b1af;
  border-width: 1px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex: 0 0 calc(50% - 15px);
  min-width: calc(50% - 15px);
  position: relative;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-card__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.testimonial-card__header {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.testimonial-card__avatar {
  background: #b1b1af;
  border-radius: 60px;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.testimonial-card__image {
  width: 60px;
  height: 60px;
  position: absolute;
  left: 0px;
  top: 0px;
  object-fit: cover;
  aspect-ratio: 1;
}

.testimonial-card__info {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  position: relative;
}

.testimonial-card__name {
  color: #4000a9;
  font-family: "Albert Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  margin: 0;
}

.testimonial-card__title {
  color: #323232;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 150%;
  margin: 0;
}

.testimonial-card__quote {
  color: #616160;
  text-align: left;
  font-family: "Albert Sans", sans-serif;
  font-size: 15px;
  line-height: 150%;
  font-weight: 400;
  position: relative;
  align-self: stretch;
  margin: 0;
}

.testimonial-card__logo {
  opacity: 0.4;
  flex-shrink: 0;
  width: 200px;
  height: 48px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 200/48;
}

.testimonial-card__logo-image {
  width: 40%;
  height: 61.55%;
  position: absolute;
  right: 60%;
  left: 0%;
  bottom: 19.7%;
  top: 18.75%;
  overflow: visible;
  aspect-ratio: 80/29.54;
}

.testimonial-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.testimonial-carousel-nav.prev {
  left: 10px;
}

.testimonial-carousel-nav.next {
  right: 10px;
}

.carousel-nav-button {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  opacity: 1;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.carousel-nav-button:disabled {
  opacity: 1 !important;
  cursor: not-allowed;
}

.carousel-nav-button:not(:disabled):hover {
  transform: scale(1.1);
  background: rgba(64, 0, 169, 0.1);
}

.carousel-nav-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #b1b1af;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  transform: scale(1.2);
  background-color: #8b5cf6;
}

.carousel-dot.active {
  background-color: #4000a9;
  transform: scale(1.2);
}

.testimonial-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #4000a9;
  color: white;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 40px;
}

.testimonial-view-all:hover {
  background-color: #2e0080;
}

@media (max-width: 768px) {
  .hero-section {
    padding-left: 20px;
    padding-top: 40px;
  }
  .r {
    position: absolute;
    right: 0px;
    bottom: -70px;
    overflow: visible;
    aspect-ratio: 1;
    width: 52%;
  }
  .hero-content {
    max-width: 500px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 95%;
  }

  .frame-1000008413 {
    height: auto;
    min-height: 751px;
  }

  .frame-1000008163,
  .frame-1000008169,
  .frame-1000008171,
  .frame-1000008414,
  .frame-1000008168,
  .frame-1000008165,
  .frame-10000084142 {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 80px);
    margin: 20px 40px;
  }

  .frame-10000084132 {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 40px);
    margin: 20px;
    text-align: center;
  }

  ._00-200 {
    left: auto;
    right: 20px;
    top: auto;
    bottom: 20px;
  }

  .dotted-line-text p {
    color: #323232;
  }
  /* Pills styling to match design */
  .dotted-line-chips {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    margin-top: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 6px; /* prevents overlap with connector */
  }

  /* Last duplicate canvas rules removed */

  .dotted-line-title {
    font-size: 40px;
    font-weight: 700;
    color: #290074;
    margin: 0 0 40px 0;
    font-family: "Albert Sans", sans-serif;
  }
  .testimonial-carousel-section {
    padding: 60px 20px;
  }

  .testimonial-carousel-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .testimonial-carousel {
    padding: 0 50px;
  }

  .testimonial-carousel-nav.prev {
    left: 5px;
  }

  .testimonial-carousel-nav.next {
    right: 5px;
  }

  .carousel-nav-icon {
    width: 16px;
    height: 16px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 30px;
  }

  .testimonial-card__content {
    gap: 30px;
  }

  .testimonial-card__quote {
    font-size: 14px;
  }

  .how-it-works-steps {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }

  .step-item {
    text-align: left;
    max-width: 100%;
    margin-top: 0;
  }

  .dotted-line-canvas {
    display: none;
  }

  section {
    padding: 0px 40px;
  }
  .feature-stats-alt-wrapper {
    gap: 20px;
  }

  .feature-white-card-wrapper,
  .feature-solid-content {
    flex-direction: column;
  }
  .feature-stats-alt-wrapper {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .stats-alt-card {
    flex: 2;
  }
  .card-stats {
    flex-direction: column;
  }
  .order-1 {
    order: 1;
  }
  .order-2 {
    order: 2;
  }
  .how-it-works-section {
    padding: 0 40px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 00px 20px;
  }
  .testimonial-carousel-section {
    padding: 0px 15px;
  }

  .testimonial-carousel {
    padding: 0 40px;
  }

  .testimonial-carousel-nav.prev {
    left: 0px;
  }

  .testimonial-carousel-nav.next {
    right: 0px;
  }

  .carousel-nav-button {
    width: 36px;
    height: 36px;
  }

  .carousel-nav-icon {
    width: 14px;
    height: 14px;
  }

  .testimonial-carousel-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .testimonial-card {
    padding: 20px;
    gap: 20px;
  }

  .testimonial-card__content {
    gap: 20px;
  }

  .testimonial-card__header {
    gap: 8px;
  }

  .testimonial-card__avatar,
  .testimonial-card__image {
    width: 50px;
    height: 50px;
  }

  .testimonial-card__name,
  .testimonial-card__title {
    font-size: 14px;
  }

  .testimonial-card__quote {
    font-size: 13px;
  }

  .testimonial-card__logo {
    width: 150px;
    height: 40px;
  }
  .how-it-works-title {
    font-size: 28px;
  }
  .step-item {
    margin-top: 0;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .step-title {
    font-size: 18px;
  }

  .step-description {
    font-size: 14px;
  }
  .card-stats-table {
    min-width: 100%;
  }
  .how-it-works-section {
    padding: 0 20px;
  }
}
