* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: poppins, Arial, Helvetica, sans-serif;
  color: #1f2533;
}
/* ==============global style============== */
.container {
  width: 90%;
  margin: 0 auto;
}
.main-btn {
  width: fit-content;
  display: block;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  color: white;
  background-color: #5d61f2;
  margin: 1.5rem 0;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
.main-btn:hover,
.main-btn:focus {
  background-color: #7074f5;
}
/* ==============LANDING================== */
.landing {
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    210deg,
    rgb(255, 253, 231) 0%,
    rgb(255, 255, 255) 50%,
    rgb(230, 233, 255) 100%
  );
  display: grid;
  place-items: center;
}
.landing__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}
.landing__text {
  width: 45%;
}
.landing__text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.landing__text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.landing__img {
  width: 55%;
}
.landing__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* =============BRANDS================== */
.brands {
  width: 100%;
  padding: 1rem;
}
.brands__content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}
.brands img {
  width: 15%;
  aspect-ratio: 2/1;
}
/* ===========STEPS============== */
.steps__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.steps__text {
  width: 50%;
  text-align: center;
  margin: 2rem 0;
}
.steps__imgs {
  width: 100%;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.steps__imgs__img {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 15%;
  text-align: center;
}
.steps__imgs__img__title {
  font-weight: 700;
  margin: 1rem 0;
}
/* ============FEATURES============== */
.feature {
  margin-block: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.feature__text {
  width: 100%;
}
.feature__img {
  padding: 1rem 0;
  width: 100%;
}
.feature__img img,
.feature__img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}
.feature__sub-title {
  width: fit-content;
  padding: 0.2rem 0.5rem;
  font-size: 0.85rem;
  color: #4740d4;
  background-color: rgb(236, 237, 254);
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
}
.feature__sub-heading {
  font-size: 2.25rem;
  margin: 1.5rem 0;
  color: #1f2533;
}
.link-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  color: #1f2533;
  margin: 1rem 0;
  transition: 0.3s;
}
.link-btn svg {
  transition: 0.3s;
}
.link-btn:hover,
.link-btn:focus {
  color: #4740d4;
}
.link-btn:hover path,
.link-btn:focus path {
  fill: #4740d4;
}
.link-btn:hover svg,
.link-btn:focus svg {
  margin-inline-start: 0.5rem;
}
/* =============EXPERTS============== */
.experts {
  position: relative;
  margin-block: 1rem;
  padding: 3rem 2rem;
  background-image: url(./assets/istockphoto-2152268515-612x612.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 1.5rem;
  -webkit-border-radius: 1.5rem;
  -moz-border-radius: 1.5rem;
  -ms-border-radius: 1.5rem;
  -o-border-radius: 1.5rem;
}
.experts__text {
  width: 35%;
}
.experts__text h2 {
  font-size: 2.75rem;
  line-height: 1.3;
}
/* ============BOOK=============== */
.book {
  color: white;
  padding: 2rem 1rem;
  margin-block: 3rem;
  background-color: #1f2533;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.book p {
  font-size: 0.85rem;
}
.book__btn {
  position: relative;
  color: white;
  text-decoration: none;
  z-index: 1;
}
.book__btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background-color: #4740d4;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  z-index: -1;
}
.book__btn:hover.book__btn::after,
.book__btn:focus.book__btn::after {
  height: 40%;
  opacity: 0.5;
}
/* ===========MEDIA QUERIES========== */
@media (min-width: 992px) {
  .feature {
    justify-content: space-between;
  }
  .feature__text {
    width: 45%;
  }
  .feature__img {
    width: 50%;
  }
  .feature:nth-child(2n) .feature__img {
    order: 1;
  }
  .feature:nth-child(2n) .feature__text {
    order: 2;
  }
  .book__heading {
    font-size: 2rem;
    width: 65%;
    margin-top: 1.5rem;
  }
}
/* =========================== */
@media (max-width: 991px) {
  .landing {
    height: auto;
  }
  .landing__content {
    flex-wrap: wrap;
    justify-content: center;
  }
  .landing__text {
    width: 100%;
  }
  .landing__img {
    width: 100%;
  }
  .steps__text {
    width: 80%;
  }
  .steps__imgs {
    justify-content: center;
  }
  .steps__imgs__img {
    width: 30%;
  }
}
/* ================================== */
@media (max-width: 768px) {
  .brands img {
    width: 33%;
  }
  .steps__imgs__img {
    width: 45%;
  }
  .experts {
    padding: 1rem;
  }
  .experts__text {
    width: 100%;
  }
  .experts__text h2 {
    font-size: 2rem;
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(255, 255, 255);
  }
}
.experts__text a {
  text-shadow: 0 0 10px rgba(255, 255, 255);
}
/* ================================== */
@media (max-width: 425px) {
  .landing__text__rate {
    display: none;
  }
  .brands img {
    width: 50%;
  }
  .steps__text {
    width: 100%;
  }
  .steps__imgs__img {
    width: 100%;
  }
}
