/* As Sunnah Brand Page Experience v1.0.4 — premium layout, scoped to .asb-page */
.asb-page {
  --emerald: #0b3d2e;
  --emerald-dark: #07271d;
  --emerald-mid: #0f5138;
  --gold: #c9a227;
  --gold-deep: #a87c14;
  --gold-soft: #e8c55c;
  --ivory: #fffef9;
  --cream: #faf6e9;
  --ink: #22302a;
  --muted: #5b6b62;
  --wa: #22a35a;
  font-family: 'Kalpurush', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  color: var(--ink);
  line-height: 1.8;
  margin: 0 -15px;
}
.asb-page a { color: var(--emerald-mid); }
.asb-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Hide the theme's default page title on this page (the hero carries the name). */
body.page-id-3178 .entry-title,
body.page-id-3178 h1.entry-title,
body.page-id-3178 .page-title,
body.page-id-3178 .entry-header { display: none !important; }

/* ---------- HERO ---------- */
.asb-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #0b3d2e 0%, #0a2e22 55%, #07271d 100%);
  color: #fff;
  text-align: center;
  padding: 84px 0 96px;
}
.asb-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 18 L70 50 L102 60 L70 70 L60 102 L50 70 L18 60 L50 50 Z' fill='none' stroke='%23c9a227' stroke-opacity='0.14' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: .8;
  pointer-events: none;
}
.asb-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.asb-orb-1 { width: 340px; height: 340px; background: rgba(201,162,39,.28); top: -90px; left: -80px; animation: asb-float 9s ease-in-out infinite; }
.asb-orb-2 { width: 280px; height: 280px; background: rgba(34,163,90,.22); bottom: -70px; right: -60px; animation: asb-float 11s ease-in-out infinite reverse; }
@keyframes asb-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
.asb-hero-in { position: relative; z-index: 2; }
.asb-photo-wrap { position: relative; display: inline-block; margin-bottom: 22px; }
.asb-photo {
  width: 176px; height: 176px; object-fit: cover; object-position: top center;
  border-radius: 50%;
  border: 5px solid var(--gold);
  outline: 3px solid rgba(232,197,92,.45); outline-offset: 7px;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  background: #123;
}
.asb-photo-badge {
  position: absolute; right: 6px; bottom: 10px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--emerald-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; border: 3px solid #fff;
}
.asb-hero-en { letter-spacing: .35em; font-size: 13px; color: var(--gold-soft); margin: 0 0 10px; font-weight: 600; }
.asb-hero-name { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.25; margin: 0 0 12px; color: #fff; font-weight: 700; }
.asb-hero-titles { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: #e9f2ec; margin: 0 0 6px; }
.asb-dot { color: var(--gold); }
.asb-hero-role { color: var(--gold-soft); font-size: 1.05rem; margin: 0 0 4px; }
.asb-hero-desc { color: rgba(255,255,255,.72); font-size: .98rem; margin: 0 0 18px; }
.asb-rotator { font-size: 1.12rem; color: #fff; margin: 0 0 30px; min-height: 1.8em; }
.asb-rotator-label { color: var(--gold-soft); }
.asb-rotator-word { display: inline-block; font-weight: 700; border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: opacity .45s ease; }
.asb-rotator-word.asb-fade { opacity: 0; }
.asb-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.asb-btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.asb-btn:hover { transform: translateY(-3px); }
.asb-btn-wa { background: var(--wa); color: #fff !important; box-shadow: 0 10px 26px rgba(34,163,90,.4); }
.asb-btn-wa:hover { background: #1d8f4e; box-shadow: 0 14px 30px rgba(34,163,90,.5); }
.asb-btn-book { background: transparent; color: var(--gold-soft) !important; border: 2px solid var(--gold); }
.asb-btn-book:hover { background: rgba(201,162,39,.16); }
.asb-hero-meta { margin-top: 26px; color: rgba(255,255,255,.66); font-size: .95rem; }
.asb-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: var(--gold-soft); font-size: 22px; animation: asb-bob 2s ease-in-out infinite; z-index: 2; }
@keyframes asb-bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* hero entrance */
.asb-anim { opacity: 0; animation: asb-up .8s ease forwards; }
.asb-anim:nth-child(1) { animation-delay: .05s; }
.asb-anim:nth-child(2) { animation-delay: .15s; }
.asb-anim:nth-child(3) { animation-delay: .25s; }
.asb-anim:nth-child(4) { animation-delay: .35s; }
.asb-anim:nth-child(5) { animation-delay: .45s; }
.asb-anim:nth-child(6) { animation-delay: .55s; }
.asb-anim:nth-child(7) { animation-delay: .65s; }
.asb-anim:nth-child(8) { animation-delay: .75s; }
.asb-anim:nth-child(9) { animation-delay: .85s; }
@keyframes asb-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- SECTIONS ---------- */
.asb-section { padding: 72px 0; }
.asb-section:nth-of-type(even) { background: var(--cream); }
.asb-sec-head { text-align: center; margin-bottom: 40px; }
.asb-kicker {
  display: inline-block; color: var(--gold-deep); font-weight: 700; letter-spacing: .12em;
  font-size: .95rem; margin: 0 0 8px; text-transform: uppercase;
}
.asb-sec-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: var(--emerald); margin: 0 0 14px; line-height: 1.35; }
.asb-rule { width: 84px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); margin: 0 auto; border-radius: 4px; }
.asb-card {
  background: #fff; border: 1px solid #eee5c8; border-radius: 18px;
  padding: 36px 40px; box-shadow: 0 12px 34px rgba(11,61,46,.08);
}
.asb-card p { margin: 0 0 16px; font-size: 1.06rem; }
.asb-quote {
  border-right: 4px solid var(--gold); background: var(--cream);
  margin: 22px 0; padding: 18px 22px; border-radius: 12px;
  font-size: 1.12rem; color: var(--emerald);
}
.asb-quote span { display: block; font-size: .92rem; color: var(--muted); margin-top: 6px; }
.asb-tagline { text-align: center; font-size: 1.25rem; font-weight: 700; color: var(--gold-deep); margin: 8px 0 0 !important; }

/* services */
.asb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.asb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.asb-svc {
  background: #fff; border-radius: 18px; padding: 32px 28px;
  border-top: 5px solid var(--gold);
  box-shadow: 0 10px 30px rgba(11,61,46,.08);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.asb-svc:hover { transform: translateY(-7px); box-shadow: 0 20px 44px rgba(11,61,46,.16); }
.asb-svc-icon { font-size: 40px; line-height: 1; margin-bottom: 14px; }
.asb-svc h3 { color: var(--emerald); font-size: 1.35rem; margin: 0 0 12px; }
.asb-svc p { flex: 1; font-size: 1rem; color: #3d4a43; margin: 0 0 16px; }
.asb-svc a { display: block; font-weight: 700; margin-top: 6px; }
.asb-svc a.asb-more { font-weight: 600; color: var(--gold-deep); font-size: .95rem; }

/* clinic stats */
.asb-stat {
  display: block; background: var(--emerald); color: #fff !important; text-decoration: none !important;
  border-radius: 18px; padding: 34px 26px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.asb-stat:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,61,46,.35); }
.asb-stat-num { display: block; font-size: 2.3rem; font-weight: 800; color: var(--gold-soft); line-height: 1.2; }
.asb-stat-label { display: block; font-size: 1.12rem; font-weight: 700; margin-top: 6px; }
.asb-stat-sub { display: block; font-size: .92rem; color: rgba(255,255,255,.75); margin-top: 6px; }
.asb-team { text-align: center; margin-top: 28px; font-size: 1.02rem; }

/* promises */
.asb-promise-list { list-style: none; margin: 0; padding: 0; max-width: 820px; margin: 0 auto; }
.asb-promise-list li {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid #eee5c8; border-radius: 14px;
  padding: 20px 24px; margin-bottom: 14px; font-size: 1.06rem;
  box-shadow: 0 6px 20px rgba(11,61,46,.06);
}
.asb-promise-list li span {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--emerald); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem;
}

/* appointment — more specific than .asb-section:nth-of-type(even) so the dark band wins */
.asb-page .asb-section.asb-appt { background: linear-gradient(140deg, #0b3d2e, #07271d); color: #fff; text-align: center; }
.asb-appt h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 14px; }
.asb-kicker-light { color: var(--gold-soft); }
.asb-appt-info { color: rgba(255,255,255,.85); font-size: 1.06rem; margin: 0 0 28px; }

/* social */
.asb-social-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.asb-soc {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  border: 2px solid var(--emerald); color: var(--emerald) !important; font-weight: 700;
  text-decoration: none !important; background: #fff;
  transition: all .25s ease;
}
.asb-soc:hover { background: var(--emerald); color: #fff !important; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11,61,46,.25); }

/* FAQ */
.asb-faq-note { text-align: center; color: var(--muted); margin: -18px 0 30px; }
.asb-faq-list { max-width: 860px; margin: 0 auto; }
.asb-faq-item { background: #fff; border: 1px solid #eee5c8; border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.asb-faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; cursor: pointer; text-align: right;
  padding: 20px 24px; font-size: 1.08rem; font-weight: 700; color: var(--emerald);
  font-family: inherit;
}
.asb-faq-icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; font-size: 20px; transition: transform .3s ease; }
.asb-faq-item.open .asb-faq-icon { transform: rotate(45deg); background: var(--gold); color: #fff; }
.asb-faq-a { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.asb-faq-a p { padding: 0 24px 8px; margin: 0 0 10px; }
.asb-faq-a p:last-child { padding-bottom: 20px; }

/* name variants */
.asb-names { background: var(--cream); text-align: center; }
.asb-names p { max-width: 820px; margin: 0 auto; font-size: 1.05rem; }

/* scroll reveal */
.asb-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.asb-reveal.asb-visible { opacity: 1; transform: translateY(0); }

/* responsive */
@media (max-width: 860px) {
  .asb-grid, .asb-grid-3 { grid-template-columns: 1fr; }
  .asb-section { padding: 52px 0; }
  .asb-hero { padding: 60px 0 76px; }
  .asb-photo { width: 148px; height: 148px; }
  .asb-card { padding: 26px 22px; }
  .asb-page { margin: 0 -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .asb-anim, .asb-reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .asb-orb, .asb-scroll { animation: none !important; }
}
