/*=========================
FORMATION HERO SLIDER
==========================*/

.hero-slider{
    width:100%;
    height:100vh;
    background:
        linear-gradient(rgba(1, 17, 45, 0.55), rgba(8,35,80,0.55)),
        url("../images/novices.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;
}

/* Dark overlay */

.hero-slider .overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.20);
}

/*=========================
CONTENT
==========================*/

.hero-slider .slider-content{

    position:relative;
    z-index:2;

    max-width:850px;
    width:90%;

    text-align:center;
    color:#fff;

    animation:fadeUp 1.5s ease;
}

.hero-slider .slider-content h3{

    font-size:20px;
    text-transform:uppercase;
    letter-spacing:3px;
    color:#9fd4ff;
    margin-bottom:15px;
}

.hero-slider .slider-content h1{

    font-size:65px;
    margin-bottom:20px;
    line-height:1.2;
}

.hero-slider .slider-content p{

    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
}

/*=========================
BUTTON
==========================*/

.hero-slider .btn{

    display:inline-block;
    padding:15px 35px;

    text-decoration:none;

    background:#0b6fc2;
    color:#fff;

    border-radius:40px;

    font-size:17px;
    font-weight:600;

    transition:0.4s;
}

.hero-slider .btn:hover{

    background:#fff;
    color:#0b3d91;
}

/*=========================
FADE ANIMATION
==========================*/

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*=========================
RESPONSIVE
==========================*/

@media(max-width:768px){

    .hero-slider{

        height:80vh;
    }

    .hero-slider .slider-content h1{

        font-size:40px;
    }

    .hero-slider .slider-content h3{

        font-size:16px;
    }

    .hero-slider .slider-content p{

        font-size:16px;
    }

    .hero-slider .btn{

        padding:12px 28px;
    }

}

@media(max-width:480px){

    .hero-slider .slider-content h1{

        font-size:30px;
    }

    .hero-slider .slider-content p{

        font-size:15px;
    }

}


/* *=========================
FORMATION SECTION
==========================*/ */

.formation-section{

    width:100%;
    padding:90px 8%;
    background:#f5f9ff;
}

.formation-heading{

    text-align:center;
    margin-bottom:60px;
}

.formation-heading h2{

    font-size:42px;
    color:#0b3d91;
    margin-bottom:15px;
   
}

.formation-heading p{

    max-width:850px;
    margin:auto;
    line-height:1.8;
    color:#555;
    font-size:17px;
}

/*=========================
GRID
==========================*/

.formation-container{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:70px;
}

/*=========================
CARD
==========================*/

.formation-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.12);

    transition:.5s;

    animation:fadeUp 1s ease;
}

.formation-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 50px rgba(0,0,0,.20);
}

/*=========================
IMAGE
==========================*/

.formation-card img{

    width:100%;
    height:240px;

    object-fit:cover;

    transition:.6s;
}

.formation-card:hover img{

    transform:scale(1.08);
}

/*=========================
TEXT
==========================*/

.formation-card h1{

    font-size:28px;

    color: #eef5ff;
     /* padding:15px 40px; */
     text-align:center;
margin:10px 10px 5px; 
     background:#0b5ed7;
    border-radius: 15px;
}

.formation-card p{

    text-align:center;

    padding:0 25px 30px;

    color:#555;

    line-height:1.8;

    font-size:16px;
}

/*=========================
ANIMATION
==========================*/

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(50px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/*=========================
RESPONSIVE
==========================*/

@media(max-width:768px){

    .formation-heading h2{

        font-size:34px;

    }

    .formation-card h1{

        font-size:24px;

    }

    .formation-card img{

        height:220px;

    }

} 

/*====================================
    FORMATION LIFE
=====================================*/

.formation-life{
    padding:70px 5%;
    background:#f5f9ff;
}

.formation-life-container{

    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.formation-box{

    background:#fff;

    padding:35px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.10);

    transition:.4s;

    border-top:5px solid #0b3d91;
}

.formation-box:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 35px rgba(0,0,0,.15);
}

.formation-icon{

    width:70px;
    height:70px;

    margin:0 auto 20px;

    border-radius:50%;

    background:#0b3d91;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;

    font-size:30px;
}

.formation-box h2{

    text-align:center;

    color:#0b3d91;

    margin-bottom:25px;

    font-size:28px;
}

.formation-box ul{

    list-style:none;

    padding:0;
    margin:0;
}

.formation-box ul li{

    padding:14px 15px;

    margin-bottom:12px;

    background:#eef5ff;

    border-left:5px solid #0b3d91;

    border-radius:8px;

    font-size:17px;

    transition:.3s;
}

.formation-box ul li::before{

    content:"✓";

    color:#0b3d91;

    font-weight:bold;

    margin-right:10px;
}

.formation-box ul li:hover{

    background:#0b3d91;

    color:#fff;
}

/*=========================
RESPONSIVE
==========================*/

@media(max-width:900px){

    .formation-life-container{

        grid-template-columns:1fr;
    }

    .formation-box{

        padding:30px;
    }

}

@media(max-width:600px){

    .formation-life{

        padding:50px 4%;
    }

    .formation-box h2{

        font-size:24px;
    }

    .formation-box ul li{

        font-size:16px;
    }

}