html {
    scroll-behavior: smooth;
}

/* custom container */
.container-custom {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .container-custom {
        width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container-custom {
        width: 1340px;
    }
}

@media (min-width: 1600px) {
    .container-custom {
        width: 1520px;
    }
}

/* header section */
.header {
    z-index: 4;
}

#navbar {
    z-index: 5;
}

/* hero section */
.hero__section {
    position: relative;
    height: 100vh;
    background-color: black;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    min-height: 100%;
    min-width: 100%;
    height: auto;
    width: auto;
    background-size: cover;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    filter: blur(15px);
}

.hero__overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

.hero__content {
    z-index: 2;
    display: flex;
}

.hero__content-width {
    max-width: 540px;
}

.hero__scroll-btn {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--bs-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.hero__scroll-btn:hover {
    color: darkgrey;
}

.hero__scroll-btn .bi {
    transition-delay: 0.8s;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-10px);
    }
}

@media (max-width: 800px) {
    .hero__text p {
        font-size: 1rem !important;
    }
}

/* section */
.section {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.stps__sct-img {
    height: 240px;
    object-fit: cover;
    margin: 0 auto;
}

.steps__content-width {
    max-width: 456px;
    margin: 0 auto;
}

@media (min-width: 544px) {
    .stps__sct-img {
        height: auto;
    }
}

.steps__scroll-btn {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--bs-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.hero__solution__xpertvisio {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#bgVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill; /* Ensure the video fills the container */
    z-index: 1;
}



.hero__solution__xpertvisio__content {
    position: relative;
    z-index: 2; /* Ensure content is above the video */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white; /* Adjust color for readability */
    text-align: center; /* Center the text */
    padding: 20px; /* Optional: Add some padding */
}

/* about section */
.about__section {
    height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width: 800px) {
    .about__section h2 {
        margin-top: 2rem !important;
    }

    .about__section {
        height: 115vh;
    }
}

/* contact section */
.contact__section {
    height: 100vh;
    display: flex;
    align-items: center;
}

@media (max-width: 800px) {
    .contact__section {
        height: 180vh;
    }
}
.video-section {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
}

.text-content {
    padding: 20px;
}

@media (max-width: 768px) {
    .video-section .row {
        flex-direction: column;
    }

    .video-section .col-md-6 {
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
    }

    #smallVideo {
        width: 90%;
    }
}


/* mention legal section */
.mention__légal {
    height: 100vh;
}
.section__solution__xpertvisio {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url('./assets/img/background-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section__solution__xpertvisio .text-content {
    padding: 20px;
}

.section__solution__xpertvisio img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .section__solution__xpertvisio .row {
        flex-direction: column;
    }

    .section__solution__xpertvisio .col-md-6 {
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
    }

    .section__solution__xpertvisio img {
        width: 90%;
    }
}






.hero__section-solution {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url('./assets/img/cropped-EMIO-TECH_COULEUR-sans-texte-3-300x154.webp');
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}
}

.hero__section-interet {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)), url('./assets/img/cropped-EMIO-TECH_COULEUR-sans-texte-3-300x154.webp');
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}
}

