/* ===== Custom Styles for Horizontal Home Health Care LLC ===== */

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Custom button hover effects */
button, a[class*="bg-blue"], a[class*="bg-white"] {
    transition: all 0.3s ease-in-out;
}

/* Hero section gradient animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}



/* ===== FAQ STYLING ===== */

/* FAQ Container */
.faq-container {
  max-width: 3xl;
  margin: 0 auto;
}

/* Individual FAQ Item */
.faq-item {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Hover Effect - Get Bigger */
.faq-item:hover {
  border-color: #2563eb;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px) scale(1.02);
  background: #f0f9ff;
}

/* Active State (when expanded) */
.faq-item.expanded {
  border-color: #2563eb;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
  background: #f0f9ff;
}

/* FAQ Question (Title) */
.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  user-select: none;
}

/* Question Text Hover */
.faq-item:hover h3 {
  color: #2563eb;
}

/* Toggle Arrow */
.faq-toggle {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 12px;
}

/* Arrow Rotation Animation */
.faq-item.expanded .faq-toggle {
  transform: rotate(180deg);
}

/* FAQ Answer (Content) */
.faq-item p {
  margin: 16px 0 0 0;
  color: #4b5563;
  line-height: 1.6;
  font-size: 16px;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Expand/Collapse Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Collapse Animation */
.faq-item p.closing {
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
