.bg-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    .slider .slide-item {
      min-height: 60vh;
    }

    .quote-lite-calculator {
      background: #ffffff;
      border: 1px solid #dfe6f3;
      border-radius: 10px;
      padding: 14px;
    }

    .quote-lite-calculator .q-title {
      font-size: 14px;
      color: #1d2a44;
      font-weight: 700;
      margin-bottom: 6px;
      display: block;
    }

    .quote-lite-calculator .form-control,
    .quote-lite-calculator .form-control:focus {
      border: 1px solid #ced8ea;
      background: #f7f9fd;
      color: #24324d;
      box-shadow: none;
    }

    .quote-lite-calculator .q-pin-error {
      font-size: 12px;
      color: #d93025;
      min-height: 16px;
      margin-top: 4px;
    }

    .quote-lite-calculator .q-unit {
      color: #6b7c99;
      margin-left: 8px;
      align-self: center;
      min-width: 24px;
    }

    .quote-lite-calculator .q-vol-box {
      background: #f4f7ff;
      border: 1px solid #d5e0ff;
      border-radius: 8px;
      padding: 10px;
      margin-bottom: 14px;
    }

    .quote-lite-calculator .q-vol-box h6 {
      color: #1d2a44;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .quote-lite-calculator .q-vol-box p {
      font-size: 13px;
      color: #384968;
      margin-bottom: 4px;
    }

    .quote-lite-calculator .q-radio-row {
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
      margin-bottom: 12px;
    }

    .quote-lite-calculator .q-radio-row label {
      display: flex;
      align-items: center;
      gap: 7px;
      margin: 0;
      color: #24324d;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
    }

    .quote-lite-calculator .q-calc-btn {
      width: 100%;
      background: #f0b90b;
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 10px 12px;
      font-size: 16px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      cursor: pointer;
    }

    .quote-lite-calculator .q-calc-btn:disabled {
      opacity: 0.65;
      cursor: not-allowed;
    }

    .quote-lite-status {
      margin-top: 8px;
      font-size: 13px;
      color: #d93025;
      min-height: 16px;
    }

    .quote-lite-result {
      margin-top: 12px;
    }

    .quote-lite-card {
      border: 1px solid #d5e0ff;
      border-radius: 8px;
      background: #f9fbff;
      padding: 12px;
      color: #1d2a44;
    }

    .quote-lite-card h4 {
      margin: 0 0 6px;
      font-size: 20px;
      color: #1d2a44;
      font-weight: 700;
    }

    .quote-lite-total {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 20px;
      font-weight: 800;
      color: #2d70ff;
      margin: 8px 0;
    }

    .quote-lite-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 4px;
      font-size: 14px;
      color: #334566;
    }

    .quote-lite-meta {
      border-top: 1px solid #d5e0ff;
      padding-top: 8px;
      margin-top: 8px;
      font-size: 13px;
      color: #56698d;
      line-height: 1.7;
    }

/* Hero CTA button */
#slider2 .hero-get-started-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 24px;
  background-color: #f0b90b;
  color: #111 !important;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  opacity: 0;
  transform: translateY(18px);
}

/* Action bar between hero and about */
.hero-action-strip {
  position: relative;
  padding: 16px 0 10px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.hero-action-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08), 0 3px 10px rgba(242, 179, 0, 0.12);
  backdrop-filter: blur(4px);
}

