/*
  Static hosting fixes.
  The original site references AOS/animation CSS files that are not available
  from the source server. Without the AOS stylesheet, the JavaScript leaves
  elements translated off-screen, which creates horizontal overflow on GitHub
  Pages. Keep the content visible and aligned.
*/
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  padding-top: 96px;
}

[data-aos],
[data-aos].aos-init,
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.navbar,
section,
footer {
  max-width: 100%;
}

.navbar.sticky-top {
  left: 0;
  position: fixed !important;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1030;
}

/* Keep the homepage hero CTA centered like the original design. */
body > section:first-of-type [data-bss-parallax-bg] .container,
body > section:first-of-type [data-bss-parallax-bg] .row {
  height: 100% !important;
  min-height: 100% !important;
}

body > section:first-of-type [data-bss-parallax-bg] .row > div {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 100% !important;
  min-height: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

body > section:first-of-type [data-bss-parallax-bg] .text-center {
  width: auto !important;
  text-align: center !important;
}

body > section:first-of-type [data-bss-parallax-bg] .btn {
  margin-left: auto !important;
  margin-right: auto !important;
}

.rr-hero-cta {
  align-items: center;
  display: inline-flex !important;
  justify-content: center;
  line-height: 1.1;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: min(100%, 1680px);
  padding-left: clamp(1.25rem, 2.4vw, 2.25rem);
  padding-right: clamp(1.25rem, 2.4vw, 2.25rem);
  text-align: center;
  white-space: normal;
}

.rr-testimonials {
  border-top: 1px dashed rgba(255, 147, 30, 0.55);
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.rr-testimonials-title {
  color: #ff931e;
  font-family: Ubuntu, sans-serif;
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0 auto 1.35rem;
  max-width: 1180px;
  text-align: center;
  text-transform: uppercase;
}

.rr-testimonial-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

.rr-testimonial-grid > .col {
  align-items: stretch;
  display: flex;
}

.rr-testimonial-card {
  align-items: stretch;
  background:
    linear-gradient(145deg, rgba(35, 39, 42, 0.96), rgba(15, 18, 20, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 330px;
  padding: clamp(1.25rem, 2.3vw, 1.9rem);
  position: relative;
  width: 100%;
}

.rr-testimonial-card::before {
  color: rgba(255, 147, 30, 0.28);
  content: "“";
  font-family: Georgia, serif;
  font-size: 5.5rem;
  left: 1rem;
  line-height: 1;
  position: absolute;
  top: 0.35rem;
}

.rr-testimonial-quote {
  color: rgba(255, 255, 255, 0.92);
  font-family: Ubuntu, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 1;
}

.rr-testimonial-name {
  align-self: flex-end;
  color: #ff931e;
  font-family: Ubuntu, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 900;
  margin: 1.1rem 0 0;
  position: relative;
  z-index: 1;
}

.rr-google-review-card {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 147, 30, 0.34);
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
  color: #181c20;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  justify-content: center;
  margin: 2rem auto 0;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.rr-google-review-wrap {
  display: flex;
  justify-content: center;
  text-align: center;
}

.rr-google-review-card:hover,
.rr-google-review-card:focus {
  border-color: rgba(255, 147, 30, 0.75);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  color: #181c20;
  transform: translateY(-2px);
}

.rr-google-wordmark {
  font-family: Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.rr-google-wordmark span:nth-child(1),
.rr-google-wordmark span:nth-child(4) {
  color: #4285f4;
}

.rr-google-wordmark span:nth-child(2),
.rr-google-wordmark span:nth-child(6) {
  color: #ea4335;
}

.rr-google-wordmark span:nth-child(3) {
  color: #fbbc05;
}

.rr-google-wordmark span:nth-child(5) {
  color: #34a853;
}

.rr-google-stars {
  color: #fbbc05;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}

.rr-google-copy {
  font-family: Ubuntu, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rr-slide-right {
  animation: rrSlideRight 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.rr-slide-delay-1 {
  animation-delay: 90ms;
}

.rr-slide-delay-2 {
  animation-delay: 180ms;
}

.rr-slide-delay-3 {
  animation-delay: 260ms;
}

/* Replace the broken decorative quote glyph with a clean review-card accent. */
.rr-testimonial-card::before {
  background: #ff931e !important;
  border-radius: 999px !important;
  color: transparent !important;
  content: "" !important;
  font-size: 0 !important;
  height: 4px !important;
  left: clamp(1.25rem, 2.3vw, 1.9rem) !important;
  line-height: 0 !important;
  position: absolute !important;
  right: clamp(1.25rem, 2.3vw, 1.9rem) !important;
  top: 1.05rem !important;
}

.rr-testimonial-quote {
  padding-top: 0.9rem;
}

@keyframes rrSlideRight {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

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

@media (max-width: 991.98px) {
  body {
    padding-top: 88px;
  }

  .rr-testimonial-card {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rr-slide-right {
    animation: none;
  }
}

.rr-footer-top {
  align-items: stretch;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: minmax(150px, 0.7fr) minmax(390px, 1.55fr) minmax(230px, 0.85fr);
  margin-left: auto;
  margin-right: auto;
  max-width: 1120px;
}

.rr-footer-card {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  min-height: 170px;
  padding: 0.5rem;
  text-align: center;
}

.rr-footer-services {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.rr-footer-services h3 {
  color: #181c20;
  font-family: Ubuntu, sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 900;
  margin: 0 0 0.75rem;
}

.rr-footer-services nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.rr-rounded-feature-image {
  border-radius: 1.25rem !important;
}

.rr-footer-services a {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 147, 30, 0.22);
  border-radius: 999px;
  color: #181c20;
  font-family: Ubuntu, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rr-footer-services a:hover,
.rr-footer-services a:focus {
  background: #ff931e;
  color: #ffffff;
  transform: translateY(-1px);
}

.rr-footer-credentials {
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.rr-credential-link {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.rr-credential-link img {
  display: block;
  height: auto;
  max-height: 150px;
  max-width: min(300px, 100%);
  object-fit: contain;
}

.rr-footer-brand {
  flex-direction: column;
  gap: 0.7rem;
}

.rr-footer-brand img {
  display: block;
  height: auto;
  max-width: 160px;
  width: 100%;
}

.rr-footer-brand p {
  color: #181c20;
  font-family: Ubuntu, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 991.98px) {
  .rr-footer-top {
    grid-template-columns: 1fr;
  }

  .rr-footer-services {
    align-items: center;
    text-align: center;
  }

  .rr-footer-services nav {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .rr-footer-credentials {
    flex-direction: column;
  }
}

body .rr-desktop-phone,
body .rr-mobile-phone {
  border: 1px solid #000000 !important;
  border-radius: 0.65rem !important;
  -webkit-text-stroke: 1px #000000;
  paint-order: stroke fill;
}

@media (max-width: 767.98px) {
  body .navbar.sticky-top {
    height: 71px !important;
    max-height: 71px !important;
    min-height: 71px !important;
    overflow: visible !important;
  }

  body .navbar > .container {
    align-items: flex-end !important;
    padding-left: 6px !important;
  }

  body .navbar-brand {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
  }

  body .navbar-brand img {
    display: block !important;
    max-width: 140px !important;
  }

  body .rr-mobile-phone,
  body .rr-mobile-nav-toggle {
    align-self: flex-end !important;
    margin-bottom: 0 !important;
  }

  body .rr-mobile-phone,
  body .rr-mobile-phone:visited,
  body .rr-mobile-phone:hover,
  body .rr-mobile-phone:focus,
  body .rr-mobile-phone:active {
    color: #ffffff !important;
  }

  body .rr-mobile-nav-toggle {
    border: 1px solid #000000 !important;
  }

  body .rr-mobile-nav-toggle .rr-menu-bar {
    background: #ffffff !important;
  }

  body #navcol-2 {
    height: auto !important;
    margin: 0 !important;
    position: fixed !important;
    top: 71px !important;
  }

  body #navcol-2.collapsing {
    animation: none !important;
    height: auto !important;
    transition: none !important;
  }

  body #navcol-2 .navbar-nav > .nav-item:empty {
    display: none !important;
  }

  body #navcol-2 .navbar-nav > .nav-item:first-child {
    order: 1 !important;
  }

  body #navcol-2 .navbar-nav > .nav-item:last-child {
    order: 2 !important;
  }

  body #navcol-2 .navbar-nav > .nav-item.dropdown {
    order: 3 !important;
  }
}
