/* Custom styles to complement Tailwind */

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

body {
  font-family: "Times New Roman", Times, serif;
}

/* Active nav link */
.nav-link.active {
  color: #6366f1;
  font-weight: 600;
}

/* Mobile menu transition */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* Hero gradient animation */
.hero-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Card hover effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Landing hero animations */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLogoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-reveal {
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards;
}

.hero-delay-1 {
  animation-delay: 0.12s;
}

.hero-delay-2 {
  animation-delay: 0.24s;
}

.hero-delay-3 {
  animation-delay: 0.36s;
}

.hero-delay-4 {
  animation-delay: 0.48s;
}

.hero-logo-float {
  animation: heroLogoFloat 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal,
  .hero-logo-float {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Button ripple */
.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Form focus styles */
.form-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Section divider */
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  margin: 12px auto 24px;
}

/* Contact social spotlight */
.social-highlight {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 50%, #fdf2f8 100%);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.12);
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
  background: #e0e7ff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.05);
  background: #c7d2fe;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.28);
}

/* Testimonial slider */
.testimonial-slider {
  max-width: 860px;
  margin: 0 auto;
}

.testimonial-slider__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-slide {
  min-width: 100%;
}

.testimonial-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.testimonial-nav {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ffffff;
  color: #4f46e5;
  border: 1px solid #c7d2fe;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.testimonial-nav:hover {
  transform: translateY(-2px);
  background: #eef2ff;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.18);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.testimonial-dot.active {
  width: 30px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.testimonial-dot:hover {
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 24px;
  }

  .testimonial-slider__controls {
    gap: 12px;
  }
}

/* Stat counter */
.stat-number {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
