.ec-video-hero {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.ec-video-overlay-global {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    z-index: 2;
}

.ec-video-text-box {
    position: relative;
    z-index: 3;
    background: #fff;
    padding: 0;
    border-radius: 15px;
    text-align: center;
    color: #ffffff;
    max-width: 80%;
    margin-top: 330px;
}

.ec-video-text-box h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ec-video-text-box p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    color: #fff;
}

.ec-video-desc p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 30px !important;
    font-weight: 300;
    color: #fff;
    display: block;
}
.ec-video-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    text-decoration: none;
    background-color: #ffffff;
    color: #000000 !important;
    font-weight: bold;
    border: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-block;
}

.ec-video-btn:hover {
    transform: scale(1.05);
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 767px) {
    .ec-video-hero { height: 400px; }
    .ec-video-text-box { 
	padding: 2px 5px; 
	width: 70%;
	margin-top:43%; 
     }
    .ec-video-text-box h2 { font-size: 1.8rem; }
    .ec-video-text-box p { font-size: 1rem; }
}
