@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Coustard:wght@400;900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body,
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  background: var(--primary-clr);
}
:root {
  --primary-clr: #000000;
  --secondary-clr: #131313;
  --third-clr: #ffba19;
  --forth-clr: #ffffff;
}

/* Common Class */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}
.row {
  display: flex;
  margin: 0 -15px;
  flex-wrap: wrap;
}
.row > * {
  padding: 0 15px;
}
a {
  display: inline-block;
  text-decoration: none;
}
ul > li {
  list-style-type: none;
}

/* Header Above Section */
.above-section {
  text-align: center;
  font-size: 15px;
  color: var(--secondary-clr);
  background-color: var(--third-clr);
  padding-top: 12px;
  padding-bottom: 21px;
  font-family: Open Sans;
  position: relative;
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 120 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10 Q 10 0 20 10 T 40 10 T 60 10 T 80 10 T 100 10 T 120 10 V20 H0 Z" fill="black"/></svg>')
    repeat-x;
  background-size: contain;
}

/* Header Section */
.nav-logo {
  max-width: 110px;
  min-height: 80px;
}
.nav-logo > a > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
nav {
  gap: 350px;
}
nav,
.nav-right,
.nav-right > ul {
  display: flex;
  align-items: center;
}
.nav-right {
  flex-grow: 1;
}
.nav-right > ul {
  margin: 0 auto;
  gap: 45px;
}
.nav-right > ul > li > a {
  font-size: 16px;
  color: var(--forth-clr);
  font-family: Open Sans;
}
.nav-right > ul > li > a:hover {
  color: var(--third-clr);
}
.header-search > img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  padding-top: 5px;
}
.header-cart > img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.dropdown {
  position: relative;
  display: inline-block;
  color: var(--forth-clr);
  font-family: Open Sans;
}
.dropdown:hover {
  color: var(--third-clr);
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--secondary-clr);
  text-wrap: nowrap;
  margin-top: 2px;
  z-index: 99;
}
.dropdown-content a {
  color: var(--forth-clr);
  padding: 8px;
}
.dropdown-content li :hover {
  background-color: var(--third-clr);
  color: var(--forth-clr);
  width: 100%;
}
.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.divider {
  height: 30px;
  width: 2px;
  display: inline-block;
  background-color: var(--forth-clr);
}
.header-btn {
  position: relative;
  padding: 11px 15px;
  font-size: 16px;
  background-color: #ba3e3e;
  color: var(--forth-clr);
  border-radius: 2px;
  border-bottom: 3px solid var(--third-clr);
  border-right: 3px solid var(--third-clr);
  font-family: Open Sans;
  z-index: 1;
  overflow: hidden;
  transition: color 0.3s;
}
.header-btn::before {
  content: "";
  background: var(--third-clr);
  position: absolute;
  z-index: -1;
  left: -20%;
  right: -20%;
  top: 0;
  bottom: 0;
  transform: skewX(-45deg) scale(0, 1);
  transition: all 0.5s;
}
.header-btn:hover::before {
  transform: skewX(-45deg) scale(1, 1);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.header-btn:hover {
  color: var(--secondary-clr) !important;
}
.hamburger {
  font-size: 1.8rem;
  cursor: pointer;
  margin-top: 2px;
}
.close-icon {
  display: none;
  font-size: 24px;
  margin-left: auto;
  margin-bottom: 20px;
  cursor: pointer;
}
.big-scr {
  display: none;
}

/* Sweet Section */
.sweet-section {
  padding: 80px 0;
}
.sweet-section > div {
  text-align: center;
}
.sweet-section h2 {
  color: var(--forth-clr);
  font-size: 45px;
  font-family: Coustard;
  font-weight: normal;
}
h2 > span {
  color: var(--third-clr);
}
.sweet-section > div > p {
  font-size: 16px;
  color: var(--forth-clr);
  padding: 20px 0;
  font-family: Open Sans;
  max-width: 700px;
  margin: 0 auto;
}
.star {
  max-width: 140px;
  margin: 0 auto;
}
.star > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card Section */
.card-section > div > div {
  row-gap: 40px;
}
.col-3 {
  width: 33.33%;
}
.card-section {
  padding-bottom: 80px;
}
.testimonial-card {
  padding: 20px;
  border-radius: 20px;
  max-width: 350px;
  border: 1px solid var(--forth-clr);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  background-color: #382904;
  transform: translateY(10px);
}
.user-image {
  max-width: 50px;
  min-height: 50px;
  margin-bottom: 15px;
}
.user-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.testimonial-text {
  font-size: 16px;
  font-family: Open Sans;
  margin-bottom: 25px;
  color: var(--forth-clr);
}
.card-section h4 {
  color: var(--third-clr);
  font-size: 14px;
  margin-bottom: 5px;
  font-family: Coustard;
  font-weight: normal;
}
.user-role {
  color: var(--forth-clr);
  font-size: 14px;
  font-family: Open Sans;
}

/* Small Card Section */
.small-card-section {
  padding-bottom: 40px;
  display: none;
}

/* Partner Section */
.partner-section {
  padding-bottom: 40px;
}
.partner-section h4 {
  font-size: 24px;
  color: var(--forth-clr);
  font-family: Coustard;
  font-weight: normal;
  text-align: center;
}
h4 > span {
  color: var(--third-clr);
}

/*Logo Section  */
.logo-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 80px;
}
.log-img img {
  transition: transform 0.3s ease-in-out;
}

