.chatbox {
    /* position: relative; */
}

.whatsapp-menu {
    right: 2px;
    color: white;
    bottom: 75px;
    z-index: 99;
   background-color:#25d366;
    padding: 10px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-menu:hover {
    transform: scale(1.1);
}

.form-container {
    display: none;
    position: fixed;
    top: 140px;
    z-index: 99;
    right: 100px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 400px;
    animation: fadeIn 0.5s ease-out;
}

/* Animation for form opening */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input,
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #2e2d2d;
    border-radius: 5px;
    font-size: 14px;
}

form button {
    background-color: #25d366;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #128c7e;
}
.close-icon {
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .close-icon:hover {
    color: #ff0000;
  }

/* Responsiveness for mobile screens */
@media (max-width: 770px) {
    .form-container {
        top: 100px;
        right: 20vw;
        /* left: 20vw; */
        /* align-items: center; */
        
    }

    .whatsapp-menu {
        padding: 15px 25px;
        font-size: 18px;
    }

    form button {
        font-size: 18px;
    }
}
@media (max-width: 600px) {
    .form-container {
        width: 100%;
        left: 0px;
        /* right: 10px; */
    }

    .whatsapp-menu {
        padding: 15px 25px;
        font-size: 18px;
    }

    form button {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .whatsapp-menu {
        padding: 10px 20px;
        font-size: 14px;
    }

    form button {
        font-size: 16px;
    }
}
 /*  */
 /* Referal-Form */
 .referral-icon {
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    position: fixed;
    top: 420px;
    right: 18px;
    z-index: 99;

  }

  .referral-icon:hover {
    color: #0056b3;
  }

  .modal-rel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.5); */
    display: none;
    justify-content: center;
    align-items: center;
    display: none;
    position: fixed;
    /* top: 170px; */
    z-index: 99;
  }

  .modal-rel.active {
    display: flex;
  }

  .modal-content-rel {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .modal-header-rel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }



  .close-btn {
    font-size: 1.8rem;
    cursor: pointer;
    color: #fa0606;
  }

  .close-btn:hover {
    color: #555;
  }

  .modal-form-rel input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .modal-form-rel button {
    width: 100%;
    padding: 10px;
    background-color:#f88137;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
  }

  .modal-form-rel button:hover {
    background-color: #13a7f1;
  }