/* ==========================================
   CONTACT US PAGE
 Fiscal Consultancy
========================================== */

/* Common Contact Heading */

.contact-section-heading {
    margin-bottom: 30px;
}

.contact-section-heading .sub-title {
    display: inline-block;
    color: #26A5DE;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: 15px;
}

.contact-section-heading h2 {
    color: #2F3790;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 17px;
}

.contact-section-heading p {
    color: #747987;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 0;
}


/* ==========================================
   CONTACT FORM
========================================== */

.contact-details-section {
    background: #F7F8FC;
    padding: 100px 0;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid #E9ECF4;
    height: 100%;
}

.contact-enquiry-form .row {
    --bs-gutter-x: 18px;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    color: #2F3790;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 9px;
}

.contact-form-group label span {
    color: #E34B4B;
}

.contact-enquiry-form .form-control {
    width: 100%;
    height: 54px;
    padding: 12px 17px;
    color: #4E4E4E;
    font-size: 14px;
    font-family: var(--body-font-family);
    background: #F7F8FC;
    border: 1px solid #E5E8F0;
    border-radius: 4px;
    outline: none;
    box-shadow: none;
    transition: all .3s ease;
}

.contact-enquiry-form .form-control:focus {
    background: #fff;
    border-color: #26A5DE;
    box-shadow: 0 0 0 3px rgba(38,165,222,.08);
}

.contact-enquiry-form .form-control::placeholder {
    color: #A0A5B2;
    opacity: 1;
}

.contact-enquiry-form select.form-control {
    appearance: auto;
    cursor: pointer;
}

.contact-enquiry-form textarea.form-control {
    height: 150px;
    resize: vertical;
    padding-top: 15px;
}

.contact-captcha {
    overflow: hidden;
}

.contact-form-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-form-buttons .btn-style-two {
    border: 0;
}

.contact-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 22px;
    color: #2F3790;
    background: #EEF1FC;
    border: 1px solid #E0E5F2;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s ease;
}

.contact-reset-btn:hover {
    background: #2F3790;
    color: #fff;
}


/* ==========================================
   CONTACT INFORMATION
========================================== */

.contact-info-wrapper {
    height: 100%;
    padding: 40px;
    background: #fff;
    border: 1px solid #E9ECF4;
    border-radius: 6px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    color: #2F3790;
    background: #EEF1FC;
    border-radius: 50%;
    font-size: 19px;
    transition: all .3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: #2F3790;
    color: #fff;
}

.contact-info-content {
    padding-top: 2px;
}

.contact-info-content h4 {
    color: #2F3790;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 7px;
}

.contact-info-content a,
.contact-info-content p {
    display: block;
    color: #747987;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.contact-info-content a:hover {
    color: #26A5DE;
}

.contact-side-note {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-top: 32px;
    background: #F7F8FC;
    border-left: 3px solid #26A5DE;
    border-radius: 3px;
}

.contact-side-note .note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    color: #fff;
    background: #2F3790;
    border-radius: 50%;
    font-size: 17px;
}

.contact-side-note h4 {
    color: #2F3790;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-side-note p {
    color: #747987;
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}


/* ==========================================
   CONTACT MAP
========================================== */

.contact-map-section {
    position: relative;
    background: #fff;
}

.contact-map-heading {
    padding: 55px 0 35px;
}

.map-heading-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.map-heading-content .sub-title {
    display: inline-block;
    color: #26A5DE;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
}

.map-heading-content h2 {
    color: #2F3790;
    font-size: 30px;
    font-weight: 600;
    margin: 0;
}

.map-direction-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2F3790;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.map-direction-link:hover {
    color: #26A5DE;
}

.contact-map-frame {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================
   WHAT HAPPENS NEXT
========================================== */

.contact-next-section {
    padding: 100px 0;
    background: #F7F8FC;
}

.contact-next-section .sec-title {
    max-width: 800px;
    margin: 0 auto 50px;
}

.contact-next-section .sec-title .sub-title {
    color: #26A5DE;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: 15px;
}

.contact-next-section .sec-title .title {
    color: #2F3790;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 17px;
}

.contact-next-section .next-intro {
    color: #747987;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

.contact-next-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.contact-next-card {
    position: relative;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #E9ECF4;
    border-radius: 5px;
    overflow: hidden;
    transition: all .35s ease;
}

.contact-next-card:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: #26A5DE;
    transition: width .35s ease;
}

.contact-next-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(47,55,144,.09);
}

.contact-next-card:hover:after {
    width: 100%;
}

.next-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.next-number {
    color: #B8BED4;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.next-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    color: #2F3790;
    background: #EEF1FC;
    border-radius: 50%;
    font-size: 21px;
    transition: all .3s ease;
}

.contact-next-card:hover .next-icon {
    color: #fff;
    background: #2F3790;
}

.contact-next-card h3 {
    color: #2F3790;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 13px;
}

.contact-next-card p {
    color: #747987;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1199px) {

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 30px;
    }

}

@media (max-width: 991px) {

    .contact-details-section {
        padding: 75px 0;
    }

    .contact-info-wrapper {
        margin-top: 10px;
    }

    .contact-next-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {

    .contact-details-section {
        padding: 60px 0;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 25px 20px;
    }

    .contact-section-heading h2 {
        font-size: 29px;
    }

    .contact-enquiry-form .form-control {
        height: 50px;
    }

    .contact-enquiry-form textarea.form-control {
        height: 130px;
    }

    .contact-form-buttons {
        gap: 10px;
    }

    .contact-map-heading {
        padding: 45px 0 25px;
    }

    .map-heading-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-heading-content h2 {
        font-size: 25px;
    }

    .contact-map-frame {
        height: 350px;
    }

    .contact-next-section {
        padding: 65px 0;
    }

    .contact-next-section .sec-title {
        margin-bottom: 35px;
    }

    .contact-next-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-next-card {
        padding: 27px 23px;
    }

}

@media (max-width: 400px) {

    .contact-section-heading h2 {
        font-size: 26px;
    }

    .contact-form-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form-buttons .btn-style-two,
    .contact-reset-btn {
        width: 100%;
        justify-content: center;
    }

}