/* ===== Custom Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

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

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #1615da, #02e0fc);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #0e64e7, #00e9b9);
}

/* ===== Nav (scrolled state) ===== */
#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

#heroBadge,
#heroTitleTop,
#heroTitleBottom {
  transition: opacity 0.3s ease;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(22, 21, 218, 0.25);
  transition: all 0.4s ease;
  position: relative;
  cursor: pointer;
}

.hero-dot.active {
  width: 22px;
  background: linear-gradient(90deg, #1615da, #02e0fc);
}

.hero-dot.active::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1px solid rgba(2, 224, 252, 0.4);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ===== Reusable Component Styles ===== */
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1615da;
}

.btn-primary {
  background: linear-gradient(to right, #1615da, #02e0fc);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(22, 21, 218, 0.4);
}

.btn-primary-lg {
  background: linear-gradient(to right, #1615da, #02e0fc);
  color: white;
  padding: .5rem 1.125rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.btn-primary-lg:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(22, 21, 218, 0.4);
}

.btn-outline-lg {
  border: 1px solid #1615da;
  color: #1615da;
  padding: .5rem 1.125rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-outline-lg:hover {
  background-color: rgba(22, 21, 218, 0.05);
}

.input-field {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.625rem 0.875rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.input-field::placeholder {
  color: #9ca3af;
}

.input-field:focus {
  outline: none;
  border-color: #02e0fc;
}

/* ===== Service / Card hover effects ===== */
.card-hover {
  transition: all 0.3s;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== FAQ ===== */
.faq-item {
  transition: all 0.3s;
}

.faq-trigger {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-weight: 600;
  color: #111827;
}

.faq-trigger:hover {
  color: #1615da;
}

.faq-trigger i {
  transition: transform 0.3s;
}

.faq-item.open .faq-trigger i {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #4b5563;
  line-height: 1.7;
}

.faq-item.open .faq-content {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* Tech badge pulse */
/* .tech-dot { width: 0.75rem; height: 0.75rem; border-radius: 9999px; margin: 0 auto 0.75rem; } */

/* ===== Tech Logos ===== */
.tech-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
}

.tech-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.group:hover .tech-logo {
  transform: scale(1.12);
}

/* Lucide icon sizing default */
[data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

.icon-lg [data-lucide] {
  width: 2rem;
  height: 2rem;
}

.icon-md [data-lucide] {
  width: 1.5rem;
  height: 1.5rem;
}