.hero-action-btn {
  border: 1px solid #d8deea;
  border-radius: 12px;
  background: #f4f6fa;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  padding: 11px 20px;
  min-height: 48px;
  min-width: 190px;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hero-action-btn:hover {
  transform: translateY(-2px);
  background: #edf1f8;
  border-color: #c9d3e4;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.hero-action-btn.is-primary,
.hero-action-btn.is-active {
  background: linear-gradient(135deg, #f2b300 0%, #ffd84d 100%);
  border-color: #f2b300;
  color: #111;
  box-shadow: 0 10px 20px rgba(242, 179, 0, 0.32);
}

.hero-track-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 360px;
}

.hero-track-inline__input {
  height: 48px;
  min-width: 220px;
  border: 1px solid #d8deea;
  border-radius: 12px;
  background: #f8fafc;
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
  padding: 0 14px;
}

.hero-track-inline__btn {
  border: 1px solid #f2b300;
  border-radius: 12px;
  background: linear-gradient(135deg, #f2b300 0%, #ffd84d 100%);
  color: #111;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  padding: 11px 16px;
  min-height: 48px;
  min-width: 110px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-track-inline__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(242, 179, 0, 0.28);
}

.hero-tracking-panel {
  display: none;
  max-width: 860px;
  margin: 14px auto 0;
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.hero-tracking-panel.is-open {
  display: block;
}

.hero-action-strip .container {
  text-align: center;
}

#about3 {
  padding-top: 34px;
}

@media (max-width: 767px) {
  .hero-action-strip {
    padding: 12px 0 8px;
  }

  .hero-action-bar {
    width: 100%;
    padding: 10px;
    gap: 9px;
  }

  .hero-action-btn {
    min-width: 0;
    width: 100%;
    font-size: 15px;
    padding: 10px 12px;
    min-height: 44px;
  }

  .hero-track-inline {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
  }

  .hero-track-inline__input,
  .hero-track-inline__btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
  }

  .hero-tracking-panel {
    margin-top: 10px;
    padding: 10px;
  }

  #about3 {
    padding-top: 24px;
  }
}

#slider2 .hero-get-started-btn:hover {
  background-color: #ffd44d;
  box-shadow: 0 10px 22px rgba(240, 185, 11, 0.3);
  transform: translateY(-2px);
}

body.page-loaded #slider2 .carousel.owl-loaded .owl-item.active .hero-get-started-btn {
  animation: ctaSlideIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
}

@keyframes ctaSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #slider2 .hero-get-started-btn {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Hero modal */
.hero-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
}

.hero-modal.is-open {
  display: block;
}

.hero-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.66);
}

.hero-modal__dialog {
  position: relative;
  width: min(960px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.hero-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  color: #323232;
  z-index: 2;
}

.hero-modal__title {
  margin: 0;
  padding: 18px 54px 12px 18px;
  font-size: 22px;
  font-weight: 700;
  border-bottom: 1px solid #ececec;
}

.hero-modal__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 18px 8px;
  border-bottom: 1px solid #ececec;
}

.hero-modal__tab {
  border: 1px solid #e0e0e0;
  background: #f6f6f6;
  color: #333;
  font-weight: 600;
  border-radius: 4px;
  padding: 8px 14px;
}

.hero-modal__tab.is-active {
  background: #f0b90b;
  border-color: #f0b90b;
  color: #111;
}

.hero-modal__body {
  max-height: calc(100vh - 190px);
  overflow-y: auto;
  padding: 16px 18px 20px;
}

.hero-modal__pane {
  display: none;
}

.hero-modal__pane.is-active {
  display: block;
}

body.hero-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  #slider2 .hero-get-started-btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .hero-modal__title {
    font-size: 18px;
  }

  .hero-modal__body {
    max-height: calc(100vh - 210px);
    padding: 12px;
  }
}

/* Home banner text animation (slide-by-slide) */
body.page-loaded #slider2 .carousel.owl-loaded .owl-item .slide__title,
body.page-loaded #slider2 .carousel.owl-loaded .owl-item .slide__desc {
  opacity: 0;
  transform: translateY(24px);
}

body.page-loaded #slider2 .carousel.owl-loaded .owl-item.active .slide__title {
  animation: bannerTextRise 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

body.page-loaded #slider2 .carousel.owl-loaded .owl-item.active .slide__desc {
  animation: bannerTextRise 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}

@keyframes bannerTextRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-loaded #slider2 .carousel.owl-loaded .owl-item .slide__title,
  body.page-loaded #slider2 .carousel.owl-loaded .owl-item .slide__desc {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* About section fancy scroll reveal */
body.page-loaded #about3 .heading__title,
body.page-loaded #about3 .heading__desc,
body.page-loaded #about3 .fancybox-item {
  opacity: 0;
  transform: translateY(38px) scale(0.98);
  filter: blur(2px);
}

