/* float button styling */
    .floating-btn {
      background-color: #e95420; 
      color: white;
      font-family: Arial, sans-serif;
      font-weight: bold;
      text-decoration: none;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 1000;
      position: fixed;
      opacity: 0; /* Start hidden */
      pointer-events: none; /* Initially not clickable */
    }
    
    .floating-btn.visible {
      opacity: 1;
      pointer-events: auto;
    }
    
    .floating-btn:hover {
      background-color: #d44a12;
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    
    /* Desktop positioning with vertical text */
    @media screen and (min-width: 769px) {
      .floating-btn {
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        padding: 20px 10px;
        border-radius: 0px 8px 8px 0px;
        writing-mode: vertical-lr;
        text-orientation: mixed;
        transform: rotate(180deg);
        display: flex;
        align-items: center;
      }
      
      .floating-btn svg {
        margin-bottom: 10px;
        width: 16px;
        height: 16px;
        transform: rotate(90deg);
      }
    }
    
    /* Mobile positioning */
    @media screen and (max-width: 768px) {
      .floating-btn {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        justify-content: center;
        padding: 12px 20px;
        border-radius: 5px;
        display: flex;
        align-items: center;
      }
      
      .floating-btn svg {
        margin-right: 8px;
        width: 16px;
        height: 16px;
      }
    }
 
    
    /* Modal Styles */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      visibility: hidden;
      opacity: 0;
      transition: all 0.3s ease;
    }
    
    .modal-overlay.active {
      visibility: visible;
      opacity: 1;
    }
    
    .modal-container {
      background-color: white;
      width: 90%;
      max-width: 500px;
      border-radius: 8px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
      position: relative;
      padding: 20px;
    }
    
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }
    
    .modal-title {
      font-size: 1.5rem;
      color: #333;
      font-weight: bold;
    }
    
    .modal-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: #666;
    }
    
    .modal-close:hover {
      color: #000;
    }
    
    /* Form Styles */
    .form-group1 {
      margin-bottom: 10px;
    }
    
    .textinput {
      width: 100%;
      padding: 8px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 16px;
      margin-bottom: 5px;
      transition: border-color 0.3s;
    }
    
    .selectinput {
      width: 100%;
      padding: 8px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 16px;
      transition: border-color 0.3s;
    }
    
    .textinput:focus, .selectinput:focus {
      border-color: #3498db;
      outline: none;
    }
    
    label p {
      font-weight: 500;
      color: black;
      margin-bottom: 5px;
    }
    
    .security-notice {
      background-color: #E4C34E;
      text-align: center;
      padding: 10px;
      border-radius: 5px;
      margin: 15px 0;
    }
    
    .security-notice span {
      font-size: 14px;
      color: black;
      font-weight: 500;
    }
    
    #leadform1, #leadform {
      width: 100%;
      padding: 8px;
      background-color: #e82e30;
      color: white;
      border: none;
      border-radius: 4px;
      font-size: 16px;
      font-weight: bold;
      text-align: center;
      cursor: pointer;
      margin-top: 5px;
      transition: background-color 0.3s;
    }
    
    #leadform1:hover {
      background-color: #2980b9;
    }
    
    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .modal-container {
        width: 95%;
        padding: 15px;
      }
      
      .modal-title {
        font-size: 1.2rem;
      }
    }
    
    @media (max-width: 480px) {
       .textinput, .selectinput, #leadform1 {
        padding: 10px;
        font-size: 14px;
      }
      
      .modal-container {
        padding: 10px;
      }
    }