.log-img img:hover {
  transform: scale(1.2);
}

/* Small Logo Section */
.small-logo-section {
  display: none;
}

/* Flote Box Section */
.flote-section {
  display: flex;
  justify-content: center;
}
.subscribe-section {
  background-color: var(--secondary-clr);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px 0 40px;
  border-radius: 10px;
  width: 1200px;
  height: 385px;
  margin-bottom: 60px;
}
.flote-main {
  display: flex;
}
.subscribe-text {
  padding-bottom: 60px;
}
.subscribe-text > h2 {
  color: var(--forth-clr);
  font-size: 45px;
  font-family: Coustard;
  font-weight: normal;
}
.highlight {
  color: var(--third-clr);
}
.subscribe-text > p {
  font-size: 16px;
  color: var(--forth-clr);
  margin: 20px 0;
  font-family: Open Sans;
}
.email-form {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  border: 1px solid gray;
}
.email-form input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 3px 0 0 3px;
  outline: none;
  width: 250px;
  background-color: transparent;
  color: var(--forth-clr);
}
.email-form .header-btn {
  padding: 10px 20px;
  background-color: #ba3e3e;
  color: var(--forth-clr);
  border-right: 2px solid var(--forth-clr);
  border-bottom: 2px solid var(--forth-clr);
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background-color 0.6s ease-in-out;
}
.subscribe-image {
  max-width: 530px;
}
.subscribe-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.subscribe-plant {
  max-width: 130px;
}
.subscribe-plant > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.small-flote-section {
  display: none;
}

/* Footer Section */
.col-4 {
  width: 25%;
}
.footer-logo {
  max-width: 75px;
}
.footer-logo > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-1st > h4 {
  font-size: 16px;
  color: var(--third-clr);
  margin-bottom: 10px;
  font-family: Coustard;
  font-weight: normal;
}
.footer-1st > p {
  color: var(--forth-clr);
  margin-bottom: 40px;
  font-size: 16px;
  font-family: Open Sans;
}
.footer-icon {
  border-radius: 50%;
  background-color: #ba3e3e;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-icon > img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-section h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--third-clr);
  font-family: Coustard;
  font-weight: normal;
}
.footer-section ul > li {
  margin-bottom: 10px;
  font-size: 16px;
}
ul > li > a {
  color: var(--forth-clr);
  font-family: Open Sans;
  position: relative;
}
ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background-color: var(--third-clr);
  transition: width 0.3s ease;
}
ul > li > a:hover::after {
  width: 100%;
}
.footer-section > p {
  font-size: 16px;
  color: var(--forth-clr);
  text-align: center;
  font-family: Open Sans;
  margin-bottom: 10px;
}
.footer-section > hr {
  margin-top: 50px;
  margin-bottom: 10px;
}
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: whitesmoke;
  color: black;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 15px 0 15px 0;
  display: none;
  transition: background-color 0.3s ease;
}
#scrollToTopBtn:hover {
  background-color: var(--third-clr);
}

