.bonbloc-hero {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh; /* full screen height */
    margin: 0;
    padding: 0;
    overflow: hidden; /* no scroll inside */
    font-family: 'Nunito', sans-serif;
    position: relative;
}

.bonbloc-hero,
.bonbloc-hero * {
    font-family: 'Nunito', sans-serif !important;
}

.widget_bonbloc_hero_widget,
.widget_bonbloc_hero_widget .widget {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.bonbloc-left {
    flex: 0 0 20%; /* take half width */
    height: 100%;
    width: 42%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: absolute;
    z-index: 2;
    display: flex;
       align-items: flex-center;
    justify-content: center; /* vertically center */
   
    padding: 200px 40px;
    box-sizing: border-box;
}

.bonbloc-left h2 {
    
       font-size: 42px !important;
    line-height: 0.8;
    
    font-weight: 700;
    letter-spacing: -0.5px;
}

.bonbloc-left .black-text {
    color: #000000;
}

.bonbloc-left .blue-text {
    color: #2C2C94 !important;
}

.bonbloc-left p {
    margin: 25px 0;
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    font-weight: 600;
    padding-right: 40px;
}

.bonbloc-left .cta-button {
    display: inline-block;
    padding: 8px 30px;
    background-color: #009AC6;
    color: #fffafa;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.bonbloc-left .cta-button:hover {
    /*background-color: #007fa5;*/
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 154, 198, 0.3);
}

.bonbloc-content {
    max-width: 500px;
    color: #000;
    z-index: 3;
}

.bonbloc-right {
    flex: 1;
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: 1;
    margin: 0;
    padding: 0;
    right: -200px;
}

.bonbloc-right video,
.bonbloc-left img {
    width: 100%;
    height: 100%;
    object-fit: auto; /* makes it cover fully */
    display: block;
}

/* remove curve overlay */
.bonbloc-left::after {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .bonbloc-left h2 {
        font-size: 38px !important;
    }
    .bonbloc-hero {
        margin-top: 40px;
    }
}

@media (max-width: 1024px) {
    .bonbloc-left h2 {
        font-size: 34px !important;
    }
    .bonbloc-left {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .bonbloc-hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        margin-top: 40px !important;
    }

    .bonbloc-left,
    .bonbloc-right {
        flex: 1 1 100%;
        width: 100%;
        height: 50vh; /* split evenly on mobile */
    }

    .bonbloc-left {
        padding: 20px;
        text-align: center;
        order: 1;
    }

    .bonbloc-right {
        order: 2;
        height: 40vh;
    }

    .bonbloc-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .bonbloc-left h2 {
        font-size: 28px !important;
    }

    .bonbloc-left p {
        font-size: 16px;
    }

    .bonbloc-left .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}
