﻿#products-section {
    padding: 10rem 2rem;
    background-color: #DBF5FD;
}

    #products-section h1 {
        color: #0038d1;
        margin-bottom: 50px;
        text-align: center;
    }


    #products-section h2 {
        color: #0038d1;
        text-align: center;
        margin-top: 5rem;
    }

/* Grid layout */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 1rem auto;
    border-bottom: 1px solid #c5c3c3;
    padding-bottom: 3rem;
}

/* Product card */
.product-card {
    width: 300px;
    min-height: 350px;
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: auto;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .product-card img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        margin-bottom: 1rem;
    }

    .product-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: #333;
    }

    .product-card p {
        font-size: 0.9rem;
        color: #686868;
        margin-bottom: 25px;
    }

/* Button */
.learn-btn,
.contact-sale-prd {
    background-color: #0038d1;
    color: #fff;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.contact-sale-prd {
    margin: auto;
    display: block;
}

    .contact-sale-prd:hover {
        border: 1px solid #002ca1;
        color: black;
        background: transparent;
    }

.learn-btn:hover {
    background-color: #002ca1;
}



@media (max-width: 730px) {
    .products-container {
        gap: 2rem;
    }
}


@media (max-width: 700px) {
    .products-container {
        grid-template-columns: repeat(1, minmax(250px, 1fr));
    }

    .product-card {
        width: 100%;
    }
}
