/* Floating Buttons Styles */
.floating-buttons {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

/* Main Floating Button */
.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.floating-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.floating-btn:hover::before {
  left: 100%;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.floating-btn:active {
  transform: translateY(0) scale(1);
}

/* Suggestions Button */
.suggestions-float {
  background: #3498db;
}

.suggestions-float:hover {
  background: #2980b9;
}

/* Phone Button */
.phone-float {
  background: #27ae60;
}

.phone-float:hover {
  background: #229954;
}

/* Email Button */
.email-float {
  background: #f39c12;
}

.email-float:hover {
  background: #e67e22;
}

/* Calendar Button */
.calendar-float {
  background: #e74c3c;
}

.calendar-float:hover {
  background: #c0392b;
}

/* WhatsApp Button */
.whatsapp-float {
  background: #25d366;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  background: #128c7e;
}

/* Animation for WhatsApp */
@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Floating Menu Container */
.floating-menu {
  position: relative;
}

/* Menu Toggle Button */
.menu-toggle {
  background: linear-gradient(135deg, #153357 0%, #1e4976 100%);
  position: relative;
}

.menu-toggle:hover {
  background: linear-gradient(135deg, #1e4976 0%, #153357 100%);
}

.menu-toggle i {
  transition: transform 0.3s ease;
}

.menu-toggle.active i {
  transform: rotate(45deg);
}

/* Menu Items */
.menu-items {
  position: absolute;
  bottom: 0;
  right: 70px;
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.menu-items.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Tooltip Styles */
.tooltip {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: var(--white-color);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
}

.floating-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


/* Floating Contact Form */
.floating-contact-form {
  position: fixed;
  right: 2rem;
  bottom: 8rem;
  width: 320px;
  background: var(--container-color);
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s ease;
}

.floating-contact-form.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e1e5e9;
}

.floating-form-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 0;
}

.floating-form-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.floating-form-close:hover {
  color: var(--primary-color);
  background: rgba(21, 51, 87, 0.1);
}

.floating-form-field {
  margin-bottom: 1rem;
}

.floating-form-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--text-color);
  font-weight: 500;
}

.floating-form-field input,
.floating-form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e1e5e9;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.floating-form-field input:focus,
.floating-form-field textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(220, 178, 102, 0.1);
}

.floating-form-field textarea {
  min-height: 80px;
  resize: vertical;
}

.floating-form-submit {
  width: 100%;
  background: var(--gradient);
  color: var(--white-color);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-form-submit:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
}


/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .floating-buttons {
    right: 1rem;
    bottom: 6rem;
    top: auto;
    transform: none;
    gap: 0.85rem;
  }

  .floating-btn {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  }

  .tooltip {
    display: none;
  }

  .floating-contact-form {
    right: 1rem;
    left: 1rem;
    width: auto;
    bottom: 8rem;
    top: auto;
    transform: translateY(0);
    max-width: 400px;
    margin: 0 auto;
  }

  .floating-contact-form.show {
    transform: translateY(0) scale(1);
  }

  .floating-form-field input,
  .floating-form-field textarea {
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .floating-form-submit {
    padding: 0.85rem;
    font-size: 0.95rem;
    min-height: 48px;
  }
}

@media screen and (max-width: 640px) {
  .floating-buttons {
    right: 0.85rem;
    bottom: 5rem;
    gap: 0.75rem;
  }

  .floating-btn {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .floating-contact-form {
    right: 0.85rem;
    left: 0.85rem;
    bottom: 7rem;
    padding: 1.25rem;
  }

  .floating-form-header {
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
  }

  .floating-form-title {
    font-size: 1rem;
  }

  .floating-form-field {
    margin-bottom: 0.85rem;
  }

  .floating-form-field label {
    font-size: 0.85rem;
  }

  .floating-form-field input,
  .floating-form-field textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .floating-form-field textarea {
    min-height: 70px;
  }
}

@media screen and (max-width: 480px) {
  .floating-buttons {
    right: 0.75rem;
    bottom: 4.5rem;
    gap: 0.65rem;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.15rem;
  }

  .floating-contact-form {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 6.5rem;
    padding: 1rem;
  }
}

@media screen and (max-width: 350px) {
  .floating-buttons {
    right: 0.65rem;
    bottom: 4rem;
    gap: 0.5rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .floating-contact-form {
    right: 0.65rem;
    left: 0.65rem;
    bottom: 6rem;
    padding: 0.85rem;
  }

  .floating-form-title {
    font-size: 0.95rem;
  }

  .floating-form-field input,
  .floating-form-field textarea {
    padding: 0.65rem;
    font-size: 0.85rem;
  }

  .floating-form-submit {
    padding: 0.75rem;
    font-size: 0.85rem;
    min-height: 44px;
  }
}