/**
 * Longtek UI/UX polish layer — Bootstrap/template overrides only.
 * Not a design system. Do not use for new visual languages.
 */

/* ---------- Global polish ---------- */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid #0057FF;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wow,
  .animated {
    animation: none !important;
    transition: none !important;
    visibility: visible !important;
  }
}

/* ---------- Topbar contrast (absolute header over hero photo) ----------
   Root cause of invisible phone/email: navy text forced on photographic
   background. Template uses light topbar text over the hero. */
.header_section .topbar,
.header_section .topbar ul li {
  color: #ffffff;
}

.header_section .topbar .contact-intro a {
  color: #ffffff;
  text-decoration: none;
}

.header_section .topbar .contact-intro a:hover,
.header_section .topbar .contact-intro a:focus {
  color: #FFB302;
  text-decoration: underline;
}

.header_section .topbar .contact-info ul li {
  color: #fff;
}

.header_section .topbar .contact-info ul li a {
  color: #fff;
}

.header_section .topbar .contact-info ul li a:hover,
.header_section .topbar .contact-info ul li a:focus {
  color: #FFB302;
  text-decoration: none;
}

.menu_bar .logo img {
  /* Asset is 400×250 with ~14% transparent padding; size by width so
     visible mark reaches ~150–175px (height follows aspect ratio). */
  width: 200px;
  max-width: 200px;
  height: auto;
  max-height: 125px;
  object-fit: contain;
  display: block;
}

@media (max-width: 991px) {
  .menu_bar .logo img {
    width: 150px;
    max-width: 150px;
    max-height: 94px;
  }
}

