@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 230 100% 60%;
    --primary-foreground: 0 0% 100%;
    --secondary: 240 5% 96%;
    --secondary-foreground: 230 100% 60%;
    --muted: 240 5% 96%;
    --muted-foreground: 240 4% 46%;
    --accent: 280 100% 70%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 230 100% 60%;
    --primary-foreground: 0 0% 100%;
    --secondary: 240 4% 16%;
    --secondary-foreground: 0 0% 98%;
    --muted: 240 4% 16%;
    --muted-foreground: 240 5% 65%;
    --accent: 280 100% 70%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 212.7 26.8% 83.9%;
  }
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
}
.header-scrolled {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  border-color: transparent;
}
.dark .header-scrolled {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.2), 0 2px 4px -2px rgb(0 0 0 / 0.2);
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}
.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust as needed */
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Added media query for larger screens */

/* Custom Prose Styles for Content Pages */
.prose {
    color: hsl(var(--muted-foreground));
    line-height: 1.75;
}
.prose h2 {
    font-size: 1.875rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: hsl(var(--foreground));
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid hsl(var(--border));
    padding-bottom: 0.5rem;
}
.prose h3 {
    font-size: 1.5rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: hsl(var(--foreground));
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.prose p, .prose ul {
    margin-bottom: 1.25rem;
}
.prose ul {
    list-style-position: inside;
    list-style-type: disc;
    padding-left: 1rem;
}
.prose strong {
    color: hsl(var(--foreground));
    font-weight: 600;
}
.prose a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: text-decoration 0.2s ease-in-out;
}
.prose a:hover {
    text-decoration: underline;
}
