html,
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: #1f2937;
  background-color: #ffffff;
}

.home-slider .ratio {
  --bs-aspect-ratio: calc(9 / 21 * 100%);
  max-height: calc(100vh - 120px);
}

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

@media (max-width: 576px) {
  .home-slider .ratio {
    --bs-aspect-ratio: 55%;
    max-height: calc(100vh - 100px);
  }
}

.home-slider .ratio {
  max-height: min(calc(100vh - 120px), 800px);
}

.banner-img {
  object-fit: contain;
  background-color: #000;
}

a {
  text-decoration: none;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bg-light.border-bottom {
  background: linear-gradient(90deg, #f8fafc, #eef2f7);
  border-bottom: 1px solid #e5e7eb;
}

.bg-light .small {
  font-size: 13px;
  color: #374151;
}

.navbar {
  padding: 12px 0;
  background: #ffffff;
  border-top: 2px solid #f97316;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  height: 50px;
  transition: transform 0.25s ease;
}

.navbar-brand:hover img {
  transform: scale(1.04);
}

.navbar-nav {
  text-align: center;
}

.navbar-nav .nav-link {
  font-weight: 700;
  color: #1f2937;
  padding: 6px 12px;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #f97316;
}

.navbar-nav .nav-link.active {
  color: #2563eb;
}

@media (min-width: 992px) {
  .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.6);
  }
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 14px;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

.footer-links a:hover {
  color: #a1a1a1;
  padding-left: 6px;
}
.footer-social i {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 18px;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}
.footer-social i:hover {
  color: #a1a1a1;
  padding-left: 6px;
}

.btn-quote {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-quote:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
}

.nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #0d6efd;
  background: #fff;
  color: #0d6efd;
}

.install-arrows {
  display: flex;
  gap: 10px;
}

.step-progress-wrapper {
  position: relative;
  height: 18px;
  margin-bottom: 20px;
}

.step-progress-track {
  position: absolute;
  inset: 6px 0 auto;
  height: 4px;
  background: #e9ecef;
  border-radius: 10px;
}

.step-progress-fill {
  position: absolute;
  inset: 6px auto auto 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.step-dots {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
}

.step-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dee2e6;
}

.step-dots span.active {
  background: #0d6efd;
}

.process-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  max-width: 520px;
}

.step-badge {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .installation-process .process-card {
    margin-left: 40px;
  }
}

.resolution-card {
  background: #fff;
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card i {
  font-size: 32px;
  color: #0d6efd;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: translateY(-6px);
}

@media (max-width: 991px) {
  .navbar {
    padding: 10px 0;
  }

  .navbar-collapse {
    background: linear-gradient(180deg, #fff, #f8fafc);
    padding: 16px;
    border-radius: 18px;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .navbar-nav {
    gap: 14px;
  }

  .navbar-nav .nav-link {
    padding: 12px;
    font-size: 15px;
    border-radius: 12px;
    background: #f8fafc;
    font-weight: 600;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .navbar-collapse .btn-quote {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }

  .top-quote-btn {
    display: none !important;
  }

  .installation-process .row {
    flex-direction: column;
  }

  .installation-process .col-lg-5 {
    order: 1;
  }
  .installation-process .install-arrows {
    order: 2;
    justify-content: center;
    gap: 14px;
    margin: 16px 0 12px;
  }
  .installation-process .col-lg-7 {
    order: 3;
  }
}

.mobile-arrows {
  display: none;
}

@media (max-width: 768px) {
  .installation-process > .d-flex .install-arrows {
    display: none;
  }

  .mobile-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 12px;
  }
}

@media (max-width: 576px) {
  .bg-light .small {
    font-size: 12px;
  }
  .navbar-brand img {
    height: 44px;
  }
  .btn-quote {
    padding: 7px 16px;
    font-size: 14px;
  }
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 6px;
}
.rating-bar .bar {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.rating-bar .bar div {
  height: 100%;
  background: #facc15;
}

.review-wrapper {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.review-track {
  animation: scrollReviews 25s linear infinite;
}

.review-card {
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.review-card p {
  margin: 0;
  font-size: 14px;
  color: #374151;
}

@keyframes scrollReviews {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.project-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-img-wrap {
  height: 230px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img {
  transform: scale(1.06);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #e5e7eb;
}

.timeline-step {
  position: relative;
  margin-bottom: 40px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step .step-number {
  position: absolute;
  left: -40px;
  top: 18px;
  width: 28px;
  height: 28px;
  background: #0d6efd;
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.timeline-badge {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 6px;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.icon-blue {
  background: #eaf1ff;
  color: #0d6efd;
}

.icon-green {
  background: #e9f9f0;
  color: #16a34a;
}

.icon-yellow {
  background: #fff7db;
  color: #d97706;
}

.career-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.career-img {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
}

.carousel-item {
  position: relative;
}

.breadcrumb-overlay {
  position: absolute;
  bottom: 65px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.breadcrumb-modern {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.55);
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #facc15;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #ffffff;
}

.breadcrumb-current {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.breadcrumb-separator {
  color: #ffffff;
  opacity: 0.7;
  font-size: 14px;
}

@media (max-width: 576px) {
  .breadcrumb-modern {
    padding: 8px 14px;
    gap: 8px;
  }

  .breadcrumb-overlay {
    bottom: 25px;
  }

  .breadcrumb-link,
  .breadcrumb-current {
    font-size: 13px;
  }
}

.accordion-button {
  font-weight: 600;
  font-size: 16px;
}

.accordion-button:not(.collapsed) {
  background: #eaf1ff;
  color: #0d6efd;
}

.accordion-item {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.accordion-body {
  line-height: 1.7;
}

#querySuccessModal {
  z-index: 9999 !important;
}

.modal-backdrop {
  z-index: 1040 !important;
}
#querySuccessModal .modal-dialog {
  z-index: 10000 !important;
}

body.modal-open {
  overflow: auto !important;
  padding-right: 0 !important;
}