/* =============================================
   THE TRAILHEAD SCHOOL — Interest Form Styles
   ============================================= */

.form-hero {
    background-color: #1B2A4A;
    padding: 3.5rem 2rem;
    text-align: center;
}

.form-hero h1 {
    color: #FAF7F2;
    font-size: 2.4rem;
    margin-bottom: 0.3rem;
}

.form-hero .hero-divider {
    background-color: #C9A84C;
    opacity: 0.6;
    margin: 1rem auto;
}

.form-intro {
    color: #FAF7F2 !important;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Form Layout */
.ca-form {
    margin-top: 0;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(27, 42, 74, 0.08);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: #1B2A4A;
}

.form-section-divider {
    width: 60px;
    height: 2px;
    background-color: #C9A84C;
    margin-bottom: 1.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 0.4rem;
}

.group-label {
    margin-bottom: 0.8rem !important;
}

.required {
    color: #C9A84C;
    font-weight: 700;
}

/* Inputs */
.ca-form input[type="text"],
.ca-form input[type="email"],
.ca-form input[type="tel"],
.ca-form input[type="date"],
.ca-form textarea,
.ca-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(27, 42, 74, 0.18);
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    background-color: #fff;
    color: #1B2A4A;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ca-form input:focus,
.ca-form textarea:focus,
.ca-form select:focus {
    outline: none;
    border-color: #C9A84C;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.ca-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Two-column row */
.form-row-2 {
    display: flex;
    gap: 1.2rem;
}

.form-row-2 .form-group {
    flex: 1;
}

/* Checkboxes and Radios */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 400 !important;
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: background-color 0.15s;
}

.checkbox-label:hover,
.radio-label:hover {
    background-color: rgba(201, 168, 76, 0.06);
}

.checkbox-label input,
.radio-label input {
    width: auto !important;
    margin-top: 3px;
    accent-color: #C9A84C;
}

.checkbox-label span,
.radio-label span {
    font-size: 0.95rem;
    color: #1B2A4A;
    line-height: 1.5;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #1B2A4A;
    opacity: 0.6;
    margin-top: 1.2rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .form-hero h1 {
        font-size: 1.8rem;
    }

    .form-row-2 {
        flex-direction: column;
        gap: 0;
    }

    .form-hero {
        padding: 2.5rem 1.5rem;
    }
}
