

/* =========================
   GLOBAL CONTACT PAGE
========================= */

.contact-section,
.contact-section *,
.page-banner,
.page-banner *,
.validated-form-section,
.validated-form-section * {
    box-sizing: border-box;
}

.contact-section,
.page-banner,
.validated-form-section {
    font-family: "Roboto Slab", Georgia, serif;
}

.contact-section img,
.page-banner img {
    max-width: 100%;
}


/* =====================================================
   PAGE BANNER
===================================================== */

.page-banner {
    position: relative;
    background-image: url("../images/about1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 40px;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f4d9c1;
    opacity: 0.75;
    z-index: 0;
    pointer-events: none;
}

.page-banner-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.page-banner-title {
    color: #23197a;
    font-size: 2.4rem;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 8px;
}

.page-banner-breadcrumb {
    color: #1a1a2e;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
}

.page-banner-breadcrumb a {
    color: #1a1a2e;
    text-decoration: none;
}

.page-banner-breadcrumb a:hover {
    text-decoration: underline;
}


/* =====================================================
   CONTACT SECTION
===================================================== */

.contact-section {
    width: 100%;
    background: #ffffff;
    padding: 40px;
}

.contact-grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    border: 1px solid #e2e2e6;
    border-radius: 8px;
    overflow: hidden;
    min-height: 600px;
    background: #ffffff;
}


/* =========================
   GOOGLE MAP
========================= */

.contact-map {
    flex: 0 0 45%;
    min-width: 0;
    position: relative;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 600px;
    border: 0;
}


/* =========================
   CONTACT INFORMATION
========================= */

.contact-info-form {
    flex: 1;
    min-width: 0;
    padding: 25px;
    background: #ffffff;
}

.contact-title {
    display: inline-block;
    max-width: 100%;
    color: #23197a;
    font-size: 2rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #23197a;
    overflow-wrap: anywhere;
}

.contact-detail-row {
    margin-top: 24px;
}

.contact-heading-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.contact-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #23197a;
}

.contact-heading {
    color: #23197a;
    font-size: 1.3rem;
    line-height: 1.5;
    font-weight: 700;
    margin: 0;
    overflow-wrap: anywhere;
}

.contact-text {
    color: #2b2b33;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    font-family: "Roboto Slab", Georgia, serif;
    overflow-wrap: anywhere;
}

.contact-text a {
    color: #2b2b33;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-text a:hover {
    text-decoration: underline;
}

.contact-detail-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 50px;
}


/* =====================================================
   CONTACT FORM
===================================================== */

.validated-form-section {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    background: #ffffff;
}

.validated-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-field {
    width: 100%;
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d8de;
    border-radius: 4px;
    background: #ffffff;
    color: #222222;
    font-size: 16px;
    line-height: 1.5;
    font-family: "Roboto Slab", Georgia, serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.12);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field.has-error input,
.form-field.has-error textarea {
    border-color: #c5221f;
}

.field-error {
    display: none;
    color: #c5221f;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 6px;
}

.form-field.has-error .field-error {
    display: block;
}


/* =========================
   SUBMIT BUTTON
========================= */

