@media (max-width: 768px) {

    .hero-bg {
        height: 75%;
        background-position: left;
        background: linear-gradient(rgba(30, 30, 60, 0.4), rgba(28, 10, 30, 0.6)), 
                url('hero-mobile.jpeg');
        background-size: cover;
    }
    
    .hero-detail {
        padding-top: 190px;
    }
    /* hamburger menue */
     .hamburger {
        display: block;
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
    }
    
    /* Hide regular menu */
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 20px 0;
        z-index: 1000;
    }
    
    /* Show menu when checkbox is checked */
    #hamburger-toggle:checked ~ nav ul {
        display: flex;
    }
    
    /* Adjust menu items */
    nav ul li {
        /* margin: 15px 0; */
        text-align: center;
    }
    
    nav ul li a {
        padding: 12px 0;
        display: block;
    }

    /* hero details  */
    .hero h1 {
        font-size: 2.7rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .interests {
        justify-content: center;
    }
    
    .stats {
        flex-direction: column;
        max-width: 550px;
        display: flex;
        gap: 15px;
        margin: 50px auto 0;
    }

    .stat-item {
    padding: 10px;
    }

    .stat-item .number {
        font-size: 2.5rem;
        font-weight: 600;
        margin-bottom: 0px;
    }
    
    .travel-gallery,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-bg {
        height: 50%;
        background-position: left;
    }
    
    .hero-content {
        padding-top: 120px;
    }
    
    .hero-profile {
        width: 120px;
        height: 120px;
        top: -60px;
    }

    .interest-item {min-width: 360px;}
    
    .contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    }

    section {
    padding: 40px 0;
    position: relative;
    z-index: 2;
    }

    .hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    }

    .section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    }

    .cta-box {
    margin-top: 5px;
    }

}
