* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Styles pour la nouvelle navbar */
.navbar {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1e293b;
}

.brand-logo {
    height: 40px;
    width: auto;
    /* margin-right: 0.5rem; */
}

.brand-text {
    font-weight: 600;
    color: #1e293b;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6;
    background-color: #eff6ff;
}

/* Ajuster le contenu pour la navbar fixe */
#homePage_section {
    margin-top: 80px;
}

.inline-flex {
    margin: 0;
}
/* Responsive pour la nouvelle navbar */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-brand .brand-text {
        display: none;
    }
    
    .brand-logo {
        height: 35px;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    #homePage_section {
        margin-top: 120px;
    }
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding-left: 80px;
    padding-right: 80px;
    padding-top: 5px; */
}

/* img {
    height: 50px; 
} */

.nav-links {
    display: flex;
    gap: 30px;
    /* justify-content: center; */
    /* flex-grow: 1; */
    color: #000000;
    /* font-family: 'Roboto'; */
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    /* list-style: none; */
    /* text-decoration: none; */
}

.burger-menu,
#openBtn,
.close {
    display: none;
    ;
}

.lnk {
    list-style: none;
    color: rgb(102, 102, 102);
    text-decoration: none;
    /* transition: color 0.3s; */
}

.lnk:hover {
    color: #000000;
    /* text-shadow: 2px 0.5px 2px rgba(0, 0, 0, 0.25); */
}

.closeBtn {
    display: none;
}

/* Conteneur des boutons CTA */
.btn-cta {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    position: static;
}

/* Style de base pour tous les boutons */
.btn,
.btn-candidat,
.vote-btn,
.diaspora-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 280px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Bouton Vote - Bleu moderne */
.vote-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: 2px solid transparent;
}

.vote-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    color: white;
}

/* Bouton Diaspora - Blanc dégradé réfléchissant avec écriture noire */
.diaspora-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    color: #1a202c;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.diaspora-btn:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e0 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    color: #1a202c;
    border-color: #cbd5e0;
}

/* Bouton Contact - Style épuré */
.btn.cntc {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    min-width: auto;
    font-size: 1rem;
    border-radius: 0.75rem;
}

.btn.cntc:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
    color: white;
}

/* Effet de brillance sur hover */
.btn::before,
.vote-btn::before,
.diaspora-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before,
.vote-btn:hover::before,
.diaspora-btn:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-cta {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }

    .btn,
    .vote-btn,
    .diaspora-btn {
        min-width: 100%;
        max-width: 320px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

#homePage_section {
    /* margin-top: 4rem; */
    /* Décale l’ensemble de la section pour éviter le chevauchement */
}

#home {
    height: calc(100vh - 80px);
    background: linear-gradient(180deg, rgba(180, 86, 15, 0.83) 0%, rgba(202, 89, 3, 0.83) 26%, rgba(202, 122, 61, 0.83) 100%), url(./assets/img/Cover\ page.JPG);
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* margin-top: 80px; */
    overflow: hidden;
}

/* #home{
    background: linear-gradient(180deg, rgba(180, 86, 15, 0.83) 0%, rgba(202, 89, 3, 0.83) 26%, rgba(202, 122, 61, 0.83) 100%), url(./assets/img/Cover\ page.JPG);
    background-repeat: no-repeat;
    background-position: center;

    background-size: cover;
    height: calc(100vh - 4rem);
    position: relative;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
} */

.body_section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex: 1;
    margin-top: 4rem;
}

.toptext {
    margin-bottom: 1.5rem;
}

.toptext p {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.simpletext {
    margin-bottom: 2.5rem;
}

.simpletext p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #f8fafc;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 7rem;
}

