/* Aadi Shakti Nasha Mukti Kendra – custom styles (Tailwind handles utilities) */
:root {
  --primary: #102A2A; --secondary: #173C36; --green: #24564D;
  --accent: #80CFC4; --mint: #A4E4D7; --white: #F5F7F3; --text-muted: #B7D9D2;
  --dark: var(--primary); --teal: var(--secondary); --orange: var(--accent);
  --light: var(--white); --soft: #E8F4F0; --ink: var(--primary); --wa: #25D366;
  --shadow-card: 0 10px 30px -12px rgba(16, 42, 42, .22);
}
html { scroll-padding-top: 110px; }
body { overflow-x: hidden; background: var(--primary); color: var(--white); }
main { background: var(--light); color: var(--ink); }
.shadow-card { box-shadow: var(--shadow-card); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--primary); padding: .6rem 1rem; z-index: 100; border-radius: 0 0 .5rem 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { transition: background-color .35s ease, box-shadow .35s ease; background: #fff; box-shadow: 0 1px 0 rgba(16,42,42,.08); }
.site-header .topbar { max-height: 40px; overflow: hidden; transition: max-height .35s ease, opacity .3s ease; }
.site-header.scrolled .topbar { max-height: 0; opacity: 0; }
.site-header.scrolled { box-shadow: 0 8px 24px -12px rgba(16,42,42,.3); }
.site-header .navbar { transition: background-color .35s ease; }

.nav-link { display: inline-flex; align-items: center; padding: .55rem .95rem; font-weight: 700; color: var(--dark); border-radius: 9999px; transition: color .2s, background-color .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--orange); background: rgba(128,207,196,.12); }

