/* Hero Layout Updates */
.hero {
    padding-top: 40px; /* Reduced top padding since H1 is top */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto; /* Let content dictate height + padding */
    padding-bottom: 60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* The Main Top Headline */
.hero-main-title {
    font-size: 3.8rem;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
    max-width: 900px;
}

.hero-split {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Center the pair */
    align-items: stretch; /* Stretch to make them same height if possible, or just align top */
    gap: 50px;
    width: 100%;
}

.hero-text {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically relative to the box */
    font-size: 1.15rem;
    color: #e2e8f0;
}

.hero-text p {
    margin-bottom: 1.5rem;
}

.hero-form-box {
    flex: 1;
    background: #ffffff;
    padding: 40px; /* Bigger padding */
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    text-align: center;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-form-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem; /* Bigger title */
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-form-box p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.hero-form-box input,
.hero-form-box select {
    padding: 15px; /* Comfy inputs */
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1.05rem;
    transition: border-color 0.2s;
}

.hero-form-box input:focus,
.hero-form-box select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.hero-form-box button {
    padding: 18px;
    font-size: 1.2rem;
    background-color: #D4AF37;
    color: #002244;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        gap: 40px;
    }
    .hero-main-title {
        font-size: 2.8rem;
        text-align: center;
    }
    .hero-text {
        text-align: center;
    }
    .hero-form-box {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2.2rem; /* Smaller title on mobile */
        margin-bottom: 30px;
    }
    .hero-form-box {
        padding: 20px 15px; /* Tighter padding on mobile */
    }
    .hero-form-box h3 {
        font-size: 1.5rem;
    }
    .hero-form-box input,
    .hero-form-box select {
        padding: 12px;
        font-size: 16px; /* Prevent iOS zoom */
    }
}
