* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../images/contact-us/56f0c884755dc886462a7b48ef57a8ff.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 128, 0.87); /* Navy blue overlay with 70% opacity */
    z-index: 1;
}

.container {
    display: flex;
    width: 80%;
    max-width: 895px;
    background: white;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    flex-direction: row;
}

.left-section,
.form-section {
    flex: 1;
}

.left-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.form-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    font-size: 24px;
    color: #000080;
    margin-bottom: 10px;
}

p {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group textarea {
    resize: none;
    height: 80px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    color: white;
    background-color: #000080;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #3333a1;
}

/* Responsive Adjustments */

/* Tablets and smaller screens */
@media (max-width: 768px) {
    body{
        
    background: none;
    }
    .container {
        width: 100%;
        height: 100%;
        flex-direction: column;
        border-radius: 0%;
        box-shadow: none;
        overflow: auto;

    }

    .left-section, .form-section {
        flex: none;
        width: 100%;
    }

    .left-section img {
        object-position: top;
        height: 450px; /* Fixed height for image on smaller screens */
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 13px;
    }

    .form-group {
        flex-direction: column;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    h2 {
        font-size: 20px;
        text-align: center;
    }

    p {
        font-size: 12px;
        text-align: center;
        margin-bottom: 15px;
    }

    .form-section {
        padding: 15px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        font-size: 13px;
        padding: 8px;
    }

    .submit-btn {
        font-size: 14px;
        padding: 12px;
    }
}
.back-home {
    width: 100%;
    text-align: right;
    padding: 14px 0;
}
.back-home a{
    text-decoration: none;
}