/* Front-end styles for the Feature Section plugin */

.feature-section {
    padding: 20px;
}

.features-container {
    display: grid;
    grid-auto-rows: 1fr; /* Ensures all rows are of equal height */
    align-items: stretch;
}

.feature-box {
    text-align: center;
    /* Padding and flex properties are now set inline */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .features-container {
        grid-template-columns: 1fr !important;
    }
}
