.contact-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: url('../IMAGES/Pictures/Services/Engineering/Fabrication/Image1.webp') no-repeat center center;
  background-size: cover;
  width: 100%; 
  & > .transparent {
    margin: 0 auto;
    width: 100%;
    height: fit-content;
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    & > .inn_container {
        & > .main_container {
            width: 65%;
            display: flex;
            flex-direction: column;
            margin: 0 auto;
            & > .title_container {
                flex-direction: column;
                text-align: end;
                padding: 0 75px;
                & > div {
                    & > h3 {
                        font-size: 3.9em;
                        position: relative;
                        display: inline-block;
                        font-family: 'Raleway', 'Poppins', sans-serif;
                        padding: 20px 0;
                        text-align: end;
                        color: #ededed;
                        &::after {
                            content: '';
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            width: 100%;
                            height: 10px;
                            background-color: #0766ad;
                        }
                    }
                    & > p {
                        color: #ededed;
                        font-size: 1em;
                        font-family: 'Raleway', 'Poppins', sans-serif;
                    }
                }     
            }
            & > .content_container {
                display: flex;
                flex-direction: row;
                & > .border_container {
                    width: 50%;
                    margin: 0 auto;
                    justify-content: center;
                    display: flex;
                    align-items: center;
                    & > .contact-info {
                        background-color: #0766ad;
                        padding: 80px;
                        width: fit-content;
                        & > h3 {
                            color: #ededed;
                            font-size: 1.3em;
                            margin: 0 10px;
                            font-family: 'Raleway', 'Poppins', sans-serif;
                            text-align: start;
                            line-height: 1.5;
                            & > i.fa {
                                margin: 0 10px;
                            }
                        }   
                        & > p {
                            color: #ededed;
                            font-family: 'Raleway', 'Poppins', sans-serif;
                            margin: 10px 55px;
                            line-height: 1.7;
                            & > a {
                                color: #ededed;
                                text-decoration: none;
                            }
                        }
                        & > .fo_contact {
                            padding: 20px;

                            & > a {
                                & > img {
                                    margin: 0 10px;
                                    height: 30px;
                                    text-decoration: none;
                                }
                            }
                        }
                    }
                }
                & > .form_container {
                    width: 50%;
                    padding: 50px 75px;
                    & > .contact-form {
                        & > form {
                            & > .form-group {
                                display: flex;
                                flex-direction: column;
                                & > label {
                                    font-family: 'Raleway', 'Poppins', sans-serif;
                                    font-size: 1.2em;
                                    color: #ededed;
                                    font-weight: 500;
                                    margin: 5px 0;
                                }
                                & > input[type="text"],
                                & > input[type="tel"],
                                & > textarea,
                                & > input[type="email"],
                                & > select {
                                    width:100%;
                                    border: 0;
                                    color: #001627;
                                    padding: 10px;
                                    margin: 10px 0;
                                    &::placeholder {
                                        color: #0766adde;
                                        font-size: 1em;
                                    }
                                    &:focus {
                                        border-color: #001627;
                                        box-shadow: 0 0 8px rgba(1, 45, 78, 0.5);
                                        outline: none;
                                    }
                                }
                            }
                            & > .form-group:last-child {
                                display: flex;
                                width: fit-content;
                                justify-content: flex-start;
                                align-items: flex-end;
                                & > button[type="submit"] {
                                    padding: 15px 20px;
                                    background-color: #0766ad;
                                    color: #ededed;
                                    border: none;
                                    font-size: 1em;
                                    cursor: pointer;
                                    &:hover {
                                        background-color: #064b80;
                                    }
                                }
                            }
                        }   
                    } 
                }
            }
        }
    }
  }
}

/* model for success */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    & > .modal-content {
        background-color: #0766ad;
        margin: auto;
        padding: 20px;
        border-radius: 20px;
        width: 90%;
        max-width: 400px;
        text-align: center;
        position: relative;
        
        & > .close-modal {
            color: #ededed;
            float: right;
            font-size: 28px;
            top: -17px;
            font-weight: bold;
            cursor: pointer;
            &:hover,
            &:focus {
                color: #cccccc;
                text-decoration: none;
            }
        }
        & > #modal-message {
            font-size: 1em;
            color: #ededed;
        }
    }
}