@media screen and (max-width: 1200px) {
  /*Logo Section  */
  .logo-section {
    display: none;
  }

  /* Small Logo Section */
  .small-logo-section {
    display: block;
    padding-bottom: 80px;
  }
  .slider-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
  }
  .slider-track {
    display: inline-block;
    animation: scroll 10s linear infinite;
  }
  .logo {
    display: inline-block;
    width: 150px;
    height: 100px;
    margin: auto 20px;
  }
  .log-img {
    width: 120px;
    height: 80px;
    position: relative;
    overflow: hidden;
    margin: 0 10px;
    transition: transform 0.3s ease-in-out;
  }
  .log-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  .log-img:hover {
    transform: scale(1.2);
  }

  /* Flote Box Section  */
  .subscribe-section {
    max-width: 1000px;
  }
}
@media screen and (max-width: 1135px) {
  /* Header Section */
  .big-scr {
    display: flex;
    align-items: center;
    color: var(--forth-clr);
    margin-left: auto;
    gap: 20px;
  }
  .fa-xmark {
    color: var(--forth-clr);
  }
  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    z-index: 10;
  }
  .nav-right.active {
    right: 0;
    animation: dropdown 1 500ms forwards linear;
  }
  @keyframes dropdown {
    from {
      transform: translateY(-30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  .nav-right ul {
    flex-direction: column;
    width: 100%;
  }
  .close-icon {
    display: block;
  }
  .small-scr {
    display: none;
  }
  .nav-right > ul > li {
    margin-bottom: 30px;
  }
  .dropdown {
    padding: 10px;
  }
  .dropdown-content {
    z-index: 20;
    text-align: center;
  }
  nav {
    gap: 150px;
  }
  .nav-btn {
    margin: 0 auto;
    margin-top: 30px;
  }
}
@media screen and (max-width: 992px) {
  /* Card Section */
  .card-section > div > div {
    row-gap: 40px;
  }
  .col-3 {
    width: 50%;
  }
  .testimonial-card {
    margin: 0 auto;
  }

  /* Flote Box Section  */
  .subscribe-image {
    max-width: 430px;
  }
  .subscribe-plant {
    max-width: 100px;
  }
  .subscribe-section {
    max-width: 800px;
  }
  .subscribe-text > h2 {
    font-size: 35px;
  }
}
@media screen and (max-width: 768px) {
  /* Sweet Section */
  .sweet-section {
    padding: 40px 0;
  }

  /* Card Section */
  .card-section {
    display: none;
  }

  /* Small Card Section */
  .small-card-section {
    padding-bottom: 40px;
    display: block;
  }
  .small-card-section h4 {
    color: var(--third-clr);
    font-size: 14px;
    margin-bottom: 5px;
    font-family: Coustard;
    font-weight: normal;
  }
  .swiper {
    width: 100%;
    height: 370px !important;
    padding: 50px 0;
  }
  .swiper-slide {
    background-position: center;
    width: 350px;
  }
  .swiper-pagination-bullet-active {
    background: var(--third-clr) !important;
  }

  /* Small Logo Section */
  .small-logo-section {
    display: block;
    padding-bottom: 40px;
  }

  /* Flote Box Section */
  .flote-section {
    display: none;
  }

  /* Small Flote Section */
  .small-flote-section {
    display: block;
    background-color: var(--secondary-clr);
    padding: 40px 0;
    margin-bottom: 40px;
  }
  .small-flote-section .subscribe-text {
    padding-bottom: 0;
  }

  /* Footer Section */
  .col-4 {
    width: 50%;
  }
  .footer-section > div > div {
    row-gap: 20px;
  }
}
@media screen and (max-width: 576px) {
  /* Header Above Section */
  .above-section {
    font-size: 12px;
  }

  /* Header Section */
  .hamburger {
    font-size: 1.6rem;
  }
  .big-scr {
    gap: 10px;
  }
  nav {
    gap: 50px;
  }
  .nav-logo {
    max-width: 80px;
    min-height: 50px;
  }
  .header-btn {
    padding: 10px;
    font-size: 12px;
  }
  .nav-right > ul > li > a {
    font-size: 14px;
  }
  .dropdown-content a {
    font-size: 12px;
  }
  .dropdown {
    font-size: 13px;
  }
  .nav-right > ul > li {
    margin-bottom: 20px;
  }
  .nav-right {
    width: 100vw;
  }
  .dropdown ul > li {
    margin-bottom: 0;
  }

  /* Sweet Section */
  .sweet-section {
    padding: 20px 0;
  }
  .sweet-section > div {
    text-align: center;
  }
  .sweet-section h2 {
    font-size: 25px;
  }
  .sweet-section > div > p {
    font-size: 12px;
    padding: 10px 0;
  }
  .star {
    max-width: 100px;
  }
  .sweet-section .header-btn > a {
    padding: 10px 12px;
    font-size: 12px;
  }

  /* Small Card Section */
  .small-card-section {
    padding-bottom: 0px;
    display: block;
  }
  .testimonial-text {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .small-card-section h4 {
    font-size: 10px;
  }
  .user-role {
    font-size: 10px;
  }
  .swiper {
    width: 100%;
    height: 235px !important;
    padding: 50px 0;
  }
  .swiper-slide {
    background-position: center;
    width: 300px;
  }
  .testimonial-card {
    padding: 10px;
  }
  .user-image {
    max-width: 40px;
    min-height: 40px;
    margin-bottom: 10px;
  }

  /* Partner Section */
  .partner-section {
    padding-bottom: 10px;
  }
  .partner-section h4 {
    font-size: 18px;
  }

  /* Small Logo Section */
  .small-logo-section {
    padding-bottom: 20px;
  }
  .log-img {
    width: 100px;
    height: 60px;
  }
  .logo {
    width: 150px;
    height: 80px;
  }

  /* Small Flote Section */
  .small-flote-section {
    display: block;
    background-color: var(--secondary-clr);
    padding: 20px 0;
    margin-bottom: 20px;
  }
  .subscribe-text > h2 {
    font-size: 25px;
  }
  .subscribe-text > p {
    font-size: 12px;
    margin: 10px 0;
  }
  .small-flote-section .header-btn {
    padding: 10px;
    font-size: 12px;
  }

  /* Footer Section */
  .footer-icon {
    padding: 6px;
  }
  .footer-icon> img {
    width: 12px;
    height: 12px;
    object-fit: contain;
  }
  .footer-icons {
    gap: 10px;
  }
  .footer-section > div > div {
    row-gap: 10px;
  }
  .footer-section > hr {
    margin-top: 20px;
  }
  .footer-section h4 {
    font-size: 12px;
  }
  .footer-section ul > li {
    margin-bottom: 10px;
    font-size: 12px;
  }
  .footer-section > p {
    font-size: 12px;
  }
  .footer-1st > h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .footer-1st > p {
    margin-bottom: 20px;
    font-size: 12px;
  }
}
