@import '../../styles/global.css';

.hero-section {
  display: flex;
  align-items: center;
  gap: 120px;
  align-self: stretch;
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--color-alias-section-bg-light, #fefefc);
}

.hero-section .hero-section-text {
  display: flex;
  width: 628px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-4xl, 80px);
}

.hero-section .frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
}

.hero-section .frame-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-md, 16px);
  align-self: stretch;
}

.hero-section .title {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* display */
  font-family: var(--typography-font-display, "Playfair Display");
  font-size: var(--typography-font-size-display, 64px);
  font-style: normal;
  font-weight: var(--typography-font-weight-display, 400);
  line-height: var(--typography-line-height-display, 76px); /* 118.75% */
  letter-spacing: -1.28px;
}

.hero-section .description {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* subtitle */
  font-family: var(--typography-font-subtitle, "DM Sans");
  font-size: var(--typography-font-size-subtitle, 32px);
  font-style: normal;
  font-weight: var(--typography-font-weight-subtitle, 500);
  line-height: var(--typography-line-height-subtitle, 40px); /* 125% */
}

.margin_bottom_48 {
  margin-bottom: 48px;
}

.margin_bottom_24 {
  margin-bottom: 24px;
}

.hero_image {
  width: 280px;
  height: 565.66px;
  aspect-ratio: 280/565.66;
  right: 175.75px;
  top: 35px;
  background: url(../../assets/images/free-credit-score/image_1.svg) lightgray
    50% / cover no-repeat;
  border-radius: 40px;
}

.support-text {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* body-sm */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-sm, 16px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 300);
  line-height: var(--typography-line-height-body-sm, 24px); /* 150% */
}

.as-seen-on {
  display: flex;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);

  background: var(--color-alias-section-bg-brand, #b3edf7);
}

.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xs, 8px);
  align-self: stretch;
}

.btn-large {
  width: max-content;
  margin-top: 24px;
}

.title-2 {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* headline */
  font-family: var(--typography-font-headline, "DM Sans");
  font-size: var(--typography-font-size-headline, 48px);
  font-style: normal;
  font-weight: var(--typography-font-weight-headline, 400);
  line-height: var(--typography-line-height-headline, 60px); /* 125% */
}

.cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-alias-grid-gutter, 24px);
  align-self: stretch;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.frame-3 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;

  border-radius: var(--radius-sm, 4px);
  border: 0.25px solid var(--color-primitive-surface-outline, #181611);
  background: var(--color-primitive-surface-surf-container-lowest, #fefefc);
}

.text-content {
  display: flex;
  padding: var(--spacing-alias-padding-xl, 32px)
    var(--spacing-alias-padding-lg, 24px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-lg, 24px);
  align-self: stretch;
}

.content-wrapper2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  align-self: stretch;
}

.div-2 {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* headline */
  font-family: var(--typography-font-headline, "DM Sans");
  font-size: var(--typography-font-size-headline, 48px);
  font-style: normal;
  font-weight: var(--typography-font-weight-headline, 400);
  line-height: var(--typography-line-height-headline, 60px); /* 125% */
}

.subhead {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* label-lg */
  font-family: var(--typography-font-label, "DM Sans");
  font-size: var(--typography-font-size-label-lg, 24px);
  font-style: normal;
  font-weight: var(--typography-font-weight-label, 500);
  line-height: var(--typography-line-height-label-lg, 28px); /* 116.667% */
}

.text-subhead {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* body-sm */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-sm, 16px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 300);
  line-height: var(--typography-line-height-body-sm, 24px); /* 150% */
}

.text-content-p {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* body-sm */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-sm, 16px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 300);
  line-height: var(--typography-line-height-body-sm, 24px);
  margin-bottom: 24px;
}


/* 
.btn-large {
  width: max-content;
} */



/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}


.as-seen-on-2 {
  display: flex;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  background: var(--color-alias-section-bg-light, #fefefc);
}

.as-seen-on-2 .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xs, 8px);
  align-self: stretch;
}

