/* Scoped finishing styles for native Elementor widgets on the SURABHILA homepage. */
body.page-id-18 .e-con, body.page-id-42 .e-con { min-width: 0; }
body.page-id-18 .elementor-widget, body.page-id-42 .elementor-widget { max-width: 100%; }
body.page-id-18 .elementor-widget-text-editor, body.page-id-42 .elementor-widget-text-editor { overflow-wrap: anywhere; }

/* Navigation: equal controls on desktop, a compact swipe row on phones. */
#top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(15px);
  transition: box-shadow .35s ease, background-color .35s ease;
}
#top.surabhila-scrolled { box-shadow: 0 12px 32px rgba(16,62,68,.1); }
#top .elementor-element-647a30e { width: 100%; align-items: center; }
#top .elementor-element-11440b3 { flex: 0 0 24%; width: 24%; }
#top .elementor-element-8d5f0d7 { flex: 1 1 73%; width: 73%; min-width: 0; }
#top .elementor-element-8bb2fcd {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px !important;
  width: 100%;
  align-items: center;
}
#top .elementor-element-8bb2fcd > .elementor-widget-button {
  flex: 0 0 124px;
  width: 124px !important;
  min-width: 0;
  margin: 0;
}
#top .elementor-element-8bb2fcd .elementor-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 10px 9px;
  border: 1px solid #cad7d4;
  border-radius: 12px;
  background: #fff;
  color: #103e44;
  text-align: center;
  white-space: normal;
  font-size: .79rem;
  line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
#top .elementor-element-8bb2fcd .elementor-button:hover {
  transform: translateY(-2px);
  border-color: #0f797a;
  background: #eaf0ce;
}
#top .elementor-element-8bb2fcd > .elementor-widget-button:last-child .elementor-button {
  border-color: #103e44;
  background: #103e44;
  color: white;
}

/* The three native Elementor step cards keep one shared height and spacing. */
#franchising .elementor-element-ee3d8a6 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px !important;
  width: 100% !important;
  align-items: stretch;
}
#franchising .elementor-element-ee3d8a6 > .e-con {
  width: 100% !important;
  min-width: 0;
  height: 100%;
}
#franchising .elementor-element-ee3d8a6 > .e-con > .e-con {
  width: 100%;
  height: 100%;
  justify-content: flex-start;
}
#franchising .elementor-element-ee3d8a6 h3 {
  min-height: 3.25em;
  font-size: clamp(1.5rem, 1.8vw, 1.8rem);
  line-height: 1.18;
}
#model .elementor-widget-toggle,
#opportunity .elementor-widget-toggle,
#numbers .elementor-widget-toggle { width: 100%; }
#model, #franchising, #opportunity, #experience, #enquire, #numbers { scroll-margin-top: 110px; }

/* Scroll motion only starts after the controller confirms support. */
html.surabhila-motion .surabhila-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
html.surabhila-motion .surabhila-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
#surabhila-carousel .swiper-slide-inner {
  display: block;
  height: 530px;
  margin: 0;
  overflow: hidden;
  background: #0c3035;
}
#surabhila-carousel .swiper-slide-image {
  display: block;
  width: 300%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
#surabhila-carousel .swiper-slide:nth-child(2) .swiper-slide-image {
  transform: translateX(-33.333333%);
}
#surabhila-carousel .swiper-slide:nth-child(3) .swiper-slide-image {
  transform: translateX(-66.666667%);
}
#surabhila-carousel .elementor-swiper-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(12,48,53,.76);
}
#surabhila-carousel .swiper-pagination-bullet-active {
  background: #25d366;
}
.elementor-widget-toggle .elementor-toggle-item {
  margin-bottom: 13px;
  overflow: hidden;
  border: 1px solid #cad7d4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(16,62,68,.04);
}
.elementor-widget-toggle .elementor-tab-title {
  padding: 22px 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}
