@media screen and (max-width: 1024px) {
    .main-container {
        width: 90%;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-right {
        justify-content: center;
        display: flex;
    }
    .hero-right img {
        width: 300px;
        height: 300px;
    }
    .grid-3, .skills-grid, .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}
@media screen and (max-width: 1000px) {
    p {
        font-size: 0.9rem;
        line-height: 1.8rem;
    }
    .grid-3 {
        gap: 1rem;
    }
    .skills-right ul li {
        font-size: 0.9rem;
    }
    .hero-right {
        order: -1;
    }
}
@media screen and (max-width: 825px) {
    .burger {
        display:block;
        cursor: pointer;
    }
    .toggle-burger .line1 {
        transform: rotate(-45deg) translate(-5px, 7px);
    } 
    .toggle-burger .line2 {
        opacity: 0;
    }
    .toggle-burger .line3 {
        transform: rotate(45deg) translate(-5px, -7px);
    }   
    nav {
        position: fixed;
        width: 50%;
        top: 0;
        right: 0;
        height: 100vh;
        flex-direction: column;
        background: var(--primaryBackgroundColor);
        border-left: 1px solid var(--borderColor);
        z-index: 9;
        transform: translateX(100%);
        transition: 0.3s ease-in-out;
    }
    nav  ul {
        height: 100vh;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
    .nav-active {
        transform: translateX(0);
    }
    :root {
        --sectionPadding: 4rem 0;
    }
    .section-title {
        font-size: 1.5rem;
        margin: 0.6rem 0 2.5rem;
    }
    .pre-title {
        font-size: 0.8rem;
    }
    .hero {
        height: fit-content;
        grid-template-column: 1fr;
    }
    .hero-right {
        order: -1;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .hero-left {
        text-align: center;
        padding-bottom: 5rem;
    }
    .hero-left .pre-title {
        margin: 0 auto;
    }
    .hero-name {
        font-size: 2.3rem;
        margin-bottom: 0,5rem;
    }
    .skills-grid {
        gap: 1rem;
    }
    footer {
        padding: 2rem 0;
    }
    .hero-right img {
        width: 275px; /* Sesuaikan ukuran lingkaran */
        height: 275px; /* Harus sama dengan width agar lingkaran sempurna */
        border-radius: 50%; /* Membuat bentuk lingkaran */
        object-fit: cover; /* Memastikan gambar tetap proporsional */
        transition: transform 0.3s ease-in-out;
        animation: neonGlow 3s infinite alternate ease-in-out;
        }
}
@media screen and (max-width: 640px) {
    .section-title {
        font-size: 1.3rem;
    }
    .pre-title {
        font-size: 0.7rem;
    }
}
/* Existing styles remain unchanged */


@media screen and (max-width: 768px) {
    .hero-name {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .main-container {
        width: 95%;
    }
    .hero-name {
        font-size: 2rem;
    }
    .hero-right img {
        width: 250px;
        height: 250px;
    }
    .btn {
        font-size: 10px;
        padding: 8px 16px;
    }
    .grid-3, .skills-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
