/********** Template CSS **********/
:root {
    --primary: #CE1126;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
/* Sous-menu Premium */

.navbar .dropdown-menu{
    border: none;
    border-radius: 0 0 10px 10px;
    padding: 5px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
}

.navbar .dropdown-menu .dropdown-item{
    padding: 10px 20px;
    color: #0A2342;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    transition: all .3s ease;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus{
    background: #CE1126;
    color: #fff;
    padding-left: 28px;
}

.navbar .dropdown-menu .dropdown-item.active{
    background: #CE1126;
    color: #fff;
}

/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*==================================
      QUI SOMMES-NOUS
===================================*/

.ab-about-home{

    background:
    linear-gradient(rgba(8,18,35,.95),rgba(8,18,35,.95)),
    url(img/bg-pattern.png);

    background-size:cover;
    background-position:center;

    padding:80px 40px;

    margin-top:0;

    position:relative;

    overflow:hidden;

}

.ab-about-home::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:6px;

    height:100%;

    background:#CE1126;

}

.ab-section-heading{

    margin-bottom:35px;

}

.ab-section-subtitle{

    color:#CE1126;

    letter-spacing:3px;

    font-weight:700;

    font-size:14px;

    text-transform:uppercase;

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-bottom:15px;

}

.ab-section-subtitle i{

    font-size:20px;

}

.ab-section-heading h2{

    color:#fff;

    font-size:42px;

    font-weight:800;

    margin-bottom:0;

}

.ab-about-home p{

    color:#d8d8d8;

    line-height:2;

    text-align:justify;

    font-size:17px;

}

.ab-about-box{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    border-radius:15px;

    padding:45px 35px;

    text-align:center;

    transition:.4s;

}

.ab-about-box:hover{

    transform:translateY(-8px);

    border-color:#CE1126;

}

.ab-about-icon{

    width:90px;

    height:90px;

    background:#CE1126;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto auto 25px;

    font-size:36px;

    color:#fff;

    box-shadow:0 10px 30px rgba(206,17,38,.35);

}

.ab-about-box h3{

    color:#fff;

    font-size:26px;

    margin-bottom:20px;

    font-weight:700;

}

.ab-about-box p{

    color:#e8e8e8;

    font-style:italic;

    line-height:1.9;

    margin-bottom:0;

}

@media(max-width:991px){

    .ab-about-home{

        padding:70px 25px;

    }

    .ab-section-heading h2{

        font-size:32px;

    }

}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/bann.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}



/*=============================
        ACTUALITES
==============================*/

.ab-news-card{

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    transition:.4s;

    height:100%;

}

.ab-news-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 50px rgba(0,0,0,.18);

}

.ab-news-img{

    position:relative;

    overflow:hidden;

}

.ab-news-img img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.6s;

}

.ab-news-card:hover img{

    transform:scale(1.08);

}

