/* =========================================================
   AZ DEVELOPER
   CONTACT PAGE
   ========================================================= */


/* =========================================================
   CONTACT HERO
========================================================== */

.contact-hero {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: flex-end;

    padding: 150px 0 90px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(5, 12, 8, .96),
            rgba(5, 12, 8, .65),
            rgba(5, 12, 8, .25)
        ),
        url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=2200&q=90")
        center / cover no-repeat;

    color: #fff;
}


.contact-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4, 9, 6, .68),
            transparent 55%
        );
}


.contact-hero .container {
    position: relative;

    z-index: 2;
}


.contact-hero-content {
    max-width: 850px;
}


.contact-breadcrumb {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 30px;

    color: rgba(255, 255, 255, .55);

    font-size: 10px;
}


.contact-breadcrumb a {
    color: rgba(255, 255, 255, .65);

    transition: var(--transition);
}


.contact-breadcrumb a:hover {
    color: var(--primary-light);
}


.contact-breadcrumb i {
    color: rgba(255, 255, 255, .30);

    font-size: 8px;
}


.contact-hero h1 {
    margin: 10px 0 0;

    color: #fff;

    font-size: clamp(3.8rem, 6.5vw, 6.5rem);

    line-height: .95;

    letter-spacing: -3px;
}


.contact-hero h1 span {
    color: var(--primary-light);
}


.contact-hero-content > p {
    max-width: 620px;

    margin-top: 25px;

    color: rgba(255, 255, 255, .68);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT INFO
========================================================== */

.contact-info-section {
    padding-top: 0;

    padding-bottom: 0;

    background: #fff;
}


.contact-info-card {
    min-height: 215px;

    display: flex;

    align-items: flex-start;

    flex-direction: column;

    padding: 28px;

    background: #fff;

    border: 1px solid var(--border);

    color: var(--dark);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.contact-info-card:hover {
    border-color: rgba(27, 79, 48, .35);

    transform: translateY(-5px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .07);
}


.contact-info-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    background: var(--light);

    color: var(--primary);

    font-size: 17px;

    transition:
        background .3s ease,
        color .3s ease;
}


.contact-info-card:hover
.contact-info-icon {
    background: var(--primary);

    color: #fff;
}


.contact-info-card > span {
    margin-bottom: 7px;

    color: var(--text-muted);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.3px;
}


.contact-info-card strong {
    color: var(--dark);

    font-size: 14px;

    font-weight: 700;
}


.contact-info-card small {
    margin-top: 7px;

    color: var(--text-secondary);

    font-size: 10px;
}


/* =========================================================
   CONTACT MAIN
========================================================== */

.contact-main {
    background: var(--light);
}


.contact-description {
    max-width: 520px;

    margin: 20px 0 35px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   CONTACT BENEFITS
========================================================== */

.contact-benefits {
    border-top: 1px solid var(--border);
}


.contact-benefit {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 19px 0;

    border-bottom: 1px solid var(--border);
}


.benefit-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #fff;

    border: 1px solid var(--border);

    color: var(--primary);

    font-size: 14px;
}


.contact-benefit h4 {
    margin: 0 0 5px;

    color: var(--dark);

    font-size: 12px;
}


.contact-benefit p {
    margin: 0;

    color: var(--text-muted);

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   FORM WRAPPER
========================================================== */

.contact-form-wrapper {
    padding: 40px;

    background: #fff;

    border: 1px solid var(--border);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .04);
}


.contact-form-header {
    padding-bottom: 25px;

    margin-bottom: 28px;

    border-bottom: 1px solid var(--border);
}


.contact-form-header > span {
    color: var(--primary);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.4px;
}


.contact-form-header h3 {
    margin: 9px 0 7px;

    color: var(--dark);

    font-family: var(--font-heading);

    font-size: 29px;

    line-height: 1.1;

    font-weight: 500;
}


.contact-form-header p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 10px;
}


/* =========================================================
   FORM FIELD
========================================================== */

.form-field {
    position: relative;
}


.form-field label {
    display: block;

    margin-bottom: 8px;

    color: var(--dark);

    font-size: 9px;

    font-weight: 700;
}


.form-field label span {
    color: #b94b4b;
}


.input-wrapper {
    position: relative;
}


.input-wrapper > i {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 14px;

    color: var(--text-muted);

    font-size: 13px;

    transform: translateY(-50%);

    pointer-events: none;
}


.form-control,
.form-select {
    min-height: 48px;

    padding:
        0 14px 0 42px;

    border: 1px solid var(--border);

    border-radius: 0;

    background: #fff;

    color: var(--dark);

    font-family: var(--font-body);

    font-size: 11px;

    box-shadow: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}


.form-control::placeholder {
    color: #aaa;
}


.form-control:focus,
.form-select:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(27, 79, 48, .07);
}


.form-select {
    cursor: pointer;

    appearance: auto;
}


.textarea-wrapper > i {
    top: 18px;

    transform: none;
}


.textarea-wrapper .form-control {
    min-height: 125px;

    padding-top: 14px;

    resize: vertical;
}


.field-error {
    min-height: 15px;

    padding-top: 5px;

    color: #b94b4b;

    font-size: 8px;
}


.form-field.has-error
.form-control,
.form-field.has-error
.form-select {
    border-color: #c55a5a;
}


.form-field.has-error
.input-wrapper > i {
    color: #b94b4b;
}


.form-field.is-valid
.form-control,
.form-field.is-valid
.form-select {
    border-color: var(--primary);
}


/* =========================================================
   MESSAGE COUNTER
========================================================== */

.message-counter {
    display: flex;

    justify-content: flex-end;

    margin-top: 5px;

    color: var(--text-muted);

    font-size: 8px;
}


