@media (max-width: 992px) {
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-content::before {
        display: none;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-content::before {
        left: 30px !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    header {
        background-color: transparent;
        transition: background-color 0.3s;
        box-shadow: none;
    }

    header.scrolled {
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        transition: all 0.3s ease;
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero-text, .hero-image {
        text-align: center;
        padding-right: 0;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content, .contact-container {
        justify-content: center;
        text-align: center;
    }
    
    .about-info {
        grid-template-columns: 1fr;
    }
    
    .skill-card, .tools-card {
        max-width: 100%;
    }

    .filter-btn {
        font-size: 1.0rem;
        padding: 12px 22px;
        margin: 0;
    }

    .social-links {
        justify-content: center;
        text-align: center;
        padding-top: 20px;
    }

    .contact-text h4 {
        text-align: left;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .timeline-content::before {
        display: none;
    }
    
    .hero-text h2 {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
}