/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: #020617; /* Hitam Kebiruan Deep */
    color: #e2e8f0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- NAVBAR --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
.logo span { color: #0ea5e9; } /* Cyan Blue */

nav ul { display: flex; gap: 30px; }
nav ul li a {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}
nav ul li a:hover, nav ul li a.active {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* --- HERO SECTION MODERN --- */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    height: calc(100vh - 80px); /* Full layar dikurangi navbar */
    position: relative;
}

/* Hiasan Background Tech (Glow) */
.tech-bg-1 {
    position: absolute;
    top: -10%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(50px);
}
.tech-bg-2 {
    position: absolute;
    bottom: 10%; right: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

/* KONTEN KIRI (TEKS) */
.hero-content {
    max-width: 55%;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(14, 165, 233, 0.1);
    color: #38bdf8;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

/* --- EFEK ANIMASI TEXT (TYPING) --- */
.typing-text {
    font-family: 'Fira Code', monospace; /* Font koding */
    color: #38bdf8;
    position: relative;
    white-space: nowrap; /* Teks satu baris */
    overflow: hidden;
    border-right: 4px solid #38bdf8; /* Kursor kedip */
    width: 0;
    display: inline-block;
    animation: typing 3s steps(20) forwards, blink 0.75s step-end infinite;
    
    /* Efek Glow pada teks */
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-content p {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 90%;
}

/* BUTTON & SOSMED */
.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary {
    padding: 14px 35px;
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transition: 0.3s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
}

.social-icons { display: flex; gap: 15px; }
.social-icons a {
    width: 45px; height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: 0.3s;
    background: rgba(255,255,255,0.03);
}
.social-icons a:hover {
    background: #fff;
    color: #020617;
    transform: translateY(-3px);
}

/* KONTEN KANAN (GAMBAR & ELEMEN MENGAMBANG) */
.hero-image-section {
    position: relative;
    display: flex;
    justify-content: center;
}

/* 1. BINGKAI BULAT */
.image-wrapper {
    /* Atur ukuran bulatan di sini */
    width: 300px;  
    height: 300px; 
    
    /* Membuat bentuk lingkaran sempurna */
    border-radius: 50%;
    
    /* Memastikan foto tidak keluar dari lingkaran */
    overflow: hidden;
    
    /* Hiasan (Opsional) */
    border: 5px solid rgba(255, 255, 255, 0.2); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    
    /* Posisi biar di tengah */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; 
    
    /* --- PENGATURAN GESER KE ATAS --- */
    
    /* 
       Tanda MINUS (-) artinya geser ke ATAS.
       Angka 1.1 tetap untuk zoom sedikit biar aman.
    */
    transform: scale(1.1) translateY(-10px);
}





/* RESPONSIVE HP */
@media (max-width: 768px) {
    header { padding: 20px 20px; }
    nav ul { display: none; }
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        height: auto;
        padding: 40px 20px;
    }
    .hero-content { max-width: 100%; margin-top: 40px; }
    .hero-content h1 { font-size: 32px; }
    .cta-group { justify-content: center; }
    .image-wrapper { width: 280px; height: 280px; }
    .code-card { display: none; } /* Sembunyikan hiasan di HP biar rapi */
}





/* --- CSS KHUSUS HALAMAN TENTANG (Copy ke style.css paling bawah) --- */

.about-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    width: 100%;
    max-width: 1100px;
}

/* Bagian Kiri (Teks Utama) */
.about-left {
    flex: 1; /* Mengambil 50% lebar */
}

.about-left h3 {
    font-size: 24px;
    color: #38bdf8; /* Biru Neon */
    margin-bottom: 20px;
    font-weight: 600;
}

.about-left p {
    color: #94a3b8; /* Abu-abu terang */
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
    text-align: justify;
}

.about-left strong {
    color: #fff;
}

/* Kotak Statistik Kecil */
.stats-box {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.stats-box h1 {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
}

.stats-box span {
    font-size: 14px;
    color: #94a3b8;
}

/* Bagian Kanan (Kartu Info) */
.about-right {
    flex: 0.8; /* Sedikit lebih kecil dari kiri */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(30, 41, 59, 0.6); /* Transparan gelap */
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}

.info-card:hover {
    border-color: #38bdf8;
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 1);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-text h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.5;
}

.info-text .highlight {
    color: #38bdf8;
    font-weight: 600;
}

.info-text .sub-text {
    font-size: 13px;
    font-style: italic;
}

/* RESPONSIVE (Tampilan HP) */
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column; /* Jadi atas bawah */
        gap: 40px;
    }
    
    .about-left, .about-right {
        width: 100%;
        flex: none;
    }

    .stats-box {
        justify-content: space-between;
    }
}


