/* --- AI Video Banner by Gemini --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #ffa500; /* Your brand's orange */
    --primary-hover-color: #ff8c00; /* Darker orange for hover */
}

.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This is crucial */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
    max-width: 800px;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-cta-button {
    background-color: var(--primary-color);
    color: #111;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media(max-width: 768px) {
    .hero-content {
        max-width: min(96vw, 980px);
        padding: 24px 16px;
    }

    .hero-title {
        font-size: clamp(2.75rem, 10vw, 3.6rem);
        line-height: 1.08;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: clamp(1.22rem, 4.6vw, 1.58rem);
        line-height: 1.38;
        max-width: 34ch;
        margin: 0 auto 2.1rem;
    }

    .hero-section {
        height: 90vh; /* Adjust height for smaller screens */
    }
}

@media(max-width: 430px) {
    .hero-title {
        font-size: clamp(2.45rem, 10.8vw, 3.05rem);
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 4.9vw, 1.32rem);
    }
}
