/* For Tablets (Max Width: 1024px) */
@media (max-width: 1024px) {
    .hero-text {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .skill-container {
        flex-direction: column;
        align-items: center;
    }

    .skill {
        width: 80%;
    }
}

/* For Mobile Phones (Max Width: 768px) */
@media (max-width: 768px) {
    /* Adjust Navbar */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 10px;
        background: black;
        padding: 10px;
        border-radius: 5px;
        width: 150px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Adjust Hero Section */
    .hero {
        padding: 80px 20px;
    }

    .hero-text {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    /* Adjust Skills Section */
    .skill-container {
        flex-direction: column;
        align-items: center;
    }

    .skill {
        width: 90%;
    }

    .progress {
        height: 8px;
    }

    /* Adjust Contact Form */
    .contact-form {
        width: 90%;
    }

    .contact-form input, .contact-form textarea {
        font-size: 14px;
    }

    .contact-form button {
        font-size: 16px;
    }
}

/* For Small Mobile Phones (Max Width: 480px) */
@media (max-width: 480px) {
    .hero-text {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-button {
        font-size: 16px;
        padding: 8px 15px;
    }

    .skill-container {
        width: 100%;
    }

    .skill {
        width: 95%;
    }

    .progress {
        height: 6px;
    }

    .contact h2 {
        font-size: 20px;
    }

    .contact-form input, .contact-form textarea {
        padding: 8px;
    }

    .contact-form button {
        font-size: 14px;
        padding: 8px;
    }
}
