/* Modal Form Container */
.model-form {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

/* Modal Inner Container */
.model-inn {
    width: 650px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row; /* Align children in a row */
    position: relative;
    overflow: hidden; /* Ensure content doesn't overflow the container */
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 0px;
    right: 13px;
    font-size: 25px;
    font-weight: bold;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
    color: rgb(252, 139, 139);
}
.close-btn:hover {
    color: red;
}

/* Left Section */
.form-left {
    width: 30%; /* Adjust width for left section */    
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    padding: 20px;
}
.form-left img {
    width: 80%;
    height: auto;    
    filter: drop-shadow(2px 2px 5px rgba(255, 0, 0, 0.3));
}

/* Right Section */
.form-right {
    width: 70%; /* Adjust width for right section */
    background-color: rgb(34, 34, 34);
    box-sizing: border-box;
    padding: 20px 30px;
    border-radius: 0 10px 10px 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.form-right h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.form-right h5 {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 20px 0;
}

/* Input Fields */
.form-right input[type="text"],
.form-right input[type="email"],
.form-right input[type="submit"],
.form-right select,
.form-right textarea {
    font-size: 14px;
    padding: 10px;
    width: 100%;
    border-radius: 6px;
    margin: 2px 0;
    border: none;
}
.form-right textarea {
 height: 60px;
}
.form-right .form-group {
 margin-bottom: 2px;
}
.form-right .error-message {
 color: red;
}
.form-right #successMessage {
    text-align: center;
    padding-top: 100px;
width: 100%;
height: 100%;
 position: absolute;
 top: 80px;
 left: 0;
 background-color: #fee7de;
padding: 20px;
font-size: 20px;
}

/* Submit Button */
.form-right input[type="submit"] {
    font-size: 18px;
    padding: 8px 10px;
    width: 60%;
    border-radius: 6px;
    margin: 5px 15%;
    border: none;
    background-color: red;
    cursor: pointer;
    color: white;
    opacity: 0.8;
}
.form-right input[type="submit"]:hover {
    opacity: 1;
}

/* Paragraph */
.form-right p {
    color: #aaa;
    font-size: 12px;
    margin: 0;
    margin-top: 10px;
    text-align: center;
    line-height: 1.3;
}
.form-right p > a {
    color: #aaa;
    text-decoration: underline;
}


@media only screen and (max-width:600px) {
    
    
    /* Modal Inner Container */
    .model-inn {
        width: 98%;        
        flex-direction: column; /* Align children in a row */
    }
    
    /* Close Button */
    .close-btn {
        position: absolute;
        top: 0px;
        right: 13px;
        font-size: 25px;
        font-weight: bold;
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 100;
        color: rgb(252, 139, 139);
    }
    .close-btn:hover {
        color: red;
    }
    
    /* Left Section */
    .form-left {
        width: 100%; /* Adjust width for left section */
    }
    .form-left img {
        width: 40%;
        height: auto;    
    }
    
    /* Right Section */
    .form-right {
        width: 100%; /* Adjust width for right section */
        background-color: rgb(34, 34, 34);
        border-radius: 0 0px 10px 10px;
        box-sizing: border-box;
        padding: 10px 15px;
    }
    
    .form-right h2 {
        font-size: 20px;
        font-weight: 500;
        margin: 0 0 10px 0;
    }
    
    .form-right h5 {
        font-size: 12px;
        font-weight: 400;
        margin: 0 0 20px 0;
    }
    
    /* Input Fields */
    .form-right input[type="text"],
    .form-right input[type="email"],
    .form-right input[type="submit"],
    .form-right select,
    .form-right textarea {
        font-size: 12px;
        padding: 8px;
    }

    .form-right #successMessage {
     text-align: center;
    padding-top: 100px;
    width: 100%;
    height: 100%;
     position: absolute;
     top: 80px;
     left: 0;
    background-color: white;
    padding: 20px;
    font-size: 20px;
    }
    
    /* Submit Button */
    .form-right input[type="submit"] {
        font-size: 16px;
        padding: 6px 10px;
        width: 60%;
        border-radius: 6px;
        margin: 5px 20%;
        border: none;
        background-color: red;
        cursor: pointer;
        color: white;
        opacity: 0.8;
    }
    
    
    
}