body.page-loaded #about3.in-view .heading__title {
  animation: aboutLiftIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

body.page-loaded #about3.in-view .heading__desc {
  animation: aboutLiftIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

body.page-loaded #about3.in-view .col-sm-4:nth-of-type(2) .fancybox-item {
  animation: aboutLiftIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

body.page-loaded #about3.in-view .col-sm-4:nth-of-type(3) .fancybox-item {
  animation: aboutLiftIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.78s forwards;
}

body.page-loaded #about3.in-view .col-sm-4:nth-of-type(4) .fancybox-item {
  animation: aboutLiftIn 1.05s cubic-bezier(0.16, 1, 0.3, 1) 1.01s forwards;
}

#about3 .fancybox-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#about3 .fancybox-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

@keyframes aboutLiftIn {
  from {
    opacity: 0;
    transform: translateY(38px) scale(0.98);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-loaded #about3 .heading__title,
  body.page-loaded #about3 .heading__desc,
  body.page-loaded #about3 .fancybox-item {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }

  #about3 .fancybox-item {
    transition: none;
  }

  #about3 .fancybox-item:hover {
    transform: none;
    box-shadow: none;
  }
}

/* About3 cards: cleaner and more attractive hover UI */
#about3 .col-sm-4,
#about3 .col-md-4,
#about3 .col-lg-4 {
  display: flex;
}

#about3 .fancybox-item {
  width: 100%;
  min-height: 100%;
  padding: 24px 22px 26px;
  border-radius: 16px;
  border: 1px solid #e6eaf2;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease;
}

#about3 .fancybox-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f2b300 0%, #ffcf4d 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

#about3 .fancybox-item .fancybox__icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #fff8df;
  color: #d49f00;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    color 0.35s ease;
}

#about3 .fancybox-item .fancybox__title {
  color: #172033;
  transition: color 0.35s ease;
}

#about3 .fancybox-item .fancybox__desc {
  color: #2e3a52;
  transition: color 0.35s ease;
}

#about3 .fancybox-item:hover {
  transform: translateY(-10px);
  border-color: #f2b300;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.14);
}

#about3 .fancybox-item:hover::before {
  opacity: 1;
}

#about3 .fancybox-item:hover .fancybox__icon {
  transform: translateY(-3px) scale(1.06);
  background-color: #f2b300;
  color: #ffffff;
}

#about3 .fancybox-item:hover .fancybox__title {
  color: #c38f00;
}

#about3 .fancybox-item:hover .fancybox__desc {
  color: #1f293d;
}

@media (prefers-reduced-motion: reduce) {
  #about3 .fancybox-item,
  #about3 .fancybox-item .fancybox__icon,
  #about3 .fancybox-item .fancybox__title,
  #about3 .fancybox-item .fancybox__desc,
  #about3 .fancybox-item::before {
    transition: none;
  }

  #about3 .fancybox-item:hover,
  #about3 .fancybox-item:hover .fancybox__icon {
    transform: none;
  }
}

/* Services section fancy scroll reveal */
body.page-loaded #fancyboxLayout3 .heading__subtitle,
body.page-loaded #fancyboxLayout3 .heading__title,
body.page-loaded #fancyboxLayout3 .heading__desc,
body.page-loaded #fancyboxLayout3 .btn__primary,
body.page-loaded #fancyboxLayout3 .fancybox-item {
  opacity: 0;
  transform: translateY(34px);
}

body.page-loaded #fancyboxLayout3.in-view .heading__subtitle {
  animation: servicesReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

body.page-loaded #fancyboxLayout3.in-view .heading__title {
  animation: servicesReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.22s forwards;
}

body.page-loaded #fancyboxLayout3.in-view .heading__desc {
  animation: servicesReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

body.page-loaded #fancyboxLayout3.in-view .btn__primary {
  animation: servicesReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.58s forwards;
}

body.page-loaded #fancyboxLayout3.in-view .col-sm-3:nth-of-type(1) .fancybox-item {
  animation: servicesReveal 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.72s forwards;
}