.validated-submit {
    display: inline-block;
    align-self: flex-start;
    background: #1a73e8;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5;
    font-family: "Roboto Slab", Georgia, serif;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.validated-submit:hover {
    background: #1558b0;
}

.validated-submit:focus-visible {
    outline: 2px solid #23197a;
    outline-offset: 3px;
}


/* =========================
   FORM ERROR BANNER
========================= */

.form-error-banner {
    display: none;
    color: #686461;
    border: 1px solid #f0b429;
    border-radius: 4px;
    padding: 14px;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 24px;
    overflow-wrap: anywhere;
}

.form-error-banner.show {
    display: block;
}


/* =====================================================
   TABLET RESPONSIVE
   641px - 1024px
===================================================== */

@media (min-width: 641px) and (max-width: 1024px) {

    /* Page Banner */

    .page-banner {
        padding: 70px 28px;
        background-position: center;
    }

    .page-banner-title {
        font-size: 2.1rem;
    }

    .page-banner-breadcrumb {
        font-size: 0.95rem;
    }


    /* Contact Layout */

    .contact-section {
        padding: 35px 24px;
    }

    .contact-grid {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        align-items: stretch;
    }

    .contact-map {
        flex: 0 0 40%;
        width: 40%;
    }

    .contact-map iframe {
        width: 100%;
        height: 100%;
        min-height: 650px;
    }

    .contact-info-form {
        flex: 1;
        min-width: 0;
        padding: 24px 20px;
    }


    /* Contact Details */

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-detail-row {
        margin-top: 22px;
    }

    .contact-heading-row {
        align-items: flex-start;
        gap: 10px;
    }

    .contact-heading {
        font-size: 1.12rem;
    }

    .contact-icon {
        font-size: 1.25rem;
    }

    .contact-text {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .contact-detail-inline {
        gap: 22px;
    }


    /* Contact Form */

    .validated-form-section {
        width: 100%;
        max-width: 100%;
        padding: 20px 0;
    }

    .validated-form {
        width: 100%;
    }

    .form-field {
        margin-bottom: 18px;
    }

    .form-field label {
        font-size: 0.96rem;
    }

    .form-field input,
    .form-field textarea {
        width: 100%;
        max-width: 100%;
    }

    .validated-submit {
        padding: 12px 24px;
    }
}


/* =====================================================
   MOBILE RESPONSIVE
   640px and below
===================================================== */

@media (max-width: 640px) {

    /* Page Banner */

    .page-banner {
        padding: 50px 18px;
        background-size: cover;
        background-position: 65% center;
    }

    .page-banner::before {
        opacity: 0.80;
    }

    .page-banner-inner {
        width: 100%;
    }

    .page-banner-title {
        font-size: 1.65rem;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .page-banner-breadcrumb {
        font-size: 0.86rem;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }


    /* Contact Section */

    .contact-section {
        width: 100%;
        padding: 25px 15px 35px;
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        margin: 0 auto;
        border-radius: 8px;
        overflow: hidden;
    }


    /* Map */

    .contact-map {
        flex: none;
        width: 100%;
        min-width: 0;
        height: 300px;
    }

    .contact-map iframe {
        display: block;
        width: 100%;
        height: 300px;
        min-height: 300px;
        border: 0;
    }


    /* Contact Information */

    .contact-info-form {
        flex: none;
        width: 100%;
        min-width: 0;
        padding: 22px 16px;
    }

    .contact-title {
        font-size: 1.55rem;
        line-height: 1.4;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .contact-detail-row {
        margin-top: 22px;
    }

    .contact-heading-row {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 8px;
    }

    .contact-icon {
        flex-shrink: 0;
        font-size: 1.2rem;
        margin-top: 2px;
    }

    .contact-heading {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    .contact-text {
        font-size: 0.9rem;
        line-height: 1.75;
        text-align: left;
    }

    .contact-detail-inline {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }


    /* Contact Form */

    .validated-form-section {
        width: 100%;
        max-width: 100%;
        padding: 20px 0 0;
    }

    .validated-form {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .form-field {
        width: 100%;
        margin-bottom: 17px;
    }

    .form-field label {
        font-size: 0.93rem;
        line-height: 1.5;
        margin-bottom: 7px;
    }

    .form-field input,
    .form-field textarea {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 12px;
        font-size: 16px;
        line-height: 1.5;
        border-radius: 5px;
    }

    .form-field textarea {
        min-height: 120px;
    }

    .field-error {
        font-size: 0.82rem;
        line-height: 1.5;
    }


    /* Submit Button */

    .validated-submit {
        display: block;
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        padding: 13px 18px;
        font-size: 1rem;
        text-align: center;
    }


    /* Error Message */

    .form-error-banner {
        width: 100%;
        padding: 12px;
        margin-top: 18px;
        font-size: 0.85rem;
        line-height: 1.6;
    }
}


/* =====================================================
   EXTRA SMALL MOBILE
   380px and below
===================================================== */

@media (max-width: 380px) {

    .page-banner {
        padding: 40px 15px;
    }

    .page-banner-title {
        font-size: 1.45rem;
    }

    .page-banner-breadcrumb {
        font-size: 0.82rem;
    }


    /* Contact Section */

    .contact-section {
        padding: 20px 10px 28px;
    }

    .contact-grid {
        border-radius: 6px;
    }

    .contact-map,
    .contact-map iframe {
        height: 250px;
        min-height: 250px;
    }

    .contact-info-form {
        padding: 20px 12px;
    }

    .contact-title {
        font-size: 1.4rem;
    }

    .contact-heading {
        font-size: 1rem;
    }

    .contact-text {
        font-size: 0.87rem;
        line-height: 1.7;
    }

    .contact-detail-row {
        margin-top: 18px;
    }


    /* Form */

    .validated-form-section {
        padding-top: 18px;
    }

    .form-field input,
    .form-field textarea {
        padding: 11px;
        font-size: 16px;
    }

    .validated-submit {
        padding: 12px 15px;
    }

    .form-error-banner {
        padding: 10px;
        font-size: 0.82rem;
    }
}


/* =====================================================
   ACCESSIBILITY
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .form-field input,
    .form-field textarea,
    .validated-submit {
        transition: none;
    }
}