/* ===================================================================
   OM SAI ASTROLOGER — style.css
   Structure:
   0. Theme variables   1. Base/typography   2. Buttons   3. Topbar
   4. Header   5. Hero   6. Marquee   7. About   8. Services
   9. Why   10. Timeline   11. Rashi   12. Gallery   13. Video
   14. FAQ   15. Testimonials   16. CTA band   17. Contact
   18. Footer   19. Floating buttons   20. Reveal   21. Responsive
=================================================================== */

/* ============ 0. THEME VARIABLES (change colours here) ============ */
:root {
  --color-primary: #f7921e;
  /* main saffron accent        */
  --color-primary-dark: #d62828;
  /* red accent (hover & highlights)     */
  --color-primary-soft: #fff1dd;
  /* warm cream tint (bg)     */

  --color-dark: #16150f;
  /* near-black section bg      */
  --color-dark-2: #211f16;
  /* raised dark surface        */

  --color-ink: #1c1b17;
  /* main text on light         */
  --color-muted: #6d6b63;
  /* secondary text             */
  --color-line: #ece9df;
  /* hairline borders           */

  --color-white: #ffffff;
  --color-light: #f8f7f2;
  /* light section bg           */

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(28, 27, 23, .10);
  --shadow-sm: 0 8px 24px rgba(28, 27, 23, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --container: 1200px;
}

/* ============ 1. BASE / TYPOGRAPHY ============ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  /* guard against horizontal scroll */
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color .25s var(--ease);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}

.container {
  max-width: var(--container);
}

.section {
  padding: 92px 0;
}

.section--grey {
  background: var(--color-light);
}

.section--light {
  background: var(--color-light);
}

.section--soft {
  background: #fffbf6;
}

.section--white {
  background: var(--color-white);
}

/* inner-page banner (About / Services / Gallery / Contact) */
.page-banner {
  position: relative;
  background: var(--color-primary-soft);
  padding: 66px 0 60px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
}

.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(247, 146, 30, .35);
  pointer-events: none;
}

.page-banner::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -60px;
}

.page-banner::after {
  width: 150px;
  height: 150px;
  bottom: -80px;
  left: -40px;
}

.page-banner__glyph {
  position: absolute;
  font-size: 6rem;
  color: rgba(247, 146, 30, .16);
  top: 50%;
  left: 6%;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-banner h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  position: relative;
}

.page-banner__crumb {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: .92rem;
  position: relative;
}

.page-banner__crumb a {
  font-weight: 500;
}

.page-banner__crumb a:hover {
  color: var(--color-primary-dark);
}

.page-banner__crumb i {
  font-size: .65rem;
  margin: 0 8px;
  vertical-align: middle;
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -.01em;
}

.section__title--light {
  color: #fff;
}

.section__lead {
  color: var(--color-muted);
  font-size: 1.04rem;
  margin-top: 14px;
  max-width: 60ch;
}

.section__lead--light {
  color: #c9c7bd;
}

.text-muted-soft {
  color: var(--color-muted);
}

.txt-accent {
  color: var(--color-primary-dark);
}

/* eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.eyebrow--light {
  color: var(--color-primary);
}

/* ============ 2. BUTTONS ============ */
.btn-pill,
.btn-ghost,
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.btn-pill {
  background: #ca2323;
  color: white;
  box-shadow: 0 10px 24px rgba(247, 146, 30, .35);
}

.btn-pill:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(247, 146, 30, .45);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}

.btn-ghost:hover {
  background: var(--color-ink);
  color: #fff;
}

.btn-ghost--dark {
  color: var(--color-ink);
  border-color: rgba(28, 27, 23, .35);
}

.btn-dark {
  background: #d62828;
  color: #fff;
}

.btn-dark:hover {
  background: #b32323;
  transform: translateY(-3px);
}

.btn-pill--lg,
.btn-ghost--lg {
  padding: 15px 30px;
  font-size: 1rem;
}

/* ============ 3. TOP BAR ============ */
.topbar {
  background: var(--color-primary);
  color: #4a2200;
  font-size: .85rem;
  padding: 9px 0;
}

.topbar a {
  color: #4a2200;
}

.topbar a:hover {
  color: #000;
}

.topbar__contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar__contact i {
  color: #8a3310;
}

.topbar__divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, .2);
  margin: 0 14px;
  vertical-align: middle;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar__tag {
  color: #8a3310;
}

.topbar__social a {
  font-size: 1rem;
}

/* ============ 4. HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}

.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .07);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-ink);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(247, 146, 30, .4);
}

.brand__text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-ink);
}

.brand__text strong {
  color: var(--color-primary-dark);
}

/* bilingual brand name in header (replaces logo image) */
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand__en {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  letter-spacing: .3px;
}