body.page-loaded #fancyboxLayout3.in-view .col-sm-3:nth-of-type(2) .fancybox-item {
  animation: servicesReveal 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

body.page-loaded #fancyboxLayout3.in-view .col-sm-3:nth-of-type(3) .fancybox-item {
  animation: servicesReveal 1.05s cubic-bezier(0.16, 1, 0.3, 1) 1.08s forwards;
}

body.page-loaded #fancyboxLayout3.in-view .col-sm-3:nth-of-type(4) .fancybox-item {
  animation: servicesReveal 1.05s cubic-bezier(0.16, 1, 0.3, 1) 1.26s forwards;
}

#fancyboxLayout3 .fancybox-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#fancyboxLayout3 .fancybox-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

@keyframes servicesReveal {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-loaded #fancyboxLayout3 .heading__subtitle,
  body.page-loaded #fancyboxLayout3 .heading__title,
  body.page-loaded #fancyboxLayout3 .heading__desc,
  body.page-loaded #fancyboxLayout3 .btn__primary,
  body.page-loaded #fancyboxLayout3 .fancybox-item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  #fancyboxLayout3 .fancybox-item {
    transition: none;
  }

  #fancyboxLayout3 .fancybox-item:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Services cards: polished hover redesign */
#fancyboxLayout3 .col-sm-3,
#fancyboxLayout3 .col-md-3,
#fancyboxLayout3 .col-lg-3 {
  display: flex;
}

#fancyboxLayout3 .fancybox-item {
  width: 100%;
  min-height: 100%;
  padding: 24px 22px 26px;
  border-radius: 18px;
  border: 1px solid #e4e9f3;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease;
}

#fancyboxLayout3 .fancybox-item::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 3px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(90deg, #f2b300 0%, #ffd561 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#fancyboxLayout3 .fancybox-item .fancybox__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #fff6d5;
  color: #d49f00;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

#fancyboxLayout3 .fancybox-item .fancybox__title {
  color: #1b2538;
  transition: color 0.3s ease;
}

#fancyboxLayout3 .fancybox-item .fancybox__desc {
  color: #2f3b53;
  transition: color 0.3s ease;
}

#fancyboxLayout3 .fancybox-item:hover {
  transform: translateY(-12px);
  border-color: #f2b300;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf4 100%);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.15);
}

#fancyboxLayout3 .fancybox-item:hover::before {
  opacity: 1;
}

#fancyboxLayout3 .fancybox-item:hover .fancybox__icon {
  transform: translateY(-4px) scale(1.06);
  background-color: #f2b300;
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(242, 179, 0, 0.35);
}

#fancyboxLayout3 .fancybox-item:hover .fancybox__title {
  color: #ca9600;
}

#fancyboxLayout3 .fancybox-item:hover .fancybox__desc {
  color: #182237;
}

@media (prefers-reduced-motion: reduce) {
  #fancyboxLayout3 .fancybox-item,
  #fancyboxLayout3 .fancybox-item::before,
  #fancyboxLayout3 .fancybox-item .fancybox__icon,
  #fancyboxLayout3 .fancybox-item .fancybox__title,
  #fancyboxLayout3 .fancybox-item .fancybox__desc {
    transition: none;
  }

  #fancyboxLayout3 .fancybox-item:hover,
  #fancyboxLayout3 .fancybox-item:hover .fancybox__icon {
    transform: none;
  }
}

/* Video 1: Y-shape to full-image scroll reveal */
#video1.y-reveal-section {
  position: relative;
  background: white;
  padding: 0;
}

#video1 .y-reveal-track {
  position: relative;
  height: 106vh;
}

#video1 .y-reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

#video1 .y-reveal-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 12, 60, 0.42), rgba(30, 12, 60, 0.42)), url("../images/backgrounds/3.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: transform 0.16s linear, opacity 0.16s linear;
  will-change: transform, opacity;
}