/* Responsive media */
@media screen and (max-width: 1700px) {
    .contact-container {
        width: 100%;
        & > .transparent {
            & > .inn_container {
                & > .main_container {
                    width: 85%;
                    & > .title_container {
                        & > div {
                            & > h3 {
                                font-size: 3.5em;
                            }
                        }     
                    }
                    & > .content_container {
                        & > .form_container {
                            width: 55%;
                            & > .contact-form {
                                & > form {
                                    & > .form-group {
                                        & > input[type="text"],
                                        & > input[type="tel"],
                                        & > textarea,
                                        & > input[type="email"],
                                        & > select {
                                            padding: 15px;
                                            &::placeholder {
                                                font-size: 1.2em;
                                            }
                                        }
                                    }
                                }   
                            } 
                        }
                        & > .border_container {
                            width: 45%;
                        }
                    }
                }
            }
        }
    }
}
  
@media screen and (max-width: 1440px) {
    .contact-container {
        width: 100%; 
        & > .transparent {
            & > .inn_container {
                & > .main_container {
                    width: 90%;
                    & > .title_container {
                        padding: 0;
                        & > div {
                            & > h3 {
                                font-size: 3em;
                            }
                        }     
                    }
                    & > .content_container {
                        & > .border_container {
                            width: fit-content;
                            & > .contact-info {
                                padding: 40px;
                            }
                        }
                        & > .form_container {
                            padding: 50px 0;
                            width: 45%;
                        }
                    }
                }
            }
        }
    }
}
  
@media screen and (max-width: 1200px) {
    .contact-container {
        width: 100%; 
        & > .transparent {
            & > .inn_container {
                & > .main_container {
                    width: 95%;
                    & > .title_container {
                        padding: 0;   
                    }
                    & > .content_container {
                        & > .border_container {
                            width: fit-content;
                            padding: 10px;
                            & > .contact-info {
                                padding: 10px;
                            }
                        }
                        & > .form_container {
                            width: 60%;
                        }
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .contact-container {
        width: 100%; 
        & > .transparent {
            padding: 20px;
            & > .inn_container {
                & > .main_container {
                    width: 90%;
                    & > .title_container {
                        text-align: center;
                        padding: 0;
                            & > div {
                                & > h3 {
                                    font-size: 2.7em;
                                    text-align: center;
                                    &::after {
                                        height: 7px;
                                    }
                                }
                                & > p { 
                                    text-align: center;
                                }
                            }     
                    }
                    & > .content_container {
                        flex-direction: column-reverse;
                        align-items: center;
                        & > .form_container {
                            width: 90%;
                            & > .contact-form {
                                & > form {
                                    & > .form-group {
                                        & > label {
                                            font-size: 1em;
                                        }
                                    }
                                }
                            }
                        }
                        & > .border_container {
                            & > .contact-info {
                                padding: 10px;
                                background-color: #0766ad61;
                                & > .fo_contact {
                                    display: none;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
  
@media screen and (max-width: 480px) {
    .contact-container {
        width: 100%; 
        & > .transparent {
            padding: 10px;
            & > .inn_container {
                width: 100%;
                & > .main_container {
                    width: 100%;
                    justify-content: center;
                    align-items: center;
                    & > .title_container {
                        & > div {
                            & > h3 {
                                font-size: 2.4em;
                            }
                        }     
                    }
                    & > .content_container {
                        width: 95%;
                        & > .form_container {
                            width: 95%;
                        }
                        & > .border_container {
                            width: fit-content;
                            & > .contact-info {
                                padding: 5px;
                                width: fit-content;
                                & > h3 {
                                    font-size: 1.2em;
                                }
                                & > .fo_contact {
                                    display: none;
                                }
                                & > p {
                                    line-height: 1.5;
                                    margin: 10px 30px;
                                    font-size: 1em;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    /* model for success */
    .modal {
        & > .modal-content {
            padding: 20px;
            width: 90%;
            max-width: 300px;
            & > .close-modal {
                top: -25px;
            }
        }
    }
}
  
@media screen and (max-width: 320px) {
    .contact-container {
        width: 100%; 
        & > .transparent {
            padding: 10px;
            & > .inn_container {
                width: 100%;
                & > .main_container {
                    & > .content_container {
                        width: 100%;
                        & > .border_container {
                            & > .contact-info {
                                & > p {
                                    margin: 10px 20px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    /* model for success */
    .modal {
        & > .modal-content {
            max-width: 200px;
        }
    }
}