/* ================================
   GLOBAL RESET
================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: #333;
}

/* ================================
   POPUP OVERLAY
================================ */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px;
    z-index: 9999;
}

/* ================================
   POPUP CONTAINER
================================ */
.popup-container {
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    border-radius: 14px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: popupFadeUp 0.35s ease;
}

@keyframes popupFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   POPUP HEADER
================================ */
.popup-header {
    padding: 22px 26px 16px;
    border-bottom: 1px solid #eee;
}

.popup-header h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 600;
}

.popup-header p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* ================================
   CLOSE BUTTON
================================ */
.close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 20px;
    color: #777;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: #f1f1f1;
    color: #222;
}

/* ================================
   FORM
================================ */
.popup-body {
    padding: 22px 26px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control-custom {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-control-custom:focus {
    outline: none;
    border-color: #7f53ac;
    box-shadow: 0 0 0 3px rgba(127, 83, 172, 0.15);
}

/* ================================
   SUBMIT BUTTON
================================ */
.submit-btn {
    width: 100%;
    height: 46px;
    margin-top: 6px;
    background: linear-gradient(135deg, #6b73ff, #7f53ac);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* ================================
   NAVBAR (FINAL FIX)
================================ */
.nav {
    width: 100%;
    background: #fff;
}

.nav .container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 24px;
    min-height: 72px;
}

/* LOGO – LEFT */
.nav .logo {
    flex-shrink: 0;
}

/* LINKS – CENTER */
.navLinks {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navLinks ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navLinks a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
}

.navLinks a:hover {
    color: #7f53ac;
}

/* BUTTON – RIGHT */
.nav-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-quote-btn {
    height: 42px;
    padding: 0 30px;
    background: linear-gradient(135deg, #6b73ff, #7f53ac);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 26px rgba(127, 83, 172, 0.35);
}

.nav-quote-btn:hover {
    transform: translateY(-1px);
}

/* ================================
   FLOATING BUTTON
================================ */
.floating-quote-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6b73ff, #7f53ac);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .navLinks {
        display: none; /* for hamburger later */
    }

    .nav-quote-btn {
        height: 38px;
        padding: 0 16px;
        font-size: 13px;
    }
}
