/* Shared custom styles for Services and Estimate pages */

/* Form controls and labels */
.contact-panel__form .custom-control-label {
  cursor: pointer;
  transition: color .15s ease
}

.contact-panel__form .custom-control-input+.custom-control-label:hover {
  color: #063464
}

.contact-panel__form select.form-control {
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease
}

.contact-panel__form select.form-control:hover {
  border-color: #063464;
  color: #063464
}

.contact-panel__form select.form-control:focus {
  border-color: #063464;
  box-shadow: 0 0 0 0.2rem rgba(6, 52, 100, .25);
  color: #063464
}

/* Ensure labels accept clicks */
.contact-panel__form .custom-control-label {
  pointer-events: auto
}

/* Radios styled like checkmarks */
.contact-panel__form .custom-radio .custom-control-label::before {
  border-radius: 4px;
}

.contact-panel__form .custom-radio .custom-control-input:checked~.custom-control-label::before {
  background-color: #2983fd;
  border-color: #2983fd;
}

.contact-panel__form .custom-radio .custom-control-input:checked~.custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M6.173 12.252L2.4 8.48l1.414-1.414 2.359 2.358 5.014-5.013 1.414 1.414z'/%3e%3c/svg%3e");
  background-size: 12px 12px;
  background-position: center;
}

/* Checkbox checkmark coloring */
.custom-checkbox .custom-control-label::before {
  border-radius: 4px;
}

.custom-control-input:checked~.custom-control-label::before {
  background-color: #2983fd;
  border-color: #2983fd;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M6.173 12.252L2.4 8.48l1.414-1.414 2.359 2.358 5.014-5.013 1.414 1.414z'/%3e%3c/svg%3e");
  background-size: 12px 12px;
}

/* Estimate total pill */
.total__price {
  display: inline-block;
  padding: .75rem 1rem;
  background: #f7f9fc;
  border: 1px solid #e3e7ef;
  border-radius: 6px;
  font-weight: 700;
  color: #063464
}



/* Align center icon over content column (col-lg-7) on lg+ */
@media (min-width: 992px) {

  /* When the nav is relocated into the right column it should be full-width of
     that column. Use margin-bottom to create the two-line gap between links and
     the title/description/button. */
  .pricing-layout3 .nav.nav-tabs {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 24px;
    /* gap between nav and package body */
  }

  .pricing-layout3 .nav.nav-tabs .nav__link {
    position: relative;
    top: 0;
  }

  /* Keep modest top padding so content is spaced from the nav when relocated */
  .pricing-layout3 .pricing-package .package__body {
    padding-top: 24px;
  }
}

/* When the nav is placed inside the right column's package__body, make the
   nav span the column width and give a slightly larger gap to ensure two lines
   of breathing room between the links and the title/description/button. */
.pricing-layout3 .pricing-package .package__body>.nav.nav-tabs {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  /* larger gap when nav lives inside the column */
}

/* Slightly increase per-link horizontal spacing to avoid icon overlap */
.pricing-layout3 .pricing-package .package__body>.nav.nav-tabs .nav__link {
  margin: 0 12px;
}

@media (max-width: 991.98px) {
  .pricing-layout3 .nav.nav-tabs {
    width: 100%;
    margin-left: 0;
  }
}

/* Services page banner images */
.pricing-layout3 .pricing-package .package__banner {
  min-height: initial;
}

.package__banner-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package__banner-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

@media (min-width:1200px) {
  .package__banner-img {
    height: 220px;
  }
}

@media (max-width: 991.98px) {
  .package__banner-img {
    height: 190px;
  }
}

@media (max-width: 575.98px) {
  .package__banner-img {
    height: 170px;
  }
}

@media (max-width: 991.98px) {
  .pricing-layout3 .nav.nav-tabs {
    margin-top: 0;
  }

  .pricing-layout3 .nav.nav-tabs .nav__link {
    top: 0;
  }

  .pricing-layout3 .pricing-package .package__body {
    padding-top: 12px;
  }
}

/* Ensure the right column stacks the nav above the package body and provides
   a consistent gap. This makes the JS insertion (nav inserted into the
   right column before .package__body) render predictably across breakpoints. */
.pricing-layout3 .pricing-package .col-lg-7 {
  display: flex;
  flex-direction: column;
}

.pricing-layout3 .pricing-package .col-lg-7>.nav.nav-tabs {
  order: 0;
  width: 100%;
  margin-bottom: 12px;
  justify-content: center;
}