.brand__mr {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 32px;
  color: #ffd35c;
  margin-top: 10px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #fff;
  margin: 0 4px;
  padding: 8px 12px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-primary);
}

.nav-item--cta {
  margin-left: 10px;
}

.nav-item--cta .btn-pill {
  padding: 10px 20px;
}

/* custom toggler */
.navbar-toggler {
  border: none;
  padding: 6px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .3s var(--ease);
}

/* ============ 5. HERO ============ */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background: var(--color-primary-soft);
  overflow: hidden;
}

.hero__float {
  position: absolute;
  color: rgba(247, 146, 30, .22);
  font-size: 7rem;
  line-height: 1;
  pointer-events: none;
}

.hero__float--1 {
  top: 12%;
  right: 44%;
  animation: floaty 7s ease-in-out infinite;
}

.hero__float--2 {
  top: 66%;
  left: 47%;
  font-size: 4.5rem;
  animation: floaty 9s ease-in-out infinite reverse;
}

.hero__float--3 {
  top: 20%;
  left: 46%;
  font-size: 3rem;
  color: rgba(247, 146, 30, .3);
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-22px) rotate(8deg);
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--color-line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 rgba(46, 204, 113, .6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, .5);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.hero__title {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.hero__lead {
  color: #5a584f;
  font-size: 1.08rem;
  margin: 20px 0 22px;
  max-width: 52ch;
}

.hero__lead strong {
  color: var(--color-ink);
}

.hero__points {
  margin-bottom: 28px;
  display: grid;
  gap: 10px;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hero__points i {
  color: var(--color-primary-dark);
  font-size: 1.15rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.stat {
  display: block;
}

.stat__num,
.stat__suffix {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--color-ink);
  line-height: 1;
  display: inline;
}

.stat__suffix {
  color: var(--color-primary-dark);
}

.stat__label {
  font-size: .82rem;
  color: var(--color-muted);
  margin-top: 6px;
  display: block;
}

/* hero changing image */
.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__frame {
  position: relative;
  width: min(440px, 100%);
}

.hero__ring {
  position: absolute;
  inset: -22px;
  border: 2px dashed rgba(247, 146, 30, .45);
  border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%;
  animation: spin 26s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__slides {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 1.4s var(--ease);
}

.hero__img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__chip {
  position: absolute;
  bottom: 18px;
  left: -16px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}

.hero__chip i {
  font-size: 1.7rem;
  color: #2ecc71;
}

.hero__chip strong {
  display: block;
  font-size: .95rem;
}

.hero__chip span {
  font-size: .78rem;
  color: var(--color-muted);
}

/* ============ 6. MARQUEE (shared) ============ */
.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee--keywords {
  background: var(--color-light);
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

/* keyword marquee movement is driven in script.js so it runs on every device */
.marquee--keywords .marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 34px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
}

.marquee--keywords .marquee__item i {
  color: var(--color-primary-dark);
  font-size: 1rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============ 7. ABOUT ============ */
.about__media {
  position: relative;
}

.about__img-main {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3/3.6;
  object-fit: cover;
}

.about__img-sub {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: 50%;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 1/1;
  object-fit: cover;
}

.about__exp {
  position: absolute;
  left: -6px;
  top: 22px;
  background: var(--color-primary);
  color: var(--color-ink);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 130px;
}

.about__exp-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  display: block;
  line-height: 1;
}

.about__exp-text {
  font-size: .74rem;
  font-weight: 500;
}

.about__features {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.about__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about__feature i {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.about__feature h4 {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 2px;
}

.about__feature p {
  margin: 0;
  color: var(--color-muted);
  font-size: .92rem;
}

/* ============ 8. SERVICES (dark + colour wave) ============ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.svc-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-primary-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}

/* top accent bar that lights up in sequence (the colour wave) */
.svc-card__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
}

.services.is-animating .svc-card__bar {
  animation: waveBar 5s linear infinite;
}

@keyframes waveBar {

  0%,
  100% {
    transform: scaleX(0);
  }

  8% {
    transform: scaleX(1);
  }

  20% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

.svc-card__img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--color-primary-soft);
}

.svc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}

.svc-card__body {
  padding: 20px 22px 24px;
}

.svc-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.svc-card p {
  font-size: .86rem;
  color: var(--color-muted);
  margin: 0;
}

.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-dark);
}

.svc-card:hover .svc-card__body {
  background: var(--color-primary-soft);
}

.svc-card:hover .svc-card__img img {
  transform: scale(1.07);
}

/* ============ 9. WHY CHOOSE US ============ */
.why__cta-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  background: #fff5e8;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}

.why__cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-ink);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex: none;
}

.why__cta-box span {
  display: block;
  font-size: .82rem;
  color: var(--color-muted);
}