#video1 .y-reveal-glyph-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#video1 .y-reveal-glyph {
  font-family: "Montserrat", "Arial Black", "Segoe UI", sans-serif;
  font-size: 250px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(rgba(30, 12, 60, 0.35), rgba(30, 12, 60, 0.35)), url("../images/backgrounds/3.jpg");
  background-position: center;
  background-size: cover;
  -webkit-background-clip: text;
  background-clip: text;
  transform: scale(0.34);
  transform-origin: center center;
  opacity: 1;
  transition: transform 0.16s linear, opacity 0.16s linear;
  will-change: transform, opacity;
}

#video1 .y-reveal-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.22s linear, transform 0.22s linear;
  will-change: opacity, transform;
  pointer-events: none;
}

#video1 .y-reveal-content .heading__subtitle {
  margin-bottom: 10px;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

#video1 .y-reveal-content .heading__title {
  max-width: 920px;
  margin: 0;
  color: #ffffff !important;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.48);
}

#video1 .y-reveal-content .counter__icon,
#video1 .y-reveal-content .counter-item h4,
#video1 .y-reveal-content .counter__desc {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

#video1 .y-reveal-content .counter-item h4 {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  min-width: 5ch;
}

@media (max-width: 991px) {
  #video1 .y-reveal-track {
    height: 104vh;
  }

  #video1 .y-reveal-glyph {
    font-size: 260px;
  }

  #video1 .y-reveal-content .heading__title {
    font-size: 36px;
    line-height: 1.2;
  }
}

@media (max-width: 575px) {
  #video1 .y-reveal-track {
    height: 103vh;
  }

  #video1 .y-reveal-glyph {
    font-size: 190px;
  }

  #video1 .y-reveal-content .heading__title {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #video1 .y-reveal-track {
    height: 100vh;
  }

  #video1 .y-reveal-bg {
    opacity: 1;
    transform: none;
    transition: none;
  }

  #video1 .y-reveal-glyph-wrap {
    display: none;
  }

  #video1 .y-reveal-content {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Hero split layout */
.hero-wrapper {
  display: flex;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  height: var(--hero-viewport-height, 52vh);
  min-height: 360px;
}

.hero-left {
  flex: 0 0 70%;
  max-width: 70%;
  height: 100%;
}

.hero-left .carousel,
.hero-left .owl-stage-outer,
.hero-left .owl-stage,
.hero-left .owl-item,
.hero-left .slide-item,
.hero-left .bg-img {
  height: 100%;
}

/* Keep hero height compact (like old layout) */
#slider2 .hero-left .slide-item {
  height: 100% !important;
  min-height: 100%;
  max-height: 100%;
}

.hero-right {
  flex: 0 0 30%;
  max-width: 30%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
  border: 1px solid #f0b90b;
}

.slide__content {
  text-align: center;
}

.slide__desc {
  margin-left: auto;
  margin-right: auto;
}

.hero-get-started-btn {
  display: inline-block;
  margin: 0 auto;
}

.order-card {
  background: #ffffff;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  border-radius: 16px;
  box-shadow:
  0 10px 24px rgba(15, 23, 42, 0.08),
  0 6px 16px rgba(255, 212, 77, 0.2);
  border: 2px solid #f2b300;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #f2b300 #fff6d6;
}

.order-card::-webkit-scrollbar {
  width: 6px;
}

.order-card::-webkit-scrollbar-track {
  background: #fff6d6;
  border-radius: 999px;
}

.order-card::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f2b300 0%, #ffd84d 100%);
  border-radius: 999px;
}

.order-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, #f2b300 0%, #ffd84d 100%);
}

.order-card h4 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #101828;
  letter-spacing: -0.3px;
}

.order-placed-card {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  background: linear-gradient(155deg, #ffffff, #eefcf3);
  border: 2px solid #b8e9c7;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.08),
    0 6px 16px rgba(17, 168, 77, 0.16);
}

.order-placed-card.is-visible {
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: orderPlacedCardIn 0.45s ease-out both;
}

.order-placed-check {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
}

.order-placed-check svg {
  width: 100%;
  height: 100%;
}

.order-placed-circle {
  fill: #e9fff0;
  stroke: #11a84d;
  stroke-width: 2.5;
}

.order-placed-tick {
  fill: none;
  stroke: #0f8f43;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  stroke-dasharray: 38;
  stroke-dashoffset: 38;
  animation: orderPlacedTickDraw 0.45s ease-out 0.2s forwards;
}

.order-placed-card h4 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #0d6b31;
}

