/* =================================================================
   HERO SECTION STYLES
   ================================================================= */

.hero {
    padding-top: 28vh; /* Adjusted for vertical centering */
    padding-bottom: 24vh;
    position: relative; /* Essential for absolute video positioning */
    overflow: hidden;   /* Crops the video */
    background-color: #050505; /* Fallback color */
    background-image: url(/assets/img/hero.png); /* Fallback image */
    background-size: cover;
    background-position: center;
}

/* --- 1. BACKGROUND VIDEO & OVERLAY --- */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers area without stretching */
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark overlay to make text readable over video */
    background: rgba(10, 15, 25, 0.75);
    z-index: 1;
}

/* --- 2. CONTENT WRAPPER --- */
.hero-wraper {
    position: relative;
    z-index: 2; /* Sits above video and overlay */
    padding: 0 20px;
}

/* --- 3. TYPOGRAPHY --- */
.hero h1 {
    font-size: 56px;
    font-weight: 700; /* Bold */
    line-height: 1.15; /* Tight line height */
    letter-spacing: -1.5px;
    max-width: 900px;
    margin: 0 auto 24px auto;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Lift text off background */
}

.hero p {
    font-size: 18px;
    font-weight: 400;
    color: #D1D5DB; /* Light Grey */
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* --- 4. BUTTONS --- */
.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

/* Base Button Reset & Style */
.hero button {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 6px; /* Rectangular with soft corners */
    cursor: pointer;
    transition: all 0.2s ease;
    height: auto;
    width: auto;
    display: inline-block;
    text-decoration: none;
}

/* Style A: Solid Blue ("View Our Capabilities") */
.btn-hero-blue {
    background-color: #2563EB;
    color: #fff;
    border: 1px solid #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-hero-blue:hover {
    background-color: #1D4ED8;
    border-color: #1D4ED8;
    transform: translateY(-2px);
}

/* Style B: Dark Glass ("Get a Quote") */
.btn-hero-dark {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.btn-hero-dark:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* --- 5. RESPONSIVE MEDIA QUERIES --- */
@media only screen and (max-width: 800px) {
    .hero {
        padding-top: 20vh;
        padding-bottom: 15vh;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-btn {
        flex-direction: column; /* Stack buttons vertically */
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 30px auto 0 auto;
    }

    .hero button {
        width: 100%; /* Full width buttons */
        padding: 14px 0;
    }
}
