/* Spaciaz Home 10 – header (global) + hero (home only) */

:root {
  --spaciaz-lime: #e4ed64;
  --spaciaz-dark: #1c1c25;
  --spaciaz-muted: #8a8a8a;
  --spaciaz-container: min(1290px, calc(100% - 150px));
}

/* Home page: one shared content width for header, hero, and all main sections */
body.page-home-h10 {
  --home-shell-max: 1320px;
  --home-shell-gutter: 24px;
  --spaciaz-container: min(var(--home-shell-max), calc(100% - (var(--home-shell-gutter) * 2)));
}

body.page-home-h10 .home-shell {
  width: min(var(--home-shell-max), calc(100% - (var(--home-shell-gutter) * 2)));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.page-home-h10 .home-shell--carousel {
  overflow: visible;
}

body.page-home-h10 .product-section-header {
  padding-left: 0;
  padding-right: 0;
}

body.page-home-h10 .product-section-carousel-wrap {
  padding-left: 0;
  padding-right: 0;
}

body.page-home-h10 .testimonial-feedback-container {
  width: min(var(--home-shell-max), calc(100% - (var(--home-shell-gutter) * 2)));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 767.98px) {
  body.page-home-h10 {
    --home-shell-gutter: 20px;
  }
}

/* ---------- Header (all pages) ----------
   style.css already handles layout, the mobile offcanvas and every breakpoint.
   Drop the floating white pill so the bar sits full width and square. */
.header-area.header-home10 {
  padding: 0;
  background: #ffffff;
}

.header-area.header-home10 .container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.header-area.header-home10 .header-navigation {
  background: #ffffff;
  border-radius: 0;
  padding: 0;
}

.header-area.header-home10 .primary-menu {
  width: 100%;
  max-width: var(--spaciaz-container);
  margin: 0 auto;
}

.header-area.header-home10.sticky .header-navigation {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Home only: black header, white nav, in document flow so hero starts directly below it */
body.page-home-h10 .header-area.header-home10 {
  position: relative;
  background: #000000;
}

body.page-home-h10 .header-area.header-home10 .header-navigation {
  background: #000000;
}

body.page-home-h10 .header-area.header-home10.sticky .header-navigation,
body.page-home-h10 .sticky.header-one .header-navigation {
  background: #000000 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

body.page-home-h10 .sticky.header-one {
  background-color: #000000 !important;
}

body.page-home-h10 .header-area.header-home10 .header-navigation .main-menu ul > li > a,
body.page-home-h10 .sticky.header-one .header-navigation .main-menu ul > li > a {
  color: #ffffff !important;
}

body.page-home-h10 .header-area.header-home10 .header-navigation .main-menu ul > li:hover > a {
  color: #e4ed64 !important;
}

body.page-home-h10 .header-area.header-home10 .header-call-label,
body.page-home-h10 .header-area.header-home10 .header-call-number {
  color: #ffffff;
}

body.page-home-h10 .header-area.header-home10 .header-call-number:hover {
  color: #e4ed64;
}

body.page-home-h10 .header-area.header-home10 .navbar-toggler span {
  background-color: #ffffff;
}

/* Homepage: fixed-height window, banner cropped to fill it (Spaciaz uses 850px) */
body.page-home-h10 .spaciaz-h10-hero {
  margin-top: 0;
  position: relative;
  min-height: 850px;
  height: 850px;
  max-height: none;
  overflow: hidden;
  color: #ffffff;
}

body.page-home-h10 #smooth-wrapper,
body.page-home-h10 #smooth-content,
body.page-home-h10 main {
  padding-top: 0;
  margin-top: 0;
}

body.page-home-h10 .spaciaz-h10-hero__inner,
body.page-home-h10 .spaciaz-h10-hero__slide-inner {
  min-height: 100%;
}

body.page-home-h10 .spaciaz-h10-hero__content {
  max-width: 800px;
  padding-top: 130px;
}

body.page-home-h10 .spaciaz-h10-hero__stats {
  padding-bottom: 48px;
}

/* ---------- Hero (base) ---------- */
.spaciaz-h10-hero {
  position: relative;
  min-height: 850px;
  height: 850px;
  max-height: none;
  overflow: hidden;
  color: #ffffff;
  background-color: #000000;
}

/* Cropped to fill the hero rather than shown whole */
.spaciaz-h10-hero__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.spaciaz-h10-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #000000 0%, #00000000 84.71%);
  opacity: 0.7;
  pointer-events: none;
}


/* ---------- Hero slider ----------
   Two synced sliders stacked around the overlay: images below it so they get
   dimmed, copy above it so it stays at full contrast. */
.spaciaz-h10-hero__swiper,
.spaciaz-h10-hero__copy {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.spaciaz-h10-hero__swiper {
  z-index: 0;
  background-color: #000000;
}

.spaciaz-h10-hero__swiper .swiper-wrapper,
.spaciaz-h10-hero__swiper .swiper-slide,
.spaciaz-h10-hero__slide {
  background-color: #000000;
}

.spaciaz-h10-hero__copy {
  z-index: 2;
  /* Drags fall through to the image slider, which is the one that's driving */
  pointer-events: none;
}

.spaciaz-h10-hero__swiper .swiper-wrapper,
.spaciaz-h10-hero__copy .swiper-wrapper,
.spaciaz-h10-hero__swiper .swiper-slide,
.spaciaz-h10-hero__copy .swiper-slide {
  height: 100%;
}

.spaciaz-h10-hero__slide {
  position: relative;
  display: block;
  overflow: hidden;
}

.spaciaz-h10-hero__copy .swiper-slide-active .spaciaz-h10-hero__btn {
  pointer-events: auto;
}

/* Fade the copy in on the active slide only once Swiper has taken over,
   so the content stays visible if the script never runs. */
.spaciaz-h10-hero__copy.swiper-initialized .spaciaz-h10-hero__title,
.spaciaz-h10-hero__copy.swiper-initialized .spaciaz-h10-hero__desc,
.spaciaz-h10-hero__copy.swiper-initialized .spaciaz-h10-hero__btn {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.spaciaz-h10-hero__copy.swiper-initialized .swiper-slide-active .spaciaz-h10-hero__title,
.spaciaz-h10-hero__copy.swiper-initialized .swiper-slide-active .spaciaz-h10-hero__desc {
  opacity: 1;
  transform: none;
}

.spaciaz-h10-hero__copy.swiper-initialized .swiper-slide-active .spaciaz-h10-hero__btn {
  opacity: 1;
  transform: none;
}

.spaciaz-h10-hero__copy.swiper-initialized .swiper-slide-active .spaciaz-h10-hero__desc {
  transition-delay: 0.14s;
}

.spaciaz-h10-hero__copy.swiper-initialized .swiper-slide-active .spaciaz-h10-hero__btn {
  transition-delay: 0.28s;
}

/* Swiper only adds the -bullets/-horizontal classes to an external pagination
   element, and those carry the left/width/bottom defaults we need to undo. */
.spaciaz-h10-hero .spaciaz-h10-hero__pagination,
.spaciaz-h10-hero .spaciaz-h10-hero__pagination.swiper-pagination-bullets {
  position: absolute;
  left: auto;
  right: 40px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: auto;
}

.spaciaz-h10-hero .spaciaz-h10-hero__pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0;
  background: #ffffff;
  opacity: 0.55;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.spaciaz-h10-hero .spaciaz-h10-hero__pagination .swiper-pagination-bullet:hover {
  opacity: 0.8;
}

.spaciaz-h10-hero .spaciaz-h10-hero__pagination .swiper-pagination-bullet-active {
  background: var(--spaciaz-lime);
  opacity: 1;
  transform: scale(1.35);
}

/* Stats sit above the slider and stay put while slides change */
.spaciaz-h10-hero__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

/* Bottom blur: blurs the slide behind it, masked so it ramps in from nothing */
.spaciaz-h10-hero__footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 46.79%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 46.79%);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  pointer-events: none;
}

/* Aligns with the header's inner container so hero text lines up with the logo */
.spaciaz-h10-hero__inner,
.spaciaz-h10-hero__slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--spaciaz-container);
  margin: 0 auto;
  padding: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spaciaz-h10-hero__footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--spaciaz-container);
  margin: 0 auto;
  padding: 46px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.spaciaz-h10-hero__content {
  max-width: 800px; 
  padding-top: 48px;
}