.as-seen-on-2 .title-2 {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* headline */
  font-family: var(--typography-font-headline, "DM Sans");
  font-size: var(--typography-font-size-headline, 48px);
  font-style: normal;
  font-weight: var(--typography-font-weight-headline, 400);
  line-height: var(--typography-line-height-headline, 60px); /* 125% */
}

.as-seen-on-2 .cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-alias-grid-gutter, 24px);
  align-self: stretch;
}

.as-seen-on-2 .frame-3 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

.as-seen-on-2 .card-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  border-radius: var(--radius-sm, 4px);
  border: 0.25px solid var(--color-primitive-surface-outline, #181611);
  background: var(--color-primitive-surface-surf-container-lowest, #fefefc);
}

.as-seen-on-2 .card {
}

.as-seen-on-2 .text-content {
  display: flex;
  padding: var(--spacing-alias-padding-xl, 32px)
    var(--spacing-alias-padding-lg, 24px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-lg, 24px);
  align-self: stretch;
}

.as-seen-on-2 .content-wrapper2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  align-self: stretch;
}

.as-seen-on-2 .div-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-sm, 12px);
  align-self: stretch;
}

.as-seen-on-2 .subhead-2 {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* subtitle */
  font-family: var(--typography-font-subtitle, "DM Sans");
  font-size: var(--typography-font-size-subtitle, 32px);
  font-style: normal;
  font-weight: var(--typography-font-weight-subtitle, 500);
  line-height: var(--typography-line-height-subtitle, 40px); /* 125% */

  min-height: 120px; /* Adjust if needed to fit your tallest title */
  display: flex;
  align-items: flex-start;
}

.as-seen-on-2 .p {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* body-sm */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-sm, 16px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 300);
  line-height: var(--typography-line-height-body-sm, 24px); /* 150% */
}

