/* Yoga Acharya Manish – static rebuild of the original Jupiter X / Elementor page.
   Values are taken from the original theme, Elementor kit and page CSS. */

:root {
  --bg: #fdf7f9;
  --text: #878787;
  --purple: #503675;
  --purple-dark: #3e285e;
  --orange: #fc8a4e;
  --orange-soft: rgba(252, 138, 78, 0.9);
  --violet: #520cd9;
  --check: #e73058;
  --card-grey: #f8f8f8;
  --line-grey: #efeff1;
  --serif: "Crimson Text", Georgia, serif;
  --sans: "Roboto", Arial, sans-serif;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

main, footer { overflow-x: clip; }

/* JupiterX .jupiterx-main background: watercolor chakra behind the hero (header-bg-01.jpg) */
main { background: var(--bg) url("/assets/img/bg-hero.webp") top left / auto no-repeat; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
p { margin: 0 0 1rem; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
figure { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  padding: 10px 16px; background: #fff; color: var(--purple);
}
.skip-link:focus { left: 10px; top: 10px; }

.container { max-width: var(--container); margin: 0 auto; }
/* Elementor "default" column gap = 10px padding around widgets */
.container--gap { padding-left: 10px; padding-right: 10px; }

/* Shared heading look (theme h1–h3: Crimson Text 600, purple, Elementor line-height 1) */
.hero__title, .welcome__title, .about__title, .programs-heading__title {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--purple);
  line-height: 1;
}

/* ---------- Buttons ---------- */
.btn-wrap { margin: 30px; padding: 20px; text-align: center; }
.btn {
  display: inline-block;
  min-height: 44px;
  background: var(--violet);
  color: #fff;
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: all .3s;
}
.btn:hover { color: #fff; text-decoration: none; opacity: .9; }
.btn--xl { font-size: 27px; padding: 25px 50px; border-radius: 6px; }
.btn--pill { font-size: 18px; padding: 20px 40px; border-radius: 27px; }

/* ---------- Hero ---------- */
.hero { padding: 0 0 125px; }
.hero__inner { display: flex; }
.hero__left { width: 52.193%; padding-top: 235px; }
.hero__right { width: 47.807%; }
.hero__tagline {
  margin: 0;
  padding: 75px 0 45px;
  color: #000;
  font-size: 21px;
  font-weight: 600;
  line-height: 27px;
  text-align: center;
}
.hero__name {
  margin: 0;
  padding-top: 50px;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  text-align: right;
}
.hero__portrait { padding-left: 200px; }
.hero__portrait img { max-width: 89%; }
.hero__title { margin-top: 20px; font-size: 91px; text-align: center; }

/* ---------- Intro video ---------- */
.video {
  position: relative;
  overflow: hidden;
  background: #000;
}
.video--wide { aspect-ratio: 16 / 9; }
/* YouTube Short: as tall as the original square slot (the column width), portrait width, centred */
.video--vertical { width: calc(100cqw * 9 / 16); height: 100cqw; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 100%; border: 0; padding: 0;
  background: #333 center / cover no-repeat;
  color: #fff; cursor: pointer;
}
.video__play::before {
  content: "";
  width: 68px; height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 28px no-repeat;
  transition: background-color .2s;
}
.video__play:hover::before { background-color: #cd201f; }
.video__play[disabled] { cursor: default; }
.video__play[disabled]::before { background-color: rgba(255, 255, 255, .12); }
.video__note { font-size: 14px; letter-spacing: .5px; color: rgba(255, 255, 255, .7); }

/* ---------- Welcome ---------- */
.welcome { padding: 0 0 100px; }
.welcome__inner { max-width: 730px; text-align: center; }
.welcome__icon { width: 110px; height: auto; margin: 0 auto; display: block; }
.welcome__title { padding-bottom: 25px; font-size: 56px; font-style: italic; }
.welcome__text { margin: 0; padding-bottom: 45px; font-size: 18px; line-height: 27px; }
.welcome__text span { color: #020101; }

/* ---------- About ---------- */
.about { display: flex; padding: 0 75px 105px; }
.about__images { --s: .84; width: 50%; padding-right: 25px; display: flex; flex-direction: column; align-self: center; }
.about__img { display: block; }
/* Raven's inline-block wrapper shrinks to the image's natural width, so 73% is of that, not the column.
   --s scales the whole collage down so it is about as tall as the text beside it. */
.about__img--73 { width: calc(min(73%, var(--iw) * .73px) * var(--s)); }
.about__img--66 { width: calc(66% * var(--s)); }
.about__img.is-right { margin-left: auto; }
/* Elementor's % padding is relative to the column (half the row), so halve it here */
.about__text { width: 50%; padding: 5% 0 0 12.5%; align-self: center; position: relative; z-index: 1; text-align: center; }
.about__title { padding-bottom: 40px; font-size: 56px; line-height: 65px; }
.about__body { padding-bottom: 45px; font-size: 18px; line-height: 27px; }
.divider { border: 0; height: 1px; background: #ddd; margin: 0 0 10px; }

/* ---------- Image carousel ---------- */
.gallery { padding: 0 0 200px; }
.carousel { position: relative; padding: 0 75px 30px; }
.carousel__viewport, .quotes__viewport { overflow: hidden; }
.carousel__track, .quotes__track { display: flex; transition: transform .5s ease; }
.carousel__slide, .quote { flex: 0 0 100%; min-width: 0; }
.carousel__slide { text-align: center; }
.carousel__slide img { display: inline-block; }
.carousel__arrow {
  position: absolute; top: calc(50% - 15px); transform: translateY(-50%); z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: #000;
}
.carousel__arrow svg { width: 26px; height: 39px; fill: currentColor; }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.carousel__dots, .quotes__dots { display: flex; justify-content: center; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 0; gap: 4px; }
.carousel__dots button, .quotes__dots button {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.carousel__dots button::before, .quotes__dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: #000; opacity: .2; transition: all .2s linear;
}
.carousel__dots button[aria-current="true"]::before { opacity: 1; }

/* ---------- Section divider: line – lotus – line between sections ---------- */
.section-divider {
  display: flex; align-items: center; gap: 64px;
  width: min(640px, 80%); margin: 0 auto; padding: 45px 0;
  background: url("/assets/img/lotus.svg") center / 44px auto no-repeat;
}
.section-divider::before, .section-divider::after {
  content: ""; flex: 1; height: 2px;
  background: linear-gradient(to right, rgba(80, 54, 117, 0), rgba(80, 54, 117, .7));
}
.section-divider::after { transform: scaleX(-1); }
/* line only, where the next section already opens with the lotus */
.section-divider--plain { gap: 0; background: none; }

/* ---------- Watercolour background sections ---------- */
.watercolor {
  /* The image is 1100px tall with a hard bottom edge; fade its last 300px into the page colour */
  background:
    linear-gradient(to bottom, rgba(253, 247, 249, 0) 800px, var(--bg) 1100px),
    url("/assets/img/bg-watercolor-wide.webp") top right no-repeat;
}

/* ---------- Pricing ---------- */
.pricing { padding: 0 0 100px; }
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
}
.card {
  margin: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 30px;
  color: #000;
}
.card p { margin: 0; }
.card--title { text-align: center; font-size: 18px; font-weight: 900; line-height: 24px; padding-bottom: 31px; }
.card--title-lg { font-size: 19px; }
.card--title-medium { font-weight: 500; }
.card--list { color: var(--text); }
.card--price {
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: center;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}
.card--price p { padding: 3px 0 18px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 4px; }
.checklist li + li { margin-top: 15px; }
.checklist svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: var(--check); }

/* ---------- Testimonials ---------- */
.testimonials { padding: 0 0 100px; }
.testimonials__row, .testimonials__videos { display: flex; }
.testimonials__images, .testimonials__slider, .testimonials__video { width: 50%; padding: 10px; }
.testimonials__img { display: block; width: calc(100% - 150px); margin: 0 75px; }
.testimonials__img:first-child { margin-bottom: 50px; }
.testimonials__slider { padding-top: 100px; }
.testimonials__videos { padding-bottom: 100px; }
.testimonials__video { padding: 60px 55px; container-type: inline-size; }

.quotes { position: relative; }
.quote {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; align-self: flex-start;
}
.quote__img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.quote__icon {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; margin: 5px; border-radius: 50%;
}
.quote__icon svg { width: 40px; height: 40px; fill: var(--purple); }
.quote__text {
  width: 350px; max-width: 100%;
  margin: 5px; padding: 25px 15px;
  border-radius: 5px;
  background: var(--purple-dark);
  color: #fff;
  font-size: 14px;
}
.quote figcaption { display: flex; flex-direction: column; align-items: center; }
.quote__name { margin: 5px; color: #511616; font-size: 18px; font-weight: 500; }
.quote__role { margin: 5px; color: #000; font-size: 16px; }
.quotes__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 18px;
  background: var(--purple); color: #fdf6f6; cursor: pointer;
  transition: all .2s linear;
}
.quotes__arrow svg { width: 13px; height: 23px; fill: currentColor; }
.quotes__arrow--prev { left: 20px; }
.quotes__arrow--next { right: 20px; }
.quotes__dots { margin: 20px 0 0; }
.quotes__dots button::before { background: #7a7a7a; opacity: 1; }
.quotes__dots button:hover::before { background: #6ec1e4; }
.quotes__dots button[aria-current="true"]::before { background: #61ce70; }

/* ---------- Recent & upcoming programs ---------- */
.programs-heading { padding: 0; }
.programs-heading__title { padding-bottom: 40px; font-size: 72px; text-align: center; }

/* cloud anchored 201px below the top of the headstand photo, so the figure stays on it */
.programs {
  padding: 40px 0 0;
  background: url("/assets/img/bg-watercolor-round.webp") center 241px / 860px auto no-repeat;
}
.member { display: flex; flex-direction: column; align-items: center; }
.member__image { width: 291px; height: 442px; max-width: 100%; }
.member__image img { width: 100%; height: 100%; object-fit: cover; }
.member__name {
  align-self: stretch;
  margin: 0 75px 10px 0;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.2;
  text-align: right;
}

.timeline__track {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 30px;
  scrollbar-color: #34314b #efeff1;
}
.timeline__track::-webkit-scrollbar { height: 8px; background: var(--line-grey); border-radius: 4px; }
.timeline__track::-webkit-scrollbar-thumb { background: #34314b; border-radius: 4px; }
.timeline__cards, .timeline__points { display: flex; }
.timeline__cards { align-items: flex-end; }
.timeline__item { flex: 0 0 calc(100% / 3); max-width: calc(100% / 3); }
.timeline__item { padding: 15px 15px 0; }
.timeline__card {
  position: relative;
  margin-bottom: 30px;
  padding: 30px;
  background: var(--card-grey);
}
.timeline__card::after {
  content: "";
  position: absolute; left: 20px; top: 100%;
  width: 20px; height: 20px;
  background: var(--card-grey);
  transform: translateY(-50%) rotate(45deg);
}
.timeline__card img { display: block; margin-bottom: 10px; }
.timeline__title { margin: 0 0 10px; color: #000; font-family: var(--sans); font-size: 22px; font-weight: 300; line-height: 1.2; }
.timeline__desc { margin: 0; }
.timeline__points { position: relative; align-items: flex-end; }
.timeline__line {
  position: absolute; top: 50%; left: 45px; right: 0;
  height: 2px; transform: translateY(-50%);
  background: var(--line-grey);
}
.timeline__point {
  position: relative;
  flex: 0 0 calc(100% / 3);
  max-width: calc(100% / 3);
  padding: 0 15px;
}
.timeline__point::before {
  content: "";
  display: block;
  width: 40px; height: 40px; margin-left: 10px;
  border-radius: 50%;
  background: var(--line-grey);
}

/* ---------- Footer ---------- */
.footer {
  padding: 250px 150px 0;
  background: url("/assets/img/bg-watercolor-wide.webp") top right no-repeat;
  color: #fff;
}
.footer__headline, .footer__year { text-shadow: 0 1px 14px rgba(80, 54, 117, .18); }
.footer__headline { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 60px; }
.footer__headline-first { padding-bottom: 30px; font-size: 75px; font-weight: 900; line-height: 1; }
.footer__headline-second { font-size: 38px; font-weight: 300; line-height: 53px; }
.footer__year { font-family: var(--sans); font-size: 36px; font-weight: 900; line-height: 1; text-align: center; color: #fff; }
.footer__divider { border: 0; height: 1px; background: #ddd; margin: 0 0 40px; }
.footer__year + .footer__divider, .container + .footer__divider { margin-top: 10px; }
.footer__social { display: flex; gap: 25px; padding-bottom: 80px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: #fff; transition: transform .3s, color .2s;
}
.footer__social a:hover { color: var(--orange-soft); transform: scale(.9); }
.footer__social svg { width: 35px; height: 35px; fill: currentColor; }
.footer__bottom { display: flex; align-items: flex-start; padding-bottom: 40px; }
.footer__name {
  width: 34.767%; margin: 0;
  color: #f4f4f4; font-family: var(--serif); font-size: 48px; font-weight: 600; line-height: 1.2;
}
.footer__contact {
  width: 49.223%; margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; column-gap: 110px;
  font-size: 14px; letter-spacing: 1.6px;
}
.footer__contact a { display: inline-block; padding: 10px 0; color: #fff; }
.footer__contact a:hover { color: var(--orange-soft); text-decoration: none; }
.footer__address { width: 15.302%; margin: 0; padding-top: 10px; font-size: 14px; text-align: right; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: -100px; bottom: 0; z-index: 990;
  margin: 1rem;
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; padding: 0;
  border: 1px solid #e9ecef; border-radius: 4px;
  background: #e9ecef; color: #adb5bd; cursor: pointer;
  transition: right .15s;
}
.to-top:hover { color: #6c757d; }
.to-top.is-visible { right: 0; }
.to-top svg { width: 14px; height: 20px; fill: currentColor; }

/* ---------- Entrance animations (Elementor fadeIn*) ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-in { animation: fadeIn 1.25s both; }
.js .reveal.slow.is-in { animation-duration: 2s; }
.js .reveal--left.is-in { animation-name: fadeInLeft; }
.js .reveal--right.is-in { animation-name: fadeInRight; }
.js .reveal--down.is-in { animation-name: fadeInDown; }
.js .reveal--up.is-in { animation-name: fadeInUp; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; }
  .js .reveal.is-in { animation: none; }
  .carousel__track, .quotes__track { transition: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 30px; text-align: center; }
.not-found h1 { font-family: var(--serif); font-weight: 600; color: var(--purple); font-size: 72px; line-height: 1; margin-bottom: 20px; }

/* ================= Tablet (Elementor ≤1024px) ================= */
@media (max-width: 1024px) {
  .hero { padding: 150px 30px 100px; }
  .hero__left { padding-top: 0; align-self: center; }
  .hero__title { font-size: 75px; }

  .welcome { padding: 0 30px 50px; }

  .about { padding: 0 30px 100px; }
  .about__text { padding: 0 0 0 30px; align-self: center; }
  .about__images { --s: .8; }
  .about__title { font-size: 35px; line-height: 40px; }

  .watercolor { background: url("/assets/img/bg-watercolor-wide.webp") bottom center / cover no-repeat; }
  .pricing { padding: 100px 30px; }
  .testimonials { padding: 100px 30px; }
  .testimonials__video { padding: 40px 20px; }

  .programs-heading { padding: 0 30px; }
  .programs { padding: 40px 30px 50px; background-size: contain; background-position: center 190px; }
  .member__name { margin: 20px 60px 10px 0; } /* original used -100px, which overlapped the photo */
  .timeline__item, .timeline__point { flex-basis: 50%; max-width: 50%; }

  .footer { padding: 100px 30px; background-position: bottom center; background-size: cover; }
  .footer__name { width: 30%; }
  .footer__contact { width: 40%; padding-left: 30px; column-gap: 40px; }
  .footer__address { width: 30%; }
}

/* ================= Mobile (Elementor ≤767px) ================= */
@media (max-width: 767px) {
  .hero { padding: 100px 30px; }
  .hero__inner { flex-direction: column; }
  .hero__left, .hero__right { width: 100%; }
  .hero__tagline { font-size: 18px; }
  .hero__name { text-align: left; }
  .hero__portrait { padding-left: 0; text-align: right; }
  .hero__portrait img { max-width: 129px; }
  .hero__title { margin-top: 20px; padding: 30px 0; font-size: 55px; }
  .btn-wrap { margin: 10px; }

  .welcome__title { font-size: 35px; }

  .about { flex-direction: column; }
  .about__images, .about__text { width: 100%; }
  .about__images { --s: 1; }
  .about__text { padding: 100px 0 0; }

  .carousel { padding-left: 0; padding-right: 0; }
  .carousel__arrow svg { width: 20px; height: 30px; }

  .pricing, .testimonials { padding: 0 30px 50px; background-size: cover; }
  .plans { display: block; }
  .card { margin: 15px 0; }
  .checklist li + li { margin-top: 18px; }

  .testimonials__row, .testimonials__videos { flex-direction: column; }
  .testimonials__images, .testimonials__slider, .testimonials__video { width: 100%; }
  .testimonials__img { width: 100%; margin: 0; }
  .testimonials__img:first-child { margin-bottom: 0; }
  .testimonials__img--second { margin-top: 50px; }
  .testimonials__video { padding: 10px 0; }
  .video--vertical { width: min(100%, 300px); height: auto; aspect-ratio: 9 / 16; }
  .testimonials__videos { padding-bottom: 0; }
  .quotes__arrow--prev { left: 0; }
  .quotes__arrow--next { right: 0; }

  .programs-heading { padding: 0 30px; }
  .programs-heading__title { font-size: 45px; padding-bottom: 30px; }
  .programs { padding: 30px 30px 0; background-position: center center; }
  .member__name { margin: 50px 0 0; text-align: center; }
  .timeline__item, .timeline__point { flex-basis: 100%; max-width: 100%; }

  .footer { padding: 120px 30px 60px; }
  .footer__headline { align-items: center; text-align: center; padding: 0 0 50px; }
  .footer__headline-first { padding-bottom: 10px; font-size: 40px; line-height: 1.1; }
  .footer__headline-second { font-size: 28px; line-height: 1.3; }
  .footer__year { font-size: 28px; line-height: 1.2; }
  .footer__social { justify-content: center; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer__name, .footer__contact, .footer__address { width: 100%; padding: 0 0 30px; text-align: center; }
  .footer__contact { justify-content: center; flex-direction: column; align-items: center; }
  .footer__contact a { padding: 8px 0; }
}

@media (max-width: 575px) {
  .hero__title { font-size: 48px; }
  .programs-heading__title { font-size: 40px; }
  .footer__name { font-size: 40px; }
}
