.navbar.notscrolled {
  background: rgba(0, 0, 0, 0.1) !important;
}

.navbar.notscrolled #navbarNav ul li.nav-item .nav-link {
  color: #f2f2f2 !important;
  font-size: 1.1rem;
  padding-left: 30px;
  padding-right: 30px;
}

.navbar.notscrolled .navbar-brand .navbar-logo {
  display: inline-block;
  height: 40px;
  width: 225px;
  background: url("/public/assets/img/Logo-Header.png") no-repeat center
    center/contain;
  margin-right: 10px;
}

.navbar.notscrolled .navbar-nav .nav-link span > svg rect {
  fill: #f2f2f2 !important;
}

#problemTab .nav-item {
  margin: 0 3%;
}

#testimonials-glide .testimonial-card {
  background: #fff;
  border: 2px solid #d7b835;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  max-width: 600px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s,
    opacity 0.3s;
  opacity: 0.5;
  transform: scale(0.85);
}
#testimonials-glide .glide__slide--active .testimonial-card {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 4px 24px rgba(226, 192, 68, 0.12);
  z-index: 2;
}
#testimonials-glide .glide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
#testimonials-glide .glide__slides {
  padding: 20px 0;
}

.portfolio-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: 8px;
}

.card.h-100.shadow-sm.border-0.px-4 {
  min-height: 350px;
}

.hero {
  position: relative;
  min-height: 880px;
  position: relative;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}
/* Custom thin colored scrollbar for horizontal tab scroll */
.problem-tab-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: auto;
  margin: 0 auto;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: #d7b835 #f5f5f5;
}
.problem-tab-scroll::-webkit-scrollbar {
  height: 1px;
  background: #f5f5f5;
}
.problem-tab-scroll::-webkit-scrollbar-thumb {
  background: #d7b835;
  border-radius: 2px;
}
.problem-tab-scroll::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.problem-col,
.solution-col {
  padding: 32px 24px 32px 40px;
  width: 615px;
  cursor: pointer;
  transition: background 0.2s;
}

.problem-solution-large-card {
  border: 2px solid #d7b835;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.customer-pact-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}
.customer-pact-modal.active {
  display: block;
}
.customer-pact-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.12);
  z-index: 1;
}
.customer-pact-modal__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  max-width: 950px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 24px rgba(0, 0, 0, 0.1);
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 48px 48px 32px 48px;
  overflow-y: auto;
  animation: slideInRight 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "GTUltra-Thin", sans-serif;
}
@media (max-width: 991px) {
  .customer-pact-modal__content {
    width: 100vw;
    max-width: none;
    padding: 32px 16px 24px 16px;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.customer-pact-modal__close {
  position: absolute;
  left: 43%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
}
@media (max-width: 991px) {
  .customer-pact-modal__close {
    left: 12px;
    top: 12px;
    transform: none;
  }
}
.customer-pact-modal__body {
  margin-top: 0;
  padding-top: 0;
  font-size: 1.13rem;
  color: #222;
  font-family: inherit;
}
.customer-pact-modal__body h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.customer-pact-modal__body h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}
.customer-pact-modal__body p {
  font-size: 1.08rem;
  margin-bottom: 1.5rem;
  color: #222;
}

#testimonials-glide .testimonial-card {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  max-width: 600px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s,
    opacity 0.3s, border-color 0.3s;
  opacity: 0.5;
  transform: scale(0.85);
  height: 350px; /* fixed height for all testimonial cards */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#testimonials-glide .glide__slide--active .testimonial-card {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 4px 24px rgba(226, 192, 68, 0.12);
  z-index: 2;
  border-color: #d7b835;
  width: 500px;
}
#testimonials-glide .glide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#testimonials-glide .glide__slides {
  padding: 20px 0;
}
.hero-video {
  object-fit: cover;
  left: 0;
  top: 0;
  z-index: 0;
}

.hero-content {
  z-index: 2;
}
.feature-video-wrapper {
  cursor: pointer;
  max-width: 100%;
  position: relative;
  display: inline-block;
}
.feature-video {
  object-fit: cover;
}
.feature-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  padding: 20px;
}
.feature-video-play-btn svg {
  display: block;
}

.problem-col,
.solution-col {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.problem-detail,
.solution-detail {
  border-top: 1px solid #d7b835;
  padding-top: 18px;
  font-size: 1.08rem;
  color: #444;
  text-align: left;
}
.problem-divider {
  width: 2px;
  background: #d7b835;
  opacity: 1;
}
.expand-btn-col {
  width: 56px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.expand-btn {
  background: none;
  border: none;
  padding: 0;
}
.expand-icon {
  font-size: 2rem;
  color: #d7b835;
  font-weight: 700;
}

.btn-gold {
  border: 2px solid #d7b835;
  color: #222;
  font-weight: 500;
  padding: 0.75rem 2.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  background: none;
  font-family: GTUltra-Thin;
}

.customer-pact-modal__close {
  font-size: 2.5rem;
  line-height: 1;
}
.glide__bullets {
  display: flex;
  justify-content: center;
  gap: 24px;
}
.glide__bullet {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  padding: 0;
}
.glide__bullet span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #bbb;
}
.glide__bullet.active span {
  background: #d7b835;
}

.splide__slide.nav-item button {
  font-size: 1.1rem;
  font-weight: bold;
}

/* Tab container with continuous underline */
#problemTab {
  position: relative;
  border-bottom: 2px solid #e5e5e5 !important;
  transform: none !important;
}

