/* ==================================
CONTACT SECTION
================================== */

.contact-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {

    content: '';

    position: absolute;

    top: -180px;
    right: -180px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: rgba(20, 175, 195, .04);
}

.contact-section .container {

    position: relative;

    z-index: 2;
}

/* ==================================
WRAPPER
================================== */

.contact-wrapper {

    background: #fff;

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-md);
}

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

.contact-map {

    height: 100%;
    min-height: 650px;

    position: relative;
}

.contact-map iframe {

    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}

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

.contact-form {

    height: 100%;

    padding: 50px;

    background: #fff;

    position: relative;
}

/* Top Accent */

.contact-form::before {

    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--primary);
}

.contact-form h3 {

    margin-bottom: 35px;
}

/* Inputs */

.contact-form .form-control {

    height: 58px;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 15px 20px;

    box-shadow: none;

    transition: var(--transition);
}

.contact-form textarea.form-control {

    height: 170px;

    resize: none;

    padding-top: 18px;
}

.contact-form .form-control:focus {

    border-color: var(--primary);

    box-shadow: 0 0 0 .15rem rgba(20, 175, 195, .15);
}

.contact-form .btn-theme {

    margin-top: 5px;
}

/* ==================================
BOTTOM CONTACT CARDS
================================== */

.contact-card {

    position: relative;

    background: #fff;

    border-radius: var(--radius-lg);

    padding: 35px 25px;

    text-align: center;

    height: 100%;

    overflow: hidden;

    transition: var(--transition);

    box-shadow: var(--shadow-sm);
}

/* Same Animation As Blog */

.contact-card::before {

    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: var(--primary);

    transform: scaleX(0);

    transition: .4s;
}

.contact-card:hover::before {

    transform: scaleX(1);
}

.contact-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-md);
}

.contact-card i {

    width: 70px;
    height: 70px;

    margin-bottom: 25px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-inline: auto;

    font-size: 26px;

    color: var(--primary);

    background: rgba(20, 175, 195, .08);

    transition: var(--transition);
}

.contact-card:hover i {

    background: var(--primary);

    color: #fff;

    transform: rotate(10deg);
}

.contact-card h5 {

    margin-bottom: 12px;
}

.contact-card p {

    margin: 0;

    color: var(--text);

    line-height: 1.8;
}

.contact-card a {

    color: var(--secondary);

    text-decoration: none;

    transition: .3s;
}

.contact-card a:hover {

    color: var(--primary);
}

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

@media(max-width:991px) {
    .contact-map {
        min-height: 400px;
    }

    .contact-form {
        padding: 35px;
    }
}

@media(max-width:767px) {
    .contact-section .section-heading {
        text-align: center;
    }

    .contact-wrapper {
        border-radius: var(--radius);
    }

    .contact-map {
        min-height: 320px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-form h3 {
        text-align: center;
    }

    .contact-form .btn-theme {
        width: 100%;
        justify-content: center;
    }

    .contact-card {
        padding: 30px 20px;
    }
}

@media(max-width:575px) {
    .contact-map {
        min-height: 260px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form .form-control {
        height: 55px;
    }

    .contact-form textarea.form-control {

        height: 150px;
    }

    .contact-card {

        border-radius: var(--radius);
    }

}