/*
Template Name: Maxus Luxury Auto
File: Contact CSS (Premium Styling)
*/

/********************* Breadcrumb Hero ****************/
.center_contact {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../img/hero_image/banner-maxus.jpg);
    background-position: center 60%;
    background-size: cover;
}
.center_om {
    padding-top: 150px;
    padding-bottom: 100px;
}

/********************* Contact Info Cards ****************/
.contact_1i {
    background: #fff !important;
    border: 1px solid #EBEBEB;
    transition: all 0.4s ease;
    border-radius: 2px;
    height: 100%;
}
.contact_1i:hover {
    box-shadow: 0 20px 40px rgba(0, 76, 151, 0.08);
    border-color: #004C97;
    transform: translateY(-5px);
}
.contact_1il span {
    width: 60px; 
    height: 60px;
    line-height: 60px;
    background: #121212 !important;
    color: #fff;
    border-radius: 0 !important; /* Sharp corners */
    transition: all 0.4s ease;
}
.contact_1i:hover .contact_1il span {
    background: #004C97 !important;
    transform: scale(1.1);
}

.contact_1ir h5 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.contact_1ir p, .contact_1ir a {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    display: block;
}
.contact_1ir a:hover {
    color: #004C97;
}

/********************* Contact Form Section ****************/
.contact_2l ul {
    display: flex;
    gap: 10px;
}
.contact_2l ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F7FA;
    width: 45px; height: 45px;
    font-size: 16px;
    border-radius: 2px;
    transition: 0.3s;
}
.contact_2l ul li a:hover { background: #004C97; }
.contact_2l ul li a i { line-height: normal; color: #121212; transition: 0.3s; }
.contact_2l ul li a:hover i { color: #fff; }

.contact_2r .form-control { 
    height: 55px; 
    border-radius: 0; 
    background: #F9F9F9;
    border: 1px solid #E0E0E0;
    transition: 0.3s;
}
.contact_2r .form-control:focus {
    background: #fff;
    border-color: #004C97;
    box-shadow: 0 5px 15px rgba(0, 76, 151, 0.05);
}
.contact_2r .form_text { 
    height: 160px; 
    padding-top: 15px;
}

/********************* Map Container ****************/
.contact_3 iframe {
    filter: grayscale(20%); /* Adds a slightly sophisticated tone to the map */
    transition: 0.3s ease;
}
.contact_3 iframe:hover {
    filter: grayscale(0%);
}

@media screen and (max-width : 767px){
    .contact_1i { margin-bottom: 20px; text-align: center; }
    .contact_1il { margin-bottom: 15px; }
    .contact_2l { text-align: center; margin-bottom: 30px; }
    .contact_2l ul { justify-content: center; }
    .contact_2r .form-control { margin-bottom: 15px; }
}