/* Hero Container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Wrapper to fill viewport and crop YouTube black bars */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none; /* Prevents wrapper interaction */
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none; /* Crucial: stops YouTube hover triggers completely */
}

/* Overlay Mask (Darkens video for readability and blocks mouse interaction) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(13, 17, 23, 0.45) 0%, rgb(13 17 23 / 27%) 100%);
    z-index: 2;
    pointer-events: auto;
}

/* Caption Layer */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 2rem;
    text-align: center;
}

.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffffff;
    background: #00968800;
    border: 1px solid rgba(88, 166, 255, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
    backdrop-filter: blur(12px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
    color: #FFF
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #fbfbfb;
    max-width: 650px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

.btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #238636;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(35, 134, 54, 0.4);
}

.btn-primary:hover {
    background-color: #2ea043;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f0f6fc;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}