.order-placed-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #1f3b2b;
}

@keyframes orderPlacedTickDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes orderPlacedCardIn {
  0% {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.order-subtitle {
  font-size: 13px;
  line-height: 1.45;
  color: #667085;
  margin-bottom: 0px
}

.order-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
  position: relative;
  padding: 4px 0 0;
  flex-wrap: nowrap;
}

.order-step {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #98a2b3;
  font-size: 0;
  text-align: center;
  font-weight: 700;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.order-step span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  border: 1px solid #d0d5dd;
  background: #f4f6fa;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.order-step.is-active {
  background: transparent;
  color: #111;
}

.order-step.is-active span {
  background: linear-gradient(135deg, #fecc00, #ffd84d);
  border-color: #f2b300;
  color: #111;
  box-shadow: 0 6px 14px rgba(255, 212, 77, 0.4);
}

.order-step.is-active ~ .order-step span {
  background: #f4f6fa;
  color: #667085;
  border-color: #d0d5dd;
}

.order-step + .order-step::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 2px;
  background: #d0d5dd;
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
}

.order-form-step {
  display: none;
  gap: 0;
}

.order-form-step.is-active {
  display: flex;
  flex-direction: column;
}

.order-form-step label {
  font-size: 13px;
  color: #344054;
  margin: 8px 0 5px;
  font-weight: 600;
  display: block;
}

.order-form-step > label:first-of-type {
  margin-top: 2px;
}

.order-input {
  width: 100%;
  border: 1px solid #d4dae6;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  color: #101828;
  transition: all 0.2s ease;
}

.order-input::placeholder {
  color: #98a2b3;
}

.order-input:focus {
  border-color: #f2b300;
  box-shadow: 0 0 0 4px rgba(242, 179, 0, 0.16);
  background: #ffffff;
}
.order-error {
  min-height: 14px;
  margin-top: 2px;
  margin-bottom: 4px;
  color: #db2f3e;
  font-size: 11px;
}

.order-dim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.order-vol-box {
  margin-bottom: 8px;
  border: 1px solid #e0e7ff;
  border-radius: 10px;
  background: #fff9e8;
  padding: 8px 10px;
  font-size: 12px;
  color: #1e293b;
}

.order-vol-box strong {
  display: block;
  margin-bottom: 3px;
}

.order-radio-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
  margin-bottom: 8px;
}

.order-radio-row label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #2a3653;
}

.order-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.order-status {
  min-height: 16px;
  margin-top: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  color: #d93025;
}

.order-status--success {
  color: #147a36;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.order-success-banner {
  margin: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eaffef, #d9fce6);
  border: 1px solid #8be3a5;
  color: #0f7a35;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 14px rgba(20, 122, 54, 0.12);
}

.order-rate-result .quote-lite-card {
  margin-top: 8px;
}

.order-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

/* Compact spacing for step 2 so dimensions fit cleanly inside the card */
#orderStep2 label {
  margin: 5px 0 4px;
}

#orderStep2 .order-mode-grid {
  gap: 8px;
}

#orderStep2 .order-dim-grid {
  gap: 6px;
  margin-top: 2px;
  margin-bottom: 2px;
}

#orderStep2 .order-vol-box {
  margin-bottom: 6px;
  padding: 7px 9px;
}

#orderStep2 .order-error {
  min-height: 12px;
  margin-top: 1px;
  margin-bottom: 2px;
}

#orderStep2 .order-btn-row {
  margin-top: 4px;
}

.order-address-pick-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.order-map-btn {
  min-width: 110px;
  white-space: nowrap;
}

.order-address-textarea {
  resize: vertical;
  min-height: 88px;
}

.order-map-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
}

.order-map-modal.is-open {
  display: block;
}

.order-map-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.66);
}

.order-map-modal__dialog {
  position: relative;
  width: min(760px, calc(100vw - 24px));
  margin: 24px auto;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
}