.why__cta-box a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-ink);
}

.why__cta-box a:hover {
  color: var(--color-primary-dark);
}

.why__list {
  display: grid;
  gap: 14px;
}

.why__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.why__item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary);
}

.why__no {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-primary);
  flex: none;
  width: 48px;
}

.why__body h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.why__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: .92rem;
}

/* ============ 10. TIMELINE (how it works) ============ */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(247, 146, 30, .4);
}

.timeline__item {
  position: relative;
  display: flex;
  gap: 26px;
  padding: 12px 0;
}

.timeline__dot {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-ink);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--color-primary-soft);
}

.timeline__card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  flex: 1;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease);
}

.timeline__card:hover {
  transform: translateY(-4px);
}

.timeline__card h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline__card p {
  margin: 0;
  color: var(--color-muted);
  font-size: .92rem;
}

/* ============ 11. RASHI MARQUEE ============ */
.rashi {
  padding: 80px 0 90px;
  background: var(--color-white);
}

.rashi .section__head {
  margin-bottom: 40px;
}

/* rashi marquee movement is driven in script.js (pause-on-hover handled there too) */
.rashi__item {
  flex: none;
  width: 190px;
  margin: 0 12px;
  background: var(--color-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
  transition: all .3s var(--ease);
}

.rashi__item:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  transform: translateY(-6px);
}

.rashi__glyph {
  font-size: 2.4rem;
  color: var(--color-primary-dark);
  display: block;
  line-height: 1;
}

.rashi__hi {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  display: block;
  margin-top: 8px;
}

.rashi__en {
  font-size: .8rem;
  color: var(--color-muted);
  display: block;
}

/* ============ 12. GALLERY ============ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.12);
}

.gallery__zoom {
  position: absolute;
  inset: 0;
  background: rgba(22, 21, 15, .45);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.gallery__item:hover .gallery__zoom {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 8, .9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ============ 13. VIDEO ============ */
.video__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.video__tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 10/8;
  background: #000;
  box-shadow: var(--shadow);
}

.video__tile video {
  width: 100%;
  height: 100%;
  display: block;
}

.video__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-ink);
  font-size: 1.7rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.video__play:hover {
  transform: scale(1.1);
}

.video__tile.is-playing .video__play {
  opacity: 0;
  pointer-events: none;
}

/* ============ 14. FAQ ============ */
.faq__list {
  display: grid;
  gap: 14px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.faq__item.is-open {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--color-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq__q i {
  flex: none;
  color: var(--color-primary-dark);
  transition: transform .3s var(--ease);
  font-size: 1.1rem;
}

.faq__item.is-open .faq__q i {
  transform: rotate(45deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq__a p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--color-muted);
}

/* ============ 15. TESTIMONIALS (coverflow) ============ */
.testi__stage {
  max-width: 1000px;
  margin: 0 auto;
}

.testi__viewport {
  position: relative;
  height: 340px;
  perspective: 1400px;
  overflow: hidden;
}

.testi__deck {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.testi__card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 380px;
  max-width: 80vw;
  min-height: 260px;
  margin-left: 0;
  translate: -50% 0;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 34px 32px;
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .55s var(--ease), opacity .55s var(--ease), background .55s var(--ease);
  will-change: transform;
  box-shadow: var(--shadow);
}

.testi__card.is-active {
  background: var(--color-primary);
  color: var(--color-ink);
  border-color: var(--color-primary);
  box-shadow: 0 24px 54px rgba(247, 146, 30, .45);
}

.testi__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--a, #888);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}

.testi__card.is-active .testi__avatar {
  color: #fff;
}

.testi__text {
  font-size: 1.02rem;
  line-height: 1.6;
  flex: 1;
}

.testi__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}

.testi__role {
  font-size: .82rem;
  opacity: .7;
  margin-top: -8px;
}

.testi__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 38px;
}

.testi__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--color-line);
  color: var(--color-ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all .3s var(--ease);
}

.testi__arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-ink);
}

.testi__dots {
  display: flex;
  gap: 8px;
}

.testi__dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: #d9d6ca;
  cursor: pointer;
  transition: all .3s var(--ease);
  padding: 0;
}

.testi__dots button.is-active {
  width: 26px;
  background: var(--color-primary);
}

/* ============ 16. CTA BAND ============ */
.cta-band {
  background: var(--color-primary);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 54px 0;
}

.cta-band .eyebrow {
  color: #7a2600;
}

.cta-band .eyebrow::before {
  background: var(--color-ink);
}

.cta-band__text h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  color: var(--color-ink);
  max-width: 20ch;
}

