/* Basic layout wrapper for this page */
.contact-page {
    margin-top: 40px;
    margin-bottom: 60px;
}

/* HERO */
.contact-hero {
    padding: 40px 20px 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.contact-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.contact-eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #6c757d;
}

.contact-hero h1 {
    font-size: 2.1em;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.contact-hero-text {
    font-size: 1em;
    max-width: 560px;
    margin: 0 auto;
    color: #555;
}

/* Flash messages */
.contact-alert {
    max-width: 900px;
    margin: 20px auto 0;
}

/* Main section layout */
.contact-section.contact-main {
    max-width: 1100px;
    margin: 30px auto 0;
}

/* Form layout */
.contact-form {
    margin-top: 15px;
}

.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form .form-group {
    flex: 1 1 0;
    min-width: 0;
}

/* Full-width group, e.g., textarea, select, button row */
.contact-form .form-group.full-width {
    flex: 1 1 100%;
}

/* Normalize all inputs so email isn’t smaller */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    display: block;
    border: 1px solid #ddd;
    padding: 10px 12px;
    font-size: 1em;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95em;
}

.contact-form textarea {
    resize: vertical;
}

/* reCAPTCHA row */
.contact-recaptcha-row .g-recaptcha {
    margin-top: 4px;
}

/* Submit button */
.contact-submit-row {
    margin-top: 8px;
}

.contact-submit-btn {
    padding: 10px 28px;
    font-size: 1em;
    border-radius: 999px;
    border: none;
    text-transform: uppercase;
    letter-spacing: .14em;
}

/* Contact card (right column) */
.contact-card {
    border: 1px solid #d4e8d4;
    background: #e9f5e9;      /* light green tint */
    border-radius: 8px;
    padding: 20px 22px;
    margin-top: 20px;
}


.contact-card h3 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-card-text {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 14px;
}

.contact-login-note,
.contact-response-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 12px;
}

/* Use existing about page icon rows */
.about-contact-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.about-contact-icon {
    margin-right: 10px;
}

.about-contact-icon .icon {
    width: 24px;
    height: 24px;
}

.about-contact-details p {
    margin: 0;
    font-size: 0.95em;
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .contact-section.contact-main .row > div {
        margin-bottom: 20px;
    }

    .contact-card {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .contact-hero h1 {
        font-size: 1.7em;
    }
}
/* LOGIN CALLOUT ABOVE FORM -------------------------------------- */

.contact-login-callout {
    background: #e9f5e9;                 /* very light green tint */
    border: 1px solid #d4e8d4;           /* soft greenish border */
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 22px;
    font-size: 0.95em;
    color: #2f4f2f;                      /* dark greenish text */
    line-height: 1.5em;
}


.contact-login-callout strong {
    font-weight: 600;
}

.contact-login-link {
    color: #3a7bd5;                       /* clean blue similar to your site style */
    font-weight: 600;
    text-decoration: none;
    margin: 0 4px;
}

.contact-login-link:hover {
    text-decoration: underline;
}
/* ===============================
   CONTACT ICON + GLOW (FINAL)
   =============================== */

.about-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Square container that also holds the glow */
.about-contact-icon {
    position: relative;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Soft radial glow behind icon */
.about-contact-icon::before {
    content: "";
    position: absolute;
    inset: 0;                       /* fills the 46x46 box perfectly */
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(50, 90, 50, 0.25) 0%,   /* center */
        rgba(50, 90, 50, 0.12) 55%,  /* fade outward */
        rgba(50, 90, 50, 0.00) 100%  /* clean fade */
    );
    z-index: 1;
}

/* Icon itself */
.about-contact-icon img.icon {
    position: relative;
    z-index: 2;
    width: 28px;         /* slightly smaller so the glow shows nicely */
    height: 28px;
    object-fit: contain;
    display: block;
}

.contact-validation-errors {
    max-width: 700px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    background: #ffecec;
    border: 1px solid #f5c2c2;
    color: #8a1f1f;
    font-size: 0.9em;
    display: none;
}

.contact-validation-errors ul {
    margin: 0;
    padding-left: 18px;
}

.contact-required-note {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 8px;
}

.required-asterisk {
    color: #c0392b;
    font-weight: 700;
}
