﻿/* =========================================================
   ACCUTRAK-CACFP.NET
   CONTACT PAGE
========================================================= */


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.contact-hero {
    overflow: hidden;
    background: linear-gradient( 110deg, #e9f6fc 0%, #f5fbfd 50%, #ffffff 100% );
}


.contact-hero-inner {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 340px;
}


.contact-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 45px 50px 0;
}


.eyebrow {
    margin-bottom: 15px;
    color: var(--blue);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}


    .eyebrow::after {
        content: "";
        display: block;
        width: 52px;
        height: 3px;
        margin-top: 9px;
        background: var(--green);
        border-radius: 20px;
    }


.contact-hero h1 {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: clamp( 2.8rem, 5vw, 4.25rem );
    line-height: 1;
    letter-spacing: -0.035em;
}


.contact-hero-copy p {
    max-width: 600px;
    margin: 0;
    color: #315a80;
    font-size: 1.15rem;
    line-height: 1.55;
}


/* HERO IMAGE */

.contact-hero-image {
    min-height: 340px;
}


    .contact-hero-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }


/* ---------------------------------------------------------
   CONTACT SECTION
--------------------------------------------------------- */

.contact-section {
    padding: 28px 0 32px;
    background: #ffffff;
}


.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: stretch;
}


/* ---------------------------------------------------------
   FORM CARD
--------------------------------------------------------- */

.contact-form-card {
    padding: 26px;
    background: #ffffff;
    border: 1px solid #d8e5ee;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(18, 59, 109, 0.08);
}


.section-title {
    margin-bottom: 24px;
}


    .section-title h2 {
        position: relative;
        margin: 0 0 9px;
        padding-bottom: 9px;
        color: var(--blue);
        font-size: 2rem;
        line-height: 1;
    }


        .section-title h2::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background: var(--green);
            border-radius: 10px;
        }


    .section-title p {
        margin: 0;
        color: #456682;
        font-size: 1rem;
    }


/* ---------------------------------------------------------
   FORM
--------------------------------------------------------- */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}


.form-field {
    min-width: 0;
}


.form-field-full {
    grid-column: 1 / -1;
}


.form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 0.94rem;
    font-weight: 700;
}


    .form-field label span,
    .required-note span {
        color: #d93535;
    }


.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #c9d6df;
    border-radius: 5px;
    background: #ffffff;
    color: var(--text);
    font-family: "Source Sans 3", sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


.form-field input,
.form-field select {
    min-height: 46px;
}


.form-field textarea {
    min-height: 125px;
    resize: vertical;
}


    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
        border-color: var(--green);
        box-shadow: 0 0 0 3px rgba(22, 148, 71, 0.12);
    }


    .form-field input::placeholder,
    .form-field textarea::placeholder {
        color: #8a9aa5;
    }


/* ---------------------------------------------------------
   SEND BUTTON
--------------------------------------------------------- */

.send-button {
    min-width: 225px;
    margin-top: 22px;
    padding: 13px 25px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #ffffff;
    font-family: "Source Sans 3", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(22, 148, 71, 0.18);
    transition: background 0.2s ease, transform 0.2s ease;
}


    .send-button span {
        margin-left: 12px;
        font-size: 1.35rem;
    }


    .send-button:hover {
        background: var(--green-dark);
        transform: translateY(-1px);
    }


.required-note {
    margin: 8px 0 0;
    color: #526b7d;
    font-size: 0.85rem;
}


/* ---------------------------------------------------------
   CONTACT INFORMATION CARD
--------------------------------------------------------- */

.contact-info-card {
    padding: 34px 32px;
    background: linear-gradient( 145deg, #eaf7fd, #dceff9 );
    border-radius: 12px;
}


.contact-info-block h2 {
    margin: 12px 0 4px;
    color: var(--blue);
    font-size: 1.8rem;
    line-height: 1.05;
}


.contact-info-block p {
    margin: 0;
    color: #315a80;
    font-size: 1rem;
    line-height: 1.5;
}


.contact-info-block a {
    color: var(--blue);
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
}


    .contact-info-block a:hover {
        color: var(--green);
    }


/* CONTACT ICON */

.contact-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--green);
    color: #ffffff;
    font-size: 1.75rem;
}


    .contact-icon.blue {
        background: var(--blue);
        font-size: 1rem;
    }


/* DIVIDERS */

.contact-info-divider {
    height: 1px;
    margin: 28px 0;
    background: rgba(18, 59, 109, 0.18);
}


/* HANDWRITTEN MESSAGE */

.contact-message {
    padding-top: 5px;
    color: var(--blue);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    transform: rotate(-2deg);
}


    .contact-message span {
        color: var(--blue);
    }


    .contact-message strong {
        display: inline-block;
        margin-left: 5px;
        color: var(--green);
        font-size: 2rem;
    }


/* ---------------------------------------------------------
   COMMUNITY CTA
--------------------------------------------------------- */

.community-cta {
    background: linear-gradient( 90deg, #eff9ef, #e3f4df );
}


.community-cta-inner {
    min-height: 110px;
    display: flex;
    align-items: center;
    gap: 24px;
}


.community-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 80px;
    height: 65px;
    color: var(--green);
    font-size: 3rem;
}


.community-copy {
    flex: 1;
}


    .community-copy h2 {
        margin: 0 0 3px;
        color: var(--blue);
        font-size: 2rem;
        line-height: 1.1;
    }


    .community-copy p {
        margin: 0;
        color: #315a80;
        font-size: 1.05rem;
    }


/* CTA BUTTON */

.community-button {
    flex-shrink: 0;
    padding: 14px 27px;
    background: var(--green);
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}


    .community-button span {
        margin-left: 8px;
        font-size: 1.3rem;
    }


    .community-button:hover {
        background: var(--green-dark);
        transform: translateY(-1px);
    }


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 950px) {

    .contact-hero-inner {
        grid-template-columns: 1fr 1fr;
    }


    .contact-layout {
        grid-template-columns: 1.6fr 1fr;
    }


    .community-copy h2 {
        font-size: 1.65rem;
    }
}


/* ---------------------------------------------------------
   SMALL TABLET
--------------------------------------------------------- */

@media (max-width: 760px) {

    .contact-hero-inner {
        grid-template-columns: 1fr;
    }


    .contact-hero-copy {
        padding: 42px 0;
    }


    .contact-hero-image {
        min-height: 300px;
    }


    .contact-layout {
        grid-template-columns: 1fr;
    }


    .community-cta-inner {
        flex-wrap: wrap;
        padding-top: 24px;
        padding-bottom: 24px;
    }


    .community-button {
        margin-left: 104px;
    }
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 560px) {

    .contact-hero h1 {
        font-size: 2.65rem;
    }


    .contact-hero-image {
        min-height: 250px;
    }


    .contact-section {
        padding-top: 18px;
    }


    .contact-form-card,
    .contact-info-card {
        padding: 22px;
    }


    .form-grid {
        grid-template-columns: 1fr;
    }


    .form-field-full {
        grid-column: auto;
    }


    .send-button {
        width: 100%;
    }


    .community-icon {
        display: none;
    }


    .community-copy {
        flex-basis: 100%;
    }


    .community-button {
        width: 100%;
        margin-left: 0;
        text-align: center;
    }
}
