:root{--primary-color:#d70a53;--secondary-color:#293134;--black:#000;--white:#fff;--text-color:#333}

.inquiry-form {
    padding: 25px 40px;
    box-sizing: border-box;
    border-radius: 5px;
    backdrop-filter: blur(10px); /* Apply the blur effect */
    --webkit-backdrop-filter: blur(10px); /* For Safari support */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); /* Optional: add shadow for depth */
}

.inquiry-form .contact-row{
	float:left;
	width:100%;
}

.inquiry-form .contact-row.full-row{
	width:100%;
}

.inquiry-form .contact-row.full-row input{
	width:100%;
}

.inquiry-form .contact-row.full-row input[type="submit"]{
	width:auto;
	margin-top:15px;
}

.contact-row input {
    border: none;
    border-bottom: 1px solid #D8D8D8;
    line-height: 40px;
    padding: 12px 0;
    line-height: 24px;
    font-size: 15px;
    color: #010101;
    font-weight: 500;
    background: transparent;
    border-radius: 0px;
    box-shadow: none;
}

.contact-row textarea {
    border: none;
    border-bottom: 1px solid #D8D8D8;
    line-height: 40px;
    padding: 12px 0;
    line-height: 24px;
    font-size: 15px;
    color: #010101;
    font-weight: 500;
    resize: none;
    height: 85px;
    background: transparent;
    border-radius: 0px;
    box-shadow: none;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
    background-color: unset;
}

.contact-btn button {
    color: var(--white);
    font-size: 16px;
    border: none;
    padding: .5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 15px;
    overflow: hidden;
    display: inline-block;
    background: linear-gradient(to left, #f04c3c 6%, #ff59a7 50%, var(--secondary-color) 50%) right;
    background-size: 201%;
    transition: 0.4s ease-out;
}

.contact-btn button:hover {
    background-position: left;
    color: var(--white);
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Backdrop effect */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Ensures it's above other content */
}

.custom-modal.show {
    display: flex; /* Show the modal */
}

.custom-modal .modal-content {
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

.custom-modal .modal-header {
    padding: 1rem;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal .modal-body {
    padding: 1rem;
}

.custom-modal .btn-close {
    background: transparent;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: #000;
    cursor: pointer;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


@media (max-width: 991px) {
    .custom-modal {
        display: flex;
    }
}

@media (min-width: 992px) {
    .custom-modal {
        display: none; /* Hide modal on larger screens */
    }
}

@media only screen and (max-width: 767px) {
    .inquiry-main {
        padding: 15px;
    }
}