﻿:root {
    --bg: #0b0f14;
    --card: rgba(10,14,20,.92);
    --text: #f3f6fb;
    --muted: rgba(243,246,251,.80);
    --accent: #ffcc66;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
}

/* Hero Background Image with proper centering and padding */
.hero-image-container {
    max-width: 1200px;
    margin: 40px auto; /* Top/bottom padding + horizontal centering */
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    text-align: center; /* Helps center the image */
}

.hero-image {
    width: 65%; /* Your preferred visual size - DO NOT change */
    height: auto;
    display: block;
    margin: 0 auto; /* This centers the 65% image */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Overlay text on the image */
.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 12px rgba(0,0,0,0.85);
    width: 90%;
    z-index: 2;
}

    .hero-overlay h1 {
        font-size: 2.8rem;
        margin: 0 0 12px;
        line-height: 1.1;
    }

    .hero-overlay p {
        font-size: 1.25rem;
        margin: 0 auto; /* Centers the paragraph */
        max-width: 680px;
        line-height: 1.4;
        display: block; /* Ensures proper centering */
    }

/* Form Section - Below the image */
.form-section {
    background: var(--card);
    padding: 50px 20px 40px;
}

.form-container {
    max-width: 620px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 28px;
    color: var(--muted);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 18px;
}

    label span {
        display: block;
        font-size: 0.9rem;
        color: var(--muted);
        margin-bottom: 6px;
    }

input, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.35);
    color: var(--text);
}

button {
    width: 35%;
    margin: 10px auto 0;
    display: block;
    padding: 14px;
    background: var(--accent);
    color: #1b1306;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.fineprint {
    text-align: center;
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--muted);
    background: rgba(0,0,0,0.7);
}

    .footer a img {
        height: 32px;
        width: auto;
    }

/* Responsive */
@media (max-width: 640px) {
    .row {
        grid-template-columns: 1fr;
    }

    button {
        width: 60%;
    }

    .hero-overlay h1 {
        font-size: 2.2rem;
    }
}
