body {
    font-family: "Inter", sans-serif;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

:root {
    --blue-color: #4d5bf9;
    --blue-color-hover: #3e3eff;
    --blue-hover-icon: #2600fc8c;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
}

nav {
    box-shadow: 0 4px 40px -8px rgba(0, 0, 0, 0.3);
    position: fixed;
    left: 0;
    right: 0;
    z-index: 400;
    background-color: #ffff;
    padding: 16px 30px;
    transition: all 900ms ease;
}

nav.scrolled {
    padding: 8px 30px;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .container a.logo {
    font-size: 24px;
}

nav .container a {
    font-size: 13px;
    text-decoration: none;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
}
.btn-nav {
  padding: 8px 18px;
  border-radius: 18px;
  background: var(--blue-color);
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  transition: all 300ms ease;
}






h2{
    font-size: 40px;
    font-family: "Poppins",sans-serif;
    margin: 16px 0;
    text-align: center;
}


p{
    line-height: 1.5;
}
h3{
    line-height: 1.6;
}
section{
    padding: 80px;
}
nav.container a:hover{
    color: #ed2243;
}

nav .menu-items{
    display: flex;
    gap: 36px;
    align-items: center;
}


/*Mobile View*/

.mobile-menu-items{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    height: 100vh;
    width: 100%;
    background: #333;
    flex-direction: column;
    gap: 30px;    
    opacity: 0;
    transform: translateX(100%);
    transition: all 300ms ease;
}
.mobile-menu-items.active{
    opacity: 1;
    transform: translateX(0);
 
}
.mobile-menu-items a{
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}
.mobile-menu-items .close-icon{
    position: fixed;
    top: 10px;
    right: 20px;
    background: rgba(255,255,255,0.03);
    padding: 8px;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
}
.mobile-menu-items .close-icon svg{
    width: 30px;
    color: #fff;
}
.mobile-menu-items .btn-register {
    background-color: #6d50e2;
    color: #fff; /* Warna teks putih */
    padding: 12px 20px; /* Padding agar tombol terlihat lebih besar */
    border: none; /* Menghilangkan border */
    border-radius: 6px; /* Membuat sudut sedikit melengkung */
    text-decoration: none; /* Menghilangkan garis bawah default pada link */
    transition: background-color 0.3s ease, color 0.3s ease; /* Efek transisi saat hover */
    cursor: pointer;
}

.mobile-menu-items .btn-register:hover {
    background-color: #5438c4; /* Warna latar belakang saat tombol dihover */
    color: #fff; /* Warna teks tetap putih saat tombol dihover */
}
nav .menu-icon{
    display: none;
}



.logo-container {
    margin-top: 100px;
    margin-bottom: 40px; 
    text-align: center; 
}

.logo-container img {
    width: 500px; /* Makes the image smaller */
    height: auto; /* Maintains aspect ratio */
}



  /*footer*/

footer{
    background: #efefef;
    color: #000;
    padding-top: 30px;

}


footer .sections{
    display: flex;
    gap: 50px;
    justify-content: space-between;
}
footer .section{
    flex: 1;
}

footer h3{
    margin-top: 0;
}
footer ul{
    padding: 0;
    list-style: none;
}
footer ul li{
    margin:  12px 0;
}
footer ul li a{
    color: #000;
    text-decoration: none;
}

.socials {
    display: flex;
    justify-content: center; /* Mengatur agar konten di tengah */
}

.socials a {
    margin-right: 10px; /* Jarak antar link */
}

footer .socials img{
    height: 35px;
    transition:  all 300ms ease;
}
footer .socials img:hover{
    transform:  scale(1.1);
}

footer .copyright{
    background: #000;
    color: #fff;
    padding: 18px;
    margin-top: 30px;

}

/*Smartphone*/
@media (max-width: 800px){
    nav .menu-items{
        display: none;
    }
    nav .menu-icon{
        display: block;
    }
    nav .menu-icon svg{
        width: 30px;
        display: flex;
    }

    .logo-container img {
        width: 250px;
        height: auto;
    }

   
    section{
        padding-inline: 30px;
    }

    .product-container{
        grid-template-columns: 1fr;
    }
    footer .sections{
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    footer .socials{
        justify-content: center;
    }
}

