/* Custom select dropdown styling */
.buttonn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; optional, makes it centered vertically within full viewport height */
  }
  
/* Ensuring consistent styles for select and options */
.custom-select {
    height: 50px;
    /* margin-top: 32px; */
    width: 100%;
    /* padding: 12px; */
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    appearance: none;
    font-size: 16px;
    color: #333;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4z"/></svg>'); 
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.custom-select option {
    background-color: #fff; /* Ensuring a clean white background */
    color: #333; /* Standard text color */
    padding: 10px; /* Adjust padding for better alignment */
    font-size: 16px; /* Match font size */
}

/* .custom-select option:hover {
    background-color: #f1f1f1;
} */

.custom-select:focus {
    border-color: #6f6df4;
    box-shadow: 0 0 8px rgba(111, 109, 244, 0.5);
    outline: none;
}


/* Container for the custom dropdown (mobile-friendly) */
.select-wrapper {
    position: relative;
    width: 100%;
}

/* Style for select dropdown on mobile */
@media (max-width: 768px) {
    .custom-select {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 540px) {
    .custom-select {
        font-size: 13px;
        padding: 10px;
        background-position: right 5px center; /* Adjust arrow for smaller screens */
    }
}


/* Additional form elements to match the design */
.form-wrapper {
    /* background-color: #3C3E4B; */
    width: 100%;
    /* max-width: 100%; */
    /* padding: 40px; */
    border-radius: 12px;
    animation: fadeIn 1s ease-out;
    transition: box-shadow 0.3s ease-in-out;
}

.modal-title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    /* color: #333; */
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    width: 100%;
    max-width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-column {
    flex: 1;
    /* min-width: 100%; */
    width: 50%;
}

.form-label {
    font-family: Georgia;
    display: block;
    /* color: #333; */
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    color: #333;
    font-family: Georgia;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    transition: border-color 0.3s, transform 0.3s, background-color 0.3s;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.05);
}

.form-input:focus,
.form-textarea:focus {
    border-color: #3C3E4B;
    outline: none;
    transform: scale(1.02);
    background-color: #fff;
    box-shadow: 0px 0px 8px #3c3e4b84;
}

.form-textarea {
    resize: none;
}

/* Submit Button */
.submit-buttonn {
    display: block;
    width: 35%;
    padding: 14px;
    /* background: linear-gradient(135deg, #6f6df4, #4c46f5); */
    /* background: linear-gradient(135deg, #3c3e4bd6, #3C3E4B); */
    background-color: #f9f9f9;
    /* color: #fff; */
    color: linear-gradient(135deg, #3c3e4bd6, #3C3E4B);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0px 5px 15px #3c3e4b84;
}

.submit-button:hover {
    /* background: linear-gradient(135deg, #4c46f5, #6f6df4); */
    /* background: linear-gradient(135deg, #3C3E4B, #3c3e4bd6); */
    color: linear-gradient(135deg, #3c3e4bd6, #3C3E4B);
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px #3c3e4b84;
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0px 5px 15px #3c3e4b84;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px;
    }
    .title {
        font-size: 26px;
    }
    .subtitle {
        font-size: 14px;
    }
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .form-wrapper {
        padding: 20px;
    }
    .title {
        font-size: 22px;
    }
    .subtitle {
        font-size: 13px;
    }
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    .form-column {
        min-width: 100%;
    }
    .form-label {
        font-family: Georgia;
        font-size: 13px;
    }
    .form-input,
    .form-textarea {
        padding: 10px;
    }
    .submit-button {
        padding: 12px;
        font-size: 16px;
    }
}
