/*
Template Name: Academy
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/


/*********************hero carousel****************/

/* Conteneur Bootstrap : on ne touche PAS ses dimensions */
#heroBanner {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Div enfant portant le fond : dimensions et image ici */
.hero-slide {
    width: 100%;
    height: 60vh;
    min-height: 340px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Overlay foncé centrant le texte */
.hero-caption {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20);
    display: flex;
    align-items: center;
    z-index: 2;
}

/* ── Texte ─────────────────────────────────────────── */
.hero-text {
    padding: 0;
    margin-left: 5px;
    text-align: left;
    /* border-left: 5px solid #0251A8; */
    padding-left: 1.6rem;
}

/* Étiquette : fond semi-transparent, badge discret */
.hero-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff !important;
    background: rgba(2, 81, 168, 0.75);
    padding: .25rem .75rem;
    border-radius: 2px;
    margin-bottom: 1rem;
    animation: heroFadeIn .4s ease both;
}

/* Barre supprimée — le filet gauche joue ce rôle */
.hero-bar { display: none; }

/* Titre principal : contraste maximum */
.hero-headline {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem) !important;
    font-weight: 800 !important;
    line-height: 1.15;
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.65);
    margin-bottom: .9rem;
    animation: heroFadeIn .55s ease .12s both;
}

/* Description : fond légèrement foncé pour lisibilité */
.hero-desc {
    display: inline-block;
    font-size: clamp(.85rem, 1.3vw, .95rem) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    background: rgba(0, 0, 0, 0.28);
    padding: .45rem .8rem;
    border-radius: 4px;
    line-height: 1.65;
    max-width: 500px;
    margin-bottom: 0;
    animation: heroFadeIn .7s ease .22s both;
}

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

/* ── Indicateurs ────────────────────────────────────── */
#heroBanner .carousel-indicators { z-index: 10; margin-bottom: 1.2rem; }

#heroBanner .carousel-indicators [data-bs-target] {
    width: 12px; height: 12px;
    border-radius: 50%;
    border-top: none; border-bottom: none;
    opacity: .7; background-color: #fff;
}

#heroBanner .carousel-indicators .active {
    background-color: #0251A8;
    opacity: 1;
}

/* ── Flèches ─────────────────────────────────────────── */
#heroBanner .carousel-control-prev,
#heroBanner .carousel-control-next { z-index: 10; width: 5%; }

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero-slide { height: 42vh; min-height: 240px; }
    .hero-text  { padding: 0 5px; }
}

/*********************hero carousel end****************/

.text-white, .text-light {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Améliore la lisibilité du texte sur un arrière-plan */
}



.form-check-input:checked{
background:#1a2844;
border-color:#1a2844; 
 }
.form-check-input:checked[type=radio]{
background-image:none; 
 }
.center_h1l{
text-align:left;
margin-top:100px;
padding: 30px;

 }
 .center_h1ll{
    text-align:left;
    /* margin-top:20px; */
    padding: 30px;
    
     }
.center_h1r .button_1:hover{
background:#1a2844;
 }
/*********************center_home_end****************/

/*********************course****************/
.course_2 .nav-tabs {
border:none; 
}
.course_2 .nav-tabs .nav-link {
border-radius: 5px;
border:1px solid #fff;
color: #1a2844;
background:#fdfafb; 
margin: 0 5px 0px 0px;
padding: 12px 20px;
font-weight:bold;
}
.course_2 .nav-tabs .nav-link:hover {
color: #fff;
background:#a61d37;
border:1px solid #a61d37;
}
.course_2 .nav-tabs .nav-link.active {
border:1px solid #a61d37;
color: #fff;
background:#a61d37;
}
/*********************course_end****************/

/*********************learn****************/
.learn_2i{
opacity:0.9; 
cursor:pointer;
 }
.learn_2i:hover{
opacity:1; 
 }
.about_h1l2{
bottom:-70px; 
 }
.about_h2{
margin-top:80px; 
 }

/*********************learn_end****************/

/*********************event****************/
.event_1li{
border-radius:5px 5px 0px 0px; 
 }
.event_1li1{
border-radius:0px 0px 5px 5px; 
 }
.event_1r .course_1r .button:hover{
background:#a61d37; 
 }
/*********************event_end****************/

/*********************prize****************/
.prize_1l{
padding:80px 100px; 
 }
.prize_1lil span{
width:120px;
height:120px;
line-height:120px; 
 }
/*********************prize_end****************/

@media screen and (max-width : 767px){
.hero-overlay {
padding-top:20px!important;
padding-bottom:20px!important; 
 }
.hero-overlay br{
display:none;
 }
.center_h1l{
padding-top:0;
text-align:center;
margin-bottom:15px;
 }
.center_h1l p{
text-align:left;
 }
.center_h1l h2{
font-size:22px;
 }
.center_h1r h3{
font-size:22px;
text-align:center; 
 }
.center_h1r .button_1{
display:block;
width:80%;
margin-left:auto;
margin-right:auto;
text-align:center; 
 }
.spec_1i{
margin-top:8px;
margin-bottom:8px; 
 }
.course_1r {
text-align:center!important;
margin-top:15px; 
 }
.course_1l {
text-align:center;
 }
.course_2 .nav-tabs .nav-link{
margin-top:5px;
margin-bottom:5px;  
 }
.about_h1l img{
width:100%; 
 }
.about_h1l2 {
position:static!important;
margin-top:15px; 
 }
.about_h1r{
margin-top:15px;
text-align:center;
 }
.about_h1r p{
text-align:left;
 }
.about_h1r .fw-bold{
text-align:left; 
 }
.about_h2{
margin-top:20px; 
 }
.about_h2l h3{
text-align:center; 
 }
.event_1li1 .button{
display:block;
width:80%;
margin-left:auto;
margin-right:auto;
text-align:center;  
 }
.event_1r{
margin-top:15px; 
 }
.course_1l p{
text-align:left;  
 }

.prize_1l {
padding:30px 15px;
text-align:center; 
 }
.prize_1l p{
text-align:left; 
 }
.prize_1lir{
margin-top:15px; 
 }

 }

@media (min-width:576px) and (max-width:767px) {


 }
@media (min-width:768px) and (max-width:991px) {
.hero-overlay {
padding-top:20px!important;
padding-bottom:20px!important; 
 }
.spec_1i .font_60{ 
font-size:30px; 
 }
.spec_1i h5{ 
font-size:14px; 
 }
.learn_2i h6{
font-size:12px;  
 }
.learn_2i .font_60{ 
font-size:30px; 
 }
.about_h1l img{
width:100%; 
 }
.course_1r .button{
padding: 1rem 0.5rem;
 }
.prize_1l {
padding:30px 15px;
 }
.prize_1lil span {
width: 80px;
height: 80px;
line-height:80px;
font-size:40px;
}
 }

@media (min-width:992px) and (max-width:1200px) {
.course_1r .button{
padding: 1rem 1rem;
 }
.prize_1l {
padding:30px 15px;
 }
 }
@media (min-width:1201px) and (max-width:1330px) {

 }


