/* ============================================
   992px - TABLET RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    /* Global */
    html {
        font-size: 55%;
    }
    
    /* Header & Navigation */
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 8rem;
        right: -100%;
        width: 80%;
        height: calc(100vh - 8rem);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 4rem 0;
        transition: 0.5s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav a {
        font-size: 2.2rem;
        margin: 1rem 0;
    }
    
    /* Sections */
    .section {
        padding: 8rem 5% 3rem;
    }
    
    h2 {
        font-size: 4rem;
    }
    
    /* Home Section */
    .home-content {
        flex-direction: column;
        text-align: center;
        gap: 5rem;
    }
    
    .home-text h1 {
        font-size: 4rem;
    }
    
    .home-img {
        scale: 0.8;
    }
    
    .typing-text {
        font-size: 2.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    /* Education Section */
    .cv-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cv-left {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
    }
    
    .profile-corner-img {
        width: 110px;
        height: 110px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Achievement Section */
    .achievement-content {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 3rem;
    }
    
    .achievement-header {
        margin-bottom: 3rem;
    }
    
    .box-content {
        padding: 2rem;
    }
    
    .title-name {
        font-size: 2rem;
    }
    
    /* Services Section */
    .services-content {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        margin-top: 3rem;
    }
    
    .service-row {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .service-meta {
        align-items: center;
        width: 100%;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #eee;
    }
    
    .service-price {
        text-align: center;
    }
    
    .service-features {
        justify-content: center;
    }
}
/* Reset mặc định cho mobile */
* {
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ---------- FIX FOR SPECIFIC IOS ISSUES ---------- */
@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    .section {
        -webkit-overflow-scrolling: touch;
    }
    
    .home-img img {
        max-height: 60vh;
    }
}

/* ---