@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap");

.box {
  opacity: 0;
  transform: translateY(30px);
  transition: all 3s  ease-out;
  will-change: opacity, transform;
}

.box.reveal {
  opacity: 1;
  transform: translateY(0);
}

section {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 40px;
  padding-bottom: 40px;
   opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
  text-transform: capitalize;
  transition: all 0.2s linear;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
    background-color: white;
  font-family: "Poppins", sans-serif;
  
}

*::selection {
  background: #2b3dda;
  color: #fff;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}
/* Lebar scrollbar */
html::-webkit-scrollbar {
  width: 10px;
}

/* Track (jalurnya) */
html::-webkit-scrollbar-track {
  background: linear-gradient(to bottom, #f0f9ff, #e0f2fe);
  border-radius: 10px;
}

/* Thumb (pegangan scroll) */
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00B7FF, #0077FF);
  border-radius: 10px;
  border: 2px solid #f0f9ff; /* agar ada jarak */
  transition: background 0.3s ease;
}

/* Hover effect */
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00a6ff, #005ecb);
}


/* pre loader start */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #e6eff1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.loader-container.fade-out {
  top: -120%;
}
/* pre loader end */

/* navbar starts */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0%;
  padding: 1.7rem 10%;
  height: 70px;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.3);

}
section {
  min-height: 100vh;
  padding: 2rem 9%;
}
.heading {
  font-size: 3.5rem;
  color: rgb(32, 32, 32);
  font-weight: 800;
  text-align: center;
}
.heading span {
  color: cyan(115, 3, 167);
}

header .navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
header .navbar li {
  margin-left: 2.5rem;
}
header nav a {
  position: relative;
  text-decoration: none;
  padding-bottom: 4px;
}

/* Hover underline */
nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #00B7FF;
  transition: width 0.3s ease-in-out;
}

nav a:hover::after {
  width: 100%;
}

/* Active link underline (selalu penuh) */
nav a.active::after {
  width: 100%;
}


.banner {
  width: 100%;
  max-width: 150vw;
  margin-top: 100px;
  overflow: hidden;
  margin-bottom: 0%;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 556px; /* sesuai tinggi asli banner */
  object-fit: contain;
  object-position: center;
  margin-left: 0%;
}
@media (max-width: 768px) {
  .banner img {
    max-height: 250px;
  }
}
/* ========== SEARCH BAR ========== */
/* DEFAULT - SEMUA UKURAN */
.search-bar{
  margin-top: 30px;
  margin-bottom: 30px;
}

@media (max-width: 180px) {
  .search-bar {
    display: block;
  }
}
.atas{
    position: relative;
  overflow: visible;
  z-index: 0;
}



.merk-carousel {
  width: auto;
  overflow: hidden;
  background-color: white;
  padding-top: 50px;
  padding-bottom: 0%;
  margin-bottom: 0%;
}

.merk-carousel h1{
  font-size: large;
  color: #00B7FF;
  padding-left: 30px;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollLoop 50s linear infinite;
}

.carousel-track img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 10px;
  flex-shrink: 0;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* hamburger icon starts*/
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: rgb(24, 2, 63);
  display: none;
}
@media (max-width: 768px) {
  #menu {
    display: block;
  }
  header .navbar {
    position: fixed;
    top: 6.5rem;
    right: -120%;
    width: 75%;
    height: 100%;
    text-align: left;
    align-items: flex-start;
    background-color: #0e0f31;
  }
  header .navbar ul {
    flex-flow: column;
    padding: 1rem;
  }
  header .navbar ul li {
    text-align: center;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    width: 26rem;
  }
  header .navbar ul li a {
    display: block;
    padding: 1rem;
    text-align: left;
    color: #fff;
    font-size: 2rem;
  }
  header .navbar ul li a.active,
  header .navbar ul li a:hover {
    padding: 1rem;
    color: #fff;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid #011aff;
  }
  .fa-times {
    transform: rotate(180deg);
  }
  header .navbar.nav-toggle {
    right: 0;
  }
}
/* hamburger icon ends */



