body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  overflow-x: hidden;
}

header {
  padding: 10px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

h1 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

nav.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
}

nav.main-nav .logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 200;
  color: #333;
  margin: 0;
  letter-spacing: 0.25em;
  padding: 10px auto;
}

.search-container {
  position: relative;
  width: 500px;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: none;
}

.search-input:focus {
  border-color: #333;
}

.search-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #555;
  font-size: 20px;
  pointer-events: auto;
}

nav.main-nav ul.auth-cart {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
  z-index: 9999;
}

nav.main-nav ul.auth-cart li.nav-item a {
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

nav.main-nav ul.auth-cart li.nav-item a:hover {
  background-color: #659a9f;
  color: #fff;
}

nav.sub-navbar ul.navbar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  padding: 10px 20px 0 10px;
}

nav.sub-navbar ul.navbar li.nav-item a {
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

nav.sub-navbar ul.navbar li.nav-item a:hover {
  background-color: #659a9f;
  color: #fff;
}

.hero {
  display: flex;
  height: 100vh;
  width: 100%;
  background-color: #fff;
}

.hero-left {
  flex: 1;
  padding: 0px 0px 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 80px;
}

.TagLine {
  font-family: "Montserrat", sans-serif;
  font-size: 3em;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.025em;
}

.TagLine span {
  font-weight: 500;
  color: #659a9f;
}

.Heading-tag {
  color: #659a9f;
}

.Hero-paragraph {
  font-size: 0.6em;
  font-weight: 100;

  margin-bottom: 20px;
  max-width: 500px;
}

.Hero-button {
  font-size: 0.7em;
  padding: 10px 15px;
  border: none;
  background-color: #659a9f;
  color: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: start;
}

.Hero-button-right {
  font-size: 0.7em;
  padding: 10px 15px;
  border: none;
  background-color: #ffffff;
  border: 1px solid #659a9f;
  color: #659a9f;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: start;
}

button.Hero-button:hover {
  background-color: #fff;
  color: #659a9f;
  border: 1px solid #659a9f;
}

button.Hero-button-right:hover {
  background-color: #659a9f;
  color: #fff;
}

.avatar-section {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.hero-right {
  flex: 1;
  padding: 20px;
  margin-right: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right img {
  max-width: 150%;
  height: auto;
}

main {
  font-family: "Montserrat", sans-serif;
  margin: 20px;
}

.product-section {
  display: flex;
  flex-direction: row;
}

.produk {
  flex: 3;
  padding: 20px;
  margin-top: 20px;
  margin-left: 80px;
}
.produk h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

.produk-item {
  display: inline-block;
  width: 250px;
  height: 370px;
  margin-right: 20px;
  margin-bottom: 30px;
  border: 1px solid #659a9f;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.produk-item img {
  padding: 10px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  border-radius: 4px;
}

.produk-item h3 {
  padding-left: 10px;
  margin-top: 10px;
}

.produk-item h5 {
  font-weight: 400;
  font-size: 1em;
  padding-left: 10px;
  margin-top: 10px;
}

.produk-item p {
  font-size: 0.8rem;
  padding-left: 10px;
  margin-top: 10px;
  height: 40px;
  overflow-y: hidden;
}

.produk-item button {
  margin-left: 10px;
  margin-bottom: 10px;
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #659a9f;
  color: #659a9f;
  text-decoration: none;
  border-radius: 4px;
}

.produk-item button:hover {
  background-color: #659a9f;
  border: 1px solid #659a9f;
  color: #fff;
}

aside {
  flex: 1;
  height: 350px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 20px;
  margin-top: 70px;
  margin-right: 80px;
  text-align: justify;
}

aside h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

aside img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#artikel-container {
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
}

#artikel-container h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}

.article {
  margin-bottom: 20px;
  padding: 15px;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.article h3 {
  color: #659a9f;
}

.article p {
  color: #555;
  margin-bottom: 10px;
}

.read-more {
  color: #659a9f;
  text-decoration: none;
}

.popup {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  visibility: hidden;
  padding: 10px;
  border-radius: 10px;
  z-index: 1000;
}

.popup img {
  width: 300px;
  height: 200px;
  border-radius: 5px;
}

.testimonials-section {
  height: auto;
  padding: 20px;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.testimonial-card {
  width: 300px;
  background-color: #ebf2f3;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px;
  text-align: center;
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-card h3 {
  font-size: 18px;
  margin-bottom: 0;
}

.footer-inner {
  display: flex;
  background-color: #ebf2f3;
  color: #659a9f;
  padding: 50px 0;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 220px;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
  padding: 0 15px;
}

.footer-column h3 {
  margin-bottom: 10px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  color: #659a9f;
  text-decoration: none;
}

.footer-bottom {
  background-color: #659a9f;
  padding: 10px 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto; /* Menempatkan footer-bottom di bagian bawah */
}

.footer-bottom .logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 200;
  margin: 0;
  letter-spacing: 0.25em;
  color: #fff;
}

.footer-bottom p {
  margin-right: 3%;
  color: #fff;
  text-align: end;
  flex: 1;
}

@media screen and (max-width: 992px) {
  main {
    flex-direction: column;
    margin: 10px;
  }

  .produk {
    padding: 20px;
    margin-left: 0;
  }
  .produk-item {
    width: calc(25% - 10px);
    margin-right: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  aside {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .search-container {
    display: none;
  }

  nav.main-nav a {
    font-size: 14px;
    margin-left: 0px;
  }
  nav.sub-navbar a {
    display: inline-block;
    font-size: 14px;
    margin: -3px;
  }

  .hero {
    flex-direction: column;
    height: 70vh;
  }

  .hero-left {
    margin-top: 5rem;
    text-align: center;
    margin-left: 0px;
  }

  .hero-right img {
    display: none;
  }

  .Hero-paragraph {
    text-align: center;
    max-width: 100%;
    margin-top: 20px;
  }

  .Hero-button {
    width: 100%;
    margin-top: 20px;
  }
  .Hero-button-right {
    width: 100%;
    margin-top: 20px;
  }

  main {
    flex-direction: column;
    margin: 10px;
  }

  .produk {
    margin-left: 0;
  }
  .produk-item {
    width: 100%;
    height: 460px;
    margin-right: 0;
  }

  aside {
    margin-right: 0;
    margin-top: 20px;
  }

  .popup {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    /* text-align: center; */
    padding: 20px;
    max-width: 380px;
  }

  /* .footer-bottom {
    flex-direction: column;
  } */

  .footer-bottom .logo-text {
    font-size: 20px;
    margin: 10px 0;
  }
  .footer-bottom p {
    margin-right: 7%;
    font-size: 10px;
  }
}
