* {
    text-decoration: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: white;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 0px;
}
/* Navbar saat berada di atas (transparan dengan blur) */
/* Navbar saat berada di atas (transparan dengan blur) */
.hero {
    align-items: center;
    display: flex;
    width: 100%;
    height: 70px;
    padding: 0 60px;
    border-bottom: 1px solid #1f1f1f;
    position: fixed;
    top: 0;
    left: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    z-index: 9999;
    background: rgba(1, 7, 54, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Transisi halus */
}

/* Navbar saat sudah melewati section home / masuk ke section about */
.hero.scrolled {
    background: #010736; /* Warna lebih solid/gelap sesuai tema */
    border-bottom: 1px solid #334155;
}
.klikatas {
    display: flex;
    color: white;
    margin: 10px;
    background-color: #010736;
    width: 120px;
    padding: 10px;
    border-radius: 15px;
    font-weight: bold;
    justify-content: center;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}
.klikatas:hover {
    background-color: blueviolet;
    color: white;
}
/* HAMBURGER DESKTOP */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}
.hamburger span {
    display: block;
    width: 27px;
    height: 3px;
    background-color: white;
    margin: 5px;
    border-radius: 5px;
    transition: 0.3s ease;
}
.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 45px;
}
.nav-bar a {
    font-weight: bold;
    position: relative;
    color: white;
    padding: 8px 10px;
}
.nav-bar a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: rgb(235, 231, 231);
    left: 50%;
    bottom: 0;
    transition: 0.3s ease;
    transform: translateX(-50%);
}
.nav-bar a:hover::after {
    width: 80%;
}
/* CONTAINER 2 LAYAR */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 8%;
    font-family: "Montserrat", sans-serif;
    gap: 50px;
    border-bottom: 1px solid #1f1f1f;
    background-color: #010736;
}
/* LAYAR KIRI */
.kiri {
    flex: 1;
    max-width: 600px;
}
.dev {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: blueviolet;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    margin-top: 50px;
}
.judul-group {
    display: flex;
    color: #8b5cf6;
}
.judul1 {
    color: white;
}
.judul {
    margin-bottom: 10px;
    font-size: clamp(35px, 5vw, 30px);
    font-weight: bold;
    align-items: center;
    justify-content: center;
    margin: 10px;
    color: white;
}
.k {
    background: linear-gradient(to right, white 35%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    font-size: 24px;
    margin-bottom: 15px;
    margin: 10px;
}
.dec {
    background: linear-gradient(to right, white 35%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    margin: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    max-width: 550px;
}
.alat {
    color: gray;
    margin: 10px;
    font-weight: bold;
    width: 10px;
}
.logo {
    margin: 10px;
    display: flex;
}
.img {
    max-width: 40px;
}
/*gambar*/
.lingkaran {
    position: relative;
    width: 380px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
/* Setengah lingkaran di belakang gambar */
.lingkaran::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6, #fafaf7);
    border-radius: 50% 50% 0 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    filter: drop-shadow(0 0 15px #8b5cf6) drop-shadow(0 0 2px #fff);
}
/* Posisi gambar di depan lingkaran */
.konten {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}
.ganteng {
    width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
}
/*aboutme*/
.container-aboutme {
    width: 100%;
    min-height: 100vh;
    font-family: "inter", sans-serif;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.judul-aboutme {
    align-items: center;
    color: black;
    font-size: 20px;
    margin-bottom: 10px;
}
.deklar-aboutme {
    color: gray;
    font-family: Arial, Helvetica, sans-serif;
}
/*about*/
.container-pendidikan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    font-family: "Poppins", sans-serif;
    width: 100%;
    max-width: 1100px;
    min-height: 20vh;
    margin: 0 auto;
    padding: 30px;
    border-bottom: 1px solid #010736;
    box-sizing: border-box;
}
.left {
    flex: 1;
    display: flex;
    justify-content: center;
}
.smea {
    width: 300%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    margin-left: 40px;
    border-radius: 20px;
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
    background-color: rgb(255, 255, 255);
    filter: drop-shadow(0 0 10px rgb(129, 0, 249));
}
.right {
    flex: 1;
}
.about-me {
    padding: 15px;
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: blueviolet;
    border-radius: 5px;
    font-size: 10px;
    letter-spacing: 3px;
    margin: 5px;
}
.smk {
    font-size: 20px;
    color: black;
    margin: 10px;
}
.smk-text {
    font-size: 14px;
    line-height: 1.8;
    color: gray;
    margin: 10px;
    letter-spacing: 2;
}
/*porto*/
.container-portofolio {
    width: 100%;
    min-height: 100vh;
    font-family: "inter", sans-serif;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
/* HEADER */
.header {
    text-align: center;
    width: 100%;
}

.header-porto {
    font-size: 30px;
    color: rgb(1, 1, 1);
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}

.deklarasi {
    font-size: 16px;
    color: #555;
}

/* PEMISAH CARD */
.pemisah {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

/* CARD */
.card-images {
    width: 500px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    filter: drop-shadow(0 0 10px rgb(129, 0, 249));
    transition: 0.3s ease;
}
.card-images:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.foto {
    width: 100%;
    transition: 0.5s ease-in-out;
}
.foto:hover {
    transform: scale(1.1);
}
.status {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff0000;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;

    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* TEKS */
.teks {
    padding: 20px;
}

.teks h2 {
    font-size: 20px;
    color: #010736;
    margin-bottom: 12px;
}

.teks p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: gray;
}

.teks a {
    display: inline-block;
    text-decoration: none;
    background-color: #010736;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.teks a:hover {
    background-color: blueviolet;
}
/*service*/
.service {
    width: 100%;
    min-height: 100vh;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.header-service {
    text-align: center;
    width: 100%;
    font-family: "Montserrat", sans-serif;
}
.my-service {
    font-size: 10px;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif;
    color: gray;
}
.group-service-judul {
    display: flex;
    justify-content: center;
}
.judul-service {
    font-weight: 200;
}
.desain {
    font-weight: 600;
    margin-left: 10px;
    color: #010736;
    filter: drop-shadow(0 0 10px rgb(129, 0, 249));
    margin-bottom: 10px;
}
.pemisah-service {
    justify-content: center;
    align-items: stretch;
    display: flex;
    width: 100%;
    gap: 30px;
}
.card-service {
    width: 300px;
    background-color: rgb(255, 255, 255);
    filter: drop-shadow(0 0 10px rgb(129, 0, 249));
    margin-bottom: 10px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}
.card-service:hover {
    transform: translateX(-10);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.picture {
    width: 100%;
}
/*achiv*/
.container-achievement {
    width: 100%;
    min-height: 100vh;
    font-family: "inter", sans-serif;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.achievement {
    text-align: center;
    margin-bottom: 20px;
}
.header-achievement {
    text-align: center;
    width: 100%;
    color: gray;
}
.judul-group-achievement {
    align-items: center;
    flex-direction: column;
    display: flex;
    gap: 15px;
}
.tte {
    letter-spacing: 2;
    font-weight: 900;
}
.peraihan {
    margin-bottom: 20px;
    color: gray;
}
.pemisah-sertif {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}
.card-sertif {
    width: 400px;
    background-color: white;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    background-color: rgb(255, 255, 255);
    filter: drop-shadow(0 0 10px rgb(129, 0, 249));
}
.foto-sertif {
    width: 100%;
    transition: 0.5s ease-in-out;
}
.foto-sertif:hover {
    transform: scale(1.1);
}

/*contact*/
.container-contact {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 8%;
    font-family: 'Montserrat', sans-serif;
    gap: 50px;
    border-bottom: 1px solid black;
}

/* LAYAR KIRI */
.kiri-contact {
    flex: 1;
    max-width: 600px;
}

.header-contact {
    display: inline-block;
    color: gray;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 20px;
    letter-spacing: 2px;
    margin: 10px;
}
.header-contacts {
    margin: 20px;
}
.judul-contact {
    margin-bottom: 10px;
    font-size: 40px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgb(129, 0, 249));
}
.deks-contact {
    color: gray;
    letter-spacing: 3px;
    font-size: 10px;
    margin-bottom: 15px;
    margin: 20px;
}
.logo-contact {
    display: flex;
    gap: 10px;
    margin: 20px;
}

/* Instagram */
.instagram-logo {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5
    );
    position: relative;
}

.instagram-circle {
    width: 21px;
    height: 21px;
    border: 3px solid white;
    border-radius: 7px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.instagram-dot {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    right: 9px;
}

/* LinkedIn */
.linkedin-logo {
    width: 45px;
    height: 45px;
    background: #0a66c2;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
}

.linkedin-logo span {
    color: white;
    font-size: 27px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

/* Hover */
.instagram-logo:hover,
.linkedin-logo:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}
.github-logo {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 42px;
    transition: 0.3s ease;
}

.github-logo:hover {
    transform: translateY(-5px) scale(1.1);
}

.kanan-contact {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    width: 100%;
}

/* KARTU FORM (BIRU TUA + NEON GLOW) */
.card-contact {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    background-color: #010736;
    border-radius: 28px;
    box-shadow: 0 0 35px 5px rgba(168, 85, 247, 0.7);
    padding: 35px 28px;
    margin-top: 40px;
    box-sizing: border-box;
}

.konten-contact {
    width: 100%;
}

.konten-contact form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.judul-input {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-size: 15px;
    display: block;
    margin-bottom: 2px;
}

.input {
    width: 100%;
    margin-bottom: 6px;
}

.input-1 {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #111827;
    box-sizing: border-box;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.input-1:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.35);
}

.submit {
    width: 100%;
    margin-top: 8px;
    padding: 11px;
    border-radius: 10px;
    background-color: #ffffff;
    color: #010736;
    font-weight: bold;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.submit:hover {
    background-color: #8b5cf6;
    color: #ffffff;
    transform: translateY(-2px);
}
/*footer*/
.container-footer {
    width: 100%;
    text-align: center;
    background-color: #010736;
}
.copyright {
    color: white;
}
.pemisah-footer {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 100%;
}

/*scroll bar*/
::-webkit-scrollbar {
    width: 5px;
}
/*jalurnya*/
::-webkit-scrollbar-track {
    background: #010736;
}
/*jalur yang di scroll*/
::-webkit-scrollbar-thumb {
    background-color: #f8f8fa;
    border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #031179;
}
.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease;
}
/* RESPONSIVE NAVBAR */
@media screen and (max-width: 768px) {
    .hero {
        height: 70px;
        padding: 0 20px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .judul1 {
        font-size: 24px;
    }
    .hamburger {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 10001;
    }
    .hamburger span {
        display: block;
        width: 27px;
        height: 3px;
        background: white;
        margin: 5px;
        border-radius: 5px;
        transition: 0.3s;
    }
    .nav-bar {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(1, 7, 54, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
    }
    .nav-bar.active {
        display: flex;
    }
    .nav-bar a {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 14px;
    }
    .klikatas {
        display: none;
    }
    /* Animasi hamburger menjadi X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
/*home*/
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 110px 20px 50px;
        gap: 30px;
    }

    .kiri,
    .kanan {
        width: 100%;
    }

    .judul {
        font-size: clamp(27px, 8vw, 45px);
    }

    .k {
        font-size: 20px;
    }

    .dec {
        font-size: 14px;
        line-height: 1.8;
    }
    .logo {
        justify-content: center;
    }

    .lingkaran {
        width: 200px;
        height: 200px;
        border-radius: 20px;
        margin: auto;
    }

    .ganteng {
        width: 100%;
        max-width: 260px;
    }
}
/*aboutme dan eduu*/
@media screen and (max-width: 768px) {
    .container-aboutme {
        padding: 70px 20px;
        min-height: auto;
    }

    .aboutme {
        width: 100%;
    }

    .judul-aboutme {
        font-size: 25px;
        text-align: center;
    }

    .deklar-aboutme {
        font-size: 14px;
        line-height: 1.8;
        text-align: justify;
    }

    .container-pendidikan {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
    }

    .left,
    .right {
        width: 100%;
    }
    .smea {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-left: 0;
    }
    .smk {
        font-size: 20px;
    }
    .smk-text {
        font-size: 14px;
        line-height: 1.8;
    }
}
/*porto service*/
@media screen and (max-width: 768px) {
    .container-portofolio,
    .service {
        padding: 70px 20px;
        min-height: auto;
    }

    .header-porto {
        font-size: 25px;
    }

    .deklarasi {
        font-size: 14px;
        line-height: 1.7;
    }

    .pemisah,
    .pemisah-service {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
        padding: 0;
    }

    .card-images,
    .card-service {
        width: 100%;
        max-width: 450px;
    }

    .foto,
    .picture {
        width: 100%;
        height: auto;
    }

    .group-service-judul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .judul-service,
    .desain {
        font-size: 24px;
        text-align: center;
    }
}
/*achievement dan kontak*/
@media screen and (max-width: 768px) {
    .container-achievement {
        padding: 70px 20px;
        min-height: auto;
    }

    .judul-group-achievement {
        text-align: center;
    }

    .tte {
        font-size: 23px;
    }

    .peraihan {
        font-size: 14px;
        line-height: 1.7;
    }

    .pemisah-sertif {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .card-sertif {
        width: 100%;
        max-width: 450px;
    }

    .foto-sertif {
        width: 100%;
        height: auto;
    }

    .container-contact {
        flex-direction: column;
        padding: 70px 20px;
        gap: 30px;
        text-align: center;
        min-height: auto;
    }

    .kiri-contact,
    .kanan-contact {
        width: 100%;
    }

    .judul-contact {
        font-size: 28px;
    }

    .deks-contact {
        font-size: 14px;
    }

    .logo-contact {
        justify-content: center;
    }

    .card-contact {
        width: 100%;
        max-width: 380px;
        margin: auto;
    }

    .back {
        max-width: 100%;
    }

    .container-footer {
        padding: 20px 10px;
    }

    .copyright {
        font-size: 12px;
    }
}
/*hp kecil*/
@media screen and (max-width: 480px) {
    .judul1 {
        font-size: 21px;
    }

    .judul {
        font-size: 27px;
    }

    .dev {
        font-size: 11px;
    }

    .lingkaran {
        width: 220px;
        height: 220px;
    }

    .ganteng {
        max-width: 220px;
    }

    .judul-contact {
        font-size: 24px;
    }

    .judul-service,
    .desain {
        font-size: 21px;
    }

    .btn,
    .btn1 {
        width: 130px;
        font-size: 12px;
    }
}
