* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ECF3F6;
}
.row {
    margin-bottom: 40px;
    margin-top: 20px;
}
/* Image section */
.col-md-4 {
    width: 100%; /* By default, on smaller screens, make the image take full width */
    height: 250px;
    border-radius: 10px;
    margin-left: 130px;
}
.img1 {
    width: 100%; /* Make the image responsive */
    height: auto; /* Let the image adjust its height according to its width */
    border-radius: 9px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.8);
}

/* Form section */
.col-md-6 form {
    width: 100%; /* Default to full width on smaller screens */
    height: auto;
    border-radius: 10px;
    margin: 15px;
    display: flex;
    flex-direction: column; /* Stack form elements vertically */
    padding: 30px;
}
input, textarea {
    width: 80%; /* Make inputs and textareas responsive */
    padding: 15px;
    border: 1px solid #d9d9d9;
    outline: none;
    margin: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 18px;

    margin-bottom: 15px; /* Add some margin between fields */
}
/* Submit Button */
input[type="submit"] {
    color: #fff;
    background: #808080;
    width: 80%; /* Make submit button responsive */
    padding: 15px;
    border: none;
    outline: none;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    font-size: 18px;
    margin-left: 105px;
}
/* Label styling */
label {
    font-size: 15px;
    padding-bottom: 25px;
    display: inline-block; 
    width: 100px;
    text-align: right;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .col-md-4 {
        width: 100%;
        margin-left: 0px;
    }
    .col-md-6 form {
        width: 100%;
    }
    .img1 {
        margin-left: 0;
        height: 250px;
    }
}
@media (max-width: 480px) {
    .col-md-4, .col-md-6 {
        width: 100%;
    }
    input, textarea, input[type="submit"] {
        width: 100%;
        margin-left: 0;
    }
}
