:root {
  --primary: #2bda31;
  --secondary: green;
}

.material-symbols-outlined {
  color: var(--primary);
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  align-items: center;
}

* {
  font-family: "PT Sans", sans-serif;
}

.navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: solid;
  border-radius: 15px;
  background: rgba(200, 240, 210, 0.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 150, 80, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999; 
  margin: 10px;
}

.navbar .nav-logo {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 30px;
  height: 65px;
}

.navbar img {
  height: 50px;
}

.navbar .logo-name {
  font-size: 40px;
  font-weight: 700;
  margin-top: 5px;
  padding-left: 5px;
  margin-bottom: 0px;
  height: 60px;
}

.navbar .logo-name h3 {
  height: 40px;
}

.navbar .logo-name span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  margin: 0 auto;
  gap: 50px;
  font-size: 21px;
  font-weight: 500;
}

.nav-menu a {
  text-decoration: none;
  color: black;
  font-weight: 400;
}

.nav-masuk a {
  font-size: 25px;
  font-weight: 550;
  font-style: normal;
  letter-spacing: 2px;
}

.nav-masuk {
  display: flex;
  margin-left: auto;
  margin-right: 14px;
  gap: 40px;
  font-size: 25px;
  font-weight: 500;
}

.nav-masuk-login {
  border: solid;
  border-color: var(--primary);
  border-radius: 5px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: black;
  font-weight: 800;
}

.nav-masuk .nav-masuk-register {
  text-decoration: none;
  border-radius: 5px;
  background-color: var(--primary);
  color: #ffff;
  padding: 10px 20px;
}

#hamburger-menu {
  display: none;
}
.navbar a:hover {
  color: var(--primary);
}

.navbar .nav-masuk .nav-masuk-login:hover {
  background-color: var(--primary);
  color: #ffff;
  text-decoration: none;
}
.navbar .nav-masuk .nav-masuk-register:hover {
  /* background-color: var(--primary); */
  color: #010101;
  text-decoration: none;
  border: solid var(--primary);
  background-color: transparent;
}

.hero-section {
  /* border: solid; */
  display: flex;
  height: 100vh;
  min-height: 400px;
  max-height: 500px;
  margin-top: 100px;
}

.hero-section .left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 50px;
}

.hero-section .left h2 {
  color: var(--secondary);
  margin-bottom: -20px;
}

.hero-section .left h1 {
  font-size: 40px;
}

.hero-section .left h1 span {
  display: block;
  color: var(--secondary);
}

.hero-section .left a {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  border: solid;
  width: 120px;
  height: 40px;
  background-color: var(--secondary);
  color: #ffff;
  font-weight: 500;
  border-radius: 0.5rem;
}

.hero-section .left .btn:hover {
  filter: brightness(1.2);
}

.hero-section .bg-color {
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: var(--secondary);
  right: 60px;
  top: 200px;
  z-index: -1;
  border-radius: 50%;
  filter: blur(115px);
}

main .content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-us {
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* border: solid; */
  padding: 50px;
  width: 1137px;
  height: 500px;
  margin-top: 30px;
  border-radius: 30px;
  box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
}

.about-us .main-content {
  display: flex;
  flex-direction: row;
}

.about-us .main-content img {
  width: 520px;
  height: 414px;
  border-top-left-radius: 118px;
  border-bottom-right-radius: 126px;
}

.about-us .add-content .statistik {
  display: flex;
  flex-direction: row;
  /* border: solid; */
  gap: 105px;
  justify-content: center;
  position: relative;
  margin-bottom: 10px;
  background-color: rgb(43, 218, 49);
  border-radius: 20px;
  box-shadow: 1px 26px 28px -7px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 1px 26px 28px -7px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 1px 26px 28px -7px rgba(0, 0, 0, 0.75);
}

.about-us .add-content .card-stats h1 {
  font-size: 30px;
  color: #fff;
}

.about-us .add-content .card-stats h3 {
  font-size: 22px;
}

