* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
    min-height: 100vh;
}

.formation-container h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #333;
}

.formation-container p {
    text-align: center;
    font-size: 1.2rem;
    color: #000000;
    margin: 0 auto 20px;
    max-width: 1000px;
}




.features-cours {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.features-cours .feature {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    position: relative;
    overflow: visible;
    transition: transform 360ms cubic-bezier(.2, .9, .3, 1),
        box-shadow 360ms cubic-bezier(.2, .9, .3, 1),
        border-color 250ms ease;
    will-change: transform, box-shadow;
}

.features-cours .feature i {
    font-size: 3rem;
    color: #f4b216;
    margin-bottom: 15px;
    transition: color 260ms ease, transform 260ms cubic-bezier(.2, .9, .3, 1);
}

.features-cours .feature h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.features-cours .feature p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    text-align: left;
}

.features-cours .feature i {
    text-align: center;
}


.features-cours .feature::after {
    /* subtle animated glow behind each feature card */
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 10px;
    background: radial-gradient(420px 120px at 15% 25%, rgba(244, 178, 22, 0.10), transparent 30%);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 380ms ease, transform 380ms cubic-bezier(.2, .9, .3, 1);
    pointer-events: none;
    z-index: 0;
}

.features-cours .feature>* {
    position: relative;
    z-index: 1;
}

.features-cours .feature:hover {
    cursor: pointer;
    transform: translateY(-14px) rotate(-0.3deg) scale(1.03);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.12);
}

.features-cours .feature:hover::after {
    opacity: 1;
    transform: scale(1.01);
}

.features-cours .feature:hover i {
    transform: translateY(-4px) scale(1.08);
    color: #f4b216;
}





.deroullement-container h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #333;
}

.deroullement-container p {
    text-align: center;
    font-size: 1.2rem;
    color: #000000;
    margin: 0 auto 20px;
    max-width: 1000px;
}




