.contact {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Heading Styling */
.contact h2 {
    margin-bottom: 30px;
    font-size: 1.8em;
    text-align: center;
    color: #121845;
    border-bottom: 1px solid #121845;
}

.feedback-msg{
    color: red;
    margin-bottom: 15px;
    padding: 5px;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #121845;

}
form .dbl-field {
    display: flex;
    margin-bottom: 25px;
    justify-content: space-between;
}

.dbl-field .field {
    height: 50px;
    display: flex;
    position: relative;
    width: calc(100% / 2 - 13px);
}

form input[type=text],
input[type=email],
textarea,
button {
    font-family: "Poppins", sans-serif;
    background: #f9f9f9;
}

form i {
    position: absolute;
    top: 50%;
    left: 18px;
    color: #121845;
    font-size: 17px;
    pointer-events: none;
    transform: translateY(-50%);
}

form .field input,
form .message textarea {
    width: 100%;
    height: 100%;
    outline: none;
    padding: 0 18px 0 48px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #121845;
}

.field input::placeholder,
.message textarea::placeholder {
    color: #ccc;
}

.field input:focus,
.message textarea:focus {
    padding-left: 47px;
    border: 2px solid #121845;
}

.field input:focus~i,
.message textarea:focus~i {
    color: #121845;
}

form .message {
    position: relative;
    /* margin-top: 40px;
    margin-bottom: 40px; */
}

form .message i {
    top: 30px;
    font-size: 20px;
}

form .message textarea {
    padding: 15px 20px 0 48px;
    min-height: 120px;
    min-width: 100%;
    overflow: hidden;
    resize: none; 
}

.message textarea:focus {
    padding-top: 14px;
}

form .button-area {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    color: #fff;
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 7px;
    padding: 13px 25px;
    /* background-color: #0D6EFD; */
    background-color: #121845;
    transition: background-color 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.button-area button:hover {
    background: #ff0000;
}


@media (max-width: 768px){
    form .dbl-field {
        flex-direction: column;
        margin-bottom: 0px;
    }  
    
    form .dbl-field .field {
        width: 100%;
        height: 50px;
        margin-bottom: 15px;
    }
    form .message {
        margin: 5px 0 20px 0;
    }

    form .button-area {
        margin-top: 20px;
        flex-direction: column;
    }

    .button-area button {
        width: 100%;
        padding: 11px 0;
        font-size: 18px;
    }
    .contact {
        padding: 20px;
    }
    
    input, textarea {
        font-size: 14px;
    }
    
    button {
        font-size: 14px;
    }
}