/* Video Background Container - Fixed Position for All Pages */
.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure content is above video background */
#main-content {
    position: relative;
    z-index: 1;
}

/* Header should be above video background */
header {
    position: relative;
    z-index: 10;
}

/* Footer should be above video background */
footer {
    position: relative;
    z-index: 10;
}

/* WhatsApp button should be above video background */
.whatsapp-button {
    position: relative;
    z-index: 10;
}

/* Content Overlay */
.video-content-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Title */
.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    animation: fadeInDown 1s ease-out;
    color: #ffffff;
}

/* Main Subtitle */
.main-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.7);
    opacity: 1;
    animation: fadeInUp 1s ease-out 0.3s both;
    color: #ffffff;
}

/* CTA Buttons Container */
.video-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Primary Button */
.btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #23243a;
    border: 2px solid #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: #ffffff;
    color: #23243a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* Secondary Button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .main-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .video-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: 200px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .main-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .video-content-overlay {
        padding: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        width: 180px;
    }
}

@media (max-width: 375px) {
    .main-title {
        font-size: 1.8rem;
    }
    
    .main-subtitle {
        font-size: 0.9rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        width: 160px;
    }
}
