/* Popup Overlay - Glassmorphism Effect */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
}

/* Popup Content Card */
.popup-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.popup-overlay.active .popup-content {
    transform: translateY(0) scale(1);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #555;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-close:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}

/* Header */
.popup-header {
    text-align: center;
    margin-bottom: 20px;
}

.popup-header h2 {
    font-size: 28px;
    color: #2E448D;
    /* Primary Color from style.css */
    margin-bottom: 5px;
    font-weight: 700;
    font-family: "century gothic", sans-serif;
    /* Matching site font */
}

.popup-header p {
    color: #666;
    font-size: 15px;
}

/* Form Groups */
.form-group {
    margin-bottom: 15px;
    position: relative;
}



.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9f9f9;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2E448D;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 68, 141, 0.1);
    outline: none;
}

/* Submit Button */
.popup-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2E448D 0%, #1a2b6d 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.popup-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 68, 141, 0.3);
}

.popup-submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.form-success-message {
    text-align: center;
    color: #28a745;
    font-weight: 600;
    display: none;
    margin-top: 20px;
}

/* Scroll lock for body */
body.popup-open {
    overflow: hidden;
}