/* Product Section */
.portfolio-item {
    display: flex;
    justify-content: center;
    margin-bottom: 30px; /* Prevent overlap */
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* background: linear-gradient(135deg, #0F2A1D, #041734); */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    min-height: 450px; /* Ensures all cards are the same height */
}

/* Image Styling */
.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

/* Hover effect */
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Content Styling */
.portfolio-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    color: black;
}

.portfolio-content h3 {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.portfolio-content p {
    font-size: 15px;
    opacity: 0.9;
    flex-grow: 1;
}

/* Read More Button */
.read-more {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .portfolio-item {
        margin-bottom: 20px;
    }

    .portfolio-card {
        min-height: auto; /* Allow flexibility for smaller screens */
    }
}
