/* Responsive adjustments for desktop and laptop */
@media (width >= 992px) {
  .logo {
    width: 75% !important;
  }

  .trust-divider {
    border-right: 1px solid var(--muted-line);
  }
}

/* Responsive adjustments for tablet and smaller screens */
@media (width <= 1199.98px) {
  .trust-item {
    font-size: 1.1rem;
  }

  .trust-icon {
    font-size: 34px;
  }

  .support-icon .bi {
    font-size: 38px;
  }

  .nav-pill {
    font-size: 1.25rem;
  }

  .arrow-icon {
    font-size: 24px;
  }
}

@media (width <= 767.98px) {
  .trust-item {
    font-size: 1rem;
  }

  .nav-pill {
    font-size: 1.15rem;
  }
}

@media (width <= 575.98px) {
  .logo {
    width: 82% !important;
  }

  .main-nav {
    box-shadow: 0 10px 18px rgba(7, 24, 73, 0.08);
  }
}

/* Keeps all five feature cards in one line on desktop. */
@media (width >= 992px) {
  .feature-item {
    flex: 0 0 20%;
    width: 20%;
  }
}

@media (width <= 1399.98px) {
  .support-title {
    font-size: 54px;
  }

  .support-text {
    font-size: 19px;
  }
}

@media (width <= 991.98px) {
  .support-title {
    font-size: 44px;
  }
}

@media (width <= 767.98px) {
  .support-title {
    font-size: 38px;
  }

  .support-text {
    font-size: 17px;
  }

  .support-btn {
    width: 100%;
    font-size: 20px;
  }

  .checkout-benefit + .checkout-benefit {
    border-left: 0;
  }
}

@media (width <= 575.98px) {
  .support-title {
    font-size: 34px;
  }

  .support-kicker {
    font-size: 12px;
  }

  .support-kicker span {
    margin: 0 5px;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
    font-size: 44px;
  }
  .feature-card {
    flex-direction: column;
  }
}

@media (width <= 1399.98px) {
  .section-title {
    font-size: 48px;
  }

  .need-icon {
    width: 92px;
    height: 92px;
    font-size: 48px;
  }

  .need-card h3 {
    font-size: 20px;
  }

  .need-card p {
    font-size: 15px;
  }
}

@media (width <= 991.98px) {
  .section-title {
    font-size: 42px;
  }

  .need-card-header {
    align-items: center !important;
  }
}

@media (width <= 575.98px) {
  .section-kicker {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .section-title {
    font-size: 34px;
  }

  .section-text {
    font-size: 17px;
  }

  .need-card-header {
    flex-direction: column;
  }

  .need-icon {
    width: 78px;
    height: 78px;
    font-size: 40px;
  }

  .need-card h3 {
    font-size: 21px;
  }

  .need-card p {
    font-size: 16px;
  }
}

/* Tablet logo adjustment */
@media (768px <= width <= 991.98px) {
  .logo-row img {
    width: 50% !important;
  }
}

/* Small phone support image placeholder adjustment */
@media (width <= 575px) {
  .support-image-field {
    padding: 1% !important;
  }
}

@media (width <= 1399.98px) {
  .who-hero-row {
    min-height: 500px;
  }

  .who-title {
    font-size: 56px;
  }

  .who-image-col {
    height: 540px;
    width: 62%;
  }

  .who-cards-row {
    margin-top: -108px;
  }

  .who-card-icon {
    width: 96px;
    height: 96px;
    font-size: 48px;
  }

  .who-card h3,
  .payment-strip h3 {
    font-size: 18px;
  }

  .who-card p,
  .payment-strip p {
    font-size: 16px;
  }
}

@media (width <= 991.98px) {
  .who-section {
    padding: 46px 0;
  }

  .who-hero-row {
    min-height: 0;
  }

  .who-copy-col {
    padding-top: 0;
  }

  .who-image-col {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 420px;
    margin-top: 10px;
    padding: 0 12px;
  }

  .who-image-field::before {
    background:
      linear-gradient(
        90deg,
        #f8fbff 0%,
        rgba(248, 251, 255, 0.4) 16%,
        transparent 38%
      ),
      linear-gradient(
        180deg,
        rgba(248, 251, 255, 0.28) 0%,
        transparent 20%,
        transparent 72%,
        #f8fbff 100%
      );
  }

  .who-cards-row {
    margin-top: -56px;
  }

  .who-title {
    font-size: 44px;
  }

  .who-text {
    font-size: 19px;
  }
}

@media (width <= 575.98px) {
  .who-section {
    padding: 38px 0;
  }

  .who-title {
    font-size: 36px;
  }

  .who-image-col {
    height: 300px;
  }

  .who-cards-row {
    margin-top: 18px;
  }

  .who-card {
    flex-direction: column;
  }

  .who-card-icon {
    width: 82px;
    height: 82px;
    font-size: 42px;
  }

  .payment-logos {
    justify-content: flex-start !important;
  }
}

@media (max-width: 767.98px) {
  .picks-title {
    font-size: 36px;
  }

  .customer-picks-section {
    padding: 50px 0;
  }
}

@media (max-width: 991.98px) {
  .rewards-title {
    font-size: 42px;
  }

  .rewards-footer-info {
    flex-wrap: wrap;
    gap: 18px 24px;
    font-size: 22px;
  }

  .rewards-footer-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    font-size: 28px;
  }
}

