/*==============================================================
CONTACT SECTION
==============================================================*/
.contact-section{
    padding:100px 0;
    background:#f8f9fc;
    position:relative;
    overflow:hidden;
}

.contact-section::before{
    content:"";
    position:absolute;
    top:-180px;
    left:-180px;
    width:420px;
    height:420px;
    border-radius:50%;
    background:rgba(225,29,36,.04);
}

.contact-section::after{
    content:"";
    position:absolute;
    right:-120px;
    bottom:-120px;
    width:320px;
    height:320px;
    border-radius:50%;
    background:rgba(225,29,36,.03);
}

.contact-section .container{
    position:relative;
    z-index:2;
}

/*==============================================================
LEFT PANEL
==============================================================*/
.contact-info-panel{
    background:#fff;
    border:1px solid #ececec;
    border-radius:28px;
    padding:45px;
    height:100%;
    box-shadow:0 20px 55px rgba(0,0,0,.05);
}

.contact-info-panel .section-heading{
    margin-bottom:40px;
}

.contact-info-panel .section-heading h2{
    margin-bottom:18px;
}

.contact-info-panel .section-heading p{
    color:#666;
    line-height:1.9;
    margin:0;
}

/*==============================================================
CONTACT LIST
==============================================================*/
.contact-info{
    display:flex;
    flex-direction:column;
    gap:28px;
}

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

.contact-icon{
    width:56px;
    height:56px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:#fff5f5;
    color:var(--primary);
    font-size:20px;
    transition:.35s ease;
}

.contact-item:hover .contact-icon{
    background:var(--primary);
    color:#fff;
    transform:translateY(-3px);
}

.contact-item h5{
    margin:0 0 8px;
    font-size:18px;
    font-weight:700;
    color:#222;
}

.contact-item p{
    margin:0;
    color:#666;
    line-height:1.8;
    font-size:15px;
}

.contact-item a{
    color:#555;
    font-size:15px;
    font-weight:500;
    text-decoration:none;
    transition:.3s;
}

.contact-item a:hover{
    color:var(--primary);
}

/*==============================================================
SOCIAL
==============================================================*/
.contact-social{
    display:flex;
    gap:14px;
    margin-top:45px;
}

.contact-social a{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#fff;
    border:1px solid #ececec;
    color:#555;
    font-size:18px;
    transition:.35s ease;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.contact-social a:hover{
    background:var(--primary);
    border-color:var(--primary);
    color:#fff;
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(225,29,36,.22);
}

/*==============================================================
CONTACT FORM
==============================================================*/
.contact-form-card{
    height:100%;
    background:#fff;
    border:1px solid #ececec;
    border-radius:28px;
    padding:45px;
    box-shadow:0 20px 55px rgba(0,0,0,.05);
    transition:.35s ease;
}

.contact-form-card:hover{
    box-shadow:0 28px 70px rgba(0,0,0,.08);
}

.contact-form-card h3{
    margin:0 0 10px;
    font-size:2rem;
    font-weight:700;
    color:#222;
}

.contact-form-card>p{
    margin:0 0 35px;
    color:#666;
    line-height:1.8;
}

/*==============================================================
LABEL
==============================================================*/
.contact-form-card .form-label{
    display:flex;
    align-items:center;
    margin-bottom:10px;
    font-size:.92rem;
    font-weight:600;
    color:#444;
}

.contact-form-card .text-danger{
    margin-left:4px;
}

/*==============================================================
INPUT
==============================================================*/
.contact-form-card .form-control{
    height:58px;
    border:1px solid #e4e4e4;
    border-radius:16px;
    padding:0 20px;
    font-size:15px;
    background:#fff;
    transition:.3s ease;
    box-shadow:none;
}

.contact-form-card textarea.form-control{
    height:180px;
    resize:none;
    padding:18px 20px;
}

.contact-form-card .form-control::placeholder{
    color:#b3b3b3;
}

.contact-form-card .form-control:hover{
    border-color:#d4d4d4;
}

.contact-form-card .form-control:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 .18rem rgba(225,29,36,.12);
}

/*==============================================================
INVALID
==============================================================*/
.contact-form-card .is-invalid{
    border-color:#dc3545;
}

.contact-form-card .invalid-feedback{
    display:block;
    margin-top:8px;
    font-size:13px;
}

/*==============================================================
BUTTON
==============================================================*/
.contact-form-card .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    height:58px;
    padding:0 34px;
    border:none;
    border-radius:999px;
    font-weight:600;
    transition:.35s ease;
}

