/* ============================================= */
/* === Mobile-First Action Planning Section  === */
/* ============================================= */
.mobile-first-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.mobile-first-section::before { /* Blurred background image */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/hero-mobile-first-action-planning.png');
    background-size: cover;
    background-position: center center;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 0;
}

.mobile-first-section::after { /* Fading overlay */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.85); /* INCREASED OPACITY: Was 0.65, try 0.8 or 0.85 or 0.9 */
    z-index: 1;
}

.mobile-first-section .container { /* Content container for this section */
    position: relative;
    z-index: 2; /* Above background effects */
}

.mobile-first-content-wrapper { /* Wrapper for the text content on the left */
    max-width: 100%; /* Text content takes about half the space, image implies on right */
}

.mobile-first-section h2 {
    font-size: 2.2rem;
    color: #3E593C;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: left;
}

.features-list { /* List of features with icons */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced gap a bit as cards will have internal padding */
    margin-bottom: 30px;
}

.feature-detail-item { /* Each feature (icon + text) - NOW STYLED AS A CARD */
    display: flex;
    align-items: flex-start; /* Keeps icon and text aligned at the top */
    text-align: left;
    background-color: #ffffff; /* Solid white background for the card */
    /* Or a very light grey: background-color: #f9f9f9; */
    padding: 20px;             /* Inner padding for the card content */
    border-radius: 8px;        /* Rounded corners for the card */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow to lift the card */
    /* transition: transform 0.2s ease-in-out; */ /* Optional: hover effect */
}

/* Optional: hover effect for cards */
/*
.feature-detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
*/

.feature-detail-icon { /* The SVG icon (<img> tag) */
    width: 28px;
    height: 28px;
    margin-right: 20px;
    flex-shrink: 0;
    /* If your icons are SVGs and you want to color them with CSS, ensure they are designed to accept 'fill: currentColor' or similar */
    /* color: #3E593C; */ /* Example: Inherit color from a parent or set explicitly if needed */
}

.feature-detail-text h3 {
    font-size: 1.2rem;
    color: #333; /* Stays dark, good on white card */
    margin-top: 0; /* Ensure no extra margin if icon is taller */
    margin-bottom: 8px; /* Adjusted margin */
    font-weight: 600;
}

.feature-detail-text p {
    font-size: 0.95rem;
    color: #555; /* Stays dark grey, good on white card */
    line-height: 1.6;
    margin-bottom: 0; /* Remove bottom margin if card padding handles spacing */
}

.mobile-experience-summary { /* Concluding paragraph for this section */
    font-size: 1rem;
    line-height: 1.7;
    color: #444; /* This text is still directly on the overlay, might need its own card or background if it's also hard to read */
    text-align: left;
    /* If you want this on a card too, you could wrap it in a div and apply similar card styling */
    /* For example:
        background-color: #ffffff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-top: 30px;
    */
}

/* --- Mobile-First Section (Tablet & Mobile: max-width: 992px) --- */
/* No changes needed here for card style itself, but existing responsive rules for .mobile-first-content-wrapper will apply */
@media (max-width: 992px) {
    .mobile-first-content-wrapper {
        max-width: 75%;
    }
    .mobile-first-section h2 {
        font-size: 2rem;
    }
    .features-list {
        gap: 15px; /* Adjust gap for tablets if needed */
    }
    .feature-detail-item {
        padding: 15px; /* Slightly reduce card padding on tablets */
    }
}

@media (max-width: 768px) {
    .mobile-first-section {
        padding: 40px 0;
    }
    .mobile-first-content-wrapper {
        max-width: 100%;
        padding: 0 15px; /* This padding might affect full-width cards, consider if it should be on .container instead */
    }
    .mobile-first-section h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    .feature-detail-item {
        /* Existing commented-out styles for centering items might be useful if card content should center */
        /* flex-direction: column; */
        /* align-items: center; */
        /* text-align: center; */
        padding: 15px; /* Ensure padding is consistent or adjusted for mobile */
    }
    /* If centering feature items text inside cards on mobile:
    .feature-detail-item {
        text-align: center;
    }
    .feature-detail-icon {
        margin-right: auto; // Center icon if flex-direction is row
        margin-left: auto;  // Center icon if flex-direction is row
        margin-bottom: 10px; // Add margin if icon is above text (flex-direction: column)
    }
    .feature-detail-text {
        width: 100%; // Ensure text block uses full width for centering
    }
    */
    .mobile-experience-summary {
        text-align: center;
        /* If making the summary a card on mobile too:
        background-color: #ffffff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-top: 20px;
        */
    }
}