/* Media Queries for Responsive Design */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    #hero h1 {
        font-size: 2rem;
    }
    #hero p {
        font-size: 1rem;
    }
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .card-body p {
        font-size: 0.9rem;
    }
    form .btn-primary {
        font-size: 1rem;
        padding: 10px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    #hero p {
        font-size: 1.2rem;
    }
    section h2 {
        font-size: 2.25rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero h1 {
        font-size: 3rem;
    }
    #hero p {
        font-size: 1.3rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #hero h1 {
        font-size: 3.5rem;
    }
    #hero p {
        font-size: 1.5rem;
    }
}
