@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

.bannerWrapper {
  max-width: 90%;
  min-height: 100vh;
  margin: 100px auto;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-areas: "info image";
  place-items: center;

  .info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 3rem;

    .infoHead {
      font-size: 6rem;
      line-height: 90%;
      text-shadow: 3px 5px 5px pink;
    }

    .infoPara {
      font-size: 1.5rem;
      font-weight: 300;
      letter-spacing: 1px;
    }

    .infoBtn {
      width: 450px;
      background: #5bae1f;
      padding: 20px 40px;
      color: black;
      font-size: 2.5rem;
      border-radius: 15px;
      border: none;
      cursor: pointer;

      .fa-arrow-trend-up {
        text-shadow: 3px 5px 5px pink;
      }
      .fa-arrow-trend-up:hover {
        transition: all 0.3s ease-in-out;
        rotate: calc(180deg);
      }
    }
  }

  .image {
    grid-area: image;
    position: relative;

    img {
      width: 100%;
      height: auto;
      filter: drop-shadow(8px 8px 10px gray);
    }

    .ratingDiv {
      /* background: #000; */
      padding: 10px 20px;
      border: none;
      border-radius: 10px;
      position: absolute;
      left: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      gap: 20px;
      border: 1px solid #ffc107;
      box-shadow:
        0 0 5px #ffc107,
        0 0 20px #ffc107,
        0 0 50px #ffc107,
        0 0 100px #ffc107;

      .fa-star {
        font-size: 2.5rem;
        color: gold;
      }
      .fa-star:hover {
        transition: all 0.3s ease-in-out;
        rotate: calc(180deg);
      }

      .rateInfo {
        .rateInfoPara1 {
          font-size: 3rem;
          font-weight: 900;
        }

        .rateInfoPara2 {
          font-size: 1.5rem;
          font-weight: 700;
        }
      }
    }
  }
}

.productWrapper {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;

  .productInfo {
    display: flex;
    flex-direction: column;
    align-items: center;

    .productHead {
      font-size: 3rem;
      letter-spacing: 5px;
    }

    .productPara {
      font-size: 1.2rem;
      text-align: center;
      font-weight: 300;
    }
  }

  .productItems {
    padding: 0 0 5rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-evenly;

    .productItem {
      text-align: center;
      padding: 20px;
      box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.2),
        0 6px 20px 0 rgba(0, 0, 0, 0.19);

      img:hover {
        filter: drop-shadow(8px 8px 10px gray);

        transition: all 0.5s ease-in-out;
        rotate: calc(45deg);
      }

      h3 {
        font-size: 1.3rem;
        font-weight: 700;
      }

      p {
        font-size: 1.2rem;
        font-weight: normal;
        word-spacing: -1px;
        letter-spacing: -1px;
      }
    }
  }
}

.underProductWrapper {
  max-width: 90%;
  margin: 100px auto;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  gap: 20px;

  .unProImage {
    grid-area: upim;
    width: 50%;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);

    .d1 {
      grid-column: 1/2;
      background: plum;
    }
    .d2 {
      grid-column: 2/-1;
      grid-row: 1/3;

      img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        rotate: calc(-45deg);
      }
    }
    .d3 {
      grid-column: 1/2;
      grid-row: 2/-1;

      img {
        width: 100%;
        height: 300px;
        object-fit: contain;
        rotate: calc(-45deg);
      }
    }
    .d3:hover img,
    .d2:hover img {
      transition: all 0.5s ease-in-out;
      rotate: calc(0deg);

      filter: drop-shadow(8px 8px 10px gray);
    }
    .d4 {
      grid-column: 2/-1;
      background: skyblue;
    }
  }

  .unProInfo {
    grid-area: upi;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .unProInfoHead {
      font-size: 4rem;
    }

    .unProInfoPara {
      font-size: 1.2rem;
      font-weight: 300;
      line-height: 90%;
    }

    .unProInfosHead {
      font-size: 2.5rem;
    }
  }
}

.clientWrapper {
  background: rgba(128, 0, 128, 0.483);
  max-width: 90%;
  margin: 100px auto;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;

  .clientInfo {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;

    .clientInfoHead {
      font-size: 3.5rem;
    }

    .clientInfoPara {
      font-size: 1.2rem;
      font-weight: 500;
      letter-spacing: 2px;
    }

    .btn {
      width: 300px;

      button {
        border-radius: 10px;
        border: none;
        padding: 5% 10%;
        font-size: 1.2rem;
        font-weight: bold;
        letter-spacing: 2px;
      }
    }
  }

  .clientArea {
    width: 50%;
    padding-left: 190px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-items: end;
    gap: 2rem;

    .client {
      width: 600px;
      background: white;
      border-radius: 10px;
      position: relative;
      padding: 1.5rem 3rem;

      .clientImg {
        border: 5px solid white;
        border-radius: 70%;
        position: absolute;
        top: -5%;
        left: -5%;
      }

      .clientInfoDiv {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: relative;

        .clientInfoPara {
          font-size: 1.2rem;
          font-weight: 300;
        }

        .circles {
          position: absolute;
          bottom: 0%;
          right: 0%;
        }
      }
    }

    .client1,
    .client2 {
      opacity: 40%;
    }

    .client3 {
      position: absolute;
      top: 25%;
      left: 10%;
    }
  }
}

footer {
  max-width: 90%;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;

  .topFoot {
    display: flex;
    justify-content: space-between;

    .tfWrap {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 2rem;

      p {
        font-size: 1.2rem;
        font-weight: bold;
      }

      button {
        width: 150px;
        height: 70px;
        font-size: 1.2rem;
        font-weight: 700;
        border-radius: 10px;
        border: none;
        background: #8000807b;
        cursor: pointer;
      }
    }
  }

  .midFoot {
    display: flex;
    justify-content: space-between;

    .quickLinks,
    .ourService,
    .help {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      h3 {
        font-size: 1.5rem;
        text-transform: capitalize;
      }

      ul li {
        list-style: none;
        font-size: 1.1rem;
        font-weight: 500;
      }
    }

    .subscribe {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      .inputBucket {
        display: flex;
        align-items: center;

        input {
          width: 250px;
          background: #8000807b;
          padding: 10px 20px;
          border: none;
          border-radius: 10px;
          font-size: 1.2rem;

          &:focus {
            background: transparent;
          }
        }

        .fa-solid {
          font-size: 2rem;
          cursor: pointer;

          &:hover {
            transition: all 0.3s ease-in-out;
            rotate: calc(45deg);
          }
        }
      }

      .socials {
        font-size: 1.5rem;

        .fa-brands {
          &:hover {
            transition: all 0.5s ease-in-out;
            rotate: calc(360deg);
          }
        }
      }
    }
  }

  .botFoot {
    text-align: center;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
  }
}