.pricing-layout3 .pricing-package .col-lg-7>.package__body {
  order: 1;
  padding-top: 0;
}

@media (max-width: 991.98px) {

  /* On smaller screens ensure normal flow (nav above body) and comfortable spacing */
  .pricing-layout3 .pricing-package .col-lg-7>.nav.nav-tabs {
    margin-bottom: 20px;
  }

  .pricing-layout3 .pricing-package .col-lg-7 {
    align-items: stretch;
  }
}


/* === Extracted from inline <style> blocks === */
/* Extracted from services.html */
/* Lightweight modal just for services-single preview */
.service-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1060
}

.service-modal__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  flex: 1
}

@media (max-width: 767.98px) {
  .service-modal__dialog {
    width: 96%;
    height: 92%
  }
}

/* page-specific modal styles remain here; shared form/nav styles moved to assets/css/Saniklear-services.css */

.service-modal.open {
  display: block
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6)
}

.service-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  max-width: 1100px;
  max-height: 800px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
  overflow: visible
}

.service-modal__close {
  position: absolute;
  top: -22px;
  right: -50px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fee023;
  background: #fee023;
  color: #063464;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  transition: background .2s ease, border-color .2s ease, transform .1s ease
}

.service-modal__close:hover {
  background: #063464;
  border-color: #fee023;
  transform: scale(1.03);
  color: #fee023
}

.service-modal__close:focus {
  outline: 2px solid #fee023;
  outline-offset: 2px
}

@media (max-width: 767.98px) {
  .service-modal__close {
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    font-size: 20px
  }
}

.service-modal__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  flex: 1
}

@media (max-width: 767.98px) {
  .service-modal__dialog {
    width: 96%;
    height: 92%
  }
}

/* page-specific modal styles remain here; shared form/nav styles moved to assets/css/Saniklear-services.css */

.dynamic-services {
  margin-top: 30px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(6, 52, 100, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.dynamic-services__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.dynamic-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dynamic-services__item {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dynamic-services__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dynamic-services__name {
  font-weight: 600;
}

.dynamic-services__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dynamic-services__status--active {
  background: #4caf50;
  color: #fff;
}

.dynamic-services__status--upcoming {
  background: #fee023;
  color: #063464;
}

.dynamic-services__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.9rem;
  color: #e8f0ff;
}

.dynamic-services__price {
  font-weight: 600;
}

.dynamic-services__empty {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.92rem;
}

.dynamic-services--fallback {
  margin-top: 40px;
}

@media (max-width: 767.98px) {
  .dynamic-services {
    padding: 16px;
  }

  .dynamic-services__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Nav slider/animation removed to match services-move-in&out layout */
/* === Saniklear "Easy Steps" cards – upgraded styling === */
.work-process-layout2 {
  position: relative;
  z-index: 1;
}

.work-process-layout2 .process-row {
  position: relative;
  margin-top: 10px;
}

/* Connecting line between steps on desktop */
@media (min-width: 992px) {
  .work-process-layout2 .process-row::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.32),
        rgba(255, 255, 255, 0));
    z-index: 0;
  }
}

