.mw-video-hero-section {
    padding: 28px 0 48px;
    background: #ffffff;
}

.video-hero-example {
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.video-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-hero-text {
    max-width: 600px;
    color: white;
}

.mw-video-hero__heading-group {
    display: inline-block;
    max-width: 100%;
}

.video-hero-text h1,
.video-hero-text h2,
.mw-video-hero__title {
    font-size: 48px;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mw-video-hero__divider {
    width: 100%;
    height: 2px;
    margin: 18px 0 20px;
    background: #01a982;
}

.video-hero-text p,
.mw-video-hero__subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    color: #ffffff;
}

.video-hero-example .btn-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.video-hero-example .btn-cta-group .cta {
    box-sizing: border-box;
    max-width: 100%;
}

.video-hero-example .btn-cta-group .cta.btn-landmark.secondary.small {
    background: #f7f7f7;
    border-color: #01a982;
    color: #292d3a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(1, 169, 130, 0.15);
    transform: translateZ(0);
}

.video-hero-example .btn-cta-group .cta.btn-landmark.secondary.small:hover,
.video-hero-example .btn-cta-group .cta.btn-landmark.secondary.small:focus,
.video-hero-example .btn-cta-group .cta.btn-landmark.secondary.small:focus-visible {
    background: linear-gradient(60deg, #01a982 0% 13%, #1cd3a8 20%, #01a982 27%, #01a982) 99%/200% 200%;
    background-position: 0;
    border-color: #01a982;
    color: white;
}

.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.video-control-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #01a982;
    border-radius: 4px;
    font-family: "Metric Semibold", Arial, sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #292d3a;
}

.video-control-btn:hover,
.video-control-btn:focus,
.video-control-btn:focus-visible {
    background: linear-gradient(60deg, #01a982 0% 13%, #1cd3a8 20%, #01a982 27%, #01a982) 99%/200% 200%;
    background-position: 0;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes gentlePulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 8px rgba(1, 169, 130, 0.2);
    }
    25% {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 4px 12px rgba(1, 169, 130, 0.25);
    }
    50% {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 6px 16px rgba(1, 169, 130, 0.3);
    }
    75% {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 4px 12px rgba(1, 169, 130, 0.25);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 8px rgba(1, 169, 130, 0.2);
    }
}

@keyframes gentleBounce {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 8px rgba(1, 169, 130, 0.15);
    }
    20% {
        transform: translateY(-2px) scale(1.015);
        box-shadow: 0 4px 12px rgba(1, 169, 130, 0.2);
    }
    40% {
        transform: translateY(-4px) scale(1.025);
        box-shadow: 0 6px 16px rgba(1, 169, 130, 0.25);
    }
    60% {
        transform: translateY(-5px) scale(1.03);
        box-shadow: 0 8px 20px rgba(1, 169, 130, 0.3);
    }
    80% {
        transform: translateY(-2px) scale(1.015);
        box-shadow: 0 4px 12px rgba(1, 169, 130, 0.2);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 8px rgba(1, 169, 130, 0.15);
    }
}

.video-hero-example .btn-cta-group .cta.btn-landmark.primary.small {
    animation: gentlePulse 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.video-hero-example .btn-cta-group .cta.btn-landmark.secondary.small {
    animation: gentleBounce 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    animation-delay: 0.7s;
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.video-hero-example .btn-cta-group .cta.btn-landmark:hover {
    animation-play-state: paused;
}

@media (max-width: 991px) {
    .video-hero-content {
        padding: 0 40px;
    }

    .video-hero-text h1,
    .video-hero-text h2,
    .mw-video-hero__title {
        font-size: 36px;
    }

    .mw-video-hero__divider {
        margin: 16px 0 18px;
    }

    .video-hero-text p,
    .mw-video-hero__subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .mw-video-hero-section {
        padding: 16px 0 40px;
    }

    .video-hero-example {
        height: 500px;
    }

    .video-hero-content {
        padding: 0 20px;
    }

    .video-hero-text h1,
    .video-hero-text h2,
    .mw-video-hero__title {
        font-size: 28px;
    }

    .mw-video-hero__divider {
        margin: 14px 0 16px;
    }

    .video-hero-text p,
    .mw-video-hero__subtitle {
        font-size: 16px;
    }

    .video-hero-example .btn-cta-group {
        flex-direction: column;
        gap: 8px;
    }

    .video-hero-example .btn-cta-group .cta {
        width: 100%;
        justify-content: center;
        padding-left: 16px;
        padding-right: 16px;
        white-space: normal;
    }

    .video-controls {
        bottom: 20px;
        right: 20px;
    }
}
