/* Anju Enterprises — motion & responsive layer */
@keyframes aeRise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes aeFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes aeFloatA { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(0deg); } }
@keyframes aeFloatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes aeFloatC { 0%,100% { transform: translate(0,0); } 50% { transform: translate(8px,-10px); } }
@keyframes aeGrid { from { background-position: 0 0; } to { background-position: 220px 110px; } }
@keyframes aeUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes aePulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes aeGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(242,140,40,0); } 50% { box-shadow: 0 0 0 6px rgba(242,140,40,.25); } }
@keyframes aeScan { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes aeTick { from { transform: scale(0) rotate(-45deg); } 70% { transform: scale(1.2); } to { transform: scale(1); } }
@keyframes aeSheen { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(320%) skewX(-20deg); } }

@media (prefers-reduced-motion: no-preference) {
  /* page load: hero copy rises in, staggered */
  .ae-rise { animation: aeRise .9s cubic-bezier(.2,.7,.2,1) both; }
  .ae-d1 { animation-delay: .1s; } .ae-d2 { animation-delay: .22s; } .ae-d3 { animation-delay: .36s; }
  .ae-d4 { animation-delay: .5s; } .ae-d5 { animation-delay: .64s; } .ae-d6 { animation-delay: .8s; }

  /* drifting dot-grid backgrounds */
  section[style*="radial-gradient"] { animation: aeGrid 40s linear infinite; }

  /* floating hero cards */
  .ae-floatA { animation: aeRise 1s .3s cubic-bezier(.2,.7,.2,1) both, aeFloatA 7s 1.3s ease-in-out infinite; }
  .ae-floatB { animation: aeRise 1s .55s cubic-bezier(.2,.7,.2,1) both, aeFloatB 6s 1.6s ease-in-out infinite; }
  .ae-floatC { animation: aeRise 1s .8s cubic-bezier(.2,.7,.2,1) both, aeFloatC 5s 1.8s ease-in-out infinite; }

  /* checklist ticks pop in one by one */
  .ae-tick { animation: aeTick .5s cubic-bezier(.3,1.6,.5,1) both; }
  div:nth-child(1) > .ae-tick { animation-delay: 1s; } div:nth-child(2) > .ae-tick { animation-delay: 1.3s; } div:nth-child(3) > .ae-tick { animation-delay: 1.6s; }
  .ae-glow { animation: aeGlow 2.2s 1.8s ease-in-out infinite; border-radius: 50%; }

  /* scanning line across the document card */
  .ae-scan { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #F28C28, transparent); animation: aeScan 3.6s 1.4s ease-in-out infinite; pointer-events: none; }

  /* saffron underline under the key phrase */
  .ae-mark { position: relative; z-index: 0; }
  .ae-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: #F28C28; border-radius: 2px; transform-origin: left; animation: aeUnderline .9s .9s cubic-bezier(.7,0,.2,1) both; z-index: -1; }

  /* scroll-driven reveal for every section block */
  @supports (animation-timeline: view()) {
    section > div, footer > div { animation: aeRise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
    section[style*="radial-gradient"] > div { animation: none; }
  }

  /* floating WhatsApp: pulse ring */
  a[aria-label="Chat with us on WhatsApp"]::before { content: ""; position: absolute; inset: 0; border-radius: 99px; background: #1F8F4E; z-index: -1; animation: aePulse 2s ease-out infinite; }
  a[aria-label="Chat with us on WhatsApp"] { animation: aeRise .8s 1.2s both; }

  /* primary buttons: light sheen sweep */
  .ae-sheen { position: relative; overflow: hidden; }
  .ae-sheen::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); animation: aeSheen 3.2s 2s ease-in-out infinite; }
}

/* hover lift on buttons and cards */
a[style*="min-height"], button { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
a[style*="min-height"]:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(11,31,58,.55); }
a[style*="border-radius: 14px"], a[style*="border-radius: 99px"], article { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a[style*="border-radius: 14px"]:hover, article:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(11,31,58,.45); border-color: #F28C28 !important; }
a[style*="border-radius: 99px"]:hover { border-color: #F28C28 !important; }
input:focus, select:focus, textarea:focus { outline: 2px solid #F28C28; outline-offset: 1px; border-color: #F28C28 !important; }
html { scroll-behavior: smooth; }

/* mobile header menu */
.ae-menu-btn { display: none !important; }
@media (max-width: 960px) {
  .ae-menu-btn { display: inline-flex !important; }
  .ae-nav { display: none !important; width: 100%; order: 3; flex-direction: column; align-items: stretch !important; padding: 8px 0 4px; border-top: 1px solid #E2E6EC; }
  .ae-nav.ae-open { display: flex !important; }
  .ae-cta { display: none !important; }
}
@media (max-width: 640px) {
  h1 { font-size: 38px !important; }
  section > div[style*="padding: 56px 48px"] { padding: 36px 22px !important; }
}