.order-map-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.order-map-modal__header h5 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.order-map-modal__close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #344054;
  cursor: pointer;
}

.order-map-canvas {
  width: 100%;
  height: min(56vh, 420px);
  border: 1px solid #d6deeb;
  border-radius: 10px;
  overflow: hidden;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.order-map-selected {
  margin: 10px 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px 12px;
  font-size: 13px;
  color: #344054;
}

.order-map-search-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  margin-bottom: 6px;
}

.order-map-search-row .book-btn {
  min-width: 96px;
}

.order-map-current-btn {
  background: #111;
  color: #fff;
}

.order-map-canvas .leaflet-control-attribution {
  display: none !important;
}

.book-btn {
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: linear-gradient(135deg, #fecc00, #ffd84d);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 212, 77, 0.35);
}

.book-btn:focus,
.book-btn:active {
  background: linear-gradient(135deg, #fecc00, #ffd84d);
  color: #111;
}

.order-form-step .book-btn[type="submit"] {
  margin-top: 4px;
}

.book-btn--ghost {
  background: #fff4cc;
  color: #8a6700;
  border: 1px solid #f2d17a;
}

.book-btn--ghost:hover {
  background: #ffe8a3;
  color: #6f5200;
}

.slide-item .container,
.slide-item .container-fluid {
  max-width: 100%;
}

#slider2 .hero-left .slide__title {
  font-size: clamp(30px, 3.4vw, 54px);
  line-height: 1.08;
}

#slider2 .hero-left .slide__desc {
  font-size: clamp(14px, 1.05vw, 18px);
  max-width: 560px;
}

@media (max-width: 1199px) {
  .hero-wrapper {
    min-height: 330px;
  }

  .hero-left {
    flex: 0 0 65%;
    max-width: 65%;
  }

  .hero-right {
    flex: 0 0 35%;
    max-width: 35%;
  }

  #slider2 .hero-left .slide__title {
    font-size: clamp(28px, 3.1vw, 46px);
  }

  #slider2 .hero-left .slide__desc {
    font-size: 18px;
  }

  #slider2 .hero-left .slide-item {
    height: 100% !important;
    min-height: 100%;
    max-height: 100%;
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .hero-left,
  .hero-right {
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
  }

  .hero-right {
    padding: 10px;
  }

  .order-card {
    max-width: 100%;
    height: auto;
    max-height: 78vh;
    overflow-y: auto;
  }

  #slider2 .hero-left .slide__title {
    font-size: clamp(30px, 6vw, 46px);
  }

  #slider2 .hero-left .slide__desc {
    font-size: clamp(14px, 2.4vw, 20px);
    max-width: 90%;
  }

  #slider2 .hero-left .slide-item {
    height: 56vh !important;
    min-height: 340px;
    max-height: 460px;
  }

  .order-dim-grid {
    grid-template-columns: 1fr;
  }

  .order-mode-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .order-address-pick-row {
    grid-template-columns: 1fr;
  }

  .order-steps {
    gap: 10px;
  }

  .order-step + .order-step::before {
    width: 10px;
    left: -10px;
  }

  .order-map-modal__dialog {
    width: calc(100vw - 14px);
    margin: 8px auto;
    padding: 10px;
  }

  .order-map-canvas {
    height: min(52vh, 340px);
  }

  .order-map-search-row {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 760px) and (min-width: 993px) {
  #slider2 .hero-left .slide__title {
    font-size: clamp(26px, 2.8vw, 42px);
  }

  #slider2 .hero-left .slide__desc {
    font-size: 16px;
  }
}

/* Prevent ticker text from creating horizontal overflow on first paint */
.runtext-container,
.main-runtext,
.runtext-container .holder,
.runtext-container .holder .text-container {
  overflow: hidden !important;
}

/* Prevent pre-scroll horizontal layout drift */
html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

.wrapper,
#header,
#slider2,
.hero-wrapper,
.runtext-container,
.main-runtext,
marquee {
  width: 100%;
  max-width: 100%;
}

.runtext-container .holder {
  float: none !important;
  display: block !important;
  width: 100%;
}