.elementor-widget-toggle .elementor-tab-title.elementor-active {
  color: #0f797a;
  background: #eaf0ce;
}
.elementor-widget-toggle .elementor-tab-content {
  padding: 0 24px 24px;
  border-top: 0;
  color: #53666a;
  font: 15px/1.7 Arial, Helvetica, sans-serif;
}
.elementor-widget-button .elementor-button-icon svg {
  width: 1.3em;
  height: 1.3em;
}
@media (max-width: 1024px) {
  #top { position: relative; }
  #top .elementor-element-647a30e { flex-direction: column; align-items: stretch; }
  #top .elementor-element-11440b3,
  #top .elementor-element-8d5f0d7 { flex: 0 0 auto; width: 100% !important; }
  #top .elementor-element-8bb2fcd > .elementor-hidden-tablet { display: block !important; }
  #top .elementor-element-8bb2fcd .elementor-button { font-size: .77rem; }
  #franchising .elementor-element-ee3d8a6 { grid-template-columns: 1fr; }
  #franchising .elementor-element-ee3d8a6 h3 { min-height: 0; }
  #surabhila-carousel .swiper-slide-inner { height: 390px; }
}
@media (max-width: 767px) {
  #top .elementor-element-8bb2fcd {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto;
    padding: 0 2px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #aec64c transparent;
  }
  #top .elementor-element-8bb2fcd > .elementor-widget-button {
    flex: 0 0 148px !important;
    width: 148px !important;
    scroll-snap-align: start;
  }
  #top .elementor-element-8bb2fcd .elementor-button { min-height: 48px; font-size: .78rem; }
  #top .elementor-element-8bb2fcd > .elementor-hidden-mobile { display: block !important; }
  #model, #franchising, #opportunity, #experience, #enquire, #numbers { scroll-margin-top: 20px; }
  #surabhila-carousel .swiper-slide-inner { height: 290px; }
  .elementor-widget-toggle .elementor-tab-title { padding: 18px; font-size: 1.18rem; }
  .elementor-widget-toggle .elementor-tab-content { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html.surabhila-motion .surabhila-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  #top, #top .elementor-element-8bb2fcd .elementor-button { transition: none; }
  #surabhila-carousel .swiper-wrapper { transition-duration: 0ms !important; }
}

/* Revised copy: keep the longer headline and disclosures measured on every screen. */
body.page-id-18 .elementor-element-71e1e25 .elementor-heading-title {
  font-size: clamp(2.6rem, 4.15vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  max-width: 13ch;
}
body.page-id-18 .elementor-element-8f12d40 { max-width: 38rem; }
body.page-id-18 .elementor-element-1c9e8bf a {
  color: #eaf0ce;
  text-decoration-color: #aec64c;
  text-underline-offset: 5px;
  font-weight: 700;
}
body.page-id-18 .elementor-element-9d3c407 .elementor-heading-title {
  max-width: 32ch;
  margin-inline: auto;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.2;
}
body.page-id-18 .elementor-element-54c9f88 .elementor-heading-title {
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}
#who-can-join .elementor-widget-toggle,
#faq .elementor-widget-toggle { width: 100%; }
#who-can-join, #faq { scroll-margin-top: 110px; }
@media (max-width: 767px) {
  body.page-id-18 .elementor-element-71e1e25 .elementor-heading-title {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
    max-width: 15ch;
  }
  body.page-id-18 .elementor-element-9d3c407 .elementor-heading-title {
    font-size: 1.7rem;
  }
  #who-can-join, #faq { scroll-margin-top: 20px; }
}
@media (max-width: 1024px) {
  #top { padding: 16px 24px !important; }
}
@media (max-width: 767px) {
  #top { padding: 12px 18px !important; }
}
@media (min-width: 680px) and (max-width: 767px) {
  #top .elementor-element-8bb2fcd { overflow: visible; }
  #top .elementor-element-8bb2fcd > .elementor-widget-button {
    flex: 0 0 120px !important;
    width: 120px !important;
  }
}

