/* ============================================================
   ANNURYA — animations.css
   Add @import url('animations.css'); at the top of style.css
   ============================================================ */

/* ---- Scroll-reveal base ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 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; }

/* ---- Hero entrance ---- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge    { animation: heroFadeUp .6s ease both; animation-delay: .1s; }
.hero-headline { animation: heroFadeUp .6s ease both; animation-delay: .25s; }
.hero-subtext  { animation: heroFadeUp .6s ease both; animation-delay: .4s; }
.hero-actions  { animation: heroFadeUp .6s ease both; animation-delay: .55s; }
.hero-trust    { animation: heroFadeUp .6s ease both; animation-delay: .7s; }
.hero-visual   { animation: heroFadeUp .8s ease both; animation-delay: .5s; }

/* ---- Floating hero cards ---- */
@keyframes float1 {
  0%,100% { transform: translateY(0px) rotate(-2deg); }
  50%      { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0px) rotate(2deg); }
  50%      { transform: translateY(-16px) rotate(2deg); }
}
@keyframes float3 {
  0%,100% { transform: translateY(0px) rotate(-1deg); }
  50%      { transform: translateY(-10px) rotate(-1deg); }
}
.hero-card.card-1 { animation: float1 5s ease-in-out infinite; }
.hero-card.card-2 { animation: float2 6s ease-in-out infinite; }
.hero-card.card-3 { animation: float3 4.5s ease-in-out infinite; }

/* ---- Badge dot pulse ---- */
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.badge-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 8px;
  animation: pulse 2s ease-in-out infinite;
}

/* ---- Button hover ---- */
.btn-primary, .btn-ghost, .nav-cta, .service-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-ghost:hover {
  transform: translateY(-2px);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

/* ---- Card hover lifts ---- */
.serve-card, .market-card, .service-item, .faq-item, .process-step {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.serve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}
.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,.09);
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
}
.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}

/* ---- Service link arrow animation ---- */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link:hover {
  gap: 10px;
  color: inherit;
}

/* ---- Checklist item entrance ---- */
.checklist-item {
  transition: transform .2s ease;
}
.checklist-item:hover {
  transform: translateX(6px);
}

/* ---- Process step number pulse on hover ---- */
.process-step:hover .step-num {
  transform: scale(1.1);
  transition: transform .25s ease;
}

/* ---- Pillar hover ---- */
.pillar {
  transition: transform .2s ease, background .2s ease;
  border-radius: 8px;
  padding: 8px;
  margin: -8px;
}
.pillar:hover {
  transform: translateX(6px);
  background: rgba(0,0,0,.03);
}

/* ---- Nav link underline animation ---- */
.nav-links a:not(.nav-cta) {
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .25s ease;
}
.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

/* ---- Footer social icon hover ---- */
.footer-social a {
  transition: transform .2s ease, opacity .2s ease;
}
.footer-social a:hover {
  transform: translateY(-4px);
  opacity: 1 !important;
}

/* ---- Footer links hover ---- */
.footer-links a {
  transition: transform .2s ease, color .2s ease;
  display: inline-block;
}
.footer-links a:hover {
  transform: translateX(4px);
}

/* ---- kw-tag shimmer hover ---- */
.kw-tag {
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.kw-tag:hover {
  transform: scale(1.05);
}

/* ---- WhatsApp button ---- */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}
.whatsapp-btn svg {
  width: 18px; height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

/* ---- Footer contact block ---- */
.footer-contact {
  margin-top: 12px;
}
.footer-phone {
  font-size: .9rem;
  opacity: .75;
  margin-bottom: 6px;
}
.footer-phone a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}
.footer-phone a:hover { opacity: 1; }

/* ---- Page hero (sub-pages) ---- */
.page-hero {
  padding: 120px 24px 80px;
  text-align: center;
  background: var(--color-bg-alt, #f9f7f4);
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.page-hero .hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  opacity: .75;
  line-height: 1.7;
}

/* ---- Content section ---- */
.content-section {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.content-section h2 { margin-bottom: 16px; }
.content-section p  { margin-bottom: 20px; line-height: 1.8; }

/* ---- Two-col layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Benefit list ---- */
.benefit-list {
  list-style: none;
  padding: 0; margin: 0;
}
.benefit-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .97rem;
  line-height: 1.6;
  transition: transform .2s ease;
}
.benefit-list li:hover { transform: translateX(6px); }
.benefit-list li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Highlight box ---- */
.highlight-box {
  background: var(--color-bg-alt, #f9f7f4);
  border-left: 3px solid var(--color-accent, #8b5e3c);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
  margin: 32px 0;
}
.highlight-box h3 { margin-bottom: 10px; }

/* ---- CTA block ---- */
.sub-cta {
  text-align: center;
  padding: 80px 24px;
  background: var(--color-surface, #fff);
  border-top: 1px solid rgba(0,0,0,.06);
}
.sub-cta h2 { margin-bottom: 14px; }
.sub-cta p  { max-width: 560px; margin: 0 auto 28px; opacity: .75; line-height: 1.7; }

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .page-hero { padding: 100px 20px 60px; }
}