.dropdown-panel { position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border-radius: 1rem; padding: .5rem; box-shadow: 0 20px 40px -15px rgba(16,42,42,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel, .dropdown.open .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel a { display: block; padding: .6rem .9rem; border-radius: .6rem; color: var(--ink); font-weight: 600; transition: background-color .2s, color .2s; }
.dropdown-panel a:hover { background: var(--soft); color: var(--teal); }

.logo-pill { border-radius: 1rem; padding: .15rem .35rem; transition: background-color .3s; }
.menu-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: .75rem; color: var(--dark); background: var(--soft); }

.mobile-menu { background: #fff; max-height: calc(100vh - 72px); overflow-y: auto; border-top: 1px solid var(--soft); animation: menuIn .25s ease; }
.mobile-menu[hidden] { display: none; }
.m-link { display: block; padding: .7rem .9rem; border-radius: .7rem; font-weight: 700; color: var(--dark); }
.m-link:hover { background: var(--soft); }
.m-sub { font-weight: 600; color: var(--ink); padding: .5rem .8rem; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Transparent header over the hero video (home only) */
.site-header.is-transparent:not(.scrolled) { background: transparent; box-shadow: none; }
.site-header.is-transparent:not(.scrolled) .topbar { background: rgba(23,60,54,.65); backdrop-filter: blur(6px); }
.site-header.is-transparent:not(.scrolled) .logo-pill { background: #fff; box-shadow: 0 6px 18px -8px rgba(0,0,0,.4); }
.site-header.is-transparent:not(.scrolled) .nav-link { color: #fff; }
.site-header.is-transparent:not(.scrolled) .nav-link:hover,
.site-header.is-transparent:not(.scrolled) .nav-link.is-active { color: var(--orange); background: rgba(255,255,255,.12); }
.site-header.is-transparent:not(.scrolled) .menu-btn { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.6rem; border-radius: 9999px; font-weight: 800; line-height: 1; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .65rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: var(--primary); box-shadow: 0 10px 22px -10px rgba(128,207,196,.55); }
.btn-primary:hover { background: var(--mint); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -10px rgba(37,211,102,.8); }
.btn-wa:hover { background: #1ebe5b; }
.btn-teal { background: var(--dark); color: #fff; }
.btn-teal:hover { background: var(--teal); }
.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--dark); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.eyebrow svg { color: var(--orange); }
.divider { display: block; width: 72px; height: 4px; border-radius: 4px; margin-top: 1rem; background: linear-gradient(90deg, var(--orange) 0 55%, var(--teal) 55% 100%); }

/* ---------- Hero video ---------- */
.hero { background-color: var(--dark); background-size: cover; background-position: center; }
.hero-video { transform-origin: center; animation: heroZoom 26s ease-in-out infinite alternate; }
.hero-video.is-failed { display: none; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-overlay { background:
  linear-gradient(180deg, rgba(16,42,42,.72) 0%, rgba(16,42,42,.5) 45%, rgba(16,42,42,.85) 100%),
  linear-gradient(90deg, rgba(16,42,42,.55), transparent 70%); }
.hero-label { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 9999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-up { opacity: 0; transform: translateY(26px); animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-up.d1 { animation-delay: .15s; } .hero-up.d2 { animation-delay: .35s; } .hero-up.d3 { animation-delay: .55s; } .hero-up.d4 { animation-delay: .75s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.trust-chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.92); }
.trust-chip svg { color: var(--orange); }

.scroll-ind { position: absolute; left: 50%; bottom: 5.5rem; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-ind::after { content: ''; width: 5px; height: 9px; border-radius: 4px; background: var(--orange); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Decorative motion ---------- */
.float-slow { animation: floaty 9s ease-in-out infinite; }
.float-slow-rev { animation: floaty 11s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 6deg)); } }
.spin-slow { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-banner { background: radial-gradient(circle at 85% 20%, rgba(128,207,196,.22), transparent 40%), linear-gradient(135deg, var(--dark), var(--teal)); }
.cta-section { background: linear-gradient(135deg, var(--dark) 0%, var(--teal) 100%); }

/* ---------- Cards ---------- */
.img-zoom img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.img-zoom:hover img { transform: scale(1.06); }

.service-card { background: #fff; border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .35s ease, box-shadow .35s ease; display: flex; flex-direction: column; height: 100%; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -18px rgba(16,42,42,.4); }
.service-card .more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--teal); transition: gap .25s, color .25s; }
.service-card:hover .more { gap: .75rem; color: var(--orange); }

.why-card { background: #fff; border-radius: 1.5rem; padding: 1.75rem; border: 1px solid rgba(16,42,42,.08); box-shadow: 0 6px 20px -14px rgba(16,42,42,.35); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.why-card:hover { transform: translateY(-5px); border-color: rgba(128,207,196,.65); box-shadow: var(--shadow-card); }
.why-icon { width: 54px; height: 54px; border-radius: 1rem; display: inline-flex; align-items: center; justify-content: center; background: var(--soft); color: var(--teal); transition: background-color .3s, color .3s; }
.why-card:hover .why-icon { background: var(--orange); color: #fff; }

.chip-link { display: inline-flex; align-items: center; gap: .5rem; background: #fff; padding: .7rem 1.2rem; border-radius: 9999px; font-weight: 700; color: var(--dark); box-shadow: 0 4px 14px -8px rgba(16,42,42,.4); transition: background-color .2s, color .2s, transform .2s; }
.chip-link:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

/* Approach timeline */
.step-num { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--dark)); color: #fff; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--soft); position: relative; z-index: 1; }
@media (min-width: 1024px) { .steps-line::before { content: ''; position: absolute; top: 32px; left: 10%; right: 10%; border-top: 2px dashed rgba(23,60,54,.4); } }

/* FAQ */
.faq-item { background: #fff; border-radius: 1.1rem; border: 1px solid rgba(16,42,42,.1); box-shadow: 0 4px 16px -12px rgba(16,42,42,.4); }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.1rem 1.4rem; font-weight: 800; color: var(--dark); font-size: 1.02rem; }
.faq-chev { transition: transform .3s ease; color: var(--orange); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: rgba(16,42,42,.8); line-height: 1.7; }

/* Contact */
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { flex: none; width: 52px; height: 52px; border-radius: 1rem; background: var(--soft); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; }
.form-label { display: block; font-weight: 700; font-size: .9rem; color: var(--dark); margin-bottom: .35rem; }
.form-input { width: 100%; padding: .8rem 1rem; border-radius: .85rem; border: 1.5px solid #d5e2dc; background: var(--light); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23,60,54,.15); background: #fff; }
.form-input.invalid { border-color: #dc2626; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 340px; }

/* Footer */
.footer-h { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 1.1rem; position: relative; padding-bottom: .7rem; }
.footer-h::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--orange); }
.footer-link { transition: color .2s, padding-left .2s; }
.footer-link:hover { color: var(--orange); }
.social-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: #fff; transition: transform .2s, background-color .2s; }
.social-btn:hover { transform: translateY(-3px); }

/* Floating contact + mobile bar */
.float-contact { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; flex-direction: column; gap: .75rem; }
.float-btn { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 12px 24px -8px rgba(0,0,0,.4); transition: transform .2s; }
.float-btn:hover { transform: scale(1.08); }
.float-wa { background: var(--wa); position: relative; }
.float-wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
.float-call { background: var(--orange); }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -6px 20px -8px rgba(0,0,0,.3); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem .5rem; font-weight: 800; color: #fff; }
.mb-call { background: var(--orange); } .mb-wa { background: var(--wa); }
@media (max-width: 767px) { body { padding-bottom: 56px; } }

/* Video section */
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(16,42,42,.15), rgba(16,42,42,.55)); transition: opacity .3s ease, background-color .3s ease; cursor: pointer; }
.video-play:hover { background: linear-gradient(180deg, rgba(16,42,42,.1), rgba(16,42,42,.4)); }
.video-play-icon { width: 88px; height: 88px; border-radius: 50%; background: var(--orange); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -8px rgba(128,207,196,.55); position: relative; transition: transform .25s ease; }
.video-play:hover .video-play-icon { transform: scale(1.08); }
.video-play-icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2.4s ease-out infinite; }
.video-frame.is-playing .video-play { opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .video-play-icon { width: 68px; height: 68px; } }

/* Prose pages */
.prose-page h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.6rem; color: var(--dark); margin-top: 2rem; }
.prose-page p, .prose-page li { margin-top: .8rem; line-height: 1.8; color: rgba(16,42,42,.85); }
.prose-page ul { list-style: disc; padding-left: 1.4rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-up { opacity: 1; transform: none; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
