/* CleanzyHome Custom Styles */

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

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(34,197,94,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Animate on scroll */
.animate-fadeInUp {
  animation: fadeInUp 0.7s ease both;
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease both;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Intersection observer helper */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sticky floating buttons */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-cta-right {
  right: 20px;
}

.sticky-wa-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  animation: pulse-ring 2s infinite;
  transition: transform 0.2s;
}

.sticky-wa-btn:hover {
  transform: scale(1.1);
}

.sticky-call-btn {
  width: 56px;
  height: 56px;
  background: #0EA5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(14,165,233,0.4);
  transition: transform 0.2s;
}

.sticky-call-btn:hover {
  transform: scale(1.1);
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #0c4a6e 0%, #075985 40%, #0369a1 100%);
}

/* Service card hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(14,165,233,0.15);
}

/* Icon circle */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

/* Testimonial card */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(14,165,233,0.13);
}

/* FAQ accordion */
.faq-item details summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item details summary::-webkit-details-marker {
  display: none;
}
.faq-item details[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-icon {
  transition: transform 0.3s ease;
}

/* Nav link active */
.nav-link.active {
  color: #0EA5E9;
  font-weight: 600;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #0EA5E9, #22C55E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section badge */
.section-badge {
  display: inline-block;
  background: rgba(14,165,233,0.1);
  color: #0EA5E9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* Pricing card highlight */
.pricing-card-popular {
  border: 2px solid #0EA5E9;
  position: relative;
}

/* Step connector */
.step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #0EA5E9, #22C55E);
  opacity: 0.3;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
}

/* Form input focus */
.form-input:focus {
  outline: none;
  border-color: #0EA5E9;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}

/* Mobile nav */
#mobile-menu {
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

/* WhatsApp green */
.bg-wa { background: #25D366; }
.text-wa { color: #25D366; }

/* Map placeholder */
.map-placeholder {
  background: linear-gradient(135deg, #e0f2fe, #dcfce7);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #64748b;
  font-size: 15px;
}

/* Star rating */
.stars { color: #FBBF24; letter-spacing: 2px; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #0EA5E9; border-radius: 4px; }

/* btn primary */
.btn-primary {
  background: #0EA5E9;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.35);
}

.btn-secondary {
  background: #22C55E;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.35);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  background: #fff;
  color: #0EA5E9;
}

/* Trust badge */
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  text-align: center;
  transition: box-shadow 0.3s;
}
.trust-badge:hover {
  box-shadow: 0 6px 28px rgba(14,165,233,0.12);
}

/* Process step */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #0EA5E9, #0369a1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}
