/* ============================================= */
/* === Personalized Learner Experience Section === */
/* ============================================= */
.personalized-experience-section {
    background-image: linear-gradient(rgba(10, 20, 30, 0.85), rgba(10, 20, 30, 0.85)), url('../images/hero-personalized-learner-experince.png');
    background-size: cover;
    background-position: center center;
    color: #fff;
    padding: 60px 0;
}

.personalized-experience-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: left;
}

.experience-cards-grid { /* Flex container for the 3 cards */
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
    justify-content: flex-start; /* Align cards to the start of the line */
}

/* In personalized-experience.css */
.experience-card {
    background-color: #34495e; /* Example: Dark desaturated blue/slate. Was rgba(0, 0, 0, 0.5) */
    /* Or try a slightly darker one: background-color: #2c3e50; */
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    flex: 1 1 calc(50% - 13px);
    min-width: 280px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}
.experience-card:hover {
    transform: translateY(-3px);
}

.experience-card.card-bottom-row { /* For the third card to span full width if needed or be distinct */
    flex-basis: 100%; /* Makes this card take full width */
    /* Or if it's just for targeting, specific styles could go here. */
    /* If it should still try to be part of a row of two and then wrap, remove flex-basis: 100% */
}

.experience-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.experience-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f0f0f0;
    opacity: 0.9;
}

.experience-summary { /* Concluding paragraph */
    font-size: 1rem;
    line-height: 1.7;
    max-width: 850px;
    margin: 0; /* Aligns with left-aligned h2 */
    opacity: 0.95;
}

/* --- Personalized Learner Experience Section (Tablet: max-width: 992px) --- */
@media (max-width: 992px) {
    .personalized-experience-section h2 {
        font-size: 2rem;
    }
    .experience-cards-grid {
        justify-content: center; /* Center cards if they don't fill the row */
    }
    .experience-card {
        flex: 1 1 calc(48% - 13px); /* Attempt two cards per row */
    }
    /* If the third card (.card-bottom-row) should still be full width on tablet */
    .experience-card.card-bottom-row {
        flex-basis: 100%;
    }
}

/* --- Personalized Learner Experience Section (Mobile: max-width: 768px) --- */
@media (max-width: 768px) {
    .personalized-experience-section h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    .experience-cards-grid {
        flex-direction: column; /* Stack cards */
        align-items: center; /* Center stacked cards */
    }
    .experience-card,
    .experience-card.card-bottom-row {
        flex-basis: 100%; /* Each card takes full width */
        max-width: 400px; /* Max width for single cards */
        text-align: center; /* Center text within cards */
    }
    .experience-summary {
        text-align: center;
    }
}