.social-floating-right {
  position: fixed;
  top: 80%;
  right: 0px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-iconss {
  position: fixed;
  top: 80%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

/* SOCIAL ICONS */
#emailModal {
  z-index: 99999 !important;
}

#emailModal .modal-dialog {
  margin-top: 130px !important;
}

#emailModal .modal-content {
  max-height: 80vh !important;
  overflow-y: auto !important;
}
.social-floating-right .social-icons {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff; /* WHITE BACKGROUND */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-floating-right .social-icons img {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.social-floating-right .social-icons:hover {
  transform: translateX(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-floating-right .social-icons:hover img {
  transform: rotate(360deg);
}

/* LEFT FLOATING ICONS */

.floating-iconss a {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 160px;
  transform: translateX(-110px);
  padding: 10px 12px;
  text-decoration: none;
  color: #fff;
  border-radius: 0 30px 30px 0;
  transition: transform 0.4s ease;
}

.floating-iconss a img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #ffffff; /* WHITE BACKGROUND */
  padding: 8px;
  transition: transform 0.5s ease;
}

.floating-iconss a:hover {
  transform: translateX(0);
}

.floating-iconss a:hover img {
  transform: rotate(360deg);
}

/* BUTTON COLORS */

.mail-icons {
  background: #d93025;
}
.whatsapp-icons {
  background: #25d366;
}
.call-icons {
  background: #4285f4;
}

/* MOBILE */

@media (max-width: 768px) {
  .social-floating-right {
    right: 8px;
  }

  .social-floating-right .social-icons {
    width: 40px;
    height: 40px;
  }

  .social-floating-right .social-icons img {
    width: 20px;
    height: 20px;
  }

  .floating-iconss a {
    width: 140px;
    height: 45px;
    transform: translateX(-95px);
    font-size: 14px;
  }

  .floating-iconss a img {
    width: 30px;
    height: 30px;
  }
}

/* ---------------- Modal Styling ---------------- */
.modal-content {
  border-radius: 15px;
  overflow: hidden;
  animation: fadeInUp 0.5s ease;
}

.modal-header {
  background: linear-gradient(45deg, #f28e98, hsl(0, 77%, 73%)); /* Email */
  color: rgb(5, 4, 4);
}

#whatsappModal .modal-header {
  background: linear-gradient(45deg, #9fa39f, #b6bbb7); /* WhatsApp */
  color: rgb(5, 4, 4);
}

.modal-title {
  font-weight: 600;
}

.modal-body button {
  border-radius: 8px;
  font-weight: bold;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  padding: 10px;
  background: #979a97;
  color: rgb(11, 11, 11);
}

.modal-body button:hover {
  transform: translateY(-2px);
}

/* Fade Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- Form Styling ---------------- */
.modal-body .form-control,
.modal-body .custom-select,
.modal-body .custom-file .custom-file-label {
  width: 100%;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.modal-body .form-control:focus,
.modal-body .custom-select:focus,
.modal-body .custom-file .custom-file-label:focus {
  border-color: #e4ebea;
  box-shadow: 0 0 0 0.2rem rgba(135, 166, 199, 0.25);
  outline: none;
}

.modal-body .form-control.is-valid,
.modal-body .custom-select.is-valid {
  border-color: #d8d5cf;
  background-image: url("data:image/svg+xml,..."); /* Valid check icon */
}

.modal-body .form-control.is-invalid,
.modal-body .custom-select.is-invalid {
  border-color: #737272;
  background-image: url("data:image/svg+xml,..."); /* Invalid cross icon */
}

.modal-body textarea.form-control {
  resize: vertical;
}

/* Custom file input */
.modal-body .custom-file {
  position: relative;
  width: 100%;
}

.modal-body .custom-file-input {
  opacity: 0;
  width: 100%;
  z-index: 2;
}

.modal-body .custom-file-label {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

/* Select inside modal */
.modal-body .custom-select {
  appearance: none;
  background: url("data:image/svg+xml,...") no-repeat right 0.75rem center/8px
    10px #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

/* Switch, checkbox, radio (custom-control) inside modal */
.modal-body .custom-control-label:before {
  border-radius: 0.25rem;
  border: 1px solid #adb5bd;
  background-color: #fff;
  transition: all 0.15s ease-in-out;
}

.modal-body .custom-control-input:checked ~ .custom-control-label:before {
  background-color: #f3f1ef;
  border-color: #eef0f2;
}

.modal-body .form-group {
  margin-bottom: 1rem;
}
.modal-body .mb-3 {
  margin-bottom: 1rem !important;
}

.loader-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
