/* ===== Navbar Width Fix ===== */
.elementor-section.elementor-sticky,
.elementor-section[data-settings*="sticky"] {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  box-sizing: border-box !important;
}
nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
  width: 100% !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
  box-sizing: border-box !important;
}
@media (max-width: 1024px) {
  .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
    position: absolute !important;
  }
  .elementor-nav-menu--dropdown .sub-menu {
    width: 100% !important;
    min-width: unset !important;
  }
  .elementor-nav-menu--dropdown a,
  .elementor-nav-menu--dropdown .elementor-item,
  .elementor-nav-menu--dropdown .elementor-sub-item {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .elementor-nav-menu--dropdown .sub-menu a {
    text-align: center !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .elementor-nav-menu--dropdown .sub-menu .sub-menu {
    padding-left: 0 !important;
  }
  .elementor-nav-menu--dropdown .sub-menu .sub-menu a {
    text-align: center !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ===== Hamburger icon color fix ===== */
.elementor-menu-toggle i,
.elementor-menu-toggle svg {
  color: #222 !important;
  fill: #222 !important;
}
.elementor-menu-toggle.elementor-active i,
.elementor-menu-toggle.elementor-active svg {
  color: #222 !important;
  fill: #222 !important;
}

/* ===== Areas We Serve nested dropdown width ===== */
.elementor-nav-menu--main .sub-menu .menu-item-has-children > .sub-menu {
  min-width: 160px !important;
}

/* ===== Dropdown Arrow Fix ===== */
.elementor-nav-menu--dropdown .sub-arrow,
.elementor-nav-menu .sub-arrow {
  display: inline-flex !important;
  margin-left: 5px;
  vertical-align: middle;
}
.elementor-nav-menu--dropdown a,
.elementor-nav-menu a.has-submenu {
  display: flex !important;
  align-items: center;
  white-space: nowrap;
}

/* ===== Gallery Fixes ===== */
.e-gallery-item {
  cursor: pointer;
  overflow: hidden;
}
.e-gallery-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
.e-gallery-item:hover .e-gallery-image {
  transform: scale(1.05);
}
.elementor-gallery-item__overlay {
  pointer-events: none;
}

/* ===== Gallery Lightbox ===== */
.jba-lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 100000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.jba-lightbox-overlay.active {
  display: flex;
}
.jba-lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.jba-lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 100001;
  background: none;
  border: none;
  line-height: 1;
  padding: 5px 10px;
  transition: opacity 0.2s;
}
.jba-lightbox-close:hover { opacity: 0.7; }
.jba-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 18px;
  z-index: 100001;
  transition: opacity 0.2s;
  user-select: none;
}
.jba-lightbox-nav:hover { opacity: 0.7; }
.jba-lightbox-prev { left: 15px; }
.jba-lightbox-next { right: 15px; }
.jba-lightbox-counter {
  color: #ccc;
  font-size: 14px;
  margin-top: 12px;
  font-family: 'Open Sans', sans-serif;
}

/* ===== CTA Popup ===== */
.jba-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.jba-popup-overlay.active {
  display: flex;
}
.jba-popup {
  background: #2c3e50;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  max-width: 900px;
  width: 100%;
  max-height: 95vh;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  position: relative;
  animation: jbaPopupIn 0.3s ease;
}
@keyframes jbaPopupIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.jba-popup-image {
  flex: 0 0 50%;
  background: url('../images/jba-concrete-9_2.jpg') center/cover no-repeat;
  min-height: 400px;
}
.jba-popup-content {
  flex: 0 0 50%;
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
.jba-popup-close {
  position: absolute;
  top: 12px; right: 16px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 1;
  padding: 5px;
  transition: opacity 0.2s;
}
.jba-popup-close:hover { opacity: 0.7; }
.jba-popup-content h2 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-align: center;
}
.jba-popup-content p {
  color: #c0c8d4;
  font-size: 15px;
  text-align: center;
  margin: 0 0 8px 0;
  line-height: 1.5;
}
.jba-popup-phone {
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 22px 0;
  text-decoration: none !important;
  display: block;
}
.jba-popup-phone:hover { color: #e8734a !important; }
.jba-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jba-popup-form .form-row {
  display: flex;
  gap: 10px;
}
.jba-popup-form input,
.jba-popup-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  outline: none;
}
.jba-popup-form input::placeholder,
.jba-popup-form textarea::placeholder {
  color: #999;
}
.jba-popup-form textarea {
  resize: vertical;
  min-height: 48px;
  max-height: 120px;
}
.jba-popup-form button {
  background: #e8734a;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.jba-popup-form button:hover {
  background: #d4623b;
}

/* Popup responsive */
@media (max-width: 768px) {
  .jba-popup {
    flex-direction: column;
    max-height: 95vh;
  }
  .jba-popup-image {
    flex: 0 0 180px;
    min-height: 180px;
  }
  .jba-popup-content {
    padding: 25px 20px;
  }
  .jba-popup-content h2 {
    font-size: 24px;
  }
  .jba-popup-form .form-row {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .jba-popup-image {
    flex: 0 0 140px;
    min-height: 140px;
  }
  .jba-popup-content {
    padding: 20px 16px;
  }
}

/* ===== Reviews Slider ===== */
.jba-reviews-section {
  background: #f0f2f5;
  padding: 60px 0;
}
.jba-reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.jba-reviews-heading {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin: 0 0 40px 0;
}
.jba-reviews-track-wrapper {
  overflow: hidden;
  position: relative;
}
.jba-reviews-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}
.jba-review-card {
  flex: 0 0 calc(25% - 15px);
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px 25px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
  box-sizing: border-box;
  min-width: calc(25% - 15px);
}
.jba-review-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
}
.jba-review-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}
.jba-review-avatar .jba-google-badge {
  position: absolute;
  bottom: -2px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.jba-google-badge svg {
  width: 14px;
  height: 14px;
}
.jba-review-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #222;
  margin: 0 0 6px;
}
.jba-review-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}
.jba-review-stars svg {
  width: 18px;
  height: 18px;
}
.jba-review-verified {
  width: 16px;
  height: 16px;
  margin-left: 4px;
  color: #4285f4;
}
.jba-review-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 0 0 8px;
}
.jba-review-readmore {
  font-size: 13px;
  color: #999;
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
}
.jba-review-readmore:hover {
  color: #666;
  text-decoration: underline;
}
/* Slider navigation arrows */
.jba-reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.2s, box-shadow 0.2s;
  color: #333;
  font-size: 20px;
  padding: 0;
}
.jba-reviews-nav:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.jba-reviews-prev { left: -18px; }
.jba-reviews-next { right: -18px; }
/* Slider dots */
.jba-reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}
.jba-reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.jba-reviews-dot.active {
  background: #e8734a;
}
/* Reviews responsive */
@media (max-width: 1024px) {
  .jba-review-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
  }
}
@media (max-width: 768px) {
  .jba-review-card {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }
  .jba-reviews-heading {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .jba-reviews-prev { left: -10px; }
  .jba-reviews-next { right: -10px; }
}
@media (max-width: 480px) {
  .jba-review-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .jba-reviews-section {
    padding: 40px 0;
  }
}
