/* margin and padding and box sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Serif", serif;
}

/* header */

header {
  max-width: 1120px;
  margin: 0 auto;
}

/*  Nav */

nav {
  width: 100%;
  padding: 25px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ul-list {
  list-style: none;
  display: flex;
  gap: 50px;
  justify-content: center;
  font-size: 25px;
  font-weight: 500;
}

.Home-tag {
  font-weight: bold;
}

.cart-tag {
  font-weight: 400;
}

.a-tag {
  text-decoration: none;
  color: gray;
}

.a-tag:hover,
.Home-tag:hover,
.cart-tag:hover {
  cursor: pointer;
  color: #e95a08;
}

.img-logo {
  height: 100%;
  width: 100%;
  margin-bottom: 25px;
}

/* hero section */

.hero-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.hero-text {
  width: 50%;
}

.hero-h {
  font-size: 45px;
  margin-bottom: 40px;
  margin-top: 40px;
}

.hero-span {
  color: #e95a08;
}

.hero-p {
  font-size: 25px;
  margin-bottom: 20px;
  color: gray;
}

.hero-img {
  width: 50%;
}

.hero-pic {
  height: 500px;
  width: 500px;
  margin-bottom: 50px;
}

/* card item */

.card-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 50px;
}

.card-h {
  font-size: 60px;
  margin-top: 30px;
}

.card-p {
  font-size: 30px;
  color: gray;
}

.card-span {
  color: #e95a08;
}

.card-h,
.card-p {
  text-align: center;
  margin-bottom: 35px;
}

