@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}
body {
    background-color: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    background: #0f0f0fcc;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #5c5c5c;
}

.navbar h2 {
    font-size: 1.7vw;
    letter-spacing: -1px;
    color: #00ff88;
    line-height: 0.9rem;
    z-index: 1001;
}

.navbar h2 span {
    font-size: small;
    font-weight: 500;
    color: #fff;
    padding: 0 0.2rem;
    background: #15995b;
}



.navbar nav a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    margin-left: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
    opacity: 0.7;
    padding: 1rem;
    border-bottom: 1px solid transparent;
}

.navbar nav a:hover {
    opacity: 1;
    border-bottom: 1px solid #00ff88;
    color: #00ff88;
    transform: translateY(-4px);
}

.icons {
    display: none;
    font-size: 1.8rem;
    color: #00ff88;
    cursor: pointer;
    z-index: 1001;
}
.cont1 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background: linear-gradient(#00000080, #0f0f0f), url(media/bg1.png);
    background-position: 50%;
    background-size: cover;
}

.cont1 h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #00ff88;
}

.cont1 h1 {
    font-size: 8vw;
    font-weight: 800;
    line-height: 0.9;
    margin-left: 1rem;
    width: 50%;
    text-shadow: 0 0 5rem #083b23;
}

.grup1 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    height: min-content;
    margin: 1rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.grup1 ul {
    display: flex;
    list-style: none;
    margin: 0 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.grup1 li, .grup2 {
    margin: 0 0.5rem;
    border: 1px solid #00ff88;
    font-size: small;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

.grup2 {
    width: fit-content;
    margin-top: 2rem;
    box-shadow: 0 0 5rem #083b23;
    backdrop-filter: blur(10px);
}
.cont2 {
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5rem 10%;
    gap: 4rem;
    position: relative;
}

.cont2 img {
    width: 35%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 5rem #083b23;
    object-fit: cover;
}

.grup3 {
    flex: 1; /* Agar mengambil sisa ruang */
    display: flex;
    flex-direction: column;
}

.grup3 div {
    border-radius: 0 1.5rem 0 0;
    border: 1px solid #15995b;
    width: 100%; /* Ubah dari 40vw ke 100% agar mengikuti container grup3 */
    padding: 2rem;
    background: rgba(26, 26, 26, 0.5); /* Sedikit background agar teks terbaca */
}

.grup4 {
    position: absolute;
    font-size: 1vw;
    transform: translateY(8vw) translateX(-35vw);
    backdrop-filter: blur(10px);
    background: #0f0f0fcc;
}
.cont3 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 10%;
    padding-bottom: 5rem;
    background: linear-gradient( #0f0f0f, #00000080, #0f0f0f), url(media/bg2.png);
}

.cont3 h1 {
    text-shadow: 0 0 1rem #083b23;
    margin-top: 6rem;
    font-weight: 200;
    color: #00ff88;
    text-align: left;
    border-bottom: 1px solid #00ff88;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.grup6 {
    margin: 1rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.grup5 {
    border: 1px solid #ffffff30;
    background: #1a1a1a;
    border-radius: 0 1rem 0 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 10rem;
    transition: 0.3s;
    cursor: default;
}

.grup5:hover {
    border-color: #00ff88;
    box-shadow: 0 0 2rem #083b23;
    transform: translateY(-6px);
}

.grup5 .tool-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grup5 .tool-icon svg,
.grup5 .tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 1rem;
}

.grup5 h3 {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.grup5 p {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}
.btn-rnd {
    padding: 0.7rem 2rem;
    border-radius: 0 0 1.5rem 0;
    border: 1px solid #15995b;
    margin-top: 1.5rem;
    width: fit-content;
    text-decoration: none;
    color: #fff;
    background: #1a1a1a;
    font-size: 1rem;
    font-weight: bold;
    
    transition: 0.3s;
}
.btn-rnd:hover {
    color: #00ff88;
    box-shadow: 0 0 2rem #083b23;
    transform: translateX(4px);
}

.cont4 {
    min-height: 100vh;
    padding: 10%;
}
.cont4 h1 {
    border-bottom: 1px dashed #00ff88;
    padding: 1vw;
    margin-bottom: 2rem;
    font-weight: normal;
    color: #00ff88;
    text-align: center;
    
}
.grup7 {
    display: flex;
    flex-direction: column;
    margin: 1rem;
    border-radius: 0 1.5rem 1.5rem 0;
    border: 1px solid #2a2a2a;
    transition: 0.3s;
}
.grup7:hover {
    transform: translateX(4px);
    border: 1px solid #00ff88;
    box-shadow: 0 0 2rem #083b23;
}
.grup8 {
    background: linear-gradient(to right, #161616, #1e1e1e97, #00000080);
    padding: 2rem;
    height: 20vh;
    border-radius: 0 1.5rem 1.5rem 0;
    color: #fff;
}
/* Update pada .cont5 untuk memastikan konten di tengah */
.cont5 {
    padding: 5% 10%;
    background: linear-gradient(#0f0f0f, #00000080, #0f0f0f), url(media/bg3.png);
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-container {
    text-align: center;
    max-width: 800px;
}

.contact-container h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    padding: 1rem;
    letter-spacing: 2px;
    color: #00ff88;
    border-bottom: 1px dashed #00ff88;
}

.contact-container p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid hwb(0 100% 0% / 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: #00ff88;
    box-shadow: 0 0 2rem #00ff88;
}

.contact-card span {
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}

.contact-card p {
    font-size: 0.9rem;
    margin-top: 5px;
    word-break: break-all;
}












@media (max-width: 900px) {
    .navbar {
        padding: 1rem 5%;
    }

    .navbar h2 {
        font-size: 1.5rem;
    }
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 999;
        backdrop-filter: blur(2px);
    }

    .navbar nav {
        position: fixed;
        top: 0;
        right: -55%;
        width: 55%;
        height: 100vh;
        background: #141414;
        border-left: 1px solid #2a2a2a;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 2rem 0;
    }
    .navbar nav a {
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 1px;
        display: block;
        padding: 1rem 2rem;
        margin: 0;
        border-bottom: 1px solid #1e1e1e;
        border-left: 3px solid transparent;
        transition: 0.25s;
    }
    .cont1 {
        padding: 0 5%;
        padding-top: 5rem;
        height: auto;
        min-height: 100vh;
        justify-content: center;
    }

    .cont1 h3 {
        font-size: 1.1rem;
    }

    .cont1 h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
        width: 100%;
        margin-left: 0;
        line-height: 1;
    }

    .grup1 {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .grup1 ul {
        margin: 0;
        flex-wrap: wrap;
    }

    .grup1 li {
        margin: 0.2rem;
        font-size: 0.75rem;
    }
    .cont2 {
        flex-direction: column;
        padding: 5rem 5% 3rem;
        gap: 2rem;
        text-align: center;
    }

    .cont2 img {
        width: 60% !important;
        max-width: 40w;
    }

    .grup3 {
        width: 100%;
        margin-left: 0;
        font-size: 0.9rem;
        border-radius: 0 1.5rem 0 0;
    }

    .grup4 {
        display: none;
    }

    /* Tool Mobile */
    .cont3 {
        padding: 0 5% 5rem;
    }

    .cont3 h1 {
        font-size: 1.8rem;
    }

    .grup6 {
        justify-content: center;
    }

    .grup5 {
        width: 130px;
    }
}

@media (max-width: 480px) {
    .cont1 h1 {
        font-size: clamp(2rem, 14vw, 3.5rem);
    }

    .grup5 {
        width: calc(50% - 0.75rem);
    }
}