/* --- RESPONSIVE MEDIA QUERIES --- */

/* For Tablets and Mobile (992px and below) */
@media screen and (max-width: 992px) {
    .navbar {
        width: 100%;
        padding: 15px 30px;
        left: 0;
    }

    .nav-links {
        display: none;
        /* Hide links - you can later add a hamburger menu toggle */
    }

    .hero-container,
    .about-container {
        flex-direction: column;
        text-align: center;
        width: 90%;
    }

    .hero-left,
    .hero-right,
    .about-text,
    .about-card {
        width: 100%;
    }

    .hero-right img {
        width: 250px;
        height: 250px;
        margin-top: 40px;
    }

    .section {
        height: auto;
        padding: 100px 0;
    }

    .about-card {
        margin-top: 50px;
    }
}

/* For Small Mobile (768px and below) */
@media screen and (max-width: 768px) {
    .hero-left h1 {
        font-size: 35px;
    }

    .timeline::after {
        left: 31px;
        /* Move vertical line to the left */
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
    }

    .right {
        left: 0%;
    }

    .left .timeline-dot,
    .right .timeline-dot {
        left: 24px;
    }

    .contact-content {
        flex-direction: column;
    }

    .input-group {
        flex-direction: column;
    }

    .proj-overlay {
        left: 0;
        /* Fixes the overlap seen in your screenshot */
    }
}

/* For Extra Small Screens (480px and below) */
@media screen and (max-width: 480px) {

    .exp-grid,
    .proj-grid {
        grid-template-columns: 1fr;
        /* Force single column */
    }

    .logo {
        font-size: 20px;
    }

    .hero-btn {
        display: block;
        margin: 20px auto;
    }
}