@import "tailwindcss";

/* 
  Dhanaji Prajapati — Independent SEO Consultant
  Solid Color System (Strictly Zero Gradients)
  Palette:
  - Slate Dark / Charcoal: #0F172A, #1E293B, #334155
  - Neutral Borders & Lines: #E2E8F0, #CBD5E1
  - Off-White Backgrounds: #F8FAFC, #F1F5F9
  - Pure White: #FFFFFF
  - Restrained Blue Accent: #1D4ED8 (Hover: #1E40AF)
*/

:root {
  --color-bg-base: #FFFFFF;
  --color-bg-subtle: #F8FAFC;
  --color-bg-muted: #F1F5F9;
  --color-text-main: #0F172A;
  --color-text-muted: #64748B;
  --color-border: #E2E8F0;
  --color-accent: #1D4ED8;
  --color-accent-hover: #1E40AF;
  --color-dark: #0F172A;
  --color-dark-surface: #1E293B;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Search Terminal Styling */
.search-terminal-card {
  background-color: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: #38BDF8;
  margin-left: 4px;
  vertical-align: middle;
  animation: terminalBlink 1s infinite;
}

@keyframes terminalBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* FAQ Accordion Styling */
.faq-item {
  border-bottom: 1px solid #E2E8F0;
}
.faq-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  background: transparent;
  border: none;
  font-weight: 600;
  color: #0F172A;
  transition: color 0.15s ease;
}
.faq-trigger:hover {
  color: #1D4ED8;
}
.faq-icon {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.2s ease;
  opacity: 0;
}
.faq-item.active .faq-content {
  max-height: 600px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

/* Sub-nav active indicator */
.nav-link.active {
  color: #1D4ED8;
  font-weight: 600;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #1D4ED8;
  outline-offset: 2px;
}

/* Logo Slider / Infinite Marquee (Strict Zero Gradients) */
.logo-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.logo-slider-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: logoMarquee 42s linear infinite;
}

.logo-slider-wrapper:hover .logo-slider-track,
.logo-slider-track.paused {
  animation-play-state: paused;
}

@keyframes logoMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-slide-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 76px;
  padding: 0.75rem 1.25rem;
  margin: 0 0.625rem;
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-slide-card:hover {
  border-color: #94A3B8;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08);
}

.logo-slide-card img {
  max-height: 48px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
