/* Container for the entire products and services section */
.products-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
}

/* Individual product/service card styling */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(21, 44, 71, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(21, 44, 71, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(21, 44, 71, 0.2);
}

.products-container a{
    text-decoration: none;
}

/* Product image styling */
.product-image {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-bottom: 3px solid #BE1823;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.02);
}

/* Product content section */
.product-content {
    padding: 1.5rem;
}

/* Heading styles */
.product-content h3 {
    color: #152C47;
    font-size: 1.25rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.product-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #BE1823, #D3D800);
}

/* Paragraph styles */
.product-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .products-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 1rem;
        gap: 1rem;
    }
    
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-content h3 {
        font-size: 1.1rem;
    }
}

/* Animation for card loading */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.5s ease forwards;
}