@media (max-width: 575.98px) {
  .rewards-footer-info {
    align-items: flex-start;
    flex-direction: column;
    font-size: 20px;
  }

  .rewards-footer-divider {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .faq-title {
    font-size: 44px;
    white-space: normal;
  }
}

@media (max-width: 1199.98px) {
  .faq-title {
    font-size: 48px;
  }

  .faq-bubbles-placeholder {
    top: -34px;
    width: 470px;
  }
}

@media (max-width: 991.98px) {
  .faq-header-row {
    min-height: 0;
  }

  .faq-title {
    white-space: normal;
  }
}

@media (max-width: 991.98px) {
  .support-banner {
    margin-top: 0;
    padding: 36px;
    background-position: right bottom;
  }

  .support-banner-column {
    min-height: auto;
  }

  .support-banner-contact,
  .support-banner-points {
    border-left: 0;
    padding-left: 12px;
  }

  .support-icon-large {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
    font-size: 56px;
    margin-right: 22px;
  }

  .support-banner h3 {
    font-size: 26px;
  }

  .contact-icon-small {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    font-size: 24px;
  }
  .medical-disclaimer {
    border-left: 0;
    padding-left: 0;
    margin-top: 20px;
  }
  .copyright-text {
    text-align: left;
    margin-top: 10px;
  }
}

@media (max-width: 575.98px) {
  .support-banner {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .support-banner::before {
    background: rgba(255, 255, 255, 0.9);
  }

  .support-banner-intro {
    align-items: flex-start !important;
  }

  .support-icon-large {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
    font-size: 42px;
    margin-right: 16px;
  }

  .support-banner h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .support-banner p,
  .contact-text p,
  .support-check-item {
    font-size: 15px;
  }

  .contact-info-item {
    align-items: flex-start;
  }

  .contact-text h4 {
    font-size: 18px;
    overflow-wrap: anywhere;
  }
}

/*laptop view*/
@media screen and (min-width: 992px) {
  .new-class {
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
  }
  .rewards-footer-divider {
    margin: 0 3%;
  }
  .footr-gta-1 {
    width: 10%;
  }
  .footr-gta-2 {
    width: 50%;
  }
  .footr-gta-3 {
    width: 38%;
  }
  .ress-1{
      margin-right:20px;
  }
}

/*tablet*/
@media (min-width: 768px) and (max-width: 991.98px) {
  .new-class {
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
  }
  .payment-accepted {
    flex-direction: column;
    text-align: left;
  }
  .footr-gta-3,
  .footr-gta-1,
  .footr-gta-2 {
    width: 100%;
  }
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
  .payment-accepted {
    flex-direction: column;
    text-align: left;
  }
  .footr-gta-3,
  .footr-gta-1,
  .footr-gta-2 {
    width: 100%;
  }
  .logo {
    width: 50% !important;
  }
}

/*mobile view*/
@media screen and (max-width: 575px) {
  .payment-accepted {
    flex-direction: column;
    text-align: left;
  }
  .footr-gta-3,
  .footr-gta-1,
  .footr-gta-2 {
    width: 100%;
  }
  .policy-hero-badge{
      display: none !important;
  }
  .section-title {
  font-size: 17px !important;
}
}
