/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero section with background image */
.hero-section {
    position: relative;
    display: flex;
    justify-content: space-between; /* Keep this, but we'll adjust the widths to bring elements closer */
    align-items: center;
    height: 100vh;
    padding: 50px;
    background-image: url('/assets/img/couvertureehph.jfif'); /* Replace with your background image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

/* Overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(9, 30, 62, .8), rgba(9, 30, 62, .8));
    z-index: 1;
}

/* Content styling */
.content {
    position: relative;
    z-index: 2;
    max-width: 600px; /* Reduced from 50% to bring it closer to the video */
    margin-right: 10px; /* Add a small margin to control spacing */
}

.content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ddd;
}

/* Video container styling */
.video-container {
    position: relative;
    z-index: 2;
    max-width: 45%; /* Reduced from 40% to balance the layout */
    margin-left: 20px; /* Add a small margin to control spacing */
}

.video-container video {
    width: 100%;
    border: 2px solid #00c4cc; /* Cyan border as seen in the image */
    border-radius: 5px;
}
/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 15px; /* Réduit le padding pour moins d'espace global */
    }

    .content, .video-container {
        max-width: 100%;
        margin: 0; /* Supprime les marges sur les petits écrans */
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .content p {
        font-size: 1rem;
    }

    .video-container {
        margin-top: 10px; /* Réduit l'espace entre le texte et la vidéo */
    }
}