/* General styling for the section */
.products-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
}

/* Title Styling */
.section-title {
    font-size: 3.25rem;
    font-weight: 700;
    color: #01396f;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

/* Container for products */
.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
}

/* Individual product item */
.product-item {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    text-align: center;
}

/* Product image styling */
.product-image {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Hover effects */
.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.product-image:hover {
    transform: scale(1.05);
}

/* Styling for product names */
.product-item h3 {
    font-size: 1.25rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-section {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-item h3 {
        font-size: 1.1rem;
    }
}
