/* ==========================================================================
   Benefits Page Styles
   Bootstrap 5 based - minimal custom CSS
   ========================================================================== */

.benefit-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: rgba(4, 85, 44, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-icon-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Image alternative (for easy swap from icons to images) */
.benefit-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 2px solid #04552c;
}

/* Subtle separator between benefits */
.benefit-row:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .benefit-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .benefit-icon-wrapper .fa-4x {
        font-size: 2.5rem;
    }

    .benefit-image {
        width: 100px;
        height: 100px;
    }
}

/* Multi-column viewports (md+): uniform layout - image left, text right */
@media (min-width: 768px) {
    /* Reset order so all rows have image-left/text-right */
    .benefit-row .order-md-1,
    .benefit-row .order-md-2 {
        order: 0 !important;
    }

    /* Reset text alignment to left for all text columns */
    .benefit-row .col-md-8 {
        text-align: left !important;
    }

    /* Constrain text width for readability, keep near image */
    .benefit-row .col-md-8 p {
        max-width: 480px;
        margin-right: auto;
    }
}
