/* Responsive Styles */

/* Small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .product-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-links li {
        margin: 0.5rem 0;
    }
}

/* Medium devices (tablets, 768px and down) */
@media only screen and (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .product-grid, .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Large devices (desktops, 992px and down) */
@media only screen and (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .nav-links li {
        margin-left: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}