.index_content_2 {
    position: relative;
    width: 100%;
    max-width: 1500px;
    /* max container width */
    margin: 0 auto;
    /* center horizontally */
    display: flex;
    justify-content: center;
    /* center inner content horizontally */
    align-items: center;
    /* vertical centering */
    background: url('img/index_content_2.jpg') center / cover no-repeat fixed;
    padding: clamp(2rem, 5vh, 5%) 0;
    overflow: hidden;
    /* prevent overflow */
    border-radius: 20px;
}

.index_content_2::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: inherit;
    /* match container border radius if needed */
}

.index_content_2>* {
    position: relative;
    z-index: 2;
    width: 100%;
}

.index_flex_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
}

.index_content_2 .subject {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* <-- center horizontally inside column */
    text-align: center;  /* <-- optional: center text */
    gap: 1rem;
}


.index_content_2 h1,
.index_content_2 h2 {
    color: white;
    text-transform: uppercase;
}

.index_content_2 h1 {
    font-size: clamp(2rem, 7vw, 80px);
    font-weight: 1000;
}

.index_content_2 h2 {
    font-size: clamp(1.5rem, 5vw, 40px);
    font-weight: 800;
}

.index_content_2 .video_playback {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.index_content_2 .video_playback video {
    width: 100%;
    max-width: 640px;
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}