*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 14px;
    scroll-behavior: smooth;
}
#contact_us_page_contents{
    position: relative;
    width: 100%;
    background-color: var(--page-bgcolor);
    height: auto;
    padding-bottom: 3rem;
    transform: translateY(50%);
    opacity: 0;
    animation: animateContactPage 1.5s linear;
    animation-fill-mode: forwards;
    transition: all 5s linear;
}

@keyframes animateContactPage{
    from{
        transform: translateY(50%);
        opacity: 0;
    }
    to{
        transform: translateY(0%);
        opacity: 1;
    }
}


#contactus_banner{
    position: relative;
    background-image: url(../images/contact-us-page-img1.jpg);
    max-width: 100%;
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 0;
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
}

#contactus_banner::before{
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

#contactus_banner>#contactus_img_wrapper::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 5;
    background-color: rgba(0,0,128,0.27);
}
#contact-us-content-container>h1{
    font-family: "Saira Condensed", sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    margin-top: 3rem;
    text-shadow: -1px 4px 3px rgba(10,50,50,0.8);
}

#contact_info{
    position: relative;
    max-width: 70%;
    margin: 2rem auto;
    text-align: justify;
    margin-bottom: 5rem;
    box-shadow: 0 0 10px 0 rgba(0,0,0, 0.7);
    padding: 1.3rem;
}

#contact_info h3{
    position: relative;
    font-family: "Saira Condensed", sans-serif;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: capitalize;
    margin: 2rem 0;
    margin-bottom: 0.5rem;
    text-shadow: -1px 4px 3px rgba(10,50,50,0.8);
}
#contact_info p{
    color: #f8f8f8;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    
}

#contactus_info_container{
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem;
}

#contactus_info_container>#contactus_info_wrapper{
    position: relative;
    max-width: 100%;
    order: 2;
}


#contactus_form_wrapper{
    position: relative;
    max-width: 500px;
    
}
#contactus_form_wrapper>#contactus_form{
    position: relative;
    width: 100%;
    padding: 1rem;
}
#contactus_form>#required_fields_notice{
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: -1rem;
    color: #f8f8f8;
}
#required_fields_notice>.fa-info-circle{
    font-size: 1.5rem;
    color: #f8f8f8;
    font-weight: 600;
    padding-right: 1rem;
    line-height: 1.2;
}
#required_fields_notice strong{
    font-size: 1.8rem;
}
#contactus_form>h3{
    font-family: "Saira Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    text-transform: capitalize;
    color: #f8f8f8;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;

}

#contactus_form>.contactus_field_wrapper{
    position: relative;
    width: 100%;
}

.contactus_field_wrapper>.contactus_inner_field_wrapper{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    margin-top: 0rem;
}

.contactus_inner_field_wrapper>.contactus_field_icon_wrapper{
    position: relative;
    height: 50px;
    padding: 0.95rem 1.3rem;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 0px 0px 5px;
}
.contactus_field_icon_wrapper.subject{
    padding: 0.83rem;
    text-transform: capitalize;
}

.contactus_field_icon_wrapper>.contactus_field_icon{
    font-size: 1.3rem;
    color: rgba(0,0,200,0.7);
}
.contactus_inner_field_wrapper>.input_field{
    width: 100%;
    height: 50px;
    background-color: #fff;
    padding: 1rem;
    font-size: 12px;
    color: #333;
    outline: none;
    border: 2px solid #ddd;
    border-radius: 0px 5px 5px 0px;
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.2);
    transition: all 0.3s ease-in;
}
.contactus_inner_field_wrapper>.input_field:focus{
    border-top: 2px solid deepskyblue;
    border-right: 2px solid deepskyblue;
    border-bottom: 2px solid deepskyblue;
    border-left: 0;
}
#message__box{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
#message__box>#contactus_msg_field_icon_wrapper{
    width: 100%;
    margin: 0;
    border-radius: 5px 5px 0px 0px;
    margin-bottom: -3px;
}
#contactus_msg_field_icon_wrapper>.contactus_field_icon{
    display: inline-block;
    width: 100%;
    background-color: #eee;
    text-transform: capitalize;
    font-size: 1.3rem;
}

#message__box>#message_field{
    width: 100%;
    min-height: 200px;
    background-color: #fff;
    color: #333;
    resize: none;
    outline: none;
    padding: 1rem;
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.2);
    transition: all 0.3s ease-in;
}

#message__box>#message_field:focus{
    border-top: 0;
    border-right: 3px solid deepskyblue;
    border-bottom: 3px solid deepskyblue;
    border-left: 3px solid deepskyblue;
}
.contactus_inner_field_wrapper>#contactus_btn{
    position: relative;
    width: 100%;
    background-image: linear-gradient(to bottom, rgba(0,0,200,0.7), rgba(0,0,200,0.7));
    padding: 1rem;
    color: #f8f8f8;
    outline: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    border: 1px solid rgba(0,0,200,0.7);
    border-right: 5px solid #f8f8f8;
    border-bottom: 5px solid #f8f8f8;
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.2);
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1.2rem;
    padding: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.contactus_inner_field_wrapper>#contactus_btn:hover{
    background-image: linear-gradient(to top, rgba(0,0,200,0.7), rgba(0,0,200,0.7));
    border-right: 0;
    border-bottom: 0;
    border-left: 5px solid #f8f8f8;
    border-top: 5px solid #f8f8f8;
}
#contactus_btn_icon{
    position: relative;
    color: #f8f8f8;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    transition: all 0.5s ease-in;
    
}



