/* PAC Expertise — National Site Custom Styles */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300..800&display=swap');

:root {
  --color-primary: #1e3a5f;
  --color-primary-light: #2a4f7f;
  --color-primary-dark: #152c4a;
  --color-accent: #22c55e;
  --color-accent-dark: #16a34a;
  --color-accent-light: #4ade80;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
}

/* SVG Map styles */
.dept {
  fill: #e5e7eb;
  stroke: #ffffff;
  stroke-width: 0.8;
  cursor: default;
  transition: fill 0.2s ease;
}

.dept.active {
  fill: #22c55e;
  cursor: pointer;
}

.dept.active:hover {
  fill: #16a34a;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.dept:not(.active):hover {
  fill: #d1d5db;
}

/* Map tooltip */
.map-tooltip {
  position: absolute;
  background: #1e3a5f;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 50;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.map-tooltip.visible {
  opacity: 1;
}

.map-tooltip .tooltip-badge {
  display: inline-block;
  background: #22c55e;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

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

/* Star rating */
.star-filled {
  color: #facc15;
}

.star-half {
  background: linear-gradient(90deg, #facc15 50%, #d1d5db 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Table styling */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table thead th {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}

.data-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.data-table thead th:last-child {
  border-radius: 0 8px 0 0;
}

.data-table tbody td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 14px;
}

.data-table tbody tr:hover {
  background: var(--color-gray-50);
}

.data-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

.data-table tbody tr:last-child td:last-child {
  border-radius: 0 0 8px 0;
}

/* FAQ accordion */
.faq-item details summary {
  cursor: pointer;
  list-style: none;
}

.faq-item details summary::-webkit-details-marker {
  display: none;
}

.faq-item details summary::marker {
  display: none;
}

.faq-chevron {
  transition: transform 0.2s ease;
}

.faq-item details[open] .faq-chevron {
  transform: rotate(180deg);
}

/* Brand logos */
.brand-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.2s ease;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* CTA pulse animation */
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
}

.cta-pulse {
  animation: pulse-green 2s infinite;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 500px;
}

/* Testimonial card */
.testimonial-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