.work-process-layout2 .process-item {
  position: relative;
  background: rgba(1, 36, 74, 0.92);
  /* dark blue glass */
  border-radius: 18px;
  padding: 30px 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  z-index: 1;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.work-process-layout2 .process-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(254, 224, 35, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.work-process-layout2 .process-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
  border-color: rgba(254, 224, 35, 0.65);
  /* yellow accent */
}

.work-process-layout2 .process-item:hover::before {
  opacity: 1;
}

/* Step number badge */
.work-process-layout2 .process__number {
  position: relative;
  /* override theme's absolute positioning */
  top: 0;
  /* ensure it's fully inside the card */
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fee023;
  /* yellow */
  border: 2px solid #ffffff;
  /* white ring */
  color: #01244a;
  /* dark blue text */
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Checkmark badge (appears on hover) */
.work-process-layout2 .check__icon {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #4CAF50;
  /* green */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.work-process-layout2 .process-item:hover .check__icon {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.work-process-layout2 .process__title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 8px;
}

.work-process-layout2 .process__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

/* Bottom icon bubble */
.work-process-layout2 .process__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(1, 36, 74, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.work-process-layout2 .process__icon i {
  font-size: 28px;
  color: #ffffff;
  /* white */
  transition: color 0.2s ease, transform 0.2s ease;
}

.work-process-layout2 .process-item:hover .process__icon {
  background: #fee023;
  /* yellow */
  border-color: #fee023;
  /* yellow rim */
  transform: translateY(3px) rotate(-4deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.work-process-layout2 .process-item:hover .process__icon i {
  color: #01244a;
  transform: rotate(4deg);
}

@media (max-width: 767.98px) {
  .work-process-layout2 .process-item {
    margin-bottom: 20px;
  }
}

/* NEW: modern badges for each step – replaces the big numbers */
.work-process-layout2 .process__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(1, 36, 74, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.work-process-layout2 .process__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.3);
  flex-shrink: 0;
}

.work-process-layout2 .process__badge-label {
  font-weight: 700;
  opacity: 0.9;
}

.work-process-layout2 .process__badge-tag {
  font-weight: 500;
  opacity: 0.85;
}

.work-process-layout2 .process-item:hover .process__badge-dot {
  background: #fee023;
  box-shadow: 0 0 0 5px rgba(254, 224, 35, 0.45);
}

/* Hide old circular numbers if any are still in the HTML */
.work-process-layout2 .process__number {
  display: none !important;
}


/* === Saniklear "Why Homeowners Like Us" cards – dark glass always === */

.feature-layout1 .feature-item {
  position: relative;
  border-radius: 18px;
}

/* Base state: ALWAYS dark glassy blue */
.feature-layout1 .feature__body {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: rgba(1, 36, 74, 0.94) !important;
  /* dark blue before and after hover */
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

/* Replace original white overlay with a subtle yellow glow */
.feature-layout1 .feature__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(254, 224, 35, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

/* Hover: stronger glow + shadow, still dark blue */
.feature-layout1 .feature-item:hover .feature__body {
  background: rgba(1, 36, 74, 0.98) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6);
  border-color: rgba(254, 224, 35, 0.65);
}

.feature-layout1 .feature-item:hover .feature__body::before {
  opacity: 1;
}

/* Text colours so nothing disappears */
.feature-layout1 .feature__title,
.feature-layout1 .feature__desc,
.feature-layout1 .feature__body .btn__link span {
  color: #ffffff !important;
}

.feature-layout1 .feature__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Icon bubble so it stands out on dark glass */
.feature-layout1 .feature__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fee023;
  /* yellow bubble */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-layout1 .feature__icon i {
  font-size: 26px;
  color: #01244a;
  /* dark blue icon inside yellow */
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Hover: green bubble, yellow rim, white icon */
.feature-layout1 .feature-item:hover .feature__icon {
  background: #4CAF50;
  /* green */
  border-color: #fee023;
  /* yellow ring */
  transform: translateY(2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.65);
}

.feature-layout1 .feature-item:hover .feature__icon i {
  color: #ffffff;
  transform: rotate(4deg);
}


/* Outlined arrow circle on the buttons */
.feature-layout1 .btn__link .icon-outlined {
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Make all feature cards equal height */
.feature-layout1 .feature-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Force the body to stretch equally */
.feature-layout1 .feature__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Keep the Read More button at the bottom */
.feature-layout1 .feature__body .btn__link {
  margin-top: auto;
}




/* === VIDEO HERO: Saniklear services page title background === */
.video-hero {
  position: relative;
  overflow: hidden;
  /* Fallback if video can't load */
  background: url("assets/images/page-titles/9.jpg") center/cover no-repeat;
}

.video-hero .page-title-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.03);
  transform: translateZ(0);
}

.video-hero .page-title-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Navy base + Saniklear yellow/green accents for readability */
  background:
    linear-gradient(90deg, rgba(1, 36, 74, 0.78), rgba(1, 36, 74, 0.42), rgba(1, 36, 74, 0.78)),
    radial-gradient(circle at 20% 18%, rgba(254, 224, 35, 0.20), transparent 55%),
    radial-gradient(circle at 82% 74%, rgba(76, 175, 80, 0.18), transparent 60%);
  pointer-events: none;
}

.video-hero.bg-overlay:before {
  opacity: 0.22;
}

/* soften template overlay if present */
.video-hero .container {
  position: relative;
  z-index: 2;
}

/* Reduce motion users: keep a static hero image */
@media (prefers-reduced-motion: reduce) {
  .video-hero .page-title-video {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .row {
    gap: 1rem !important;
  }
}