/* Cover Img */
.coverImg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-block-size: 35vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
.coverImg h1{
    background-color: rgb(255, 255, 255, .8);
    color: var(--red);
    padding: .1em .6em;
    border-radius: 3px;
}
.container {
    display: inline-block;
}

.overlay {
    border-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.4)) fill 1;
}

.contact-intro-wrap {
    display: flex;
    background-color: var(--backgroud-light-gray);
    justify-content: center;
    padding: 1em;
    gap: .5em;
}

.email-wrap {
  overflow-wrap: break-word; 
  word-break: break-all; 
  display: inline-block; 
  max-width: 100%;
   letter-spacing: 1px;
}

.contact-details {
    width: 40%;
    max-height: auto;
    max-width: 350px;
    aspect-ratio: 1/1;
    border: solid rgb(236, 236, 236) 1px;
    border-radius: 8px;
    background-color: white;
    padding: .5em;
     box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
}
.contact-header-icon{
    width: 100%;
    border: red solid 1px;
}
.contact-details img {
  text-align: center;
    max-height: 80px;
}
.contacts-phone-wrap{
    margin-top: .8em;
    width: 100%;
}
.contacts-phone{
    display: flex;
    gap:1em;
    letter-spacing: 3px;
     background-color: var(--backgroud-light-gray);
   padding: .2em .4em;
   border-radius: 3px;
   align-items: center;
}

.contacts-phone-address{
  display: flex;
    gap:1em;
    letter-spacing: 3px;
    margin-top: .5em;
     background-color: var(--backgroud-light-gray);
    padding: .2em .4em;
    border-radius: 3px;
}

.contacts-phone-wrap img{
   max-height: 20px;
}
.img-iphone{
  display: flex;
  justify-content: center;  
}
.contact-page-form img {
    max-height: 80px;
}
.margin-contacts{
    margin-top: 12px;
}
.form-link-btn{
 margin: 0 auto ;
 background-color: var(--red);
 border-radius: 5px;
 color: white;
 font-size: 1.6em;
 text-align: center;
padding: .3em .6em;
 width: 60%;
 margin-top: 1em;
}

/* message  */
.contact-message{
    color: white;
    padding: .7em;
    text-align: center;
    background-color: var(--blue);
}
.contact-message p{
    color: black;
    text-align: center;
}
/* form */
#form-section{
   background-color: var(--backgroud-light-gray);
}

.contact-details-wrap {
    background-color: var(--blue);
    width: 100%;

}

.contact-details-wrap {
    display: flex;
    flex-direction: column;
    gap: .4em;
    color: white;
}

.contact-detail-flex div:nth-child(3) {
    border-bottom: lightgray 2px solid;
    border-top: lightgray 2px solid;
    padding: .4em 0;
    width: 80%;
    margin-top: .4em;
}

.contact-detail-flex {
    display: flex;
    flex-direction: column;
    gap: .4em;
}

.contact-form-wrap {
    width: 70%;
    background-color: var(--backgroud-light-gray);
    margin: 0 auto;
}

.contact-form-wrap,
.contact-details-wrap {
    padding: 2em;
}

.consent {
    display: flex;
    gap: 10px;
}

.personal-infomation input {
    width: 100%;
    padding: 12px;
    margin: .4em 0;
    border: 2px solid var(--blue);
    border-radius: 8px;
}

.personal-infomation input:focus {
    outline: 2px solid white;
}

.btn-flex button {
    color: white;
    background-color: var(--red);
    padding: 8px 12px;
    border: none;
    letter-spacing: 2px;
    border-radius: 4px;
}

.btn-flex {
    display: flex;
    justify-content: center;
    width: 100%;
}

#formMessage {
    padding: .5em;
    min-height: 100px;
}

.Enquiry {
    margin-bottom: .4em;
}

.form-title {
    color: #113047;
    font-size: 1.3em;
}

.form-bottom {
    display: flex;
    flex-direction: column;
}

.consent label p {
    font-size: .5em;
}

.line {
    border-top: 2px gainsboro solid;
    width: 80%;
}

.line-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

/* brick background */

.brick-background {
    width: 100%;
    height: 300px;
    border-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6),
            rgba(255, 255, 255, 0.6)) fill 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 0;
}

@media (max-width: 800px) {
    .contact-section-wrap {
        width: 100%;
    }

    .contact-section-wrap {
        width: 100%;
    }

    .contact-details-wrap {
        width: 100%;
    }

    .contact-form-wrap {
        width: 100%;
    }

    .personal-infomation .inputs {
        display: flex;
        flex-direction: column;
        margin-bottom: .2em;

    }

    .personal-infomation .inputs label {
        margin-bottom: .2em;
    }

    .consent {
        display: flex;
        gap: 10px;
    }

    .consent label p {
        font-size: .5em;
    }

    .form-bottom {
        display: flex;
        flex-direction: column;
    }

    .service-box {
        width: 98%;
    }

    .service-grid {
        justify-content: center;
    }


    /* intro text */
    .intro-text {
        font-size: .8em;
        ;
    }

    .intro-h1 h2 {
        font-size: 1em;
    }

    .line-wrap {
        display: block;
    }

.contact-intro-wrap {
    flex-direction: column;
    align-items: center;
}

    .contact-details{
        font-size: .8em;
    }


.contact-details {
    width: 98%;
    max-height: auto;
    max-width: 350px;
    aspect-ratio: 1/1;
    border: solid rgb(236, 236, 236) 1px;
    border-radius: 8px;
    background-color: white;
    padding: .5em;
     box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
}
.margin-contacts{
    margin-top: -100px;
}

.contact-message h2{
    font-size: 1em;
}
.contact-message p{
        font-size: .7em;
}
}

@media (max-width: 560px) {
 .margin-contacts{
    margin-top: -70px;
}
.margin-mb{
    margin-top: 5px !important;

}

}