
/* Floating Contact Button Styles */

.floating-contact-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: none; /* Hidden temporarily - remove this line to restore */
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-contact-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a67d8 0%, #805ad5 100%);
  border: none;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.floating-contact-button:hover,
.floating-contact-button:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-contact-button:active {
  transform: scale(1.05);
}

.floating-contact-button:focus-visible {
  outline: 2px solid #5a67d8;
  outline-offset: 2px;
}

.floating-contact-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  animation: fadeInSlideUp 0.3s ease-out;
}

@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-contact-menu-item {
  background: white;
  color: #333;
  padding: 12px 20px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
  white-space: nowrap;
  opacity: 0;
  animation: fadeInItem 0.3s ease-out forwards;
}

@keyframes fadeInItem {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-contact-menu-item:nth-child(1) {
  animation-delay: 0s;
}

.floating-contact-menu-item:nth-child(2) {
  animation-delay: 0.05s;
}

.floating-contact-menu-item:nth-child(3) {
  animation-delay: 0.1s;
}

.floating-contact-menu-item:hover,
.floating-contact-menu-item:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #5a67d8;
}

.floating-contact-menu-item:active {
  transform: translateY(0);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .floating-contact-container {
    bottom: 16px;
    right: 16px;
  }

  .floating-contact-button {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .floating-contact-menu-item {
    padding: 10px 18px;
    font-size: 13px;
  }
}

/* Ensure button doesn't interfere with footer on very small screens */
@media (max-height: 600px) {
  .floating-contact-container {
    bottom: 12px;
  }
}