#messageCount {
    color: var(--primary);

    font-weight: 700;
}


/* =========================================================
   FORM FOOTER
========================================================== */

.contact-form-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 15px;

    padding-top: 25px;

    border-top: 1px solid var(--border);
}


.contact-form-footer p {
    display: flex;

    align-items: center;

    gap: 7px;

    margin: 0;

    color: var(--text-muted);

    font-size: 8px;
}


.contact-form-footer p i {
    color: var(--primary);

    font-size: 13px;
}


.contact-submit-loading {
    pointer-events: none;

    opacity: .7;
}


.contact-submit-loading i {
    animation:
        contactSpin .8s linear infinite;
}


@keyframes contactSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   SUCCESS MESSAGE
========================================================== */

.form-success {
    display: none;

    align-items: center;

    gap: 15px;

    margin-top: 25px;

    padding: 18px;

    background: rgba(27, 79, 48, .06);

    border: 1px solid rgba(27, 79, 48, .15);
}


.form-success.show {
    display: flex;

    animation:
        successAppear .4s ease;
}


@keyframes successAppear {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.success-icon {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--primary);

    color: #fff;

    font-size: 18px;
}


.form-success strong {
    color: var(--dark);

    font-size: 12px;
}


.form-success p {
    margin: 4px 0 0;

    color: var(--text-secondary);

    font-size: 9px;
    line-height: 1.6;
}


/* =========================================================
   OFFICE SECTION
========================================================== */

.office-section {
    background: #fff;
}


.office-content {
    height: 100%;

    padding: 10px 20px 10px 0;
}


.office-content > p {
    max-width: 480px;

    margin: 20px 0 30px;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.9;
}


.office-details {
    border-top: 1px solid var(--border);
}


.office-detail {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 18px 0;

    border-bottom: 1px solid var(--border);
}


.office-detail-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--light);

    color: var(--primary);

    font-size: 14px;
}


.office-detail > div:last-child {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.office-detail span {
    color: var(--text-muted);

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1.2px;
}


.office-detail strong {
    color: var(--dark);

    font-size: 11px;

    line-height: 1.6;
}


.map-direction-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 25px;

    color: var(--primary);

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .7px;

    transition: var(--transition);
}


.map-direction-link:hover {
    color: var(--dark);
}


.map-direction-link i {
    transition: transform .3s ease;
}


.map-direction-link:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   MAP
========================================================== */

.map-wrapper {
    position: relative;

    min-height: 500px;

    height: 100%;

    overflow: hidden;

    background: #eee;
}


.map-wrapper iframe {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 500px;

    filter:
        grayscale(100%)
        contrast(90%);

    transition: filter .4s ease;
}


.map-wrapper:hover iframe {
    filter:
        grayscale(30%)
        contrast(100%);
}


.map-label {
    position: absolute;

    left: 25px;
    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 11px 15px;

    background: rgba(6, 13, 9, .92);

    color: #fff;

    font-size: 9px;

    font-weight: 700;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .15);
}


.map-label i {
    color: var(--primary-light);
}


/* =========================================================
   FINAL CTA
========================================================== */

.contact-final-cta {
    padding: 90px 0;

    background:
        linear-gradient(
            100deg,
            rgba(5, 12, 8, .97),
            rgba(5, 12, 8, .88)
        ),
        url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2200&q=90")
        center / cover no-repeat;

    color: #fff;
}


.contact-final-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;
}


.contact-final-inner h2 {
    margin: 10px 0 0;

    color: #fff;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: .98;

    letter-spacing: -2px;
}


.contact-final-inner h2 span {
    color: var(--primary-light);
}


.contact-final-inner p {
    max-width: 600px;

    margin: 18px 0 0;

    color: rgba(255, 255, 255, .60);

    font-size: 13px;

    line-height: 1.8;
}


.contact-final-actions {
    display: flex;

    align-items: flex-start;

    flex-direction: column;

    gap: 18px;

    flex-shrink: 0;
}


.contact-visit-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, .80);

    font-size: 9px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;

    transition: var(--transition);
}


.contact-visit-link:hover {
    color: var(--primary-light);
}


.contact-visit-link i {
    transition: transform .3s ease;
}


.contact-visit-link:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 991px) {

    .contact-hero {
        min-height: 520px;
    }


    .contact-form-wrapper {
        padding: 30px;
    }


    .office-content {
        padding-right: 0;

        margin-bottom: 10px;
    }


    .map-wrapper,
    .map-wrapper iframe {
        min-height: 430px;
    }


    .contact-final-inner {
        align-items: flex-start;

        flex-direction: column;
    }


    .contact-final-actions {
        flex-direction: row;

        align-items: center;
    }

}


@media (max-width: 767px) {

    .contact-hero {
        min-height: 490px;

        padding-top: 130px;
    }


    .contact-hero h1 {
        font-size: 3.5rem;

        letter-spacing: -2px;
    }


    .contact-info-card {
        min-height: 190px;
    }


    .contact-form-wrapper {
        padding: 25px 20px;
    }


    .contact-form-footer {
        align-items: flex-start;

        flex-direction: column;
    }


    .contact-form-footer
    .btn-custom {
        width: 100%;
    }


    .map-wrapper,
    .map-wrapper iframe {
        min-height: 360px;
    }


    .contact-final-cta {
        padding: 70px 0;
    }


    .contact-final-actions {
        align-items: flex-start;

        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .contact-hero h1 {
        font-size: 2.9rem;
    }


    .contact-form-header h3 {
        font-size: 25px;
    }


    .contact-final-inner h2 {
        font-size: 3rem;
    }


    .map-label {
        left: 15px;
        bottom: 15px;
    }

}