.as-seen-on-2 .card-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: var(--radius-sm, 4px);
  border: 0.25px solid var(--color-primitive-surface-outline, #181611);
  background: var(--color-primitive-surface-surf-container-lowest, #fefefc);
}

.as-seen-on-2 .text-content-2 {
  display: flex;
  padding: var(--spacing-alias-padding-2xl, 40px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-lg, 24px);
  align-self: stretch;
}
.subhead-2-card-3 {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* subtitle */
  font-family: var(--typography-font-subtitle, "DM Sans");
  font-size: var(--typography-font-size-subtitle, 32px);
  font-style: normal;
  font-weight: var(--typography-font-weight-subtitle, 500);
  line-height: var(--typography-line-height-subtitle, 40px); /* 125% */
}

.as-seen-on-2 .credit-score-slider {
  display: flex;
  padding: 0px var(--spacing-alias-padding-0, 0px);
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  align-self: stretch;
}

.as-seen-on-2 .track {
  display: flex;
  height: 40px;
  padding: var(--spacing-alias-padding-xs, 4px);
  align-items: center;
  flex: 1 0 0;
  border-radius: var(--radius-xs, 2px);
  background: var(--color-primitive-credit-score-poor, #b86966);
}

.as-seen-on-2 .track-2 {
  display: flex;
  height: 40px;
  padding: var(--spacing-alias-padding-xs, 4px);
  align-items: center;
  flex: 1 0 0;
  border-radius: var(--radius-xs, 2px);
  background: var(--color-primitive-credit-score-fair, #cb8c59);
}

.as-seen-on-2 .track-3 {
  display: flex;
  height: 40px;
  padding: var(--spacing-alias-padding-xs, 4px);
  align-items: center;
  flex: 1 0 0;
  border-radius: var(--radius-xs, 2px);
  background: var(--color-primitive-credit-score-good, #eac46b);
}

.as-seen-on-2 .track-4 {
  display: flex;
  height: 40px;
  padding: var(--spacing-alias-padding-xs, 4px);
  align-items: center;
  flex: 1 0 0;
  border-radius: var(--radius-xs, 2px);
  background: var(--color-primitive-credit-score-great, #97c392);
}

.as-seen-on-2 .track-5 {
  display: flex;
  height: 40px;
  padding: var(--spacing-alias-padding-xs, 4px);
  align-items: center;
  flex: 1 0 0;
  border-radius: var(--radius-xs, 2px);
  background: var(--color-primitive-credit-score-excellent, #346950);
}

.as-seen-on-2 .frame-4 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
}

.as-seen-on-2 .content-2 {
  display: flex;
  height: 250px;
  padding: 16px 16px 24px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  flex: 1 0 0;
  border-radius: 4px;
  border: 1px solid var(--color-primitive-credit-score-poor, #b86966);
  background: var(--color-primitive-credit-score-poor-light, #f1e1e0);
}

.as-seen-on-2 .content-3 {
  display: flex;
  height: 250px;
  padding: 16px 16px 24px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  flex: 1 0 0;
  border-radius: 4px;
  border: 1px solid var(--color-primitive-credit-score-fair, #cb8c59);
  background: var(--color-primitive-credit-score-fair-light, #f5e8de);
}

.as-seen-on-2 .content-4 {
  display: flex;
  height: 250px;
  padding: 16px 16px 24px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  flex: 1 0 0;
  border-radius: 4px;
  border: 1px solid var(--color-primitive-credit-score-good, #eac46b);
  background: var(--color-primitive-credit-score-good-light, #fbf3e1);
}

.as-seen-on-2 .content-5 {
  display: flex;
  height: 250px;
  padding: 16px 16px 24px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  flex: 1 0 0;
  border-radius: 4px;
  border: 1px solid var(--color-primitive-credit-score-great, #97c392);
  background: var(--color-primitive-credit-score-great-light, #eaf3e9);
}

.as-seen-on-2 .content-6 {
  display: flex;
  height: 250px;
  padding: 16px 16px 24px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  flex: 1 0 0;
  border-radius: 4px;
  border: 1px solid var(--color-primitive-credit-score-excellent, #346950);
  background: var(--color-primitive-credit-score-excellent-light, #d6e1dc);
}

.as-seen-on-2 .text-wrapper-2 {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* label-md */
  font-family: var(--typography-font-label, "DM Sans");
 
  font-style: normal;
  font-weight: var(--typography-font-weight-label, 500);
  line-height: var(--typography-line-height-label-md, 26px); /* 130% */

  /* white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; */
}

.as-seen-on-3 {
  display: flex;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  background: var(--color-alias-section-bg-light, #fefefc);
}

.as-seen-on-3 .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xs, 8px);
  align-self: stretch;
}

.as-seen-on-3 .title-2 {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* headline */
  font-family: var(--typography-font-headline, "DM Sans");
  font-size: var(--typography-font-size-headline, 48px);
  font-style: normal;
  font-weight: var(--typography-font-weight-headline, 400);
  line-height: var(--typography-line-height-headline, 60px); /* 125% */
}

.as-seen-on-3 .p {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* body-sm */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-sm, 16px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 300);
  line-height: var(--typography-line-height-body-sm, 24px); /* 150% */
}

.cards-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-alias-horizontal-gap-md, 16px);
  align-self: stretch;
}

.cards-2 .section-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 8px;
  border: 0.25px solid var(--color-primitive-surface-outline, #181611);
  background: var(--color-primitive-surface-surface, #fefefc);
}



.cards-2 .text-content-3 {
  display: flex;
  padding: var(--spacing-alias-padding-xl, 32px)
    var(--spacing-alias-padding-lg, 24px);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-md, 16px);
  align-self: stretch;
}

.cards-2 .content-7 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xl, 32px);
  align-self: stretch;
}

.cards-2 .div-3 {
  width: 100px;
  height: 100px;
}

.cards-2 .group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-lg, 24px);
  align-self: stretch;
}



.credit-score-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-alias-horizontal-gap-md, 16px);
  align-self: stretch;
}

.credit-score-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 8px;
  border: 0.25px solid var(--color-primitive-surface-outline, #181611);
  background: var(--color-primitive-surface-surface, #fefefc);
}

.credit-score-card:hover {
  box-shadow: 0 4px 16px rgba(30, 60, 90, 0.1);
}

.donut-chart {
  padding: 24px;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: var(--radius-sm, 4px);
  padding: 24px;
}

.card-title {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* label-md */
  font-family: var(--typography-font-label, "DM Sans");
  font-size: var(--typography-font-size-label-md, 20px);
  font-style: normal;
  font-weight: var(--typography-font-weight-label, 500);
  line-height: var(--typography-line-height-label-md, 26px); /* 130% */
}

.card-score {
  align-self: stretch;
  color: var(--color-primitive-primary-primary, #2e839c);

  /* body-sm */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-sm, 16px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 700);
  line-height: var(--typography-line-height-body-sm, 24px); /* 150% */
}

.card-desc {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* body-sm */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-sm, 16px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 300);
  line-height: var(--typography-line-height-body-sm, 24px); /* 150% */
}

/*by-credit-2 section starts here*/
.by-credit-2 {
  display: flex;
  padding-top: 80px;
  padding-bottom: 80px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}

.text-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-lg, 24px);
  align-self: stretch;
}

.title-3 {
  align-self: stretch;
  color: var(--color-primitive-surface-inverse-surface, #303030);

  /* headline */
  font-family: var(--typography-font-headline, "DM Sans");
  font-size: var(--typography-font-size-headline, 48px);
  font-style: normal;
  font-weight: var(--typography-font-weight-headline, 400);
  line-height: var(--typography-line-height-headline, 60px);
  /* 125% */
}

.description-3 {
  align-self: stretch;
  color: var(--color-primitive-surface-inverse-surface, #303030);

  /* body-md */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-md, 20px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 300);
  line-height: var(--typography-line-height-body-md, 28px);
  /* 140% */
}

.accordion-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-sm, 12px);
  align-self: stretch;
}

.accordion {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: var(--radius-sm, 4px);
  border: 0.25px solid var(--color-primitive-surface-outline, #181611);
  background: var(--color-primitive-surface-surface, #fefefc);
}

/* Accordion Styles */
.accordion-container {
  width: 100% !important;
  max-width: 100% !important;
}

.accordion {
  width: 100% !important;
  max-width: 100% !important;
}

.accordion-item {
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 0px !important;
}

.accordion-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-alias-horizontal-gap-md, 16px);
  align-self: stretch;
}

.accordion-content .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-alias-vertical-gap-xs, 8px);
  align-self: stretch;
}

