.contactUs {
    height: auto;
    /* Changed to auto for better flexibility on smaller screens */
    width: 100vw;
    background: linear-gradient(90deg, #16171D 0%, #5C5C5C 100%);
    position: relative;
    color: white;
    z-index: 4;
    padding-bottom: 4%;
    padding-top: 2%;
}
.ContactUsHeader{
    text-align: center;
}
.contactWrapper {
    height: 100%;
    width: 80%;
    margin: 0 auto;
    display: flex;
   flex-direction: column;
    align-items: center;
    gap: 20px;
    /* Increased gap for better spacing */
}



.contactBottm{
    text-align: center;
}

.leftContact {
    flex: 1;
}

.rightContact {
    flex: 1;
}

.emailBox {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Adjusted max-width to fit the container */
}

.emailUs {
    width: calc(100% - 120px);
    /* Adjusted width to make space for the button */
    padding: 14px 16px;
    border-radius: 27px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #ffffff;
    color: white;
}

.sendBtn {
    
    border: none;
position: absolute;
    right: 91px;
    top: 3px;
    height: 85%;
    padding: 0px 16px;
    background-color: #FF7700;
    color: white;
    border-radius: 27px
    /* Adjusted width to fit within the container */
}

/* Responsive styles for smaller devices */

@media (max-width: 768px) {
    .contactWrapper {
        flex-direction: column;
        align-items: center;
    }

    .leftContact,
    .rightContact {
        width: 100%;
        text-align: center;
    }

    .emailBox {
        width: 90%;
        /* Adjust width for better fit on smaller screens */
    }

    .emailUs {
        width: calc(100% - 80px);
        /* Adjusted width to fit smaller button */
    }

    .sendBtn {
        width: 80px;
        /* Adjust button width for smaller screens */
    }
}

@media (max-width: 480px) {
    .contactWrapper {
        gap: 15px;
        /* Reduced gap for tighter layouts on very small screens */
    }

    .emailUs {
        width: calc(100% - 60px);
        /* Further adjust width to fit the button */
        font-size: 14px;
        /* Reduced font size for smaller screens */
    }

    .sendBtn {
        width: 60px;
        /* Further adjust button width */
        font-size: 14px;
        /* Reduced font size for smaller screens */
        left: 71%;
    }
}

.contactBottom {
    text-align: center;
}

.contactForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.formInput {
width: calc(202% - 40px);   
    padding: 14px;
    border-radius: 27px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    font-size: 16px;
    margin: 5px 0;
}

textarea.formInput {
    resize: none;
}

.submitBtn {
    width: 100%;
    max-width: 300px;
    padding: 14px;
    background-color: #FF7700;
    color: white;
    border: none;
    border-radius: 27px;
    font-size: 16px;
    cursor: pointer;
}

/* Responsive styles for smaller devices */
@media (max-width: 768px) {
    .formInput {
        width: calc(120% - 30px);
        font-size: 14px;
    }

    .submitBtn {
        width: 100%;
        max-width: 250px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .formInput {
        width: calc(152% - 20px);
        font-size: 12px;
    }

    .submitBtn {
        width: 100%;
        max-width: 200px;
        font-size: 12px;
    }
}