.menu_bar .wraper {
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.menu_bar .wraper > .row {
  width: 100%;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-wrap .menu-main li a {
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1299px) {
  .menu-wrap .menu-main li a {
    font-size: 13px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .header-right .btn_primary {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 13px;
  }
}

.menu-wrap .menu-main li a.is-active,
.menu-wrap .menu-main li a[aria-current="page"] {
  color: #0057FF;
}

.topbar a {
  text-decoration: none;
}

@media (max-width: 767px) {
  .topbar {
    font-size: 12px;
  }

  .topbar .contact-intro ul,
  .topbar .contact-info ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
  }
}

/* ---------- Hero presentation ----------
   Regression root causes (reverted):
   1) .hero-section.lt-hero { height:auto; display:flex; overflow:hidden }
      + .hreo-content { margin-top:0 !important } → H1 under absolute header
   2) overflow:hidden on hero clipped .quate-info-section (margin-top:-60px)
   Restore template height + content offset; keep copy typography only. */
.hero-section.lt-hero {
  /* keep template height from style.css (874px / responsive) */
  display: block;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.hero-section.lt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(0, 18, 52, 0.72) 0%,
    rgba(0, 24, 68, 0.55) 42%,
    rgba(0, 24, 68, 0.22) 68%,
    rgba(0, 24, 68, 0.06) 100%
  );
}

.hero-section.lt-hero > .container {
  position: relative;
  z-index: 2;
}

.hero-section.lt-hero > .shape {
  z-index: 1;
}

/* Template clears absolute header via margin-top (~285px).
   Larger logo makes header taller — use a slightly higher offset. */
.hero-section.lt-hero .hreo-content,
.hero-section.lt-hero .lt-hero-content {
  margin-top: 310px;
  max-width: 640px;
}

@media (max-width: 767px) {
  .hero-section.lt-hero .hreo-content,
  .hero-section.lt-hero .lt-hero-content {
    margin-top: 260px;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-section.lt-hero .hreo-content,
  .hero-section.lt-hero .lt-hero-content {
    margin-top: 220px;
  }
}

.lt-hero-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: #FFB302;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  line-height: 1.4;
}

.lt-hero-title {
  margin: 0 0 16px;
  color: #fff !important;
  font-family: Raleway, sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  max-width: 700px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.lt-hero-title span {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  background: none !important;
  display: inline !important;
  padding: 0 !important;
}

.lt-hero-lead {
  margin: 0 0 22px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

@media (max-width: 1199px) {
  .lt-hero-title {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  .lt-hero-title {
    font-size: 34px;
    line-height: 1.15;
    max-width: 100%;
  }

  .lt-hero-lead {
    font-size: 15px;
    max-width: 100%;
  }
}

@media (max-width: 414px) {
  .lt-hero-title {
    font-size: 32px;
  }
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 14px;
}

.hero-cta-row .btn_primary,
.hero-cta-row .btn_secondary {
  margin: 0;
}

.btn_secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn_secondary:hover,
.btn_secondary:focus {
  background: #fff;
  color: #00205c;
  border-color: #fff;
}

.hero-service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 4px;
}

.hero-service-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.95;
}

.hero-service-links a:hover {
  opacity: 1;
}

.features-card .lt-feature-copy {
  margin: 10px 0 0;
  color: #5e5f63;
  font-size: 14px;
  line-height: 1.5;
  max-width: 260px;
}

/* Ensure Give Information can overlap hero bottom (template margin-top:-60px) */
.quate-info-section {
  position: relative;
  z-index: 5;
}

/* GetquateSection needs room after hero; keep template overlap into next section */
.hero-section.lt-hero + .get-quate-section {
  margin-top: 40px;
}

/* ---------- BUG 3: Our Goal fact cards ---------- */
.counter-right-wrap {
  margin-left: 40px;
}

@media (max-width: 1399px) {
  .counter-right-wrap {
    margin-left: 0;
  }
}

.counter-right-wrap ul.lt-goal-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.counter-right-wrap ul.lt-goal-facts li {
  list-style: none;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: block;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.counter-right-wrap ul.lt-goal-facts li::before {
  display: none !important;
  content: none !important;
}

.counter-right-wrap ul.lt-goal-facts li:nth-child(1),
.counter-right-wrap ul.lt-goal-facts li:nth-child(2),
.counter-right-wrap ul.lt-goal-facts li:nth-child(3),
.counter-right-wrap ul.lt-goal-facts li:nth-child(4) {
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin: 0;
}

.counter-right-wrap ul.lt-goal-facts li h5 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.counter-right-wrap ul.lt-goal-facts li h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  margin: 0;
  word-break: normal;
}

@media (max-width: 767px) {
  .counter-right-wrap ul.lt-goal-facts {
    max-width: 100%;
  }

  .counter-right-wrap ul.lt-goal-facts li h3 {
    font-size: 22px;
  }

  .counter-section {
    padding-bottom: 80px;
  }
}

/* ---------- BUG 4, 5, 10: Project image carousel ---------- */
.project-section-s2 {
  overflow: visible;
}

.project-slider-wrap.lt-project-slider-inline {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  max-width: 100%;
  width: 100%;
  margin: 0 0 24px;
  padding: 0;
  z-index: 2;
}

@media (min-width: 992px) {
  .project-slider-wrap.lt-project-slider-inline {
    margin: 0;
  }
}

.project-slider-wrap .project-slider {
  width: 100%;
}

.project-slider-wrap .project-slider .item {
  max-width: 100%;
}

.project-slider-wrap .project-slider .item .image {
  border-radius: 7px;
  border: 10px solid #fff;
  overflow: hidden;
  background: #e8eef7;
  min-height: 200px;
}

.project-slider-wrap .project-slider .item .image picture {
  display: block;
  width: 100%;
}

.project-slider-wrap .project-slider .item .image img,
.project-slider-wrap .owl-item img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  -webkit-transform-style: flat;
  transform: none;
}

.project-section-s2 .owl-dots {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 14px;
  margin-bottom: 0;
  width: 100%;
}

.project-section-s2 .owl-dot {
  display: inline-block;
}

/* Keep logo divider aligned with enlarged logo */
.menu_bar .logo::before {
  height: 72px;
}

/* ---------- BUG 6: Quote checkbox ---------- */
.lt-quote-form {
  max-width: 860px;
  margin: 0 auto;
}

.lt-quote-form .form-field {
  margin-bottom: 16px;
}

.lt-quote-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}

.lt-quote-form input[type="text"],
.lt-quote-form input[type="email"],
.lt-quote-form input[type="tel"],
.lt-quote-form select,
.lt-quote-form textarea {
  width: 100%;
  max-width: 100%;
}

.lt-quote-form .form-note {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}

.lt-quote-form .form-note a {
  color: #0057FF;
  text-decoration: underline;
}

.lt-quote-form .form-check.lt-quote-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 20px;
  padding-left: 0;
  min-height: 0;
}

.lt-quote-form .form-check.lt-quote-check .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  margin-left: 0;
  margin-right: 0;
  flex-shrink: 0;
  float: none;
  position: static;
  border: 1px solid #9ca3af;
  border-radius: 3px;
  cursor: pointer;
}

.lt-quote-form .form-check.lt-quote-check .form-check-input:checked {
  background-color: #0057FF;
  border-color: #0057FF;
}

.lt-quote-form .form-check.lt-quote-check .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 87, 255, 0.25);
  border-color: #0057FF;
}

