* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
.mainnav {
    background: #fff;
    /* border-bottom: 1px solid #eee; */
    padding-top: 10px;
    padding-bottom: 10px;
}

.brand-name {
    font-size: 22px;
    color: #111;
    font-weight: 700;
}
/* MENUS */
.navbar-nav .nav-link {
    color: #333 !important;
    padding: 10px 20px;
    font-weight: 500;
    transition: .3s ease;
}

/* Hover + active */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #008000 !important;
}

/* Dropdown */
.dropdown-menu {
    border: 1px solid #ddd;
}

.dropdown-item {
    color: #333;
    font-weight: 500;
}
p{
    word-wrap: break-word;
}
.slogan-band {
    width: 100%;
    background: #006233;
    overflow: hidden;
    padding: 12px 0;
}

.slogan-track {
    display: flex;
    width: max-content;
    animation: scrollSlogan 30s linear infinite;
}

.slogan-item {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    margin-right: 60px;
    letter-spacing: 0.5px;
}

/* Animation */
@keyframes scrollSlogan {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slogan-item {
        font-size: 14px;
        margin-right: 40px;
    }
}

.dropdown-item:hover {
    background: #008000;
    color: #fff;
}

/* Toggler mobile */
.navbar-toggler i {
    color: #008000;
    font-size: 22px;
}
footer {
    background: #006233;
    color: white;
    padding: 25px;
    text-align: center;
    /* margin-top: 50px; */
}

/* --- IMAGE --- */


.fixed-elements {
    position: fixed;
    right: 20px;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}
.circle-button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    border: none;
}
.circle-button { background-color: #E8112D; }
.nav-link , h3, h1, h2, h4, h5, h6, a{
    font-family: "Oswald", sans-serif;
}
/* --- TOP BAR --- */
.topbar {
    /* background: #111; */
    color: black;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.topbar .contact-line span {
    color: black;
    font-weight: 500;
}

.topbar i {
    color: #008000; /* vert drapeau du Bénin */
    margin-right: 5px;
}

/* Icônes cercle */
.socials a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    justify-content: center;
    align-items: center;
    border: 2px solid #008000;
    color: #008000;
    border-radius: 50%;
    margin-left: 6px;
    transition: .3s;
}

.socials a:hover {
    background: #008000;
    color: #fff;
}
.benin-banner {
    width: 100%;
    height: 10px;
    /* hauteur demandée */
    display: flex;
    overflow: hidden;
}

/* Vert vertical (1/3) */
.benin-left {
    width: 33.3333%;
    background: #006233;
    /* vert du drapeau */
}

/* Partie droite (2/3) : jaune en haut, rouge en bas */
.benin-right {
    width: 66.6667%;
    display: flex;
    flex-direction: column;
}

.benin-right .top {
    flex: 1;
    background: #FCD116;
    /* jaune */
}

.benin-right .bottom {
    flex: 1;
    background: #CE1126;
    /* rouge */
}

.blog_part .single-home-blog .card {
    border: 0px solid transparent;
    border-radius: 0px;
    background-color: transparent;
}

.blog_part .single-home-blog .card-img-top {
    border-radius: 0px;
}

.blog_part .single-home-blog .card .card-body {
    padding: 20px 0px 0px;
}

.blog_part .single-home-blog .card .dot {
    position: relative;
    padding-left: 15px;
}

.blog_part .single-home-blog .card span {
    color: #8a8a8a;
    margin-bottom: 10px;
    display: inline-block;
    margin-top: 10px;
}

.blog_part .single-home-blog .card .dot:after {
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    top: 6px;
    left: 0;
    background-color: #E8112D;
    border-radius: 2px;
}

a {
    text-decoration: none;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.blog_part .single-home-blog .card h5 {
    font-weight: 700;
    line-height: 1.5;
    font-size: 20px;
    margin-bottom: 25px;
    -webkit-transition: 0.8s;
    transition: 0.8s;
}

.blog_part .single-home-blog .card ul {
    border-top: 1px solid #e1e1e1;
}

.blog_part .single-home-blog .card ul li {
    display: inline-block;
    color: #8a8a8a;
    margin-top: 20px;
    margin-right: 40px;
}

.blog_part .single-home-blog .card ul li span {
    margin-right: 10px;
}

.blog_part .single-home-blog .card span {
    color: #8a8a8a;
    margin-bottom: 10px;
    display: inline-block;
    margin-top: 10px;
}
.hero-slider {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    color: white;
}


.slides {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
}

.slide.active {
    opacity: 1;
}

/* Dégradé du bas */
.gradient-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #00000070;
    pointer-events: none;
}

/* Texte */
.slide-content {
    /* position: absolute; */
    bottom: 25%;
    left: 8%;
    z-index: 10;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 700;
}
@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }
    .slide-content h1 {
        font-size: 3rem;
        font-weight: 700;
    }
}
/* Boutons */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 20;
}

.nav.prev { left: 20px; }
.nav.next { right: 20px; }

/* Miniatures */
.thumbnails {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 10px;
    z-index: 20;
}

.thumbnails img {
    width: 110px;
    height: 65px;
    border-radius: 10px;
    opacity: .5;
    cursor: pointer;
    transition: .3s;
    object-fit: cover;
}

.thumbnails img.active,
.thumbnails img:hover {
    opacity: 1;
    transform: scale(1.05);
}
.slide-text {
    display: none;
    position: absolute;
    top: 40%;
    left: 48%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.slide-text.active-text {
    display: block;
}
.slide-text h1 {
    /* font-size: 3rem; */
    margin-bottom: 0.5rem;
}
h5{
    color: #006233;
}
.slide-text .slogan {
    font-size: 2rem;
    color: #f0f0f0;
    font-style: italic;
}
.blog_part .mots {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog_part .name_pres {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #111;
}

.blog_part img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.contact-card {
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.contact-card i {
    color: #E8112D;
    margin-bottom: 10px;
}

.map-responsive iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}
.card-title{
    color: #006233;
}
.athletes_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 25px;
    padding: 10px;
}

.athlete_card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform .3s ease, box-shadow .3s ease;
}

.athlete_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.athlete_image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform .4s ease;
}

.athlete_card:hover .athlete_image img {
    transform: scale(1.15);
}

.athlete_info {
    position: absolute;
    bottom: 0;
    padding: 20px;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.athlete_info h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
}

.athlete_sport {
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.8;
}
.news_card_sm img {
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.news_card_sm h5 {
    color: #006233;
    font-size: 18px;
    margin-top: 10px;
    font-weight: 600;
}

.sidebar_box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.event_item h6 a {
    text-decoration: none;
    color: #008037; /* vert béninois */
    font-weight: 600;
}

.event_item h6 a:hover {
    text-decoration: underline;
}
section{
    padding: 12px 0 !important;
}