.contact-form-card .btn-primary{
    background:linear-gradient(135deg,#E31E24,#C4161C);
}

.contact-form-card .btn-primary:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(225,29,36,.28);
}

/*==============================================================
CTA BUTTON
==============================================================*/
.cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:220px;
    height:58px;
    background:#fff;
    color:var(--primary);
    border-radius:999px;
    font-weight:600;
    font-size:17px;
    text-decoration:none;
}

.cta-btn i{
    font-size:18px;
}

.cta-btn:hover{
    background:#fff;
    color:var(--primary);
    transform:translateY(-3px);
}

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

.contact-form-card .row>*{
    margin-bottom:4px;
}

/*==============================================================
RECAPTCHA
==============================================================*/

.g-recaptcha{
    transform-origin:left top;
}

/*==============================================================
SUCCESS / ALERT
==============================================================*/

.contact-form-card .alert{
    border:none;
    border-radius:16px;
    padding:16px 20px;
    font-size:14px;
}

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

@media(max-width:991px){

    .contact-form-card{
        margin-top:40px;
        padding:38px;
    }

}

@media(max-width:767px){

    .contact-form-card{
        padding:30px;
        border-radius:24px;
    }

    .contact-form-card h3{
        font-size:1.7rem;
    }

}

@media(max-width:576px){

    .contact-form-card{
        padding:24px;
    }

    .contact-form-card .btn{
        width:100%;
    }

    .g-recaptcha{
        transform:scale(.90);
    }

}

/*==============================================================
GOOGLE MAP
==============================================================*/
.map-wrapper{
    overflow:hidden;
    border-radius:30px;
    background:#fff;
    border:1px solid #ececec;
    box-shadow:0 20px 60px rgba(0,0,0,.06);
}

.map-wrapper iframe{
    width:100%;
    height:520px;
    border:0;
    display:block;
}

/*==============================================================
MAP HOVER
==============================================================*/
.map-wrapper{
    transition:.35s ease;
}

.map-wrapper:hover{
    transform:translateY(-4px);
    box-shadow:0 28px 70px rgba(0,0,0,.08);
}

/*==============================================================
QUICK CONTACT
==============================================================*/
.contact-cta{
    position:relative;
    overflow:hidden;
    padding:80px 0;
    background:linear-gradient(
        135deg,
        #E31E24,
        #B51218
    );
    color:#fff;
}

.contact-cta::before{
    content:"";
    position:absolute;
    right:-120px;
    top:-120px;
    width:340px;
    height:340px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
}

.contact-cta::after{
    content:"";
    position:absolute;
    left:-80px;
    bottom:-80px;
    width:220px;
    height:220px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
}

.contact-cta .container{
    position:relative;
    z-index:2;
}

.contact-cta .section-subtitle{
    color:rgba(255,255,255,.85);
}

.contact-cta h2{
    color:#fff;
    margin-bottom:18px;
}

.contact-cta p{
    color:rgba(255,255,255,.88);
    line-height:1.9;
    margin-bottom:0;
}

.contact-cta .btn{
    height:58px;
    padding:0 34px;
    border-radius:999px;
    font-weight:600;
    transition:.35s ease;
}

.contact-cta .btn:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 45px rgba(0,0,0,.18);
}

/*==============================================================
SECTION SPACING
==============================================================*/
.contact-section{
    padding:100px 0;
}

.map-section{
    padding:50px 0;
}

.contact-cta{
    margin-top:20px;
}

/*==============================================================
SMOOTH ANIMATION
==============================================================*/
.contact-info-panel,
.contact-form-card,
.map-wrapper{
    transition:.35s ease;
}

.contact-info-panel:hover,
.contact-form-card:hover{
    transform:translateY(-4px);
}

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

@media(max-width:1199px){

    .map-wrapper iframe{
        height:480px;
    }

}

@media(max-width:991px){

    .contact-section{
        padding:80px 0;
    }

    .map-section{
        padding-bottom:80px;
    }

    .contact-cta{
        text-align:center;
        padding:65px 0;
    }

    .contact-cta .btn{
        margin-top:30px;
    }

}

@media(max-width:767px){

    .map-wrapper{
        border-radius:22px;
    }

    .map-wrapper iframe{
        height:400px;
    }

    .contact-cta{
        padding:55px 0;
    }

    .contact-cta h2{
        font-size:2rem;
    }

}

@media(max-width:576px){

    .map-wrapper iframe{
        height:320px;
    }

    .contact-cta{
        padding:45px 0;
    }

    .contact-cta .btn{
        width:100%;
    }

}