.spaciaz-h10-hero__title {
  font-family: gilroy-light;
  font-size: 70px;
  line-height: 1.2;
  letter-spacing: -2px;
  color: #ffffff;
  margin: 0 0 20px;
  max-width: 800px;
}

.spaciaz-h10-hero__desc {
  font-family: gilroy-light;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  color: #ffffffde;
  margin: 0 0 34px;
  max-width: 630px;
}

.spaciaz-h10-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  padding: 5px 5px 5px 30px;
  background: #ffffff;
  color: #000000;
  font-family: gilroy-medium;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  text-transform: capitalize;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.spaciaz-h10-hero__btn:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.spaciaz-h10-hero__copy.swiper-initialized .swiper-slide-active .spaciaz-h10-hero__btn:hover {
  transform: translateY(-2px);
}

.spaciaz-h10-hero__btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--spaciaz-lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
  color: #000000;
}

.spaciaz-h10-hero__btn-icon i::before {
  display: block;
  transform: rotate(-45deg);
  will-change: transform, opacity;
}

.spaciaz-h10-hero__btn:hover .spaciaz-h10-hero__btn-icon i::before {
  animation: themeBtnIconFly 0.48s ease-in-out;
}

.spaciaz-h10-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-bottom: 36px;
  max-width: 100%;
}

