
/* =====================================================
   TEWAN CONTACT PAGE
===================================================== */

.contact-section {
    padding: 70px 0 55px;
    background: #fff;
}

.contact-section .row {
    --bs-gutter-x: 3.5rem;
    --bs-gutter-y: 2rem;
}


/* =====================================================
   CONTACT INFORMATION CARDS
===================================================== */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 2px;
}

.contact-info-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .10);
    text-align: center;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.contact-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 9px;
    color: var(--primary, #ff7420);
    font-size: 34px;
    line-height: 1;
}

.contact-card-icon.facebook-icon {
    color: #3b5998;
    font-size: 31px;
}

.contact-info-card h3 {
    margin: 0 0 2px;
    color: #454545;
    font-size: 21px;
    font-weight: 800;
}

.contact-info-card p {
    margin: 0;
    color: #858585;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}


/* =====================================================
   CONTACT FORM
===================================================== */

.contact-form-wrapper {
    padding: 0;
}

.contact-heading {
    margin: -2px 0 12px;
    color: var(--primary, #ff7420);
    font-size: clamp(29px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.25;
}

.contact-subheading {
    margin-bottom: 22px;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}

.contact-form-group {
    margin-bottom: 13px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 3px;
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.contact-input {
    width: 100%;
    min-height: 34px;
    padding: 7px 11px;
    color: #444;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 4px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .14);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-input:focus {
    border-color: var(--primary, #ff7420);
    box-shadow: 0 0 0 3px rgba(255, 116, 32, .12);
    outline: none;
}

.contact-input.is-invalid {
    border-color: #dc3545;
}

.contact-textarea {
    min-height: 95px;
    resize: vertical;
}

.contact-form-group .invalid-feedback {
    font-size: 11px;
    margin-top: 4px;
}

.contact-form-status {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
}

.contact-form-status:empty {
    display: none;
}

.contact-form-status.success {
    padding: 10px 12px;
    color: #146c43;
    background: #d1e7dd;
    border-radius: 4px;
}

.contact-form-status.error {
    padding: 10px 12px;
    color: #842029;
    background: #f8d7da;
    border-radius: 4px;
}


/* Submit */

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 193px;
    min-height: 41px;
    margin-top: 22px;
    padding: 11px 20px;
    color: #fff;
    background: var(--primary, #ff7420);
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .6px;
    transition: background .2s ease, transform .2s ease;
}

.contact-submit-btn:hover {
    background: var(--primary-dark, #e95d0c);
    transform: translateY(-2px);
}

.contact-submit-btn:focus-visible {
    outline: 3px solid rgba(255, 116, 32, .35);
    outline-offset: 3px;
}

.contact-submit-btn:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}


/* =====================================================
   FIND US
===================================================== */

.find-us-section {
    padding-top: 10px;
    background: #fff;
}

.find-us-heading {
    padding: 10px 0 33px;
    text-align: center;
}

.find-us-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--primary, #ff7420);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.find-us-heading h2 {
    margin: 0 0 6px;
    color: var(--primary, #ff7420);
    font-size: 31px;
    font-weight: 900;
}

.find-us-heading p {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.contact-map {
    width: 100%;
    height: 315px;
    overflow: hidden;
    background: #e7e5e0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .10);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =====================================================
   RESPONSIVE: TABLET
===================================================== */

@media (max-width: 991px) {
    .contact-section {
        padding: 50px 0 40px;
    }

    .contact-section .row {
        --bs-gutter-x: 1.5rem;
    }

    .contact-info {
        gap: 15px;
    }

    .contact-info-card {
        min-height: 120px;
    }

    .contact-form-wrapper {
        padding-top: 3px;
    }

    .contact-map {
        height: 300px;
    }
}


/* =====================================================
   RESPONSIVE: MOBILE
===================================================== */

@media (max-width: 767px) {
    .contact-section {
        padding: 35px 0 35px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .contact-info-card {
        min-height: 110px;
    }

    .contact-heading {
        font-size: 29px;
    }

    .contact-subheading {
        margin-bottom: 18px;
    }

    .contact-form-group {
        margin-bottom: 14px;
    }

    .contact-input {
        min-height: 42px;
        font-size: 16px;
    }

    .contact-textarea {
        min-height: 120px;
    }

    .contact-submit-btn {
        width: 100%;
        min-height: 45px;
        margin-top: 10px;
    }

    .find-us-section {
        padding-top: 10px;
    }

    .find-us-heading {
        padding: 20px 15px 25px;
    }

    .find-us-heading h2 {
        font-size: 27px;
    }

    .contact-map {
        height: 300px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {
    .contact-heading {
        font-size: 26px;
    }

    .contact-info-card h3 {
        font-size: 19px;
    }

    .contact-map {
        height: 260px;
    }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .contact-info-card,
    .contact-submit-btn {
        transition: none;
    }

    .contact-info-card:hover,
    .contact-submit-btn:hover {
        transform: none;
    }
}
