body {
  min-width: 320px;
}

.u-money-back-reasons {
  @media (min-width: 768px) {
    display: none;
    width: 100%;
  }
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  object-fit: cover;
  padding: 0;
}

.jumbotron-reasons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  background-color: #e1edfb;
  @media (min-width: 768px) {
    flex-direction: row;
  }
  @media (min-width: 1920px) {
    justify-content: space-between;
    padding: 5rem 15%;
  }
}

.cards-jumbotron-reasons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 2rem;
  width: 80%;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.1);
  @media (min-width: 768px) {
    margin: 1rem;
    font-size: 14px;
    justify-content: flex-end;
    align-items: start;
  }
  @media (min-width: 1024px) {
    margin: 1rem 2vw;
    padding: 1rem;
    max-width: 270px;
    font-size: 16px;
  }
  @media (min-width: 1440px) {
    font-size: 18px;
  }
}

.jumbotron-reasons h1 {
  color: #2d5b90;
  text-align: center;
  margin: 1.2rem;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  @media (min-width: 768px) {
    text-align: start;
    font-size: 24px;
    margin: 1rem 1rem 1rem 1.5rem;
  }
  @media (min-width: 1024px) {
    font-size: 28px;
    margin: 2rem;
    padding-left: 1rem;
    width: 30%;
  }
  @media (min-width: 1440px) {
    font-size: 36px;
    line-height: 125%;
    padding-left: 3rem;
    width: 375px;
  }
}

.cards-jumbotron-reasons p {
  padding-top: 1rem;
  margin-bottom: 0;
  text-align: center;
  @media (min-width: 768px) {
    padding-top: 0.5rem;
    height: 161px;
    text-align: left;
  }
  @media (min-width: 1024px) {
    padding-top: 1rem;
  }
}

/* MAIN CONTENT DESKTOP */
.block-cards-reasons-desktop {
  display: none;

  @media (min-width: 768px) {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e1edfb;

    h1 {
      color: #3974b7;
      text-align: center;
      font-size: 2rem;
      font-weight: 700;
      line-height: 135%;
      margin: 4rem 0;
    }
  }
}

.cards-reasons-desktop__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cards-reasons-desktop {
  display: flex;
  flex-direction: column;
  line-height: 22px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.25);
  margin: 0 1rem 2rem 1rem;
  background-color: #fff;

  h3 {
    background: #3974b7;
    color: #fff;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    border-radius: 4px 4px 0 0;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  p {
    padding: 1rem;
    text-align: left;
    font-size: 14px;
    margin: 0;
    line-height: 1rem;
    border-radius: 0 0 4px 4px;
  }

  @media (min-width: 1024px) {
    max-width: 375px;
    width: 26vw;

    p {
      font-size: 1rem;
      line-height: 22px;
    }
  }
  @media (min-width: 1440px) {
    margin: 0 3rem 6rem 3rem;
    p {
      font-size: 18px;
    }
  }
}

/* MAIN CONTENT MOBILE - DROPDOWN*/

.block-cards-reasons-dropdown {
  display: flex;
  flex-direction: column;
  position: relative;

  h1 {
    display: flex;
    color: #2d5b90;
    background: linear-gradient(#f2f2f2, #bfdcff);
    font-size: 28px;
    font-weight: 700;
    height: 220px;
    margin: 0;
    text-align: left;
    padding: 2rem 4rem 2rem 2rem;
    align-items: flex-end;

    @media (min-width: 425px) {
      height: 200px;
    }
  }

  @media (min-width: 768px) {
    display: none;
  }
}

.dropdown-reasons-icon {
  position: absolute;
  scale: 150%;
  margin: 2.3rem;
}

.dropdown-reasons {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  display: flex;
  border-bottom: 1px solid #2d5b90;
  background: #e1edfb;
  color: #525252;
  padding: 10px 20px;
  cursor: pointer;
  margin: 0;

  i {
    font-size: 1.5rem;
    color: #2d5b90;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  h3 {
    color: #2d5b90;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    margin-top: 10px;
  }
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  max-height: 0; /* Initially collapsed */
  overflow: hidden; /* Hide content overflow */
  opacity: 0; /* Fully transparent initially */
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out; /* Smooth transitions */
}

.dropdown-content p {
  padding: 1rem;
  margin: 0;
  text-decoration: none;
  display: block;
  color: #525252;
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content.show {
  max-height: 200px;
  opacity: 1;
}

.icon-arrow-reasons {
  transition: transform 0.3s ease;
  width: 41px;
  height: 41px;
}

.icon-arrow-reasons.flipped {
  transform: scaleY(-1);
}

/* CUSTOM STICKY BTN */

#js-sticky-bar-bottom {
  display: none;
}

.sticky-button-reasons {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 74px;
  z-index: 9;

  a {
    width: 290px;
    background: linear-gradient(#ffde00, #ccb200);
    color: #5b5b5b;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    text-align: center;
  }

  a:hover {
    background-color: #3974b7;
  }

  @media (min-width: 768px) {
    display: none;
  }
}

/* CUSTOM REASONS CTA BTNS */

/* Container for the entire button section */
.c-card__actions__reasons {
  display: flex;
  justify-content: center; /* Center content */
  align-items: center;
  margin: 3rem 1rem 0 1rem;

  h2{
    width: 100vw;
    line-height: 1.4;
  }
}

/* List container */
.c-button-list-reasons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0 0 2rem 0;
  gap: 16px;

  @media (min-width: 768px) {
    flex-direction: row;
  }
}

/* List items */
.c-button-list__items-reasons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  border-radius: 4px;
  max-width: 375px;
  @media (min-width: 768px) {
    margin: .5rem .5rem 1rem;
    padding: 1rem;
    background-color: #f8f8f8;
  }
}

/* Paragraph styling */
.e-p-reasons {
  display: none;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
  color: #7b7d7f;
  text-align: center;
  @media (min-width: 768px) {
    display: block;
  }
}

/* Button styling */
.m-button-large-reasons {
  display: flex;
  margin: 15px 0;
  padding: 16px 5px;
  width: 100%;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #ffde00, #ccb200);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.16);
  color: #414141;

  &:hover {
      background-image: linear-gradient(180deg, #ddb040, #ffde00);
      color: #fff;
    }

  span {
    text-align: center;
  }

  @media (min-width: 768px) {
    height: 80px;
  }

  @media (min-width: 1024px) {
    height: auto;
  }
}

.m-botton-large-reasons:hover {
  background-color: #005bb5; /* Darker shade on hover */
}

/* Button text */
.a-button__text {
  font-size: 14px;
  letter-spacing: 0.5px;
}

.super-modular-reasons {
  .m-module-cta {
    background-color: #e1edfb;

    .c-card {
      .e-p,
      .e-title {
        color: #525252;
      }
    }
  }

  .m-steps,
  .m-module__wrapper--spacing {
    display: none;
  }

  .m-botton-basic,
  .e-button__primary,
  .m-botton-large,
  .m-botton-color2 {
    background: linear-gradient(180deg, #ffde00, #ccb200);
    color: #414141;

    &:hover {
      background-image: linear-gradient(180deg, #ddb040, #ffde00);
      color: #fff;
    }
  }

  .u-money-back {
    margin-left: 3rem;
  }
}
