/* ==========================================================================
   1. GLOBAL STYLES & LAYOUT
   ========================================================================== */

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    /* Subtle grid pattern background */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    color: #1f2937;
}

/* Sticky footer layout: ensures footer stays at page bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    /* Main content expands to fill available space */
}

/* ==========================================================================
   2. NAVBAR - Bootstrap Overrides
   ========================================================================== */

.navbar {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* Subtle bottom shadow */
}

/* Navigation links styling */
.navbar-nav .nav-link {
    color: #000000;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
    color: #000000 !important;
}

/* Purple CTA Button (Bootstrap override) */
.btn-purple {
    background-color: #7C3BED !important;
    border-color: #7C3BED !important;
    color: white !important;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-purple:hover {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */

/* Wrapper: centers the hero and adds spacing from navbar */
.hero-wrapper {
    padding: 2rem;
    display: flex;
    justify-content: center;
}

/* Hero container: rounded card with background image/video */
.hero {
    position: relative;
    width: 100%;
    max-width: 1320px;
    /* Aligns with Bootstrap XXL container */
    background-color: #111827;
    color: white;
    padding: 14rem 4rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Dark overlay for background image (fallback) */
    box-shadow: inset 0 0 0 2000px rgba(10, 25, 47, 0.7);
}

/* Video background element */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Dark overlay for video (matches image overlay color) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
    z-index: 2;
}

/* Hero text content container */
.hero-content {
    position: relative;
    z-index: 10;
    /* Above video and overlay */
    max-width: 600px;
    text-align: left;
}

/* Hero title */
.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Hero subtitle/description */
.hero p {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* CTA Button with arrow icon */
.hero .cta-button {
    display: inline-flex;
    align-items: center;
    background-color: #7C3BED;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

/* Arrow icon after button text */
.hero .cta-button::after {
    content: "›";
    margin-left: 1rem;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
    transform: translateY(-2px);
    /* Optical vertical centering */
}

.hero .cta-button:hover {
    background-color: #7c3aed;
}

/* ==========================================================================
   4. RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .hero {
        padding: 4rem 2rem;
        border-radius: 0;
        /* Full-width on mobile */
    }

    .hero-wrapper {
        padding: 0;
    }
}