/* Number and label sit side by side, label wrapping to two lines */
.spaciaz-h10-hero__stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.spaciaz-h10-hero__stat-number {
  font-family: gilroy-bold;
  font-size: 90px;
  font-weight: 700;
  line-height: 1.06;
  color: #ffffff;
  letter-spacing: -2px;
  white-space: nowrap;
}

.spaciaz-h10-hero__stat-number span {
  display: inline;
}

/* The "+" keeps the same size, it just picks up the lime */
.spaciaz-h10-hero__stat-number span + span {
  color: var(--spaciaz-lime);
}

.spaciaz-h10-hero__stat-label {
  font-family: gilroy-medium;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  color: #ffffff;
  max-width: 150px;
}

/* Hindi support in hero */
.spaciaz-h10-hero .banner-hindi {
  font-family: "Inknut Antiqua", serif;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .spaciaz-h10-hero__inner,
  .spaciaz-h10-hero__slide-inner,
  .spaciaz-h10-hero__footer-inner {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .header-area.header-home10 .header-navigation {
    padding: 10px 24px;
  }

  .header-area.header-home10 .primary-menu {
    max-width: 100%;
  }

  .spaciaz-h10-hero__title {
    font-size: 48px;
    letter-spacing: -1px;
  }

  .spaciaz-h10-hero__desc,
  .spaciaz-h10-hero__stat-label {
    font-size: 18px;
  }

  .spaciaz-h10-hero__stat-number {
    font-size: 64px;
  }
}

@media (max-width: 991.98px) {
  /* 850px can't hold the stacked copy and stats here, so both drop into normal
     flow and the hero grows to whatever they need. */
  body.page-home-h10 .spaciaz-h10-hero,
  .spaciaz-h10-hero {
    min-height: 0;
    max-height: none;
    height: auto;
  }

  .spaciaz-h10-hero__copy,
  .spaciaz-h10-hero__copy .swiper-slide,
  .spaciaz-h10-hero__footer {
    position: relative;
    height: auto;
  }

  body.page-home-h10 .spaciaz-h10-hero__inner,
  body.page-home-h10 .spaciaz-h10-hero__slide-inner,
  .spaciaz-h10-hero__inner,
  .spaciaz-h10-hero__slide-inner {
    min-height: 0;
    height: auto;
  }

  .spaciaz-h10-hero__footer {
    padding-top: 40px;
  }

  .spaciaz-h10-hero .spaciaz-h10-hero__pagination,
  .spaciaz-h10-hero .spaciaz-h10-hero__pagination.swiper-pagination-bullets {
    right: 24px;
  }

  .spaciaz-h10-hero__content {
    padding-top: 40px;
  }

  .spaciaz-h10-hero__title {
    font-size: 40px;
  }

  .spaciaz-h10-hero__stats {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 48px;
  }

  .spaciaz-h10-hero__stat-number {
    font-size: 56px;
  }
}

@media (max-width: 767.98px) {
  .header-area.header-home10 .header-navigation {
    padding: 10px 16px;
  }

  .spaciaz-h10-hero__inner,
  .spaciaz-h10-hero__slide-inner,
  .spaciaz-h10-hero__footer-inner {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .spaciaz-h10-hero .spaciaz-h10-hero__pagination,
  .spaciaz-h10-hero .spaciaz-h10-hero__pagination.swiper-pagination-bullets {
    right: 14px;
    gap: 9px;
  }

  .spaciaz-h10-hero .spaciaz-h10-hero__pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
  }

  .spaciaz-h10-hero__content {
    padding-top: 32px;
  }

  .spaciaz-h10-hero__title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .spaciaz-h10-hero__desc {
    font-size: 16px;
  }

  .spaciaz-h10-hero__stat-number {
    font-size: 48px;
  }

  .spaciaz-h10-hero__stat-label {
    font-size: 16px;
  }
}

/* Default header CTA (all pages) */
.header-call-pattern {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.header-call-label {
  font-weight: 700;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #1c1c25;
}

.header-call-number {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-right: 20px;
}

.header-call-number:hover {
  color: #1c1c25;
}

.header-get-in-touch {
  display: inline-block;
  padding: 14px 30px;
  background: #e4ed64;
  color: #000000;
  font-weight: 700;
  font-family: "Cal Sans", "Plus Jakarta Sans", sans-serif;
  text-decoration: none;
  border-radius: 30px;
  white-space: nowrap;
  font-size: 14px;
  text-transform: capitalize;
}

.header-get-in-touch:hover {
  background: #d4f066;
  color: #000000;
}

.w-50px {
  width: 40px !important;
  margin-left: 20px;
}

.w-100px {
  width: 70px !important;
}

@media screen and (max-width: 786px) {
  .w-50px {
    width: 30px !important;
    margin-left: 0;
  }
}
