.evenement-hero {
    position: relative;
    padding: 4rem 4%;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: url(/ressources/images/evenementBg.jpg) no-repeat;
    background-size: cover;
    background-position: top center;
    z-index: 10;
    min-height: 100vh;
    padding-top: 9rem;
}

.evenement-hero > * {
    flex: 1 1 30rem;
}

.evenement-hero::before {
    content: '';
    display: block;
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(268deg, #003B4900 0%, #003b49c2 100%);
}

.evenement-hero .content {
    display: flex;
    flex-direction: column;
    margin-right: 2rem;
}

.evenement-hero .content h1 {
    font-size: 2.5rem;
    line-height: 1.4em;
    color: white;
    margin-bottom: 1rem;
}

.evenement-hero .content h1 span {
    color: var(--primary-color);
}

.evenement-hero .content p {
    font-size: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    max-width: 700px;
    line-height: 1.8;
}

.evenement-hero-feature .container .right a,
.evenement-hero .content a {
    display: inline-block;
    width: max-content;
}

.evenement-hero .content iframe {
    height: 420px;
    max-width: 100%;
}

.scrolling-section {
    background-color: var(--primary-color);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.scrolling-wrapper {
    display: flex;
    gap: 60px;
    animation: scroll 15s linear infinite;
}

.scrolling-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.scrolling-item svg {
    font-size: 24px;
    color: white;
}

@keyframes scroll {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.evenement-hero-feature {
    padding: 4rem 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.evenement-hero-feature .text {
    max-width: 600px;
    margin-bottom: 1.5rem;
}
.evenement-hero-feature .text h2 {
    color: var(--secondary-color);
    font-size: 2.1rem;
    margin-bottom: 1rem;
    line-height: 1.4em;
}
.evenement-hero-feature .text p {
    color: #444;
    line-height: 1.8;
    font-size: .95rem;
}
.evenement-hero-feature .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.evenement-hero-feature .container iframe {
    width: 800px;
    max-width: 100%;
    height: 350px;
    border-radius: 5px;
}
.evenement-hero-feature .container .right > span {
    font-weight: 600;
    color: var(--primary-color);
    font-size: .9rem;
}
.evenement-hero-feature .container .right h2 {
    margin: 1rem;
    color: var(--secondary-color);
    font-size: 1.85rem;
}
.evenement-hero-feature .container .right p {
    font-size: .9rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 700px;
} 
.evenement-hero-feature .container .right a {
    color: white;
} 



.evenement-final {
    position: relative;
    text-align: center;
    color: white;
    padding: 60px 20px;
    background: url('/ressources/images/services-banner-image.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 10;
}
.evenement-final::before {
    content: '';
    display: block;
    position: absolute;
    mix-blend-mode: initial;
    opacity: 1;
    border-radius: 0;
    left: 0px;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -1;
    background-image: linear-gradient(268deg, #003B4900 0%, var(--secondary-color) 100%);
}
.evenement-final .container {
    max-width: 800px;
    margin: 0 auto;
}
.evenement-final h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.evenement-final p {
    font-size: .95rem;
    line-height: 1.8;
    margin-bottom: 30px;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    text-decoration: none;
    border-radius: 5px;
    transition: 300ms ease-in-out;
}
.cta-button:hover {
    transform: scale(.95);
}

@media (max-width: 768px) {
    iframe {
        height: auto !important;
    }
}