#problemTabSplide-track {
  /* border-bottom: 2px solid #e5e5e5 !important; */
}

.splide__slide.nav-item button.nav-link {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: -2px;
}

.splide__slide.nav-item button.nav-link.active {
  color: #d7b835 !important;
  border-bottom: 2px solid #d7b835 !important;
}

.categories-check {
  color: #d7b835;
  margin-right: 10px;
}

.problem-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
}

.problem-section-description {
  font-size: 1.1rem;
  color: #444;
  margin-top: 6px;
  font-weight: 600;
}

.portfolio-title {
  font-size: 1.4rem;
  font-weight: 600;
}

.footer-articles {
  margin-left: -3rem;
}

/* #problemTabSplide-track ul#problemTab li.splide__slide.is-visible{
    border-bottom: 1px solid #d7b835;
} */

ul.glide__slides li.glide__slide {
  cursor: grab;
}

@media (max-width: 767.98px) {
  .architects-callout-row {
    flex-direction: column !important;
  }
  .architects-callout-img {
    order: 1 !important;
    width: 100%;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
  }
  .architects-img-mobile {
    width: 90% !important;
    max-width: 320px;
    margin: 0 auto 1.2rem auto !important;
    margin-top: 0 !important;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: block;
  }
  .architects-callout-text {
    order: 2 !important;
    text-align: left;
    border-radius: 0 0 12px 12px;
    padding: 1.5rem 1.2rem 2.2rem 1.2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  }
  .architects-callout-text h3 {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem;
  }
  .architects-callout-text h4 {
    font-size: 1.1rem !important;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: #444;
  }
  .architects-callout-text .fs-17 {
    font-size: 1.1rem !important;
    margin-bottom: 1.2rem;
    color: #666;
  }
  .architects-callout-text .btn-gold {
    width: 100%;
    font-size: 1.05rem;
    padding: 0.9rem 0;
    border-radius: 6px;
    margin-top: 1.2rem;
    box-shadow: 0 2px 8px rgba(226, 192, 68, 0.08);
  }

  .mobile-mt-4 {
    margin-top: 4.5rem !important;
  }

  #problemTabContent .tab-pane > .d-flex > .w-100 {
    flex-direction: column !important;
    border: none;
    background: none;
    gap: 18px;
    box-shadow: none;
  }
  .problem-col,
  .solution-col {
    border: 2px solid #d7b835;
    border-radius: 18px;
    background: #fff;
    margin: 0 0 10px 0;
    padding: 18px 16px 12px 16px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
  }
  .problem-col {
    margin-bottom: 10px;
  }
  .problem-divider {
    display: none !important;
  }
  .problem-col .d-flex.align-items-center,
  .solution-col .d-flex.align-items-center {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 0;
  }
  .problem-col img,
  .solution-col img {
    width: 32px !important;
    height: 32px !important;
    margin-right: 14px !important;
  }
  .problem-col .text-start,
  .solution-col .text-start {
    min-width: 0;
  }
  .problem-col [style*="font-size:1.45rem"],
  .solution-col [style*="font-size:1.45rem"] {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 2px;
  }
  .problem-col [style*="font-size:1.1rem"],
  .solution-col [style*="font-size:1.1rem"] {
    font-size: 0.98rem !important;
    margin-top: 2px !important;
  }
  .problem-detail,
  .solution-detail {
    font-size: 0.95rem !important;
    margin-top: 10px !important;
    color: #444;
  }
  .expand-btn-col {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    background: none;
    border: none;
  }
  .expand-btn {
    border: none;
    background: none;
    font-size: 1.5rem;
    color: #d7b835;
    padding: 0 8px;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
  }
  .expand-icon {
    font-size: 1.5rem;
    color: #d7b835;
  }

  .mobile-view-display-none {
    display: none !important;
  }

  .problem-detail.collapse,
  .solution-detail.collapse {
    display: block !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .footer-articles {
    margin-left: 1px;
  }

  .btn-gold {
    margin-top: 3rem;
  }
}

.tabs-container {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  scrollbar-width: none; /* Firefox hide scrollbar */
}

.tabs-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari hide scrollbar */
}

.tabs {
  display: inline-flex;
  border-bottom: 2px solid #ddd;
  min-width: 100%;
  padding-bottom: 15px;
}

.tab-button {
  padding: 10px 20px;
  cursor: pointer;
  color: #888;
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0; /* prevent squishing */
}

.tab-button.active {
  color: #d7b835;
  font-weight: 600;
  font-size: 1.2rem;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -17px;
  width: 100%;
  height: 2px;
  background-color: #d7b835;
}

.categories-card {
  border-radius: 13px;
}

.categories-card.card ul li {
  margin-top: 7px;
}

.navbar.notscrolled .navbar-drop .nav-link span > svg rect {
  fill: #f2f2f2 !important;
}
