/* ========== GLOBAL STYLES ========== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #1f2937;
  background-color: #f9fafb;
  line-height: 1.6;
  margin: 0;
}

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  60% {
    transform: translateY(-10px);
    opacity: 1;
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

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

.hero-content {
  animation: slideUp 1.2s ease forwards;
}

.hero-image {
  animation: float 6s ease-in-out infinite;
}

/* ========== FEATURES ========== */
.feature-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-icon {
  font-size: 2.5rem;
  color: #10b981;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ========== FAQ SECTION ========== */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #10b981;
  background-color: #222a36;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  color: #4b5563;
  margin-top: 0.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ========== SCROLL TO TOP BUTTON ========== */
#scrollUpBtn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(16, 185, 129, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
  cursor: pointer;
  transition: all 0.3s ease, transform 0.2s ease;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
}

#scrollUpBtn.visible {
  opacity: 1;
  pointer-events: auto;
  animation: bounceIn 0.6s ease;
}

#scrollUpBtn:hover {
  background: rgba(16, 185, 129, 1);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.5);
}

/* ========== FOOTER ========== */
footer {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 2rem 0;
}

footer a {
  color: #10b981;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #34d399;
}

#mobile-menu {
  padding: 20px;
  margin: 20px;
  background-color: #1f2937;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  z-index: 60;
}

#mobile-menu a {
  color: #fff !important;
}

#mobile-menu a:hover {
  color: #10b981 !important;
}

/* Base dot style */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(156, 163, 175, 0.5); /* gray-400 transparent */
  opacity: 1;
  transition: all 0.3s;
}

/* Active dot */
.swiper-pagination-bullet-active {
  background-color: #6366f1; /* purple-500 */
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .feature-card {
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-image {
    width: 80%;
    margin: 0 auto;
  }
}
