/* carousel */
.hero-section{
    margin-top: -80px;
}
.hero-img{
    height: 600px;
    width: 100%;
    object-fit: cover;
}
#carouselExample .carousel-item:nth-child(1) .hero-img{
    object-position:top ;
}

#carouselExample .carousel-item:nth-child(2) .hero-img{
    object-position:top  ;

}

#carouselExample .carousel-item:nth-child(3) .hero-img{
    object-position:center ;
}
#carouselExample .carousel-item:nth-child(4) .hero-img{
    object-position:top ;
}
.hero-overlay{
    background: rgb(0, 0, 0, 0.45);
}
.letter-spacing{
    letter-spacing: 0.15em;
    font-size: 0.9rem;
}
@media(max-width: 765px){
    .hero-img{
    height: 450px;
   
}
}
.largeur{
    max-width: 1000px;
    margin: auto;
    /* min-height: 50px; */
}
.titre4{
    text-align: center;
    color: #198754;
}
.texte{
    text-align: justify;

}
.stats-gradient{
    background: linear-gradient(135deg, #4A6FA5, #1E3A5F); 
}
.icon-circle i{
    font-size: 1.6rem;
    color:#4A6FA5;
}
.domaine-card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}
.domaine-card:hover{
    transform: translateY(-6px);
    z-index: 100;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}
.voir-tout-card{
    background: transparent;
}
.cta-box{
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.08), rgba(233, 30, 140, 0.05));
    border-radius: 24px;
    border: 1px solid rgba(74, 111, 165, 0.15);
}
.projet-img{
    height: 220px;
    width: 100%;
    object-fit: cover;
}
.projet-card{
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.projet-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1)!important;
}
.projet-img{
    transition:transform 0.4s ease;
}
.projet-card:hover .projet-img{
    transform: scale(1.05);
}
.page-banner{
    background: linear-gradient(135deg, #4A6FA5, #1E3A5F);
    padding-top: 4rem;
    padding-bottom: 3rem;
}
.identite-img{
    height: 450px;
    width: 100%;
    object-fit:cover;
}
@media (max-width: 768px) {
    .identite-img{
        height: 320px;
   
    }
}
.identite-badge{
    background: #F5F7FA;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color:#1E3A5F;
    display: flex;
    align-items: center;
}
.alig{
    text-align: justify;
}
.valeur-card{
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.valeur-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}
.ico{
    color:#1E3A5F ;
}
.valeur-mini{
    
    background: #F5F7FA;
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.valeur-mini:hover{
    transform: translateY(-4px);
    background: rgba(74, 111, 165, 0.1);
}
.organe-card{
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.organe-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;

}
.organe-numero{
    font-size: 5rem;
    position: absolute;
    top: -10px;
    right: 10px;
    font-weight: 800;
    color:rgba(74, 111, 165, 0.08); 
    z-index: 0;
    line-height: 1;
}
.couleur-p{
    color: #D4AF37;
}
.partenaire-logo{
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.corps-page{
    background: url("img-b-3.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}
.corps-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.corps-page .container{
    position: relative;
    z-index: 1;
}
.wrapper{
    width: 420px;
    max-width: 100%;
    background:  rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
    border-radius: 16px;
    padding:  40px;
}
.wrapper .input-group-text{
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-right: none;
    color: #fff;

}
.wrapper .form-control{
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .2);
    border-left: none;
    color: #fff;
}
.wrapper .form-control::placeholder{
    color: rgba(255, 255, 255, .6);
}
.wrapper .form-control:focus{
    background: rgba(255, 255, 255, .1);
    box-shadow: none;
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}
/* .wrapper .form-check-input{
    background-color: #fff;
    border-color: #fff;
} */
.link-forgot{
    color: #fff;
    font-size: 14.5px;
    text-decoration: none;
}
.link-forgot:hover{
    text-decoration: underline;
}
.wrapper p a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.wrapper p a:hover{
    text-transform: underline;
}
.corps-page-inscription{
    background: url(img-b-3.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}
.corps-page-inscription::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0, 0, 0, 0.5);
}
.corps-page-inscription .container{
    position: relative;
    z-index: 1;
}
.wrapper-inscription{
    max-width: 650px;
    background:rgba(255, 255, 255, 0.08) ;
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
    border-radius: 16px;
    padding: 20px;
}
.wrapper-inscription .form-label{
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 6px;
}
.wrapper-inscription .input-group-text{
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-right: none;
    color: #fff;
}
.wrapper-inscription .form-control{
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .2);
    border-left: none;
    color: #fff;

}
.wrapper-inscription .form-control::placeholder{
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}
.wrapper-inscription .form-control:focus{
    background: rgba(255, 255, 255, .1);
    box-shadow: none;
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}
.wrapper-inscription p a{
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.wrapper-inscription p a:hover{
    text-decoration: underline;
}
.w-40 {
    width: 40% !important;
}
.contact-card{
    max-width: 600px;
    background: #fff;
    border-radius: 16px;
    box-shadow:  0 8px 30px rgba(0, 0, 0, .08);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, .05);
}
.contact-card .form-label{
    font-size: 14.5px;
    color: #333;
    margin-bottom: 6px;
}
.contact-card .input-group-text{
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-right: none;
    color:#6c757d;
}
.contact-card .form-control{
    border: 1px solid #dee2e6;
    border-left: none;
    padding: 10px 15px;
}

.contact-card .input-group .form-control:focus{
    box-shadow: none;
    border-color:#dee2e6 ;
}
.contact-card .input-group:focus-within .input-group-text{
    border-color:#f0ad4e ;
}
.contact-card .input-group:focus-within .form-control{
    border-color:#f0ad4e;
}
.contact-card textarea.form-control {
    border-radius:8px;
    resize: vertical;
}
.contact-card textarea.form-control:focus{
    box-shadow: none;
    border-color: #f0ad4e;
}
#bloc-responsable{
    display: none;
}
#sex-bloc{
    display: none;
}