.lt-quote-form .form-check.lt-quote-check .form-check-label {
  display: inline;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  color: #1f2937;
  cursor: pointer;
}

.lt-quote-form .btn_primary {
  min-height: 48px;
  padding: 12px 28px;
}

/* ---------- BUG 2: Call Now + back-to-top coexistence ---------- */
.sticky-call {
  bottom: 24px;
  right: 16px;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 9998;
}

#button.back-to-top,
#button {
  width: 46px;
  height: 46px;
  right: 24px;
  bottom: 86px;
  border-radius: 6px;
  z-index: 9997;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

#button::after {
  line-height: 46px;
}

body.has-cookie-banner .sticky-call {
  bottom: 120px;
}

body.has-cookie-banner #button {
  bottom: 182px;
}

@media (max-width: 575px) {
  .sticky-call {
    bottom: 16px;
    right: 12px;
    left: auto;
    padding: 10px 14px;
    font-size: 13px;
  }

  #button.back-to-top,
  #button {
    right: 16px;
    bottom: 72px;
    width: 42px;
    height: 42px;
  }

  #button::after {
    line-height: 42px;
  }

  body.has-cookie-banner .sticky-call {
    bottom: 150px;
  }

  body.has-cookie-banner #button {
    bottom: 206px;
  }

  .cookie-banner.show {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
}

/* ---------- Google reviews carousel ---------- */
.testiminial-section-s3 .testiminial-right-slider .item {
  min-height: 220px;
}

.testiminial-section-s3 .testiminial-right-slider .item .review-body {
  display: block;
  max-height: 9.5em;
  overflow: hidden;
  text-align: justify;
  color: inherit;
  text-decoration: none;
  cursor: default;
  line-height: 1.55;
}

.testiminial-section-s3 .testiminial-right-slider .item .text span {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.75;
}

/* ---------- Breadcrumb page title as H1 ---------- */
.breadcumb-wrap h1.breadcumb-title,
.breadcumb-wrap h1 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
  color: inherit;
  font-family: inherit;
}

.breadcumb-section .breadcumb-wrap h1 {
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .breadcumb-section .breadcumb-wrap h1 {
    font-size: 28px;
  }
}

/* ---------- Service page readability ---------- */
.hero-section .bg-img img,
.hero-section-s3 .bg-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* ---------- Cards / project tiles ---------- */
.project-single .content h2,
.project-single .content h3 {
  word-break: break-word;
}

.features-card h2 {
  font-size: 22px;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .features-card h2 {
    font-size: 18px;
  }
}

/* ---------- BUG 7 + 8: Footer logo + CTA ---------- */
.lt-footer-logo {
  margin-bottom: 16px;
}

.lt-footer-logo img {
  display: block;
  /* Smaller than header; CSS ~155px → visible ~134×75 after asset padding */
  width: 155px;
  max-width: 155px;
  height: auto;
  max-height: 97px;
  object-fit: contain;
  /* Header logo is dark; brighten for dark footer */
  filter: brightness(0) invert(1);
}

.footer-section a:focus-visible {
  outline-color: #FFB302;
}

.cta-section .wrap {
  overflow: hidden;
}

.cta-section .wrap .shape {
  pointer-events: none;
  opacity: 0.35;
}

.cta-section .left-content,
.cta-section .right-content {
  position: relative;
  z-index: 1;
}

.cta-section .left-content .text h3 {
  word-break: break-word;
  color: #fff;
}

.cta-section .left-content .text h3 a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-section .left-content .text h3 a:hover {
  color: #FFB302;
}

.cta-section .right-content {
  align-items: center;
  gap: 16px;
}

.cta-section .right-content .right-coll-btn .text span,
.cta-section .right-content .right-coll-btn .text h3 {
  color: #fff;
}

@media (max-width: 991px) {
  .cta-section .right-content {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .cta-section .right-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta-section .right-btn .btn_primary {
    width: 100%;
    text-align: center;
  }

  .cta-section .right-content .right-coll-btn {
    justify-content: center;
  }

  .cta-section {
    margin-bottom: -60px;
  }
}

/* ---------- Error pages ---------- */
.error-wrap {
  text-align: center;
  padding: 40px 16px;
}

.error-wrap img {
  max-width: 280px;
  height: auto;
  margin-bottom: 24px;
}

.error-wrap .btn_primary {
  margin: 8px;
}

.menu-open {
  background: transparent;
  border: 0;
  padding: 8px;
  color: inherit;
  cursor: pointer;
}

/* ---------- Mobile menu a11y ---------- */
@media (max-width: 991px) {
  .menu-wrap.open-mobilemenu {
    z-index: 10050;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}
