/* Hero style */
.hero {
  height: 689px;
  display: flex;
  align-items: center;
}

.hero .hero-content {
  max-width: 550px;
}

.hero .hero-content h1 {
  font-size: 66px;
  color: #fff;
  line-height: 1.4em;
  margin-bottom: 22px;
  margin-top: 0;
}

.hero .hero-content h3 {
  font-size: 26px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 50px;
}

.hero .hero-btns .transparent-btn {
  color: #fff;
  margin-left: 20px;
}

.hero .hero-btns .transparent-btn:hover {
  background: #fff;
  color: #000;
}

/* Brands style */
.brands {
  padding: 70px 0;
}

.brands .brand-logo {
  width: 23%;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 15px #00112724;
}

/* Offers style  */
.offers {
  padding-bottom: 100px;
}

.offers .offers-content .offer-card {
  position: relative;
  width: 31%;
  height: 480px;
  background: rebeccapurple;
  background-size: cover;
  transition: 0.5s;
}

.offers .offers-content .offer-card:hover {
  background-position: 2%;
}

.offers .offers-content .offer-card:first-of-type {
  background-image: url("/assets/images/offer1.png");
}

.offers .offers-content .offer-card:nth-last-of-type(2) {
  background-image: url("/assets/images/offer2.png");
}

.offers .offers-content .offer-card:last-of-type {
  background-image: url("/assets/images/offer3.png");
}

.offers .offer-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px;
  background-image: linear-gradient(180deg, transparent, rgb(0 0 0 / 70%));
  display: flex;
  align-items: end;
}

.offers .overlay .text-bx {
  padding-bottom: 15px;
}

.offers .overlay .text-bx h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 0;
}

.offers .overlay .text-bx p {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* featured style */
.featured {
  padding: 100px 0;
  background: var(--secondary-bg);
}

.featured h2 {
  position: relative;
  width: fit-content;
  padding: 30px;
  font-size: 42px;
  margin: 0 auto 50px;
  color: var(--primary-color);
}

.featured h2::after {
  content: "";
  position: absolute;
  left: 37%;
  bottom: 0;
  width: 26%;
  height: 1.7px;
  background: #0084d6;
}

.featured .featured-content {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

/* media querey */
@media screen and (max-width: 1470px) {
  .product-card {
    margin: 0 10px 50px;
  }
}

/* media querey */
@media screen and (max-width: 955px) {
  .white-btn,
  .transparent-btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .hero .hero-btns .transparent-btn {
    margin-left: 0;
    margin-top: 20px;
  }

  .brands .content.flx {
    flex-wrap: wrap;
  }

  .brands .content .brand-logo {
    width: 45%;
    text-align: center;
    border: 1px solid #e4e4e4;
    padding: 10px 20px;
  }

  .brands .content .brand-logo:first-of-type,
  .brands .content .brand-logo:nth-of-type(2) {
    margin-bottom: 30px;
  }

  .offers .offers-content.flx {
    flex-wrap: wrap;
  }

  .offers .offers-content .offer-card .overlay {
    display: block;
  }

  .offers .offers-content .offer-card {
    width: 100%;
    height: 275px;
    margin-bottom: 30px;
  }
  .featured .featured-content {
    justify-content: center;
  }
}