.adhesion-card{
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    padding: 45px;
    border: 1px solid rgba(0, 0, 0, .05);
}
@media (min-width: 768px){
    .adhesion-card{
        min-width: 600px;
    }
}
.adhesion-card .form-label{
    font-size: 14.5px;
    color: #333;
}
.adhesion-card .input-group-text {
    background: #f8f9fa;
    border: 2px solid #adb5bd;
    border-right: none;
    color: #6c757d;
}
.adhesion-card .form-control {
    border: 2px solid #adb5bd;
    border-left: none;
    padding: 9px 15px;
}
.adhesion-card .input-group .form-control:focus {
    box-shadow: none;
    border-color: #adb5bd;
}

.adhesion-card .input-group:focus-within .input-group-text,
.adhesion-card .input-group:focus-within .form-control {
    border-color: #6f42c1;
}

.type-choix {
    display: flex;
    gap: 15px;
}
.type-radio{
    display: none;
}
.type-label {
    flex: 1;
    text-align: center;
    padding: 18px;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.2s ease;
    overflow: hidden;
    transition: all 0.2s ease;
}

.type-label i{
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}
.type-label:hover {
    border-color: #6f42c1;
    color: #6f42c1;
}
.type-radio:checked + .type-label{
    border-color: #6f42c1;
    background: #f3effc;
    color: #6f42c1;
}
.bloc-conditionnel{
    background: #f8f7fc;
    border: 1px solid #e9e4f7;
    border-radius: 12px;
    padding: 20px 20px 5px;
    margin-bottom: 1.5rem;
}
.adhesion-card input[type="file"].form-control {
    padding: 8px 15px;
}
.type-choix {
    display: flex;
    gap: 15px;
}
.type-icon {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%; 
    object-fit: cover;
    object-position: top; 
    margin: 0 auto 10px auto; 
}
.type-label span {
    display: block;
    
}
@media (max-width: 576px){
    .adhesion-card{
        padding: 20px;
    }
    .adhesion-card h1{
        font-size: 1.35rem;
    }
    .adhesion-card .btn.w-50{
        width: 100% !important;
    }
    .type-choix{
        gap: 10px;
    }
    .type-label{
        padding: 10px;
    }
    .type-icon{
        width: 80px;
        height: 80px;
    }
}
@media (max-width: 767.98px){
    .hero-img{
        height: 650px;
    }
    .hero-overlay{
        padding-top: 90px;
        padding-bottom: 40px;
    }
    .hero-overlay h1{
        font-size: 1.9rem;
        margin-bottom: 1rem !important;
    }
    .hero-overlay .lead{
        font-size: 1rem;
        margin-bottom: 1.25rem !important;
    }
    .hero-overlay .btn-lg{
        font-size: 1rem;
        padding: 0.5rem 1.25rem;
    }
    #carouselExample .carousel-control-prev,
    #carouselExample .carousel-control-next{
        display: none;
    }
}

