/* Popup Overlay */
        .new-popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 999;
            animation: fadeIn 0.3s ease-out;
        }

        .new-popup-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Popup Container */
        .new-popup {
            background: white;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 500px;
            width: 100%;
            overflow: hidden;
            animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            position: relative;
        }

        
        /* Close Button */
        .new-popup-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .new-popup-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        /* Form Container */
        .new-popup-body {
            padding: 5px 5px;
        }

        .form-container1 {
            width: 100%;
        }

        form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

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

        .form-group1 label {
            font-size: 14px;
            font-weight: 600;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-group1 input,
        .form-group1 textarea {
            padding: 14px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-family: inherit;
            font-size: 15px;
            transition: all 0.3s ease;
            background: #f9f9f9;
        }

        .form-group1 input:focus,
        .form-group1 textarea:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-group1 textarea {
            resize: vertical;
            min-height: 120px;
            font-family: inherit;
        }

        /* Input Error State */
        .form-group1 input:invalid:not(:placeholder-shown),
        .form-group1 textarea:invalid:not(:placeholder-shown) {
            border-color: #e74c3c;
        }

        /* Honeypot */
        input[name="servoshield.com"] {
            display: none !important;
        }

        /* reCAPTCHA Container */
        .g-recaptcha {
            display: flex;
            justify-content: center;
            margin: 0px 0;
        }

        /* Submit Button */
        .btn-submit {
            padding: 14px 28px;
            background: #005198;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 0px;
            position: relative;
            overflow: hidden;
        }

        .btn-submit::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transition: left 0.4s ease;
        }

        .btn-submit:hover::before {
            left: 100%;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
        }

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

        .btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        /* Success Message */
        .form-success {
            display: none;
            text-align: center;
            padding: 40px 30px;
            background: #f0f9ff;
        }

        .form-success.active {
            display: block;
        }

        .success-icon {
            font-size: 48px;
            margin-bottom: 16px;
            animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .form-success h3 {
            color: #27ae60;
            font-size: 24px;
            margin-bottom: 12px;
        }

        .form-success p {
            color: #555;
            font-size: 14px;
            line-height: 1.6;
        }

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

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

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

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
        }

        /* Loading State */
        .btn-submit.loading {
            pointer-events: none;
        }

        .btn-submit.loading::after {
            content: '';
            display: inline-block;
            width: 14px;
            height: 14px;
            margin-left: 8px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Responsive Design */
        @media (max-width: 600px) {
            .new-popup {
                max-width: 95vw;
                margin: 20px;
            }

            .new-popup-header {
                padding: 30px 20px;
            }

            .new-popup-header h2 {
                font-size: 24px;
            }

            .new-popup-body {
                padding: 30px 20px;
            }

            .form-group1 input,
            .form-group1 textarea {
                font-size: 16px; /* Prevents zoom on iOS */
            }

            .btn-submit {
                padding: 12px 24px;
                font-size: 14px;
            }

            .new-popup-close {
                width: 32px;
                height: 32px;
                font-size: 20px;
                top: 16px;
                right: 16px;
            }
        }

        @media (max-width: 400px) {
            .new-popup-header h2 {
                font-size: 20px;
            }

            .new-popup-body {
                padding: 24px 16px;
            }

            form {
                gap: 16px;
            }

            .form-group1 input,
            .form-group1 textarea {
                padding: 12px 14px;
                font-size: 16px;
            }

            .form-group1 textarea {
                min-height: 100px;
            }
        }

        /* Utility Classes */
        .text-center {
            text-align: center;
        }

        .mt-4 {
            margin-top: 16px;
        }

        .error-message {
            color: #e74c3c;
            font-size: 13px;
            margin-top: 6px;
            display: none;
        }

        .error-message.show {
            display: block;
        }