/*section hero*/
.sec-hero {
    position: relative;
    min-height: calc(100vh);
    z-index: 1;
}

.inner-sec-hero {
    display: flex;
    flex-direction: column;
}

.page-template-home .inner-sec-hero {
    justify-content: center;
    min-height: 80vh;
}

.sec-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    background-color: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.title-section {
    font-size: clamp(2rem, 7vw, 5rem);
    position: relative;
    z-index: 1;
}

.title-section h1.title-sec-hero {
    margin-top: clamp(60px, 12vw, 100px);
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}


.cta-sec-hero {
    display: flex;
    gap: 50px;
    margin-top: 1rem;
    margin-bottom: clamp(60px, 12vw, 100px);
}

.sec-hero__footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2vh;
}

/* CSS (thêm vào style.css) */
.user-widget {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatars {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 120px;
}

.avatar {
    aspect-ratio: 1/1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255);
    position: relative;
}

/* overlap: mỗi avatar dịch trái 12px so với trước */
.avatars .avatar:nth-child(1) {
    transform: translateX(0);
    z-index: 1;
}

.avatars .avatar:nth-child(2) {
    transform: translateX(-12px);
    z-index: 2;
}

.avatars .avatar:nth-child(3) {
    transform: translateX(-24px);
    z-index: 3;
}

/* text */
.user-widget .user-widget-text {
    font-size: 0.8rem;
}

.eye-container {
    position: absolute;
    max-width: 1000px;
    max-height: 700px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    pointer-events: none;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.inner-eye-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec-hero__video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.sec-hero__video .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* giữ tỉ lệ video và phủ full thẻ */
    transform: translate(-50%, -50%);
    z-index: 1;
}

@media (min-width: 1280px) {
    .title-section h1.title-sec-hero {
        max-width: 80%;
    }
}

@media (min-width: 1100px) {
    .title-section h1.title-sec-hero {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .page-template-home .inner-sec-hero {
        min-height: 65vh;
    }

    .sec-hero__video {
        position: relative;
        width: 100%;
        height: 60vh;
        overflow: hidden;
    }
}