@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

footer {
  background: #df2127;
}

.btn {
  font-family: "Poppins", sans-serif;
}

.heading {
  font-family: "Poppins", sans-serif;
  font-size: 35px;
  font-weight: 600;
}

.sub-heading {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.secondary-text {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

/* Product Styles */

.header-nav {
  background-image: url("../assets/HomeBanner/Home_Banner.png");
  padding-bottom: 80px;
  font-family: "Source Sans Pro", sans-serif;
  background-repeat: no-repeat, repeat;
}

@media (min-width: 768px) {
  .header-nav {
    padding-bottom: 120px;
  }
}

.header-nav .navbar {
  background: transparent;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #fff;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

@media (min-width: 768px) {
  .header-nav .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.header-nav .navbar .navbar-brand {
  font-weight: bold;
  color: inherit;
}

.header-nav .navbar .navbar-brand:hover {
  color: #f0f0f0;
}

.header-nav .hero h1 {
  font-family: "Poppins", sans-serif;
  color: #fff;
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 24px;
  font-weight: 300;
  line-height: 1.2;
}

.header-nav .hero p {
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 300;
}

.underline {
  height: 4px;
  background-color: #e53935;
  margin: 0 auto 40px;
}

a {
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
a,
a:hover {
  text-decoration: none !important;
}

.btn-danger {
  background-color: #df2127;
  border-color: #df2127;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.btn-danger:active:focus,
.btn-danger:active:hover,
.btn-danger.active:hover,
.btn-danger.active:focus,
.show > .btn-danger.dropdown-toggle {
  background-color: #bf1d21;
  border-color: #bf1d21;
}
.text-danger {
  color: #df2127 !important;
}
.bg-danger {
  background-color: #df2127 !important;
}
.border-danger {
  border-color: #df2127 !important;
}

/* caraousel */
.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: none;
}
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: none;
}

@media (min-width: 768px) {
  .custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 150px;
  }
}

@media (max-width: 767.98px) {
  .custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
}

.swiper-button-next,
.swiper-button-prev {
  font-size: 24px;
  color: #000;
  background: none;
  border: none;
  position: relative;
}
.swiper-pagination {
  position: relative;
  display: flex;
  gap: 10px;
}

.swiper-pagination-bullet-active {
  background: #df2127;
}

@media (min-width: 768px) {
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    width: 20%;
    place-content: center;
    bottom: var(--swiper-pagination-bottom, 13.5px);
    display: block;
  }
}

@media (max-width: 767.98px) {
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    width: 10%;
    place-content: center;
    bottom: var(--swiper-pagination-bottom, 13.5px);
    display: hidden;
  }
}

.swiper {
  width: 100%;
  height: 100%;
}

/* Menentukan tinggi tetap untuk kontainer nama produk dan deskripsi */
.swiper-slide .product-info {
  display: flex;
  flex-direction: column;
  height: 150px; /* Atur sesuai kebutuhan */
}

@media (min-width: 768px) {
  /* Menentukan lebar tetap untuk elemen nama produk */
  .swiper-slide .product-name {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px; /* Menambahkan jarak antara nama produk dan deskripsi */
    min-height: 2.4em;
    line-height: 1.2em;
  }
}

@media (max-width: 767.98px) {
  /* Menentukan lebar tetap untuk elemen nama produk */
  .swiper-slide .product-name {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px; /* Menambahkan jarak antara nama produk dan deskripsi */
  }
}

/* Menentukan lebar tetap untuk elemen deskripsi produk */
.swiper-slide .product-description {
  font-family: "Montserrat", sans-serif;
  font-size: 9pt;
  text-align: center;
}
