html {
  scroll-behavior: smooth;
}

/* FAQ Section Styles */
#faq-section {
  padding: 4rem 1rem;
  background-color: #FFFFFF; /* White background as requested */
  color: #0F172A; /* Dark text for contrast on white background */
  font-family: 'Inter', sans-serif; /* Level 3: Answers */
}

#faq-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

#faq-section h2 {
  font-family: 'Montserrat', sans-serif; /* Level 1: Category Headers */
  font-size: 2.5rem; /* Adjusted for 3:1 ratio with answers */
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #0F172A; /* Dark color for heading on white background */
  background: none; /* Remove gradient for better visibility on white */
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Increased white space */
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.1); /* Darker border for light background */
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8); /* Slightly opaque white for frosted glass effect */
  backdrop-filter: blur(10px); /* Frosted glass effect */
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px); /* Micro-interaction: subtle lift */
}

.faq-question {
  font-family: 'Rubik', sans-serif; /* Level 2: Questions */
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  color: #333333; /* Darker color for questions on white background */
  font-weight: 500; /* Medium weight */
  font-size: 1.25rem; /* Adjusted for 3:1 ratio with answers */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s, background-color 0.2s;
}

.faq-question:hover {
  color: #007BFF; /* Blue on hover for questions */
  background-color: rgba(0, 0, 0, 0.03); /* Subtle hover background */
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
  color: #666666; /* Darker icon color */
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #007BFF; /* Blue when active */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother transition */
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Approximate max height */
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: #555555; /* Darker color for answers on white background */
  line-height: 1.6; /* Breathing room */
  font-size: 1rem; /* Minimum 16px for mobile-first readability (1rem = 16px by default) */
}
