/* Custom styles for Simply Better Technologies */

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

/* Hero gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-gradient {
  background: linear-gradient(-45deg, #1e3a8a, #1e40af, #1d4ed8, #1e3a5f);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Process timeline connector */
.timeline-connector {
  position: relative;
}

.timeline-connector::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1.5rem;
  width: 3rem;
  height: 2px;
  background: #3b82f6;
}

@media (max-width: 767px) {
  .timeline-connector::after {
    display: none;
  }
}

/* Stats counter */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Mobile nav overlay */
.mobile-nav {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.hidden {
  opacity: 0;
  visibility: hidden;
}

.mobile-nav:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(to right, #3b82f6, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Active nav link */
.nav-link.active {
  color: #3b82f6;
  border-bottom: 2px solid #3b82f6;
}

/* Subtle dot pattern for sections */
.dot-pattern {
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

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