/* Inquiry Modal Styles */
.inquiry-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 10, 20, 0.85);
    /* Darker backdrop */
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.inquiry-modal-content {
    background: #fff;
    padding: 30px;
    /* Compact padding */
    border-radius: 16px;
    /* Smoother corners */
    max-width: 460px;
    /* Slightly more compact */
    width: 90%;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
    from {
        transform: translateY(30px) scale(0.98);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.inquiry-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
}

.inquiry-close:hover {
    color: var(--navy);
    background: #eee;
    transform: rotate(90deg);
}

.inquiry-modal-content h2 {
    font-size: 24px;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.inquiry-modal-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #777;
    margin-bottom: 25px;
}

.inquiry-form .form-group {
    margin-bottom: 15px;
    /* Compact spacing */
}

.inquiry-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {
    width: 100%;
    padding: 12px 16px;
    /* Compact padding */
    border: 1.5px solid #f0f0f0;
    /* Softer border */
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    box-sizing: border-box;
    background: #fbfbfb;
    color: var(--navy);
}

.inquiry-form input::placeholder {
    color: #aaa;
}

.inquiry-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.inquiry-form select:focus {
    outline: none;
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(197, 160, 25, 0.1);
}

.inquiry-form textarea {
    resize: none;
    /* Fixed size for cleaner look */
    min-height: 80px;
}

.inquiry-form button[type="submit"] {
    width: 100%;
    background: var(--gold-gradient);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: 5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(197, 160, 25, 0.2);
}

.inquiry-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 25, 0.3);
    filter: brightness(1.1);
}

.inquiry-form button[type="submit"]:active {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .inquiry-modal-content {
        padding: 25px 20px;
        width: 92%;
    }

    .inquiry-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 0;
    }

    .inquiry-form .form-row .form-group {
        margin-bottom: 15px;
    }
}