/* Section des formations */
.programs-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #28a745;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Tabs */
.tabs-container {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    background: #ffffff;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: none;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    background: none;
    color: #28a745;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
}

.tab-button i {
    font-size: 1.2rem;
}

.tab-button:hover {
    color: #28a745;
    background-color: #ffffff;
}

.tab-button.active {
    background-color: #28a745;
    color: white;
}

/* Grille des formations */
.formation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    background-color: #ffffff;
}

/* Cartes de formation */
.program-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #ffffff;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: #28a745;
}

.program-icon {
    background: linear-gradient(135deg, #28a745, #28a745);
    padding: 2rem;
    text-align: center;
}

.program-icon i {
    font-size: 3rem;
    color: white;
}

.program-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-title {
    color: #28a745;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.program-description {
    color: #28a745;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #ffffff;
}

.duree {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-weight: 600;
}

.duree i {
    color: #28a745;
}

/* Animation des onglets */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .formation-grid {
        grid-template-columns: 1fr;
    }

    .tab-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
} 