/* start conatct us*/
.contact-overlay {
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    padding: 70px 0;
}

.contact-us {
    background: center center no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
}

.contact-wrapper {
    box-sizing: border-box;
    color: var(--main-color);
}

.contact-wrapper {
    position: relative;
    /* max-width: 90%; */
    border: 2px solid var(--main-color);
    border-top: none;
    text-align: center;
}

.contact-wrapper h1 {
    position: relative;
    margin-top: -14px;
    display: inline-block;
    letter-spacing: 4px;
    color: var(--main-color);
}

.top-border {
    position: absolute;
    height: 2px;
    width: 24%;
    background-color: var(--main-color);
}

.right {
    right: 0;
}

.left {
    left: 0;
}

@media (max-width: 685px) {
    .top-border {
        width: 18%;
    }
}

.contact-wrapper .contact-para{
    margin: 20px;
    line-height: 30px;
    color: #3c6382;
}

.contact-wrapper h2{
text-transform: capitalize;
}

.contact-wrapper .primary-button {
    outline: 0;
    display: inline-block;
    margin-bottom: 70px;
    max-width: 80%;
    background-color: var(--main-color);
    color: var(--white-color);
    font-size: 16px;
    letter-spacing: 1.5px;
    transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    border-radius: 10px;
    padding: 0 10px;
    text-transform: capitalize;
}

.contact-wrapper a:hover {
    background-color: var(--main-color);
}

.contact-wrapper a:link,
.contact-wrapper a:visited,
.contact-wrapper a:link:hover,
.contact-wrapper a:visited:hover {
    text-decoration: none;
    color: var(--white-color);
}

@media (max-width: 500px) {
    /* .top-border {
        display: none;
    }

    .contact-wrapper {
        border-top: 2px solid var(--main-color);
    } */

    .contact-wrapper h1 {
        margin: 20px 6px;
    }
}

/* start contact black */
/* ///// inputs /////*/

input:focus~label,
textarea:focus~label,
input:valid~label,
textarea:valid~label {
    font-size: 0.75em;
    color: #999;
    top: -5px;
    -webkit-transition: all 0.225s ease;
    transition: all 0.225s ease;
}

.styled-input {
    float: left;
    width: 383px;
    margin: 1rem 0;
    position: relative;
    border-radius: 4px;
}

@media only screen and (max-width: 768px) {
    .styled-input {
        width: 100%;
    }
    .contact-wrapper h2{
    padding-top: 30px;
    }
}

.styled-input label {
    color: #999;
    padding: 1.3rem 30px 1rem 30px;
    position: absolute;
    top: 10px;
    left: 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    pointer-events: none;
}

.styled-input.wide {
    width: 800px;
    max-width: 100%;
}

.styled-input input {
    height: 80px !important;
}

input,
textarea {
    padding: 30px;
    border: 0;
    width: 100%;
    font-size: 1rem;
    background-color: var(--white-color);
    color: #4e799c;
    border-radius: 4px;
    border: 1px solid #ddd
}

input:focus,
textarea:focus {
    outline: 0;
}

input:focus~span,
textarea:focus~span {
    width: 100%;
    -webkit-transition: all 0.075s ease;
    transition: all 0.075s ease;
}

textarea {
    width: 100%;
    min-height: 15em;
}

.input-container {
    width: 800px;
    max-width: 100%;
    margin: 20px auto 25px auto;
}
.right_conatct_social_icon{
    background: #FFA900;
}
/* .contact_us{
   background-color: #f1f1f1;
   padding: 120px 0px;
} */

.contact_inner{
   background-color: var(--white-color);
   position: relative;
   box-shadow: 20px 22px 44px #cccc;
   overflow: hidden;
}
.right_conatct_social_icon{
    height: 100%;
    width: 50%;
    float: right;
}

.contact_field h3{
  color: #000;
   font-size: 40px;
   letter-spacing: 1px;
   font-weight: 600;
   margin-bottom: 10px
}
.contact_field p{
   color: #000;
   font-size: 13px;
   font-weight: 400;
   letter-spacing: 1px;
   margin-bottom: 35px;
}
.contact_field .form-control{
   border-radius: 0px;
   border: none;
   border-bottom: 1px solid #ccc;
}
.contact_field .form-control:focus{
   box-shadow: none;
   outline: none;
   border-bottom: 2px solid #1325e8;
}
.contact_field .form-control::placeholder{
   font-size: 13px;
   letter-spacing: 1px;
}

.contact_info_sec {
    position: absolute;
    background-color: #0165B5;
    right: 1px;
    top: 10%;
    height: auto;
    width: 30%;
    padding: 40px;
    border-radius: 25px 0 0 25px;
    color: var(--white-color);
}
.contact_info_sec h4{
   letter-spacing: 1px;
   padding-bottom: 15px;
}
.contact_info_sec a{
    color: var(--white-color);
}
.info_single{
   margin: 30px 0px;
}
.info_single i{
   margin-right: 15px;
   font-size: 30px;
}
.info_single span{
   font-size: 20px;
   letter-spacing: 1px;
}


.socil_item_inner li{
   list-style: none;
}
.socil_item_inner li a{
   color: var(--white-color);
   margin: 0px 15px;
   font-size: 20px;
}
.socil_item_inner{
   padding-bottom: 10px;
   justify-content: center;
   width: 100%;
}

.free-pages
{
padding: 0 20px 20px 20px;
}

@media (max-width: 768px) {
    .contact_info_sec {
        position: relative;
        width: 100%;
    }
    .right_conatct_social_icon {
        float: left;
        border-radius: 0 10px 10px 0;
    }
}