/* General Mobile Devices (up to 576px) */
@media (max-width: 576px) {
    .carousel-caption {
        padding: 1rem;
        text-align: center; /* Center align text for better readability */
    }

    .carousel-caption h1 {
        font-size: 1.5rem; /* Reduce heading size */
        margin: 0.5rem 0;
    }

    .carousel-caption p {
        font-size: 1rem; /* Adjust paragraph size */
        margin: 0.5rem 0;
    }

    h6{
        font-size: 10px!important;
    }

    .product-title{
        font-size: 11px!important;
        padding-bottom: 0;
        margin-bottom: 2px;
    }
    h4{
        font-size: 14px;
    }

    .product-button{
        font-size: 12px;
    }

    .carousel-inner img {
        height: 200px; /* Limit image height */
        object-fit: cover; /* Ensure the image fits well */
    }
}

/* Slightly Larger Mobile Devices (up to 768px) */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.8rem; /* Slightly larger heading size for tablets */
    }

    .carousel-caption p {
        font-size: 1.1rem; /* Slightly larger paragraph size for tablets */
    }


}
