/* ================= ENQUIRY MODAL (matches site theme) ================= */

.enq-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(35, 0, 12, 0.65);
    backdrop-filter: blur(4px);
}

.enq-overlay.open { display: flex; }

.enq-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 26px 24px;
    background: #57091c;
    background: radial-gradient(circle at top right, #81213c, transparent 45%), #57091c;
    border: 1px solid rgba(255, 210, 125, 0.4);
    border-radius: 14px;
    box-shadow: 0 24px 50px rgba(35, 0, 12, 0.45);
    color: #fff;
    animation: enqIn 0.25s ease;
}

@keyframes enqIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

.enq-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    color: #ffd27d;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.enq-box h3 { font-size: 21px; margin-bottom: 2px; }

.enq-sub { color: #f1dfe1; font-size: 12px; margin-bottom: 12px; }

.enq-form { display: flex; flex-direction: column; gap: 8px; }

.enq-form label { color: #ffd27d; font-size: 11px; font-weight: 600; }

.enq-form input,
.enq-form select,
.enq-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.95);
    color: #351018;
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.enq-form textarea { resize: vertical; min-height: 70px; }

.enq-form input:focus,
.enq-form select:focus,
.enq-form textarea:focus {
    border-color: #ffd27d;
    box-shadow: 0 0 0 3px rgba(255, 210, 125, 0.2);
}

.enq-hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

.enq-submit {
    margin-top: 8px;
    padding: 12px 16px;
    border: 1px solid #ffd27d;
    border-radius: 22px;
    background: #ffd27d;
    color: #4b0717;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.enq-submit:hover { background: #fff0c5; transform: translateY(-2px); }
.enq-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.enq-msg { display: none; padding: 9px 12px; border-radius: 7px; font-size: 12px; }
.enq-msg.show { display: block; }
.enq-msg.ok  { background: #e7f7ec; color: #14612b; }
.enq-msg.err { background: #fde8e8; color: #9b1c1c; }

/* Navbar "Enquire Now" button */
.nav-menu a.nav-enquire-btn {
    background: #ffd27d;
    color: #4b0717;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
}

.internship-form .enq-msg { margin-top: 4px; }