.card-item {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.sample-flower {
  height: 400px;
  width: 100%;
}

.card h1 {
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.card p {
  font-size: 25px;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.card button {
  text-align: center;
  font-size: 20px;
  background-color: #e95a08;
  color: white;
  width: 100%;
  padding: 20px 20px;
  border: none;
}

.card button:hover {
  cursor: pointer;
  background-color: black;
  color: aqua;
}

/* card ended */

/* challenging task start */
.challenging-task-section {
  margin: 0 auto;
  max-width: 1120px;
}

.ct-container {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 25px;
}

.ch-t-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.ch-t-img {
  flex: 1;
  position: relative;
}

@keyframes spin {
  0% {
    transform: translate(30%, -100%) rotate(0deg);
  }
  100% {
    transform: translate(30%, -100%) rotate(360deg);
  }
}

.trusted-badge {
  position: absolute;
  height: 280px;
  width: 280px;
  top: 30%;
  left: 50%;
  animation: spin 5s linear infinite;
}

.ch-t-text {
  flex: 1;
}

.ch-t-h {
  font-size: 50px;
  font-weight: bold;
  text-align: start;
  margin-bottom: 40px;
}

.ch-t-text article ul li {
  list-style: disc;
  margin-top: 20px;
  margin-bottom: 20px;
  color: gray;
  font-size: 20px;
}

/* challenging task end */

/* latest deal task */
.Latest-deal-section {
  max-width: 1120px;
  margin: 0 auto;
}

.latest-deal-bg-img {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.latest-deal-img {
  flex: 1;
}

.img-last-container {
  flex: 1;
}

.img-first {
  background-image: url("../assets/deal-bloom.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.img-first {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.img-second {
  background-image: url("../assets/deal-ana.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 200px;
  border-radius: 10px;
}

.img-second {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.img-third {
  background-image: url("../assets/deal-zabo.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 430px;
  border-radius: 10px;
}

.img-third {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.latest-h1 {
  font-size: 45px;
  color: white;
  font-weight: bold;
}

.latest-a1-tag {
  font-size: 25px;
  font-weight: bold;
  color: white;
  text-decoration: underline;
}

.latest-h {
  font-size: 35px;
  color: white;
  font-weight: bold;
}

.latest-a-tag {
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-decoration: underline;
}

.latest-a-tag:hover,
.latest-a1-tag:hover {
  cursor: pointer;
  color: black;
}
/* latest deal task end */

/* Section Contact */
.section-contact {
  width: 100%;
}

.background-img {
  background-image: url("../assets/news-letter-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 90vh;
  margin-top: 50px;
  margin-bottom: 50px;
}

.background-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-h1 {
  font-size: 55px;
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 35px;
  color: #ffffff;
  text-align: center;
}

.btn-contact-container form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub-input {
  width: 550px;
  padding: 25px 25px;
  font-size: 25px;
  background-color: white;
  outline-color: #e95a08;
}

.sub-btn {
  width: 250px;
  padding: 30px 30px;
  font-size: 20px;
  background-color: #e95a08;
  color: white;
  border: none;
  text-align: center;
}

.sub-input:focus {
  margin-right: 2px;
}

.sub-btn:hover {
  cursor: pointer;
  color: aqua;
  background-color: black;
}

/* contact ended */

/* Footer section */

.Footer-section {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-element {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
}

.First-element {
  flex: 1;
  margin-left: 20px;
}

.Second-element {
  flex: 1;
  margin-left: 20px;
}

.Third-element {
  flex: 1;
  margin-left: 20px;
}

.Fourth-element {
  flex: 1;
  margin-left: 20px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 100px;
  width: 100px;
}

.footer-p {
  font-size: 20px;
  color: gray;
  margin-top: 25px;
  margin-bottom: 25px;
}

.footer-img-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 25px;
}

.last-img {
  height: 40px;
  width: 40px;
}

.foooter-li:hover,
.last-img:hover {
  cursor: pointer;
  color: #e95a08;
}

/* Footer Section */

/* Media Query */
@media screen and (max-width: 576px) {
  /* Hero and nav var done */
  .nav-container {
    flex-direction: row;
    gap: 15px;
    justify-content: space-between;
  }

  .img-logo {
    width: 100%;
    height: auto;
    max-width: 150px;
    display: block;
    text-align: start;
  }

  .view {
    display: none;
  }

  .ul-list {
    font-size: 18px;
    gap: 20px;
    flex-direction: row;
    justify-content: center;
    align-self: center;
  }

  .cart-tag {
    font-weight: 500;
  }

  .hero-container {
    flex-direction: column-reverse;
    text-align: left;
    gap: 30px;
    padding: 10px;
    margin-left: 15px;
  }

  .hero-text {
    width: 100%;
  }

  .hero-h {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .hero-p {
    font-size: 18px;
  }

  .hero-img {
    width: auto;
  }

  .hero-pic {
    height: 400px;
    width: 400px;
  }
  /* Hero section and nav var done */

  /* card item */

  .card-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .card-h {
    font-size: 40px;
    font-weight: bold;
  }

  .card-p {
    font-size: 18px;
    font-weight: normal;
  }

  .card {
    margin-top: 35px;
  }

  .card h1 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0px;
    margin-top: 20px;
  }

  .sample-flower {
    height: 200px;
    width: 100%;
  }

  .card p {
    font-size: 16px;
    font-weight: bolder;
    margin-top: 0px;
  }

  .card button {
    width: 100%;
    padding: 12px 12px;
    font-size: 16px;
    font-weight: 600;
  }

  /* card complete */

  /* challenging task start */

  .ch-t-content {
    flex-direction: column;
  }

  .ch-t-h {
    font-size: 32px;
    font-weight: bold;
  }

  .ch-t-text article ul li {
    font-size: 15px;
    font-weight: normal;
  }

  .trusted-badge {
    display: none;
  }

  /* challenging task end */

  /* Latest Deal start */

  .latest-deal-bg-img {
    flex-direction: column;
  }

  .img-first,
  .img-second,
  .img-third {
    height: 250px;
    padding: 40px;
  }

  .img-third {
    padding: 50px;
  }

  .latest-a-tag,
  .latest-a1-tag {
    text-decoration: double;
  }

  .latest-a1-tag,
  .latest-a-tag {
    font-size: 15px;
    text-decoration: underline;
  }

  .latest-h1,
  .latest-h {
    font-size: 20px;
  }

  /* Latest Deal end */

  /* contact  section start */

  .background-img {
    margin-top: 50px;
  }

  .contact-h1 {
    font-size: 15px;
  }

  .sub-input {
    width: 220px;
    font-size: 10px;
    padding: 10px;
  }

  .sub-btn {
    width: 80px;
    font-size: 8px;
    padding: 12px 12px;
  }

  /* Contact section end */

  /* footer start */

  .footer-element {
    flex-direction: column;
    align-items: start;
    flex-wrap: wrap;
    gap: 0px;
    margin-top: 0px;
  }

  .footer-img-container {
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  /* footer end */
}