.supporting-text-3 {
  align-self: stretch;
  color: var(--color-primitive-surface-on-surface, #181611);

  /* body-sm */
  font-family: var(--typography-font-body, "DM Sans");
  font-size: var(--typography-font-size-body-sm, 16px);
  font-style: normal;
  font-weight: var(--typography-font-weight-body, 300);
  line-height: var(--typography-line-height-body-sm, 24px);
  /* 150% */
}

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--typography-font-label, "DM Sans");
  font-size: var(--typography-font-size-label-lg, 24px);
  font-weight: var(--typography-font-weight-label, 500);
  color: var(--color-primitive-surface-on-surface, #181611);
}

.accordion-trigger:hover {
  background: #f5f5f5;
}

.accordion-trigger .label {
  flex: 1;
}

.accordion-trigger .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.accordion-trigger .icon img {
  width: 16px;
  height: 16px;
}

.accordion-trigger.active .icon {
  transform: rotate(180deg);
}

.accordion-content.active {
  display: block;
}

.mobile-only {
  display: none !important;
}

.web-only {
  display: flex;
}

/* Override carousel-basic.css styles for desktop */
.mobile-cards-carousel {
  display: none !important;
}

.carousel-controls {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
}

.carousel-controls_container {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
}

/* Mobile responsive visibility */
@media (max-width: 998px) {
  .mobile-only {
    display: block !important;
  }
  
  .web-only {
    display: none !important;
  }
  
  /* Hero image overlap on mobile */
  .hero_image {
    z-index: 1;
    margin-bottom: 18%;
  } 
  
  .as-seen-on {
    position: relative;
    z-index: 2;
    margin-top: -50%;
    padding-top: 80px;
  }
   */
  /* Mobile carousel specific styles - single card display */
  .mobile-cards-carousel {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .mobile-cards-carousel .credit-score-card {
    width: 100%;
    max-width: 280px;
    min-width: 280px;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    background: #FEFEFC;
    border: 0.25px solid #181611;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 24px 16px;
    margin: 0;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    justify-content: flex-start;
    display: flex;
    opacity: 1;
    overflow: visible;
    flex-shrink: 0;
    flex-grow: 0;
  }
  
  .mobile-cards-carousel .credit-score-card:not(.active) {
    display: none;
  }
  
  .mobile-cards-carousel .card-title {
    font-size: 20px;
    font-weight: 500;
    color: #181611;
    text-align: left;
    font-family: 'DM Sans', Arial, sans-serif;
    margin: 0;
    line-height: 1.2;
  }
  
  .mobile-cards-carousel .card-desc {
    font-size: 16px;
    font-weight: 300;
    color: #181611;
    line-height: 1.5em;
    text-align: left;
    font-family: 'DM Sans', Arial, sans-serif;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .mobile-cards-carousel .card-score {
    font-size: 14px;
    font-weight: 500;
    color: #357c8c;
    margin-bottom: 8px;
    line-height: 1.2;
  }
  
  .mobile-cards-carousel .donut-chart {
    margin-bottom: 12px;
    flex-shrink: 0;
  }
  
  .mobile-cards-carousel .card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
  }
  
  .carousel-controls {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    width: 100%;
  }
  
  .carousel-controls_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }
  
  .icon-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
  }
  
  .icon-btn:hover {
    opacity: 0.7;
  }
  
  .icon-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }
  
  .carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0;
  }
  
  .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D6D6D6;
    display: inline-block;
    transition: background-color 0.2s;
    cursor: pointer;
  }
  
  .indicator.active {
    background: #303030;
  }
  
  
}

