* {
  --primary-color: #6dbe45;
  --primary-color-rgb: 251, 236, 107;
  --bg-dark-1: #183969;
  --bg-dark-2: #0f2647;
  --bg-dark-3: #1e1e1e;  
  --bg-dark-1-rgb: 22, 53, 99;
}

/* Modal Overlay and Container */
.modal-overlay {
  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;
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-content-wrapper {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 90%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(-50px);
  opacity: 0;
}

.modal-overlay.show .modal-content-wrapper {
  transform: translateY(0);
  opacity: 1;
}

/* Modal Header */
.modal-header {
  background-color: #25D366;
  color: white;
  padding: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h5 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.modal-header .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Modal Body */
.modal-body {
  padding: 1.5rem;
}

/* Form Styling */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  font-weight: 500;
  color: #4a4a4a;
  display: block;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-submit {
  background-color: #25d366;
  border: none;
  font-weight: bold;
  color: white;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  width: 100%;
  cursor: pointer;
  transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.btn-submit:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
}

/* Corner Modal Specific Styles */
.corner-modal-overlay {
  justify-content: flex-end;
  align-items: flex-end;
  padding: 20px;
}

.corner-modal-overlay .modal-content-wrapper {
  width: 100%;
  max-width: 400px;
  transform: translateY(50px);
  margin: 0;
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 768px) {
  .floating-contact-btn {
    bottom: 2rem;
    /* Space from the bottom on mobile */
    right: 1rem;
    /* Space from the right on mobile */
    gap: 0.75rem;
  }

  .floating-contact-btn>div,
  .floating-contact-btn>a {
    width: 50px;
    height: 50px;
  }

  .floating-contact-btn img {
    width: 35px;
  }
}