@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");

* {
  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%;
}

/* ========== 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;
}
/* 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 */

.contact-section {
  background-color: #f9f9ff;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 28px;
  color: #6c2bd9;
  font-weight: bold;
  text-align: left;
  margin-bottom: 20px;
}

.contact-form {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6c2bd9;
  outline: none;
}

.submit-btn {
  background-color: #6c2bd9;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #5420b5;
}

.contact-info {
  margin-top: 30px;
  color: #444;
  font-size: 15px;
}

.contact-info i {
  color: #6c2bd9;
  margin-right: 10px;
}

/* 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;
}

.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);
}

/* Hover khusus brand */
.share a.whatsapp:hover {
  background-color: #25D366;
  color: white;
}

.share a.facebook:hover {
  background-color: #1877f2;
  color: white;
}

.footer .box-container .boxfooter .share a.shopee:hover {
  background-color: #ee4d2d;
  color: white;
}

.footer .box-container .boxfooter .share a.tokopedia:hover {
  background-color: #03ac0e;
  color: white;
}


.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 */