/* social icons start */
.socials {
  position: relative;
  margin-top: 5rem;
  text-align: center;
}

.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
}

.social-icons a {
  font-size: 1.6rem;
  display: inline-block;
  line-height: 48px;
  width: 48px;
  height: 48px;
  text-align: center;
  color: white;
  background-color: #222;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(0);
}

.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

/* Brand-specific hover colors */
.social-icon.whatsapp:hover {
  background-color: #25D366;
}

.social-icon.shopee:hover {
  background-color: #ee4d2d;
}

.social-icon.tokopedia:hover {
  background-color: #03ac0e;
}

.social-icon.facebook:hover {
  background-color: #1877f2;
}


/* hero media queries starts*/
@media (max-width: 450px) {
  .home .btn {
    margin: 4rem 0;
  }
  .socials {
    margin-top: 12rem;
  }
  .home .image img {
    margin-top: -12rem;
  }
  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}
/* hero media queries ends*/
/* hero section end */

.about{
  background-color: white;
  border-radius: 10px; /* opsional biar lembut */
}
.about .order-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  padding: 0%;
}

.about .order-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  font-size: 100px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0px 4px 10px rgb(9, 255, 0);
  margin-right: 30px;
}

.about .order-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}


.about .order-icon.tokopedia {
  background-color: white;
}


.about .order-icon.tokopedia img {
  width: 100px;
  height: 100px;
}

.about .order-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.about .keterangan p {
  font-size: 18px; /* sebelumnya 18px */
  line-height: 1.9;
  text-align: justify;
  color: black;
}

.about .order-text {
  flex: 1;
  font-size: 50px; /* sebelumnya 16px */
  color: #333;
  max-width: 500px;
  line-height: 1.8;
}

.about .order-text p{
  font-size: x-large;
}

@media (max-width: 768px) {
  .about .order-channel {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .about .order-icon {
    margin: 0 auto 20px auto; /* atas-kanan-bawah-kiri */
  }

  .about .order-text {
    max-width: 100%;
  }
  .about  img{
     margin: 0 auto 20px auto; /* atas-kanan-bawah-kiri */
  }
}



/* education section starts */
.product {
  background-color: white;
  padding: 50px 0;
  display: flex;
  justify-content: center; /* Posisi konten di tengah */
}

.product-wrapper {
  max-width: 1200px;
  width: 100%;
}
.heading {
  color: #00B7FF;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 4rem;
}

.product h1 {
  color: #00B7FF;
  text-align: center;
  margin-bottom: 2rem;

}

.product .fa {
  color: #00B7FF;
}

.product .box-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0 auto; /* Tengah */
}

.product .column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 382px; /* 3 kolom */
}

.product .box {
  display: flex;
  flex-direction: row;
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
  background: rgb(252, 252, 252);
  overflow: hidden;
  transition: 0.3s;
}

.product .box:hover {
  transform: scale(1.03);
  box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.3);
}

.product .box .image {
  flex: 1 1 20rem;
  width: 100%;
  height: 150px;
  aspect-ratio: 1 / 1;
}

