/* ============================================
   Clean Group — Animations & Scroll Reveals
   ============================================ */

/* --- Scroll Reveal Base --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.reveal-left {
  transform: translateX(-40px);
}
.reveal.reveal-right {
  transform: translateX(40px);
}
.reveal.reveal-scale {
  transform: scale(0.92);
}
.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Fallback: if JS fails, show content */
.no-js .reveal { opacity: 1; transform: none; }

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Float Animation --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.float { animation: float 5s ease-in-out infinite; }
.float-slow { animation: float 8s ease-in-out infinite; }
.float-fast { animation: float 3s ease-in-out infinite; }

/* --- Pulse Glow --- */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(78, 205, 196, 0.3); }
  50% { box-shadow: 0 0 50px rgba(78, 205, 196, 0.6); }
}
.pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }

/* --- Gradient Shift (hero BG) --- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.gradient-animate {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* --- Spin Slow --- */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin-slow { animation: spinSlow 20s linear infinite; }

/* --- Counter Number Animation --- */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.counter-animated { animation: countUp 0.8s ease forwards; }

/* --- Shimmer (loading skeleton style) --- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* --- Typing Cursor --- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.cursor { animation: blink 1s step-end infinite; }

/* --- Ripple on click --- */
.ripple-effect {
  position: relative;
  overflow: hidden;
}
.ripple-effect::before {
  content: '';
  position: absolute;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s, opacity 0.6s;
  opacity: 0;
  top: 50%; left: 50%;
}
.ripple-effect:active::before {
  width: 300px; height: 300px;
  opacity: 1;
}

/* --- Particle Background Dots --- */
.particle-bg {
  position: relative;
}
.particle-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(78, 205, 196, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* --- Wave Divider --- */
.wave-top svg, .wave-bottom svg {
  display: block;
  width: 100%;
}
.wave-top { margin-bottom: -2px; }
.wave-bottom { margin-top: -2px; }

/* --- Service Card Hover --- */
.service-card {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .icon-box {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(78, 205, 196, 0.35);
}
.service-card:hover .icon-box i {
  color: var(--white) !important;
}

/* --- Why Us Check --- */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.check-item:hover { padding-left: 8px; }
.check-item .check-icon {
  width: 28px; height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--white);
  margin-top: 2px;
}

/* --- Testimonial Card --- */
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(78, 205, 196, 0.3);
  background: rgba(78, 205, 196, 0.05);
}
.testimonial-stars { color: #fbbf24; margin-bottom: 16px; }
.testimonial-text { color: rgba(255,255,255,0.7); font-style: italic; margin-bottom: 24px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white); font-size: 1rem;
}
.testimonial-name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.testimonial-role { color: var(--accent); font-size: 0.8rem; }

/* --- Form Styles --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-control::placeholder { color: rgba(255,255,255,0.3); }
.form-control:focus {
  border-color: var(--accent);
  background: rgba(78, 205, 196, 0.08);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}
select.form-control option { background: var(--dark-2); color: var(--white); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-accent { background: rgba(78, 205, 196, 0.15); color: var(--accent); border: 1px solid rgba(78, 205, 196, 0.3); }
.badge-primary { background: rgba(26, 58, 107, 0.4); color: #7eb3ff; border: 1px solid rgba(42, 82, 152, 0.4); }

/* --- Horizontal Rule Gradient --- */
hr.gradient-hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.4), transparent);
  margin: 48px 0;
}

/* --- WhatsApp Float Button --- */
.wa-float {
  position: fixed;
  bottom: 92px;
  right: 32px;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: var(--transition);
  animation: pulseGlow 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }

/* Page transition */
.page-transition {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


