/* Base Reset & Professional Theme Tokens */
:root {
  --brand-primary: #1d4ed8;
  --brand-dark: #1e3a8a;
  --brand-light: #f0f7ff;
  --slate-dark: #0f172a;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Subtle, Polished Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar - Minimal & Clean */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Service Pill Active State */
.filter-btn.active {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* FAQ Accordion Transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease;
  opacity: 0;
}

.faq-item.open .faq-content {
  max-height: 380px;
  opacity: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: #1d4ed8;
}

/* Clean Toast Notification */
#toast-notification {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

#toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Service Multi-Select Checkbox Card Styles */
.service-checkbox-card {
  transition: all 0.18s ease;
}

.service-checkbox-card:hover {
  border-color: #93c5fd;
  background-color: #f8fafc;
}

.service-checkbox-card.is-selected {
  border-color: #2563eb;
  background-color: #eff6ff;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.08);
}

/* Official Circular Brand Logo */
.brand-logo-container {
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #ffffff;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.18);
  filter: contrast(1.15) saturate(1.12);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.group:hover .brand-logo-img {
  transform: scale(1.25);
}

.service-checkbox-card.flash-highlight {
  animation: flashHighlight 1.2s ease;
}

@keyframes flashHighlight {
  0%, 100% {
    box-shadow: 0 0 0 0 transparent;
  }
  20%, 60% {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
    background-color: #dbeafe;
  }
}
