.banner_page {
    background-image: url("../images/image-exposants.png");
}

.nav {
    background-color: white;
}
.nav ul {
    background-color: white;
}
a {
    color: black;
}
.main{
    margin-top: 2rem;
}
.main .intro{
    line-height: 1.6;
}
/* Carroussel */
.carousel-container {
    width: 100%;
    height: max-content;
    position: relative;
    cursor: pointer;
}

.item {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(
        0,
        0,
        0,
        0.5
    ); /* Couleur et opacité de votre layer */
}

.owl-item img {
    width: 100%;
    height: 85vh;
    object-fit: cover;
}

.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 1px 1px 2px #004aad;
    width: 80%;
}

.carousel-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carousel-text p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.custom-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-button {
    background-color: rgba(128, 128, 128, 0.8);
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    pointer-events: all;
    padding: 10px 20px;
    border-radius: 20px 0 20px 0;
    transition: background-color 0.3s ease;
}

.nav-button:hover {
    background-color: #004aad;
}
/* objectifs */
.objectifs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 40px;
}

.objectifs .img {
    flex: 1 1 40%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.objectifs .img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.objectifs .img img:hover {
    transform: scale(1.01);
}

.objectifs .texte {
    flex: 1 1 55%;
    text-align: justify;
}

.objectifs .texte h2 {
    margin-bottom: 10px;
}

.objectifs .texte p {
    margin-bottom: 20px;
}

.objectifs .texte ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectifs .texte ul li {
    background: url("../images/objectif.png") no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
}
/* résultat */
.resultats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 40px;
}

.resultats .img {
    flex: 1 1 40%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resultats .img img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.resultats .img img:hover {
    transform: scale(1.01);
}

.resultats .texte {
    flex: 1 1 55%;
    text-align: justify;
}

.objectifs .texte h2 {
    margin-bottom: 10px;
}

.resultats .texte p {
    margin-bottom: 20px;
}

.resultats .texte ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resultats .texte ul li {
    background: url("../images/objectif.png") no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
}
/* progress circle */
.cibles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    margin: 10px;
    text-align: center;
}

.progress-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.progress-circle {
    transform: rotate(-90deg);
}

.progress-background {
    fill: none;
    stroke: #e6e6e6;
    stroke-width: 12;
}

.progress-bar {
    fill: none;
    stroke: #60c338;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 339.292; /* Circumference of the circle */
    stroke-dashoffset: 339.292; /* Hide the bar initially */
    transition: stroke-dashoffset 3s ease;
}
.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    text-anchor: middle;
    dominant-baseline: middle;
}
.box h2 {
    margin: 10px 0;
}

.box p {
    font-style: italic;
}

.progress-container:hover .progress-bar {
    stroke: #004aad; /* Change color on hover */
    transition: stroke 0.3s;
}
/* Responsive Design */
@media (max-width: 768px) {
    .objectifs {
        flex-direction: column;
    }

    .objectifs .img {
        flex: 1 1 100%;
    }

    .objectifs .texte {
        flex: 1 1 100%;
        text-align: left;
    }
    .resultats {
        flex-direction: column-reverse;
    }

    .resultats .img {
        flex: 1 1 100%;
    }

    .resultats .texte {
        flex: 1 1 100%;
        text-align: left;
    }

    .box {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .box {
        width: 100%;
    }
}