@media (max-width: 480px) {
  .mobile-cards-carousel {
    padding: 0 16px;
    margin: 0 -16px;
  }
  
  .mobile-cards-carousel .credit-score-card {
    width: 260px;
    min-width: 260px;
  }
}
/* Responsive Design */
@media (max-width: 998px) {
  .hero-section {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }

  .hero-section .hero-section-text {
    width: 100%;
  }

  .hero-section .title {
    font-size: 48px;
    line-height: 56px;
  }

  .hero-section .description {
    font-size: 24px;
    line-height: 32px;
  }

  

  .as-seen-on,
  .as-seen-on-2,
  .as-seen-on-3,
  .by-credit-2 {
    padding: 40px 20px;
  }

  .title-2,
  .as-seen-on-2 .title-2,
  .as-seen-on-3 .title-2,
  .title-3 {
    font-size: 36px;
    line-height: 44px;
  }

  .frame-3 {
    flex-direction: column;
  }

  .credit-score-cards {
    grid-template-columns: 1fr;
  }

  .btn-large .text-wrapper{
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
}

  .btn-large {
    width: 100%;
    height: 64px;
}
}

@media (max-width: 768px) {
  .hero-section .title {
    font-size: 36px;
    line-height: 44px;
  }

  .hero-section .description {
    font-size: 20px;
    line-height: 28px;
  }

  .title-2,
  .as-seen-on-2 .title-2,
  .as-seen-on-3 .title-2,
  .title-3 {
    font-size: 28px;
    line-height: 36px;
  }

  .subhead,
  .as-seen-on-2 .subhead-2,
  .subhead-2-card-3,
  .card-title {
    font-size: 20px;
    line-height: 24px;
  }

  .as-seen-on-2 .subhead-2{
   min-height: 50px;
  }

  

  .text-content,
  .as-seen-on-2 .text-content,
  .as-seen-on-2 .text-content-2 {
    padding: 20px 16px;
  }

  /* Hero image overlap on mobile */
  .hero_image {
    z-index: 1;
    margin-bottom: 17%;
  } 
  
  .as-seen-on {
    position: relative;
    z-index: 2;
    margin-top: -50%;
    padding-top: 80px;
  }
}