.product .box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.product .box .content {
  flex: 1 1 70rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product .box .content h3 {
  font-size: 1.3rem;
  color: black;
  margin: 0.5rem 0;
  font-weight: 600;
}

.product .box .content p {
  font-size: 1rem;
  margin: 0.2rem 0;
  color: #333;
}

.product h4 {
  font-size: 1.2rem;
  color: rgb(34, 109, 0);
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  margin-top: 0.5rem;
}


.viewall {
  display: flex;
  justify-content: center;
}
.viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: #00B7FF;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
  text-align: center;
}
 .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
 .viewall .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
 .viewall .btn:hover {
  background: #00B7FF;
  color: #000;
}
 .viewall .btn:hover i {
  transform: translateX(5px);
}
/* Responsive */
@media screen and (max-width: 768px) {
  .product .box-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .product .column {
    width: 100%;
    align-items: center;
  }

  .product .box {
    width: 100%;
    max-width: 400px;
    max-height: 500px;
    margin: 0 auto;
    box-sizing: border-box;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product .box .image {
    width: 400px;
    height: 400px;
    aspect-ratio: 1 / 1; /* Biar persegi */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
  }

  .product .box img {
    width: 500px;
    height: 500px;
    object-fit: contain;
    display: block;
  }

  .product .box .content {
    text-align: center;
  }

  .product .box .content h3 {
    font-size: 1.2rem;
    margin: 0.3rem 0;
  }

  .product .box .content p,
  .product .box .content h4 {
    font-size: 0.95rem;
    margin: 0.2rem 0;
  }

  .product h4 {
    text-align: center;
  }
}



/* education section ends */

/* about section starts */
.about {
  background-color: white;
}

.about .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* biar responsive */
  gap: 2rem; /* jarak antar elemen */
  padding: 2rem;
}

.about .image img {
  width: 300px; /* atur ukuran gambar */
  border-radius: 30px;
  margin-right: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.about .keterangan {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  .about .row {
    flex-direction: column;
    text-align: center;
  }

  .about .image img {
    width: 80%;
  }
}

/* about media queries ends*/
/* about section ends */


.berita {
  padding: 60px 20px;
  background-color: white;
  text-align: center;
  font-family: sans-serif;
  margin-top: 50px;
}

.berita h2 {
  color: #007BFF;
  margin-bottom: 40px;
  font-size: 2rem;
}

.berita-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: white;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  margin-bottom: 50px;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content .kategori {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.card-content h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
}

.card-content .tanggal {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.card-content a {
  color: #007BFF;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.card-content a:hover {
  text-decoration: underline;
}



/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: linear-gradient(to bottom, #ffffff, #00b7ff);
  border-radius: 10px; /* opsional biar lembut */
}

.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer .box-container .boxfooter {
  flex: 1 1 25rem;
  margin: 2.5rem;
}

.footer .box-container .boxfooter h3 {
  font-size: 2.5rem;
  color: black;
  padding-bottom: 1rem;
  font-weight: normal;
}

.footer .box-container .boxfooter p {
  font-size: 1.5rem;
  color: black;
  padding: 0.7rem 0;
  text-transform: none;
}

.footer .box-container .boxfooter p i {
  padding-right: 1rem;
  color: black;
}

.footer .box-container .boxfooter a {
  font-size: 1.5rem;
  color: #fff;
  padding: 0.3rem 0;
  display: block;
}
.share a {
  display: inline-block;
  margin: 0 0.5rem;
  transition: transform 0.3s ease;
  width: 45px;
  height: 45px;
}

.share img.social-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.share a:hover {
  transform: scale(1.1);
}

.footer .box-container .boxfooter a:hover {
  color: black;
}

.footer .box-container .boxfooter .share {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.footer .box-container .boxfooter .share a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  text-align: center;
  border-radius: 50%;
  font-size: 1.7rem;
  transition: 0.3s ease;
  background: white;
  color: #00B7FF;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: black;
  border-top: 0.1rem solid #fff3;
}
.footer .credit a {
  color: black;
}
.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.5rem;
  animation: pound 0.35s infinite alternate;
}
.footer .mark{
  color: black;
  text-align: right;
}

@keyframes pound {
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 450px) {
  .footer .box-container .box {
    margin: 1.5rem;
  }

  .footer .box-container .box p {
    padding: 0.7rem;
  }

  .footer .box-container .box .share {
    justify-content: center;
  }

  .footer .box-container .box .share a {
    height: 3.5rem;
    width: 3.5rem;
  }
}

/* footer section ends */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: #00B7FF;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */

.wave-bg {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: -1;
}