
       
     
        /* Floating form styles */
        .floating-form-container {
            position: fixed;
            right: -400px; /* Start hidden off-screen */
            top: 0;
            width: 350px;
            height: 100vh;
            background: #fff;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease-in-out;
            z-index: 1000;
            overflow-y: auto;
        }
        
        .floating-form-container.visible {
            right: 0;
        }
        
        .form-header {
            padding: 15px;
            background: #4a6fa5;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .form-header h3 {
            margin: 0;
        }
        
        .close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
        }
        
        .form-body {
            padding: 20px;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: black ;
        }
        
        .form-group input, 
        .form-group textarea, 
        .form-group select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
        }
        
        .form-group textarea {
            height: 100px;
            resize: vertical;
        }
        
        .submit-btn {
            background: #4a6fa5;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        
        .submit-btn:hover {
            background: #3a5a8f;
        }
        
        /* Form toggle button - positioned top right */
        .toggle-form-btn {
            position: fixed;
            right: 20px;
            top: 50px; /* Change to '50%' to position vertically centered */
            background: #4a6fa5;
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* If you want it vertically centered instead of top */
        /* .toggle-form-btn {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            ... rest stays the same ...
        } */
        
        .toggle-form-btn:hover {
            background: #3a5a8f;
        }
        
        /* Scroll to top button - kept at bottom */
        .scroll-top-btn {
            position: fixed;
            right: 20px;
            bottom: 20px;
            background: #4a6fa5;
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            display: none;
        }
        
        .overlay.visible {
            display: block;
        }
    
        .error-message1{
            font-size: 16px;
            color: red;
        }