.formations-section {
    background-color: #1E1E3D;
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

.formations-section h3 {
    font-size: 32px;
    margin-bottom: 3rem;
    color: #A2B1FF;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.formation-card {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(168, 139, 255, 0.2), 0 0 30px rgba(127, 140, 255, 0.15);
}

.formation-icon {
    font-size: 32px;
    margin-bottom: 1rem;
    color: #A88BFF;
}

.formation-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #D8D8F6;
}

.formation-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
