/* =======================================================
   TABLET & LAPTOP KECIL (Max Width: 992px)
   ======================================================= */
@media (max-width: 992px) {
    .hero-container,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-visual {
        max-width: 450px;
        margin: 0 auto;
    }

    .contact-info, .contact-form-wrapper {
        padding: 2rem;
    }
}

/* =======================================================
   SMARTPHONE (Max Width: 768px)
   ======================================================= */
@media (max-width: 768px) {
    /* Kurangi jarak padding atas-bawah pada mobile */
    .section-padding {
        padding: 4rem 0;
    }

    /* Pengaturan Navbar & Menu Mobile Light Mode */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    /* Pengaturan Hero Section */
    .hero-section {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 4rem;
        text-align: center;
    }

    .hero-badge {
        margin: 0 auto 1.5rem auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .typing-wrapper {
        font-size: 1.2rem;
        justify-content: center;
        display: flex;
    }

    .hero-cta-group {
        justify-content: center;
    }

    /* Perkecil Efek Kurva Background agar tidak overflow */
    .hero-section::before {
        width: 120%;
        left: -30%;
        top: -5%;
    }
    
    .hero-section::after {
        width: 100%;
        right: -20%;
        bottom: -10%;
    }

    /* Pengaturan Ukuran Font Judul Section */
    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Kurangi padding pada kartu (Glassmorphism) */
    .expertise-card, .tech-category {
        padding: 1.5rem;
    }

    /* Pengaturan Career Timeline */
    .timeline-item {
        padding-left: 40px;
    }

    .vertical-timeline::before {
        left: 8px;
    }

    .timeline-dot {
        left: 0;
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    /* Pengaturan Footer */
    .footer-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .about-grid {
        display: block !important;
        width: 100%;
    }
    
    .about-text-content p {
        font-size: 0.95rem;
    }
    
    .lead-text {
        font-size: 1.05rem;
    }
}

/* =======================================================
   SMARTPHONE LAYAR KECIL (Max Width: 480px)
   ======================================================= */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    /* Buat tombol CTA memanjang penuh di layar kecil */
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
}