.about-us .add-content .card-stats {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.about-us .content-about-us {
  display: flex;
  flex-direction: column;
  margin-left: 30px;
}

.about-us .content-about-us p {
  font-size: 23px;
  text-wrap: pretty;
}

.about-us .content-about-us .line {
  height: 4px;
  width: 200px;
  background-color: var(--secondary);
}

.about-us .card-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 50%;
  right: -350px;
  transform: translateY(-50%);
  width: 280px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transition:
    right 0.4s ease,
    opacity 0.4s ease;
  opacity: 0;
}

.about-us .card-profile.show {
  right: 30px;
  opacity: 1;
}

.about-us .card-profile img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

.about-us .card-profile h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.about-us .card-profile p {
  font-size: 16px;
  margin: 2px 0;
}

.about-us .card-profile .close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

/* Sembunyikan di mobile */
@media (max-width: 768px) {
  .about-us .card-profile {
    display: none;
  }
}

.produk {
  display: flex;
  flex-direction: column;
  /* border: solid; */
  margin-top: 119px;
  border-radius: 20px;
  box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
}

.produk header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.produk h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 1rem;
  margin: 10px;
}

.produk span {
  color: var(--secondary);
}

.produk header .line {
  height: 4px;
  width: 300px;
  background-color: var(--secondary);
  margin-bottom: 20px;
}

.produk p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
}

.produk .content-produk {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 5rem;
  justify-content: center;
}

.produk .content-produk .menu-card {
  text-align: center;
  width: 24rem;
  margin-top: -4rem;
  margin-right: 2rem;
}

.produk .content-produk .menu-card img {
  border-radius: 50%;
  width: 60%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.produk .content-produk .menu-card .menu-card-tittle {
  margin: 0.2rem auto 0.2rem;
  font-size: 3rem;
}

.produk .content-produk .menu-card .menu-card-desc {
  margin: 0.7rem auto 0.3rem;
  font-size: 1.3rem;
  font-weight: 200;
  text-align: center;
}

.produk .content-produk .menu-card a {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 2rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--secondary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 1, 0.5);
  text-decoration: none;
}
.menu-card a:hover {
  filter: brightness(1.2);
}
.fitur {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* border: solid; */
  box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  border-radius: 20px;
}

.fitur header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fitur header h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.fitur header span {
  color: var(--secondary);
}

.fitur header p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.fitur .content-fitur {
  display: flex;
  flex-wrap: wrap;
  margin: 5rem;
  justify-content: center;
  align-items: center;
  margin-left: 0px;
  margin-right: 0px;
  gap: 20px;
}

.fitur .content-fitur .fitur-card {
  text-align: center;
  width: 18rem;
  margin-top: -1rem;
  margin-right: 2rem;
}

.fitur .content-fitur .fitur-card img {
  border-radius: 50%;
  width: 40%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border: solid;
  border-color: var(--secondary);
}

.fitur .content-fitur .fitur-card .fitur-card-tittle {
  margin: 0.5rem auto 0.5rem;
  font-size: 1.5rem;
}

.fitur .content-fitur .fitur-card .fitur-card-desc {
  margin: 0.7rem auto 0.5rem;
  font-size: 1rem;
  font-weight: 200;
  text-align: center;
}

.testimoni {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  /* border: solid; */
  box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 4px 6px 19px 7px rgba(0, 0, 0, 0.75);
  border-radius: 20px;
}

.testimoni header {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 39px;
}

.testimoni header h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.testimoni header span {
  color: var(--secondary);
}

.testimoni header p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
}

.content-testimoni {
  display: flex;
  flex-direction: row;
  gap: 30px;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.testimoni-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid;
  width: 331px;
  height: 388px;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
}

.avatar-wrapper {
  width: 150px;
  height: 150px;
  border: 3px solid black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: absolute;
  top: -83px;
}

.avatar-wrapper img {
  border-radius: 50%;
  width: 126px;
  height: 126px;
  position: relative;
  top: -2px;
}

.testimoni-card .card-name {
  position: relative;
  font-size: 2rem;
  top: 53px;
}

