/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 26px;
  pointer-events: none;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  pointer-events: auto;
}

/* WhatsApp Button - Right Side */
.whatsapp-btn {
  width: 56px;
  height: 56px;
  /* margin-bottom: 15px; */
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.397);
  color: white;
  order: 2;
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: rgb(255, 255, 255);
}

.whatsapp-btn:hover {
  background: radial-gradient(
    50% 50% at 73% 33%,
    rgba(101, 42, 25, 1) 0%,
    rgba(40, 17, 18, 1) 100%
  );
  transform: scale(1.1);
}

/* Contact Button - Left Side */
.contact-btn {
  background: rgba(255, 255, 255, 0.84);
  color: black;
  border: none;
  border-radius: 30px;
  padding: 10px 22px;
  gap: 8px;
  order: 1;
  font-weight: 500;
}

.contact-btn .arrow-icon {
  display: flex;
  align-items: center;
  background: #000;
  border-radius: 50%;
  padding: 8px;
}

.contact-btn .arrow-icon svg {
  width: 20px;
  height: 20px;
  stroke: rgb(255, 255, 255);
  stroke-width: 2;
  fill: none;
}

.contact-btn:hover {
  background: rgba(0, 0, 0, 0.753);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Contact Button Wrapper */
.contact-btn-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  pointer-events: auto;
  order: 1;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.contact-btn-wrapper.visible {
  opacity: 1;
  transform: translateX(0);
}

.contact-btn-wrapper.hidden {
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
}

/* Small Close Button on Contact Button */
.contact-btn-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.contact-btn-close svg {
  width: 10px;
  height: 10px;
  stroke: #fff;
}

.contact-btn-close:hover {
  background: rgba(255, 71, 87, 0.9);
  transform: scale(1.1);
}

/* Contact Modal */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* backdrop-filter: blur(3px); */
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-modal.active {
  display: flex;
}

.contact-modal-content {
  background: rgba(255, 255, 255, 0.178);
  backdrop-filter: blur(50px) !important;
  border-radius: 20px;
  padding: 50px;
  max-width: 480px;
  width: 100%;
  position: relative;
  border: 1px solid #090c1713;
  /* box-shadow: 0 10px 60px rgba(128, 128, 128, 0.055); */
}
/* Modal Header */
.sec-heads {
  margin-bottom: 25px;
  text-align: left;
}

.sec-heads h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #fff;
}

.sec-heads p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.733)!important;
  margin: 0;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #fff;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Form Styles */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 0px;
}

.form-group {
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.247);
  border-radius: 6px;
  color: #fff !important;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(108, 92, 231, 0.5);
}

.form-group textarea {
  min-height: 90px;
  max-height: 90px;
  resize: none;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: #2a2020;
  color: #fff;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 12px 24px;
  background: linear-gradient(135deg, #000000 0%, #860000 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(75, 3, 3, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Alert Messages */
.messages {
  margin-bottom: 15px;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 10px;
}

.alert-success {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

.alert-danger {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 15px;
    padding: 0 16px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }

  .whatsapp-btn svg {
    width: 20px;
    height: 20px;
  }

  .contact-btn {
    padding: 8px 14px;
    font-size: 10px;
  }
  .contact-btn .arrow-icon svg{
  width: 20px;
  height: 20px;
  }

  .contact-btn-close {
    width: 18px;
    height: 18px;
    top: -6px;
    right: -6px;
  }

  .contact-btn-close svg {
    width: 8px;
    height: 8px;
  }

  .contact-modal-content {
    padding: 25px;
    max-width: 95%;
  }

  .sec-heads h2 {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