.cta-band__text p {
  margin: 10px 0 0;
  color: #7a2d0a;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============ 17. CONTACT ============ */
.contact__info {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.contact__info li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__ico {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.contact__info h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.contact__info p {
  margin: 0;
  color: var(--color-muted);
  font-size: .94rem;
}

.contact__info a:hover {
  color: var(--color-primary-dark);
}

.contact__form {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.contact__form label {
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--color-light);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(247, 146, 30, .25);
  background: #fff;
}

.contact__map {
  margin-top: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.contact__map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  filter: grayscale(.2);
}

.contact__note {
  margin: 14px 0 0;
  font-size: .9rem;
  font-weight: 500;
}

.contact__note.ok {
  color: #1e9e57;
}

.contact__note.err {
  color: #d14343;
}

/* ============ 18. FOOTER ============ */
.footer {
  background: var(--color-dark);
  color: #b3b1a7;
  padding: 70px 0 26px;
}

.footer__brand {
  margin-bottom: 16px;
}

.footer__brand .brand__text {
  color: #fff;
}

.footer p {
  font-size: .92rem;
  line-height: 1.7;
}

.footer h5 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
}

.footer__contact i {
  color: var(--color-primary);
  margin-top: 4px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  transition: all .3s var(--ease);
}

.footer__social a:hover {
  background: var(--color-primary);
  color: var(--color-ink);
  transform: translateY(-4px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 46px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .85rem;
  color: #8b897f;
}

.footer__bottom p {
  margin: 0;
}

/* ============ 19. FLOATING BUTTONS ============ */
.float-btn {
  position: fixed;
  bottom: 26px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease);
}

.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.float-btn--wa {
  right: 22px;
  background: #25d366;
  animation: bob 2.6s ease-in-out infinite;
}

.float-btn--call {
  left: 22px;
  background: #25d366;
  animation: bob 2.6s ease-in-out infinite .4s;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 1500;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-ink);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--color-primary-dark);
}

/* ============ 20. SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 21. RESPONSIVE ============ */
@media (max-width: 991.98px) {
  .section {
    padding: 68px 0;
  }

  /* columns stack here, so shrink the large row gutter to match container padding (prevents horizontal overflow) */
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }

  .navbar-collapse {
    background: var(--color-primary-dark);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-top: 12px;
    box-shadow: var(--shadow-sm);
  }

  .nav-item--cta {
    margin: 10px 0 0;
  }

  .nav-item--cta .btn-pill {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 50px 0 70px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__points {
    display: inline-grid;
    text-align: left;
  }

  .hero__cta,
  .hero__stats {
    justify-content: center;
  }

  .hero__float {
    display: none;
  }

  .hero__visual {
    margin-top: 20px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* mobile/tablet = 2 per row */
  .about__media {
    max-width: 440px;
    margin: 0 auto;
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-band__text h2,
  .cta-band__text p {
    max-width: none;
  }

  .cta-band__actions {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 54px 0;
  }

  .topbar {
    font-size: .78rem;
  }

  .topbar__tag {
    display: none;
  }

  .topbar .container {
    justify-content: center;
    gap: 6px;
  }

  .services__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .video__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero__stats {
    gap: 22px;
  }

  .stat__num,
  .stat__suffix {
    font-size: 1.6rem;
  }

  .testi__card {
    padding: 26px 22px;
    min-height: 240px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* ============ reduced motion ============ */
/* We keep the site's motion (marquees, reveals, carousel) running for all users,
   since continuous marquees are a core part of this design. Only jump-to smooth
   scrolling is relaxed. Marquees are JS-driven so they run regardless of this setting. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===== number below hero image + under buttons ===== */
.hero__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 13px 26px;
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(214, 40, 40, .30);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.hero__call:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(214, 40, 40, .42);
}

.hero__call strong {
  font-size: 1.14rem;
  letter-spacing: .5px;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-weight: 500;
  color: var(--color-muted);
}

.hero__phone i {
  color: var(--color-primary-dark);
  font-size: 1.1rem;
}

.hero__phone a {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.hero__phone a:hover {
  text-decoration: underline;
}

/* ===== Kundli / horoscope section ===== */
.kundli {
  overflow: hidden;
}

.kundli__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(320px, 72vw, 460px);
}

.kundli__wheel {
  position: absolute;
  width: min(100%, 480px);
  opacity: .92;
  z-index: 1;
  animation: spin 48s linear infinite;
  pointer-events: none;
}

.kundli__chart {
  position: relative;
  width: 82%;
  max-width: 400px;
  z-index: 2;
}

.kundli__title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 12px;
}

.kundli__points {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
}

.kundli__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.kundli__points i {
  color: var(--color-primary-dark);
  font-size: 1.2rem;
}
/* red Call Now pill inside inner-page banners */
.page-banner .page-banner__call { margin-top: 20px; }
