/*--- Premium Popup Design (Global) ---*/
.visa-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    padding: 1rem;
    animation: fadeIn 0.4s ease-out;
}

.visa-modal {
    position: relative;
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Poppins', sans-serif;
}

.visa-close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.visa-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

/* Header Styling */
.visa-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    color: white;
    position: relative;
}

.visa-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: white;
    border-radius: 20px 20px 0 0;
}

.brand-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.visa-header h3 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.visa-header p {
    margin: 0 0 1rem 0;
    opacity: 0.95;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.highlight-text {
    color: #fbbf24;
    /* Amber/Gold */
    font-weight: 600;
}

/* Service Pills Container */
.service-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.service-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    color: white;
    white-space: nowrap;
}

/* Form Styling */
.visa-form {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    position: relative;
}

.form-group .form-icon {
    display: none; /* Explicitly hide icons just in case */
}

.visa-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.visa-form input:focus {
    outline: none;
    border-color: #2a5298;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(42, 82, 152, 0.1);
}

.visa-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.visa-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

.visa-note {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Success Message */
.success-message {
    padding: 3rem 2rem;
    text-align: center;
}

.success-icon-animated {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-message h4 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.success-message p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@media (max-width: 480px) {
    .visa-modal {
        max-width: 95%;
        border-radius: 16px;
    }

    .visa-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .visa-form {
        padding: 1.5rem;
    }
}