/* Enhanced Responsive Media Queries */
@media (max-width: 1200px) {
  .hero-section {
    padding: 60px 40px;
    gap: 80px;
  }

  .hero-section .hero-section-text {
    width: 500px;
  }

  .hero-section .title {
    font-size: 56px;
    line-height: 68px;
  }

  .as-seen-on,
  .as-seen-on-2,
  .as-seen-on-3,
  .by-credit-2 {
    padding: 60px 40px;
  }

  .title-2 {
    font-size: 40px;
    line-height: 50px;
  }

  .frame-3 {
    gap: 20px;
  }

  .card {
    padding: 24px 20px;
  }

  .credit-score-cards {
    gap: 20px;
  }

  .credit-score-card {
    padding: 24px 20px;
  }
  .as-seen-on-2 .subhead-2{
    min-height: 50px;
   }
}

@media (max-width: 998px) {
  .hero-section {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }

  .hero-section .hero-section-text {
    width: 100%;
    gap: 40px;
  }

  .hero-section .title {
    font-size: 48px;
    line-height: 58px;
  }

  .hero-section .description {
    font-size: 18px;
    line-height: 26px;
  }

  .hero-section .support-text {
    font-size: 14px;
    line-height: 20px;
  }

  .hero_image {
  
    background-size: contain;
    background-position: center;

    
  }

  .as-seen-on,
  .as-seen-on-2,
  .as-seen-on-3,
  .by-credit-2 {
    padding: 40px 20px;
  }

  .title-2 {
    font-size: 32px;
    line-height: 40px;
  }

  .frame-3 {
    flex-direction: column;
    gap: 16px;
  }

  .card {
    width: 100%;
    padding: 20px 16px;
  }

  .subhead,
  .subhead-2 {
    font-size: 20px;
    line-height: 26px;
    min-height: auto;
  }

  .text-subhead,
  .p {
    font-size: 14px;
    line-height: 20px;
  }

  .credit-score-cards {
    flex-direction: column;
    gap: 16px;
  }

  .credit-score-card {
    width: 100%;
    padding: 20px 16px;
  }

  .card-title {
    font-size: 18px;
    line-height: 24px;
  }

  .card-score {
    font-size: 14px;
    line-height: 20px;
  }

  .card-desc {
    font-size: 14px;
    line-height: 20px;
  }

  .frame-4 {
    flex-direction: column;
    gap: 16px;
  }

  .content-2,
  .content-3,
  .content-4,
  .content-5,
  .content-6 {
    width: 100%;
    padding: 16px;
  }

  .text-wrapper-2 {
    font-size: 16px;
    line-height: 22px;
  }

  

  .accordion-container {
    width: 100%;
  }

  .accordion-item {
    width: 100%;
  }

  .accordion-trigger .label {
    font-size: 16px;
    line-height: 22px;
  }

  .supporting-text-3 {
    font-size: 14px;
    line-height: 20px;
  }

  
  
  /* Footer responsive */
  .footer .container {
    padding: 40px 20px;
  }

  .footer .frame {
    flex-direction: column;
    gap: 32px;
  }

  .footer .frame-2 {
    flex-direction: column;
    gap: 24px;
  }

  .footer .about,
  .footer .about-2 {
    width: 100%;
  }
  .as-seen-on-2 .subhead-2{
    min-height: 50px;
   }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
  .hero-section .title {
    font-size: 36px;
    line-height: 44px;
  }

  .title-2 {
    font-size: 28px;
    line-height: 36px;
  }

  .subhead,
  .subhead-2 {
    font-size: 18px;
    line-height: 24px;
  }

  .as-seen-on-2 .subhead-2{
    min-height: 50px;
   }

  
}

@media (max-width: 480px) {
  .hero-section {
    padding: 20px 16px;
  }

  .hero-section .title {
    font-size: 32px;
    line-height: 40px;
  }

  .as-seen-on,
  .as-seen-on-2,
  .as-seen-on-3,
  .by-credit-2 {
    padding: 20px 16px;
  }

  .title-2 {
    font-size: 24px;
    line-height: 32px;
  }

  .card {
    padding: 16px 12px;
  }

  .credit-score-card {
    padding: 16px 12px;
  }

  .as-seen-on-2 .subhead-2{
    min-height: 50px;
   }

   /* Hero image overlap on mobile */
  .hero_image {
    z-index: 1;
    margin-bottom: -10%;
  } 
  
  .as-seen-on {
    position: relative;
    z-index: 2;
    margin-top: -50%;
    padding-top: 80px;
  }

}