.testimoni-card .achivement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: auto;
  height: 55px;
  position: relative;
  top: 21px;
}

.testimoni-card .achivement p {
  margin: 0;
}

.testimoni-card .card-desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 304px;
  height: auto;
  text-align: center;
  padding: 5px;
  position: relative;
  bottom: -18px;
}

.rating {
  display: flex;
  gap: 4px;
  position: relative;
  top: 75px;
}

.star {
  font-size: 18px;
}

.checked {
  color: var(--secondary);
}

footer {
  background-color: var(--primary);
  text-align: center;
  padding: 1rem 0 1rem;
  border-radius: 20px;
  margin-top: 20px;
}

footer .sosials {
  padding: 1rem 0;
}

footer .sosials a {
  color: #fff;
  margin: 1rem;
}

footer .sosials a:hover,
footer .links a:hover {
  color: #010101;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

footer .links {
  margin-bottom: 1.4rem;
}

footer .credit {
  font-size: 1rem;
}

footer .credit a {
  color: #010101;
  font-weight: 700;
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
    position: relative;
    justify-content: space-between;
    height: auto;
    width: 100%;
    box-sizing: border-box;
  }

  .navbar .nav-logo {
    margin: 0;
    height: auto;
    align-items: center;
    gap: 5px;
  }

  .navbar img {
    height: 30px;
  }

  .navbar .logo-name {
    font-size: 20px;
    margin: 0;
    height: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 300px;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: 0.3s;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu {
    border-radius: 10px;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: 0.3s ease-in-out;
    z-index: 9999;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  }

  .nav-menu .active {
    right: 0;
  }

  .nav-masuk .nav-masuk-login,
  .nav-masuk .nav-masuk-register {
    display: inline-flex !important;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    border-width: 1px;
    height: auto;
    font-weight: 600;
    white-space: nowrap;
    margin: 0px;
  }

  #hamburger-menu {
    display: block;
    font-size: 24px;
    cursor: pointer;
    color: black;
    font-size: 20px;
    position: relative;
    z-index: 10000;
  }

  .hero-section {
    flex-direction: column-reverse;
    height: auto;
    max-height: none;
    padding-bottom: 50px;
    padding-top: 20px;
    margin-bottom: 20px;
  }

  .hero-section .left {
    padding: 0 20px;
    text-align: center;
    align-items: center;
  }

  .hero-section .left h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-section .righ img {
    width: 80%;
    margin: 0 auto;
    display: block;
    margin-bottom: 20px;
  }

  .hero-section .bg-color {
    width: 200px;
    height: 200px;
    right: 0;
    top: 50px;
  }

  main .content {
    gap: 20px;
    overflow-x: hidden;
  }

  .about-us {
    width: 90%;
    height: auto;
    padding: 20px;
    margin: 20px auto;
    border-radius: 15px;
    margin-bottom: 0;
    margin-top: 0;
  }

  .about-us .main-content {
    flex-direction: column;
  }

  .about-us .main-content img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .about-us .content-about-us {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .about-us .content-about-us p {
    font-size: 16px;
    text-align: justify;
  }

  .about-us .add-content .statistik {
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .produk {
    margin-top: 0px;
  }

  .produk .content-produk {
    flex-direction: column;
    margin: 2rem;
    align-items: center;
    gap: 60px;
  }

  .produk .content-produk .menu-card {
    width: 100%;
    margin: 0;
  }

  .produk header h2,
  .fitur header h2,
  .testimoni header h2 {
    font-size: 2rem;
  }

  .fitur .content-fitur {
    margin: 2rem;
  }

  .testimoni header {
    position: static;
    margin-top: 20px;
    margin-bottom: 120px;
  }

  .content-testimoni {
    flex-direction: column;
    height: auto;
    padding-top: 0;
    padding-bottom: 50px;
    gap: 120px;
    width: 100%;
  }

  .testimoni-card {
    width: calc(100% - 40px);
    max-width: 450px;
    margin: 0 auto;
    box-sizing: border-box;
  }
}