.slogan {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.slogan p {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.container-about {
    /* display: flex; */
    display: grid;
    /* flex-wrap: wrap; */
    justify-content: center;
    align-items: center;
    text-align: justify;
    gap: 80px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    margin-left: 12rem;
    margin-right: 12rem;
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.title-section {
    display: flex;
    justify-content: center;
    margin-top: 1.8rem;
    color: rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    /* font-family: 'inter'; */
}

#about {
    display: grid;
    font-family: 'inter';
}

.container-about p {
    max-width: 32.75rem;
    text-align: justify;
    /* height: 415px; */
    /* flex-shrink: 0;
    font-size: 24px;
    font-style: normal;
    font-weight: 400; */
    line-height: 165.023%;
    /* 39.605px */
    /* margin-right: 120px;
    margin-top: 0;
    margin-bottom: 0; */
    font-size: 0.92rem;
}

/* .pp{
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto; 
} */

/* img{
    border-radius: 50%;
    width: 150px;
    height: 150px;
} */

.imgPp {
    width: 23.4375rem;
    height: 27.5625rem;
    flex-shrink: 0;
    background: url(./assets/img/DSC_1874.jpg) lightgray 50% / cover no-repeat;
}

.miniature {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.actu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cover {
    width: 16rem;
    height: 9rem;
    flex-shrink: 0;
    border-radius: 0.625rem;
    background: url(./assets/img/cover1.jpeg) lightgray -20.297px -22.09px / 113.483% 130.133% no-repeat;
}

.event {
    display: grid;
    /* justify-content: space-between; */
}

.event1, .event2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6rem 12rem;
    gap: 4rem;
}

.text-width {
    width: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

.text-width h3 {
    text-align: center;
    /* margin: 0.5rem 0; */
    color: #5e4a2d;
    font-family: Inter;
    font-size: 1rem;
    font-weight: 600;
}

.event-title {
    color: #000;
    text-align: center;
    font-family: Inter;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.text-width p {
    color: #000;
    font-size: 0.92rem;
    line-height: 165.023%;
    font-style: normal;
    font-weight: 400;
    text-align: justify;
    margin: 0;
}

.img-event1 {
    border-radius: 1.5rem;
    width: 30rem;
    height: 18rem;
    background: url(./assets/img/Awards.png) lightgray 50% / cover no-repeat;
}

.img-event2 {
    border-radius: 1.5rem;
    width: 30rem;
    height: 18rem;
    background: url(./assets/img/DSC_7250.JPG) lightgray 50% / cover no-repeat;
}

.img-event3 {
    border-radius: 1.5rem;
    width: 30rem;
    height: 18rem;
    background: url(./assets/img/stand2.JPG) lightgray 50% / cover no-repeat;
}

#next {
    margin-bottom: 6rem;
}

/* .tuumde-awards{
    width: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
} */


.miniTitre {
    color: #000;
    font-family: Inter;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-top: 10px;
}

.miniText {
    color: #000;
    width: 330px;
    text-align: center;
    font-family: Inter;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}



.edtNav {
    color: #FFF;
}

.firstText {
    width: 16rem;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.secondText {
    color: #FFF;
    text-align: center;
    margin-top: 1rem;
    font-family: Inter;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.edtNav {
    background: #000;
}

/* #body_section{
    background-color: #000;
} */


/* 
.mini1 {
    border-radius: 10px;
    width: 10rem;
    height: 10rem;
    background: url(./assets/img/cover3.png) lightgray 50% / cover no-repeat;
    position: relative;
    left: 440px;
    top: 50px;
    opacity: 0;
    animation: moveAndFloat 3s ease-out 0.8s forwards;
} */

.containerEdt {
    padding-top: 4rem;
    height: 100vh;
    /* height: calc(100vh - 4rem); */
}

.containerEdt>h1 {
    color: #000000;
    display: flex;
    justify-content: center;
    text-align: center;
    font-family: Inter;
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

}

.containerEdt p {
    color: #000000;
    display: flex;
    justify-content: center;
    font-family: Inter;
    font-size: 1.3125rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.img_Vision {
    background: no-repeat;

    width: 46.6875rem;
    height: 31.6875rem;
    flex-shrink: 0;
    top: 5rem;
}

.imgEdt1 {
    width: 23.4375rem;
    height: 27.5625rem;
    flex-shrink: 0;
    background: url(./assets/img/) lightgray 50% / cover no-repeat;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

.carousel img {
    height: 170px;
    width: 300px;
    border-radius: 10px;
    flex-shrink: 0;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 2;
}

.carousel-btn.left {
    left: 0;
}

.carousel-btn.right {
    right: 0;
}


/* Mobile (max-width: 768px) */
@media (max-width: 767px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: auto;
        padding-left: 5px;
        padding-right: 10px;
    }

    #home {
        background-position: center;
    }

    .logo {
        height: 4.5rem;
        width: 4.5rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .btn {
        display: block;
        margin-top: 10px;
    }

    /* ------------- */

    /* Sidenav menu */
    .nav-links {
        height: 100%;
        width: 250px;
        position: fixed;
        z-index: 1;
        top: 0;
        left: -250px;
        background-color: #e8e8e8;
        padding-top: 60px;
        transition: left 0.5s ease;
        align-items: last baseline;

    }

    /* Sidenav menu links */
    .nav-links a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 1.2rem;
        color: #000000;
        display: flex;
        justify-content: center;
        transition: 0.3s;
    }

    .nav-links a:hover {
        color: #111;
    }

    /* .sidenav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
  } */

    /* Active class */
    .nav-links.active {
        left: 0;
        background-color: #ffffff;
    }

    /* Close btn */
    .nav-links .close {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
    }

    /* Icône burger */
    .burger-icon span {
        display: block;
        width: 35px;
        height: 5px;
        background-color: black;
        margin: 6px 0;
    }

    /* ------------   */

    #openBtn {
        display: flex;
    }

    .cntc {
        display: none;
    }

    /* .burger-menu {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: black;
    } */

    /* .btn {
        display: none;
    } */

    .body_section {
        padding: 20px;
        justify-content: center;
        align-items: center;
    }

    .toptext {
        width: 90%;
        font-size: 1.8rem;
    }

    .simpletext {
        width: 90%;
        font-size: 0.9rem;
        margin-bottom: 0rem;
        margin-top: 0rem;
        top: 42%;
    }

    .btn-cta {
        flex-direction: column;
        gap: 1.5rem;
        top: 60%;
        justify-content: center;
        align-items: center;
    }

    .slogan {
        bottom: 10%;
    }

    .container-about {
        margin: 2rem;
        display: flex;
        flex-direction: column;
    }

    .imgPp {
        width: 17rem;
        height: 20rem;
    }

    .container-about p {
        max-width: 90%;
    }

    .event1, .event2 {
        flex-direction: column;
        align-items: center;
        margin: 2rem;
        gap: 1.5rem;
    }

    .event1 {
        flex-direction: column-reverse;
    }

    .text-width {
        width: 90%;
    }

    .img-event1, .img-event2, .img-event3 {
        width: 20rem;
        height: 11rem;
    }
}

/* Responsive pour les boutons CTA */
@media (max-width: 768px) {
    .btn-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-cta .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Tablets (max-width: 1024px) */
@media (min-width: 768px) and (max-width: 1400px) {

    #home {
        background-position: center;
    }

    .toptext {
        font-size: 2.5rem;
    }

    .simpletext {
        margin-bottom: 0rem;
        margin-top: 0rem;
        position: absolute;
        top: 37%;
    }

    .btn-cta {
        margin: 0;
        top: 53%;
    }

    .container-about {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .container-about p {
        max-width: 600px;
    }

    .event1 {
        flex-direction: column-reverse;
        align-items: center;
    }

    .event2 {
        flex-direction: column;
        align-items: center;
    }

    .img-event1,
    .img-event2,
    .img-event3 {
        margin-bottom: 1.5rem;
        width: 27rem;
        height: 15rem;
    }

    .text-width {
        width: 100%;
    }

    .burger-menu {
        display: none;
    }

    .uppercase {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

}

/* Large screens (min-width: 1200px) */
/* @media (min-width: 1280px) {
    .container-about {
        margin-left: 8rem;
        margin-right: 8rem;
    }

    .event1,
    .event2 {
        margin-left: 8rem;
        margin-right: 8rem;
    }

    .burger-menu {
        display: none;
        ;
    }
} */
#next h2, #about h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    /* margin-bottom: 1rem; */
}

#next p, #about p {
    font-size: 1rem;
    font-weight: 400;
    color: #353333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .body_section {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .toptext p {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .simpletext p {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .btn-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .slogan p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 2rem;
    }
}

/* Mobile responsive - marges pour les images */
@media (max-width: 768px) {
    .img-event1, .img-event2, .img-event3 {
        width: 20rem;
        height: 11rem;
        margin: 0 1.5rem;
    }
}

/* Burger menu moderne */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.burger-menu:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animation du burger menu */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
}

.btn-discover-editions {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-discover-editions:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}