.contactus_inner_field_wrapper.error_msg-general{
    color: tomato;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    margin-left: 1rem;
    margin-top: 2.2rem;
}
.contactus_inner_field_wrapper.error_msg-general>.contactus_error_icon{
    margin-right: 1rem;
}

.contactus_inner_field_wrapper>.contactus_error_icon{
    font-size: 1.5rem;
    font-weight: 600;
    color: tomato;
    margin-bottom: -0.7rem;
}
.contactus_field_wrapper>.contactus_error_msg_show{
    color: tomato;
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    margin: 1.2rem 0rem 1.2rem 0rem ;
    padding-bottom: 1.2rem;
}
.contactus_error_msg_show{
    display: none;
}
.contactus_field_wrapper>.error_msg-general{
    display: none;
}



/* general error alert styles */
.contactus_error_msg_box{
    position: relative;
    top: -1000%;
    max-width: 100%;
    height: auto;
    opacity: 0;
    background-color: #fff;
    padding: 1rem;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    border: 3px solid tomato;
    border-radius: 0px 5px 5px 0px;
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.2);
    margin: 1.2rem 0;
    animation: contactusErrorMsgAnimate 3000ms ease-in;
    animation-fill-mode: forwards;
    transition: all 3000ms ease-in;
}
@keyframes contactusErrorMsgAnimate{

    0%{
        top:-1000%;
        opacity: 0;
        display: none;
    }
    100%{
        /* max-width: 100%;
        height: auto; */
        top: 0;
        opacity: 1;
        display: flex;
    }
    
}
.show_error_msg{
    /* max-width: 100%;
    height: auto; */
    top: 0;
    opacity: 1;
    display: flex;
}
.contactus_error_msg_box>.contactus_error_icon{
    color: tomato;
    font-size: 2.3rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 1rem;
}
.contactus_error_msg_box>#contactus_error_msg{
    color: tomato;
    font-size: 13px;
    font-weight: bold;
    text-align: left;
    padding: 0 1.2rem;
    line-height: 1.2;
}
/* general error alert styles */




.contactus_field_wrapper>.required_field_label{
    display: inline-block;
    font-size: 1.8rem;
    color: #f8f8f8;
    margin: 0.7rem 0;
    margin-bottom: -1.5rem;
}
#contactus_google_map_wrapper{
    position: relative;
    width: 800px;
    /* box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.2); */
    order: 1;
}
#contactus_google_map_wrapper>#loc_heading{
    font-family: "Saira Condensed", sans-serif;
    max-width: 100%;
    padding: 1rem;
    background-color: rgba(0,0,200,0.5);
    color: #f8f8f8;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0;

}
#contactus_google_map_wrapper>h3>span{
    font-size: 1.3rem;
    color: #fff;
    font-family: 'Teko', sans-serif;
    font-weight: 700;
}
#contactus_google_map_wrapper>#office_Gmap_loc{
    position: relative;
    width: 100%;
    height: 700px;
}
#contactus_google_map_wrapper>#office_Gmap_loc>iframe{
    width: 100%;
    height: 100%;
}

#contactus_details{
    position: relative;
    max-width: 100%;
    min-height: 300px;
    background-color: #f8f8f8;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    color: #fff;
}
#contactus_details>.details-wrapper{
    position: relative;
    max-width: 100%;
    padding: 1rem;
    padding-top: 3rem;
}
#contactus_details>.details-wrapper>.detail{
    position: relative;
    width: 200px;
    min-height: 200px;
    padding: 1rem;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0px 0px 10px 0 rgba(0,0,0,0.15);
    border-top: 5px solid var(--page-bgcolor);
    
}
#contactus_details>.details-wrapper>.detail>.detail--icon{
    font-size: 3rem;
    color: var(--page-bgcolor);
    margin-bottom: 1.5rem;
}
#contactus_details .detail p{
    color: #555;
    font-weight: 500;
    line-height: 1.2;
}
#contactus_details .detail a{
    text-decoration: none;
    transition: all 0.5s ease-in;
    word-break: break-all;
}
#contactus_details .detail a:hover{
    text-decoration: underline;
    font-weight: 600;
    color: var(--page-bgcolor);
}

.emphasized-text{
    font-weight: bold;
    font-size: 1rem;
    text-transform: capitalize;
}

/* Optimization for tablet and mobile devices starts here */
@media (max-width:850px){
    #contactus_info_container{
        flex-wrap: wrap;
        justify-content: center;
    }

    
}

@media (max-width:600px){
    #contact_info{
        max-width: 85%;
    }
    
}


@media (max-width:450px){
    .contactus_inner_field_wrapper>#contactus_btn_icon{
        left: 32%;
        transform: translate(-32%, -50%);
        padding-right: 15%;
    }

    #contact_info{
        text-align: left;
    }
    
}

@media (max-width:400px){
  
    
    
}

@media (max-width:360px){
    .contactus_inner_field_wrapper>#contactus_btn{
        text-align: right;
    }

    
    
}

