body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: url("bluRredBG.webp") no-repeat top;
  /* background-size: cover; */
}
.cards-container {
  display: none;
}

header {
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  img {
    width: 216px;
    margin-bottom: 4rem;
  }
}

.menu {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: right;
  align-items: center;
  justify-content: end;

  .center {
    width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: end;
    text-align: right;
  }
}

.button-group {
  height: 150px;

  .group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
  }

  img {
    position: relative;
    right: -231px;
    top: -210px;
    /* transform: rotate(200deg); */
    /* width: 250px; */
  }
}

.login {
  margin: 1rem;
  border: 2px solid #354530;
  border-radius: 50px;
  background: #f5f7f4;
  color: #354530;
  padding: 0.45rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 700;
}

.btn-gradient {
  border-radius: 50px;
  border: none;
  outline: none;
  font-weight: 700;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  padding: 0.75rem 1.75rem;
  background: #5ebcc2;
  background: linear-gradient(
    -270deg,
    rgba(94, 188, 194, 1) 0%,
    rgba(47, 94, 97, 1) 100%
  );
}

header h1 {
  margin: 0;
  color: #354530;
  font-size: 4rem;
  margin-bottom: 2rem;
  line-height: 1;
}
header h2 {
  margin: 0;
  color: #354530;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.5;
}

.slider {
  max-width: 1200px;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;

  .item {
    width: 260px;
    height: 400px;
    border-radius: 32px;
    background: #f5f7f4;
    overflow: hidden;
    border: 1px solid #5ebcc2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    img {
      width: auto;
      height: 100%;
    }

    &:first-child {
      margin-top: -150px;
    }

    &:last-child {
      margin-top: -150px;
    }
  }
}

.slider-desc {
  max-width: 1200px;
  width: 90%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;

  .item {
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;

    &:first-child {
      margin-top: -150px;
    }

    &:last-child {
      margin-top: -150px;
    }
  }
}

.headline {
  text-align: center;
  margin: 2rem;
  font-weight: 500;
  font-size: 1.5rem;
}

.sub-section {
  width: 100%;
  background: #5ebcc2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0rem auto;
  padding: 2rem 0;
  color: #fff;

  h3 {
    font-weight: 400;
    font-weight: 2rem;
    font-size: 1.5rem;
  }

  .center {
    max-width: 1200px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;

    .text {
      width: 50%;
      max-width: 450px;
      line-height: 2;
    }
    .right {
      width: 50%;
    }
  }
}

.sub-section-2nd {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem auto;
  color: #354530;

  .center {
    max-width: 1200px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;

    h3 {
      font-weight: 400;
      font-weight: 2rem;
    }

    .button {
      width: 50%;
      max-width: 450px;
    }
    .right {
      width: 50%;
      line-height: 1.5;
    }
  }
}
.pricing {
  text-align: center;
  margin: 2rem autol;
}
.interactive-slider {
  display: none;
}
.warning {
  background: #ec9e21;
  color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  h2 {
    max-width: 960px;
  }
}
/* if less than 1300 px */
@media (max-width: 1300px) {
  .slider,
  .slider-desc {
    gap: 1rem;
    .item {
      width: 200px;
      height: 300px;
    }
  }
  .slider-desc {
    .item {
      margin-top: -100px;

      &:first-child {
        margin-top: -250px;
      }

      &:last-child {
        margin-top: -250px;
      }
    }
  }
}

.interactive-slider {
  max-width: 1000px;
  width: 80%;
  margin: 4rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #354530;
  background: #f9f9f9;

  img {
    width: 100%;
  }
}

.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #5ebcc2;
  width: 24px;
  border-radius: 10px;
}

/* if less than 950 px */
@media (max-width: 950px) {
  .slider,
  .slider-desc {
    display: none;
  }
  .interactive-slider {
    display: block;
  }
}
