.body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Hide any overflow content */
}

.container_hero {
    position: relative;
    width: 100%;
}
.youtube-wrapper {
    position: relative;
    width: 100%;
    height:100%;
    overflow: hidden;
}

/* Default 16:9 aspect ratio - applied when no custom height */
.youtube-wrapper.aspect-ratio {
    height: 0;
    padding-bottom: 56.25%;
}

/*.youtube-wrapper::before{
     content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.5);
}*/
.cta-btn-video {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-video {
    background: #ff9900;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 20px;
    display: inline-block;
}
.youtube-wrapper img.thumbnail-image,
.video-container img.thumbnail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
    cursor: pointer;
}

.youtube-wrapper .play-icon,
.video-container .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.youtube-wrapper .play-icon:hover,
.video-container .play-icon:hover {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(255, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(255, 0, 0, 0.3);
}

.youtube-wrapper .play-icon:active,
.video-container .play-icon:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.play-icon .play-triangle {
    width: 0;
    height: 0;
    display: block;
    margin-left: 4px; /* Offset to visually center the triangle */
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.youtube-wrapper button.play-icon,
.video-container button.play-icon {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    outline: none;
    font-family: inherit;
}

.youtube-wrapper button.play-icon:focus,
.video-container button.play-icon:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Iframe styling for custom height - cover behavior */
.youtube-wrapper:not(.aspect-ratio) iframe,
.video-container:not(.aspect-ratio) iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 177.78vh; /* 16:9 width based on viewport height */
    height: 56.25vw; /* 16:9 height based on viewport width */
    min-width: 100%;
    min-height: 100%;
}

/* Iframe styling for aspect-ratio mode (existing behavior) */
.youtube-wrapper.aspect-ratio iframe,
.video-container.aspect-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.background-image {
    width: 100%;
    /*    height: 100%;*/
    object-fit: cover; /* Cover the entire container with the image */
}

.content_left {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white; /* Set the text color to white for better visibility */

}
.content_right {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-30%, -50%);
    text-align: left;
    color: white;
    display: flex;
    flex-direction: column;
    width: 30%
}
.img_content {
    object-fit: fill;
    width: 100%;
    height: 100%;
}
.text_content{
    font-size: 22px;
    line-height: 1.0;
}
.content_right > p{
    font-size: 22px;
    line-height: 1.2;
}
.header_content{
    font-size: 22px;
    color: #ffa300;
}
.content_only_text {
    position: absolute;
    top: 40%;
    left: 10%;
    FONT-WEIGHT: 200;
    color: white;
}
.video-container {
    position: relative;
    height: 100%; /* Use parent container height when custom height is set */
    overflow: hidden;
}

/* Default 16:9 aspect ratio - applied when no custom height */
.video-container.aspect-ratio {
    padding-bottom: 56.25%;
    height: 0;
}

#unmuteButton,
#unmuteButtonSecond {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 20px;
    top: auto;
    z-index: 15;
}

.unmute-button {
    background-color: #1959ea;
    border: none;
    color: white;
    padding: 7px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.unmute-button:hover {
    background-color: #0d4ab7;
}

.unmute-button i {
    margin-right: 8px;
}
@media (max-width: 975px) {
    .header_content {
        line-height:1.3;
        font-size: 15px;
    }
    .content_left {
        left: 28%;
        padding: 15%;
    }
    .container_hero{
        height:300px;
    }
    .text_content {
        font-size: 12px;
    }
    #unmuteButton,
    #unmuteButtonSecond {
        bottom: 12px;
        left: 12px;
    }
    .content_right > p{
        font-size: 16px;
        line-height: 1.1;
    }

    .youtube-wrapper .play-icon,
    .video-container .play-icon {
        width: 56px;
        height: 56px;
    }

    .play-icon .play-triangle {
        margin-left: 3px;
        border-left-width: 16px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }
}
