/* ============ GLOBAL ENQUIRY MODAL STYLES ============ */
#globalEnqModal {
    position: fixed !important; 
    inset: 0 !important; 
    z-index: 2147483647 !important;
    display: none; /* THIS IS WHAT HIDES IT BY DEFAULT */
    align-items: center;
    justify-content: center;
}
#globalEnqModal.active { 
    display: flex !important; 
}
.enq-modal-backdrop {
    position: absolute; inset: 0; background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(6px);
}
.enq-modal-container {
    position: relative !important; z-index: 2147483647 !important;
    background: white; width: 92%; max-width: 520px; padding: 30px 20px;
    border-radius: 18px; box-shadow: 0 40px 100px rgba(14,165,233,0.25);
    animation: enqFadeScale 0.35s cubic-bezier(0.22,1,0.36,1);
    max-height: 90vh; overflow-y: auto; font-family: -apple-system, sans-serif;
}
@keyframes enqFadeScale {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.enq-modal-container h2 { margin-top: 0; margin-bottom: 8px; color: #0a2540; font-size: 1.5rem; }
.enq-modal-container p { margin-bottom: 20px; color: #5a6a7a; font-size: 0.9rem; }
.enq-modal-container input, .enq-modal-container textarea {
    width: 100%; padding: 12px; border-radius: 10px; border: 1px solid rgba(14,165,233,0.2);
    margin-bottom: 15px; font-family: inherit; font-size: 0.95rem; color: #0a2540; box-sizing: border-box;
}
.enq-modal-container input:focus, .enq-modal-container textarea:focus {
    outline: none; border-color: #007aff; box-shadow: 0 0 0 3px rgba(14,165,233,0.2);
}
.enq-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.enq-success-message {
    display: none; margin-top: 15px; padding: 12px; border-radius: 8px;
    background: rgba(16,185,129,0.15); color: #10B981; text-align: center;
}
.close-modal-btn {
    position: absolute; top: 15px; right: 15px; background: none; border: none;
    font-size: 1.5rem; color: #5a6a7a; cursor: pointer; transition: 0.3s;
}
.close-modal-btn:hover { color: #ff3b30; transform: scale(1.1); }

/* FIX FOR THE UNSTYLED SUBMIT BUTTON */
#globalEnqModal .btn-submit {
    width: 100%; padding: 16px; background: linear-gradient(135deg, #007aff 0%, #0052ff 100%);
    color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 8px;
}
#globalEnqModal .btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 122, 255, 0.4); }

@media (max-width: 768px) {
    .enq-grid-2 { grid-template-columns: 1fr; }
}