.ab-news-badge{

    position:absolute;

    top:18px;

    left:18px;

    background:#CE1126;

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

.ab-news-content{

    padding:30px;

}

.ab-news-meta{

    display:flex;

    justify-content:space-between;

    margin-bottom:18px;

    font-size:14px;

    color:#777;

}

.ab-news-meta span i{

    color:#CE1126;

    margin-right:6px;

}

.ab-news-content h4{

    font-size:22px;

    line-height:1.4;

    margin-bottom:18px;

}

.ab-news-content h4 a{

    color:#0A2342;

    text-decoration:none;

    transition:.3s;

    font-weight:700;

}

.ab-news-content h4 a:hover{

    color:#CE1126;

}

.ab-news-content p{

    color:#666;

    line-height:1.9;

    text-align:justify;

}

.ab-news-btn{

    display:inline-flex;

    align-items:center;

    margin-top:15px;

    color:#CE1126;

    font-weight:700;

    text-decoration:none;

    transition:.3s;

}

.ab-news-btn:hover{

    color:#0A2342;

}

.ab-news-btn i{

    transition:.3s;

}

.ab-news-btn:hover i{

    transform:translateX(5px);

}



/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Section about ***/

.ab-president-section{
    padding:100px 0;
    background:#fff;
}

.ab-president-wrapper{
    display:flex;
    align-items:center;
    gap:60px;
}

/* BOUTON LIRE LA SUITE */

.ab-readmore-btn{
    margin-top:20px;
    background:#0A2342;
    color:#fff;
    border:none;
    padding:15px 35px;
    border-radius:6px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.ab-readmore-btn:hover{
    background:#CE1126;
    transform:translateY(-2px);
}

/* PHOTO */

.ab-president-photo{
    position:relative;
    flex:0 0 42%;
}

.ab-president-photo img{
    width:100%;
    border-radius:12px;
    display:block;
    box-shadow:0 25px 60px rgba(0,0,0,.18);
}

/* LEGENDE */

.ab-president-caption{
    position:absolute;
    left:30px;
    bottom:30px;
    background:rgba(10,15,25,.90);
    padding:20px 25px;
    border-left:5px solid #CE1126;
    border-radius:8px;
    backdrop-filter:blur(10px);
}

.ab-president-caption h3{
    color:#fff;
    margin:0;
    font-size:1.3rem;
    font-weight:700;
}

.ab-president-caption span{
    color:#d8d8d8;
    font-size:.95rem;
}

/* CONTENU */

.ab-president-content{
    flex:1;
}

.ab-president-line{
    width:80px;
    height:4px;
    background:#CE1126;
    margin-bottom:25px;
}

.ab-president-subtitle{
    color:#CE1126;
    font-size:.9rem;
    font-weight:700;
    letter-spacing:3px;
}

.ab-president-title{
    margin-top:15px;
    margin-bottom:30px;
    font-size:2.8rem;
    line-height:1.2;
    color:#0A2342;
    font-weight:800;
}

.ab-president-content p{
    color:#555;
    font-size:1.05rem;
    line-height:2;
    text-align:justify;
    margin-bottom:18px;
}

.ab-president-quote{
    margin-top:35px;
    padding-left:25px;
    border-left:4px solid #CE1126;
    font-size:1.3rem;
    color:#0A2342;
    font-style:italic;
    font-weight:600;
}

/* TEXTE COMPLET */

.ab-president-fulltext{
    display:none;
    margin-top:0;
}

.ab-president-fulltext p{
    text-align:justify;
    line-height:2;
    font-size:1.05rem;
    color:#555;
    margin-bottom:20px;
}

/* MODAL */

.ab-president-modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.85);
    z-index:99999;
    display:none;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.ab-president-modal.active{
    display:flex;
}

.ab-president-modal-content{
    background:#fff;
    width:100%;
    max-width:950px;
    max-height:90vh;
    overflow-y:auto;
    border-radius:12px;
    position:relative;
    animation:presidentModal .4s ease;
    box-shadow:0 30px 80px rgba(0,0,0,.4);
}

@keyframes presidentModal{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.ab-president-modal-header{
    background:#0A2342;
    padding:35px;
    color:#fff;
    text-align:center;
}

.ab-president-modal-header h2{
    margin:0;
    font-size:2rem;
    font-weight:800;
    color : #fff;
}

.ab-president-modal-header span{
    display:block;
    margin-top:10px;
    color:#dcdcdc;
}

.ab-president-modal-body{
    padding:40px;
}

.ab-president-modal-body p{
    text-align:justify;
    line-height:2;
    color:#555;
    margin-bottom:20px;
}

.ab-president-close{
    position:absolute;
    top:15px;
    right:20px;
    background:none;
    border:none;
    color:#fff;
    font-size:40px;
    cursor:pointer;
    z-index:2;
}

.ab-president-close:hover{
    opacity:.8;
}

/* RESPONSIVE */

@media(max-width:991px){

    .ab-president-wrapper{
        flex-direction:column;
        gap:40px;
    }

    .ab-president-photo{
        width:100%;
        max-width:500px;
    }

    .ab-president-title{
        font-size:2rem;
    }

    .ab-president-content{
        width:100%;
    }

    .ab-president-fulltext{
        display:block !important;
    }

    .ab-readmore-btn{
        display:none;
    }

    .ab-president-modal{
        display:none !important;
    }
}

@media(max-width:576px){

    .ab-president-section{
        padding:70px 0;
    }

    .ab-president-caption{
        left:15px;
        right:15px;
        bottom:15px;
        padding:15px;
    }

    .ab-president-caption h3{
        font-size:1rem;
    }

    .ab-president-title{
        font-size:1.6rem;
    }

    .ab-president-content p{
        font-size:.98rem;
        line-height:1.8;
    }

    .ab-president-quote{
        font-size:1.05rem;
    }

    .ab-president-modal-content{
        max-height:95vh;
    }

    .ab-president-modal-body{
        padding:25px;
    }
}
/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/* Bandeau supérieur */
.top-header {
    background: #102A43 !important; /* Bleu sombre */
}

.top-header a,
.top-header small,
.top-header li,
.top-header .breadcrumb-item {
    color: #F8F9FA !important;
}

.top-header .text-primary,
.top-header .text-secondary {
    color: #F8F9FA !important;
}

.top-header .border-end {
    border-color: rgba(255,255,255,0.2) !important;
}

.top-header a:hover {
    color: #D6E4F0 !important;
}

.top-header .btn-square i {
    color: #F8F9FA !important;
}
:root {
    --primary: #CE1126; /* Rouge du parti */
}
.top-header .btn-square {
    transition: all 0.3s ease;
}

.top-header .btn-square:hover {
    background-color: rgba(255,255,255,0.1);
}

.top-header .btn-square:hover i {
    color: #FFFFFF !important;
    transform: scale(1.2);
}
.site-title {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.title-main {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #555;
}

.title-sub {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #CE1126; /* Rouge du parti */
}
.party-icon {
    border: 2px solid #CE1126;
}

.party-icon i {
    color: #CE1126;
}
.btn-adherer {
    background: #FFFFFF;
    color: #102A43;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-adherer:hover {
    background: #CE1126;
    color: #FFFFFF !important;

    /* Bordure presque blanche */
    border: 1px solid rgba(255, 255, 255, 0.9);

    /* Ombre noire */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);

    /* Petit effet de soulèvement */
    transform: translateY(-3px);
}
.btn-top-parti {
    background-color: #CE1126;
    border-color: #CE1126;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.btn-top-parti:hover {
    background-color: #a50d1d;
    border-color: #F8F9FA;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Statistiques */
.fact-item i {
    color: #CE1126 !important;
}

.fact-item h1 {
    color: #102A43;
    font-weight: 800;
}
.fact-item {
    border-top: 4px solid #CE1126;
}
.img-border img {
    height: calc(100% - 3rem);
}