/* --- PERBAIKAN POSISI AGAR TIDAK KEPOTONG --- */

/* 1. Memperbaiki Container Utama */
.container {
    /* Gunakan !important agar kode lama terganti otomatis */
    align-items: flex-start !important; /* Supaya konten mulai dari ATAS, bukan tengah */
    padding-top: 130px !important;      /* Memberi jarak kosong di atas agar tidak ketabrak Navbar */
    min-height: 100vh;
}

/* 2. Memastikan Halaman Tentang Rapi */
.about-wrapper {
    margin-bottom: 50px; /* Memberi jarak di bawah supaya enak discroll */
    width: 100%;         /* Memastikan lebar penuh */
}

/* 3. Perbaikan jika layar laptop kecil (Agar tidak mepet kiri) */
@media (min-width: 769px) {
    .container {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
}

/* --- CSS HALAMAN SKILL (Taruh paling bawah) --- */

.section-desc {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Grid Layout untuk Skill */
.skill-grid {
    display: grid;
    /* Membuat kolom otomatis (responsive) */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 25px;
    width: 100%;
}

/* Kartu Skill */
.skill-card {
    background: rgba(30, 41, 59, 0.4); /* Gelap transparan */
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Efek Hover (Saat kursor nempel) */
.skill-card:hover {
    transform: translateY(-10px); /* Naik ke atas */
    background: rgba(30, 41, 59, 0.8);
    border-color: #38bdf8;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15); /* Cahaya biru */
}

/* Ukuran Ikon */
.skill-card i {
    font-size: 50px;
    margin-bottom: 15px;
    transition: 0.3s;
}

/* Ikon ikut goyang dikit pas di-hover */
.skill-card:hover i {
    transform: scale(1.1);
}

.skill-card h3 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
}

.skill-card p {
    font-size: 14px;
    color: #94a3b8;
}

/* Agar di HP rapi (2 kolom) */
@media (max-width: 768px) {
    .skill-grid {
        grid-template-columns: repeat(2, 1fr); /* Paksa 2 kolom di HP */
    }
}

/* --- CSS HALAMAN PROYEK (Taruh paling bawah) --- */

.project-grid {
    display: grid;
    /* Membuat 3 kolom di layar lebar, otomatis turun kalau layar kecil */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.project-card {
    background: rgba(30, 41, 59, 0.4);
    border-radius: 15px;
    overflow: hidden; /* Agar gambar tidak keluar kotak saat di-zoom */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #38bdf8;
}

/* Bagian Gambar Proyek */
.project-img {
    width: 100%;
    height: 200px; /* Tinggi gambar tetap */
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

/* Efek Zoom Gambar saat Hover */
.project-card:hover .project-img img {
    transform: scale(1.1);
}

/* Bagian Info Proyek */
.project-info {
    padding: 20px;
}

.project-info h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.project-info p {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Label Teknologi (HTML, CSS, dll) */
.tech-stack {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tech-stack span {
    font-size: 12px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Tombol Kecil */
.btn-small {
    display: inline-block;
    padding: 8px 20px;
    background: #38bdf8;
    color: #0b1120;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-small:hover {
    background: #fff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}


/* --- CSS HALAMAN KONTAK (Taruh paling bawah) --- */

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 20px;
    width: 100%;
}

/* KIRI: Kotak Info */
.contact-info {
    flex: 1;
    background: rgba(30, 41, 59, 0.4);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.contact-info > p { /* Tanda > artinya hanya p langsung di bawah contact-info */
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.info-item .text h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 2px;
}

.info-item .text p {
    color: #94a3b8;
    font-size: 14px;
}

/* Sosmed di Kontak */
.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}
.social-links a {
    width: 40px; 
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #fff;
    transition: 0.3s;
}
.social-links a:hover {
    background: #38bdf8;
    color: #0b1120;
}

/* KANAN: Formulir */
.contact-form {
    flex: 1.2; /* Sedikit lebih lebar dari info */
    background: rgba(30, 41, 59, 0.4);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #0f172a; /* Warna input gelap */
    border: 1px solid #334155;
    color: #fff;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

/* Efek saat input diklik (Fokus) */
.form-group input:focus, 
.form-group textarea:focus {
    border-color: #38bdf8;
    outline: none;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #38bdf8;
    color: #0b1120;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #fff;
    box-shadow: 0 0 15px #38bdf8;
}

/* Responsive HP */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column; /* Jadi atas bawah di HP */
        gap: 30px;
    }
}

/* --- KODE KHUSUS HP (UPDATE) --- */
@media screen and (max-width: 768px) {
    
    /* 1. HEADER: Lepaskan kunci tingginya! */
    header {
        height: auto !important; /* PENTING: Biar headernya bisa memanjang ke bawah */
        flex-direction: column;  /* Susun Logo & Menu ke bawah */
        align-items: center;     /* Rata tengah */
        padding: 20px 0;         /* Kasih jarak atas bawah */
        position: relative;      /* Biar aman */
    }

    /* 2. MENU NAVIGASI: Pastikan muncul & rapi */
    nav {
        width: 100%;             /* Lebar penuh */
        margin-top: 15px;        /* Jarak dari Logo PORTOFOLIO */
    }

    nav ul {
        display: flex;           /* Pastikan tetap Flexbox */
        flex-direction: column;  /* Susun menu ke bawah */
        gap: 15px;               /* Jarak antar tulisan menu */
        padding: 0;
        margin: 0;
        text-align: center;      /* Tulisan di tengah layar */
        width: 100%;
    }

    /* 3. ITEM MENU: Pastikan kelihatan */
    nav ul li {
        display: block;          /* Pastikan dianggap blok */
    }
    
    nav ul li a {
        display: block;          /* Biar area kliknya luas */
        padding: 10px;           /* Biar gampang dipencet jari */
        font-size: 16px;         /* Ukuran font pas */
    }
}
/* --- TAMPILAN KHUSUS LAPTOP/PC --- */

/* 1. Rapikan Wadahnya */
.home-img {
    display: flex;
    justify-content: center; /* Tengah Horizontal */
    align-items: center;     /* Tengah Vertikal */
}

/* 2. Bikin Gambarnya Bulat & Rapi */
.home-img img {
    width: 400px;        /* Ukuran Standar Laptop */
    height: 400px;       /* Wajib sama biar bulat */
    border-radius: 50%;  /* JURUS PEMBULAT */
    object-fit: cover;   /* Biar muka gak gepeng */
    object-position: top center; /* Fokus ke Kepala/Wajah */
    
    /* Hiasan (Opsional) */
    border: 3px solid #00abf0;
    box-shadow: 0 0 20px #00abf0;
    transition: 0.3s;
}

/* 3. Efek kalau mouse diarahkan (Hover) */
.home-img img:hover {
    transform: scale(1.05); /* Membesar dikit */
    box-shadow: 0 0 40px #00abf0;
}


/* --- BATAS TAMPILAN LAPTOP (Di bawah ini kode HP yang tadi) --- */
@media screen and (max-width: 768px) {
  /* =========================================
   PERBAIKAN TOTAL (LAPTOP & HP)
   ========================================= */

/* 1. ATURAN GLOBAL (LAPTOP & HP) */
/* Ini memperbaiki tampilan PC yang jadi kotak raksasa */
.home-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%; /* Di Laptop dia ambil separuh layar */
}

/* Ini bikin gambar jadi bulat & fokus ke wajah */
.home-img img {
    width: 350px;       /* Ukuran Standar Laptop */
    height: 400px;
    border-radius: 50%; /* Wajib Bulat */
    object-fit: cover;  /* Biar gambar pas */
    
    /* SOLUSI KEPALA KEPOTONG: */
    /* Kita suruh dia fokus ke ATAS (Top) lalu Tengah (Center) */
    object-position: top center; 
    
    border: 3px solid #00abf0; /* Pemanis border biru */
    box-shadow: 0 0 20px rgba(0,171,240,0.5); /* Efek glowing */
    z-index: 2;
    transition: 0.3s;
}

/* 2. ATURAN KHUSUS HP (Layar Kecil) */
@media screen and (max-width: 768px) {
    
    /* Susun Layout Atas-Bawah */
    section {
        display: flex;
        flex-direction: column-reverse; /* Gambar di Atas, Teks di Bawah */
        justify-content: center;
        align-items: center;
        padding: 100px 5% 50px 5%;
        min-height: 100vh;
    }

    /* Reset Header biar menu gak ketutup */
    header {
        height: auto !important;
        flex-direction: column;
        padding: 15px;
        background: #081b29;
    }

    nav { width: 100%; margin-top: 15px; }
    nav ul { flex-direction: column; gap: 10px; text-align: center; padding: 0; width: 100%; }

    /* Perbaiki Wadah Foto di HP */
    .home-img {
        width: 100%;       /* Full lebar di HP */
        margin-bottom: 20px;
        margin-top: 0;
    }

    /* Perbaiki Ukuran Foto di HP (Biar gak kegedean) */
    .home-img img {
        width: 230px;      /* Ukuran pas buat HP */
        height: 230px;
        border: 2px solid #00abf0;
    }

    /* Tengahin Teks & Tombol */
    .home-content {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .home-content h1 { font-size: 32px; }
    .btn-box { justify-content: center; width: 100%; display: flex; gap: 10px; }
    .social-media { justify-content: center; width: 100%; display: flex; }
}
    }

    /* 4. BAGIAN TEKS (Supaya di Bawah & Tengah) */
    .home-content {
        width: 100% !important;
        text-align: center !important;
        align-items: center !important;
        display: flex;
        flex-direction: column;
    }

    .home-content h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    /* 5. TOMBOL & SOSMED (Paksa ke Tengah) */
    .btn-box {
        display: flex !important;
        justify-content: center !important; /* KUNCI: Biar tombol ke tengah */
        width: 100% !important;
        gap: 10px;
        margin-top: 20px;
    }
    
    .social-media {
        display: flex !important;
        justify-content: center !important; /* KUNCI: Sosmed ke tengah */
        width: 100% !important;
        margin-top: 20px;
    }

/* --- SELESAI KODE KHUSUS HP --- */

    
    /* 3. Target Tulisan (Hello World / I'm Frontend) biar tengah juga */
    .home-content {
        text-align: center;      /* Ratakan teks ke tengah */
        align-items: center;     /* Kalau pakai flexbox, ini buat tengahin */
        width: 100%;
    }
    
    /* 4. Tombol di bawah juga ketengahin */
    .social-media, .btn-box {
        justify-content: center; /* Biar ikon sosmed ke tengah */
        display: flex;
        width: 100%;
    }

    /* --- GAYA KONTAK KEREN --- */

.contact {
    min-height: 100vh;
    padding: 50px 9%; /* Kiri kanan 9% biar gak mepet */
    background: #081b29; /* Background Gelap */
    color: #ededed;
}

.heading {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.heading span {
    color: #00abf0; /* Warna Biru Andalan */
}

/* Wadah Utama (Kiri Informasi, Kanan Form) */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Biar responsif di HP */
}

/* --- BAGIAN KIRI: INFO --- */
.contact-info {
    flex: 1; /* Ambil separuh layar */
    background: #112e42;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 10px #00abf0; /* Efek Glowing dikit */
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #00abf0;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 24px;
    color: #00abf0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #081b29;
    border-radius: 50%;
}

/* --- BAGIAN KANAN: FORM --- */
.contact-form {
    flex: 1; /* Ambil separuh layar */
}

.contact-form h3 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

/* Kotak Inputnya */
.input-box input, 
.input-box textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    color: #ededed;
    background: #112e42; /* Warna isian gelap */
    border-radius: 10px;
    border: 2px solid transparent; /* Border transparan dulu */
    margin-bottom: 15px;
    resize: none;
    font-family: 'Poppins', sans-serif; /* Pastikan font sama */
}

/* Efek pas diklik (Fokus) */
.input-box input:focus, 
.input-box textarea:focus {
    border-color: #00abf0; /* Border jadi biru */
    background: #081b29;
    outline: none;
}

/* Tombol Kirim */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #00abf0;
    border-radius: 40px;
    box-shadow: 0 0 10px #00abf0;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: .3s;
    width: 100%; /* Tombol full lebar */
}

.btn:hover {
    background: transparent;
    color: #00abf0;
    border: 2px solid #00abf0;
}

/* --- RESPONSIF HP --- */
@media (max-width: 768px) {
    .contact {
        padding: 100px 5%;
    }
    
    .contact-container {
        flex-direction: column; /* Tumpuk ke bawah */
    }
    
    .contact-info, .contact-form {
        width: 100%; /* Lebar full di HP */
    }
}

/* ... (kode header di atasnya biarin aja) ... */
/* 1. Styling Teks Mengetik (Warna & Posisi) */
.typing-text {
    color: #0ea5e9; /* Biru Neon */
    text-shadow: 0 0 15px rgba(14, 165, 233, 0.6); /* Efek Cahaya */
    display: inline !important; /* WAJIB: Supaya tidak jatuh ke bawah */
}

/* 2. Styling Kursor Kedip-kedip */
.typed-cursor {
    color: #0ea5e9; /* Samakan warna dengan teks */
    font-size: 3rem; /* Sesuaikan besar kursor */
    display: inline !important; /* WAJIB: Supaya kursor nempel */
}

/* 3. Merapatkan Jarak Judul & Paragraf */
.hero-content h1 {
    line-height: 1.2;      /* Jarak antar baris 'I'm a' dan 'Frontend' */
    margin-bottom: 5px;    /* Jarak tipis ke deskripsi bawah */
}

.hero-content p {
    margin-top: 0;         /* Pastikan deskripsi langsung nempel naik */
}


