.brantley-services-widget {
  --bg-color: #0f1624;
  --card-bg: #00101a;
  --card-border: #1e293b;
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --dot-blue: #0574ed;
  --dot-green: #94d845;
  --dot-yellow: #ffcc00;
  --font-main: "Montserrat";
  --font-heading: "Clash Display";

  font-family: var(--font-main);
  color: var(--text-main);
  background: transparent;
  box-sizing: border-box;
}

.brantley-services-widget *,
.brantley-services-widget *::before,
.brantley-services-widget *::after {
  box-sizing: inherit;
}

.brantley-services-widget .bs-container {
  max-width: 1333px;
  margin: 0 auto;
}

/* Nav Grid */
.brantley-services-widget .bs-hero {
  padding: 35px 0 78px 0;
}
.brantley-services-widget .services-grid-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  max-width: 1170px;
  margin: 0 auto;
}

/*.brantley-services-widget .scroller-text-item {
  z-index: 1;
}

.brantley-services-widget .scroller-text-item[style*="opacity: 1"] {
  z-index: 10;
}
*/
.brantley-services-widget .nav-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 0.5px solid #ffffff70;
  padding: 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  text-align: left;
  text-decoration: none;
  color: #ffffff !important;
  font-weight: 500;
  font-size: clamp(13px, 1.042vw, 15px);
}

.brantley-services-widget .nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  filter: brightness(1.2);
  transition: all 0.3s ease;
}
.brantley-services-widget .nav-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-main);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.brantley-services-widget .nav-card:hover .nav-icon {
  filter: brightness(1.5);
  transform: scale(1.1);
}

/* Sticky Scroller */
.brantley-services-widget .services-scroller-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 80px;
}
.brantley-services-widget .sticky-card {
  background-color: var(--card-bg);
  border-radius: 24px;
  height: 80vh;
  min-height: 670px;
  max-height: 700px;
  display: flex;
  overflow: hidden;
  position: relative;
  will-change: background-color;
  padding: 0;
  justify-content: space-between;
}

.brantley-services-widget .scroller-col {
  flex: 1;
  position: relative;
  height: 100%;
}

.brantley-services-widget .bs-subhead {
  font-family: Montserrat, sans-serif !important;
  font-weight: 500;
  color: #FFFFFF;
  font-size:clamp(16px, 1.389vw, 18px) !important;
  max-width: 550px;
}


.brantley-services-widget .scroller-text-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(60px, 5vw, 90px);
  padding-bottom: clamp(60px, 5vw, 90px);
  padding-left: 91px;
  padding-right: 40px;
  gap: 20px;
  will-change: transform, opacity; /* ADD THIS FOR SMOOTHNESS */
  /* pointer-events: none REMOVED so Javascript can handle visibility securely */
}

/* .active pointer-events rule REMOVED */

.brantley-services-widget .scroller-text-item h2 {
  font-size: clamp(44px, 3.889vw, 55px);
  font-weight: 300;
  line-height: 1.2;
  font-family: ClashDisplay-Light, sans-serif;
  color: #fff;
  margin: 0px;
  max-width: 550px;
}

.marketPage #bs-service-4 h2 {
  font-size: clamp(34px, 1.889vw, 31px);
}
.brantley-services-widget .scroller-text-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(13px, 1.042vw, 15px);
  line-height: 30px;
  margin-top: 20px;
  max-width: 550px;
}

.brantley-services-widget .features-list {
  margin-top: 20px;
}
.brantley-services-widget .features-list ul {
  list-style-type: none !important;
  padding-left: 0;
  margin: 0;
}
.brantley-services-widget .features-list li {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(13px, 1.042vw, 15px);
  margin-bottom: 5px;
  position: relative;
  padding-left: 15px;
}
.brantley-services-widget .features-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
}

.brantley-services-widget .grid-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.brantley-services-widget .grid-list ul {
  flex: 1;
  max-width: 250px;
}
.brantley-services-widget .learn-more {
  font-size: clamp(13px, 1.042vw, 16px);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-main);
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-div .learn-more:hover {
  color: rgba(255, 255, 255, 0.7);
}
.brantley-services-widget .dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
/*.brantley-services-widget .learn-more:hover .dot { transform: rotate(45deg);  }*/
.brantley-services-widget .dot::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-image: url(/wp-content/uploads/2026/06/learn-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.3s ease;
}
.brantley-services-widget .learn-more:hover .dot::after {
  transform: rotate(45deg);
}
.brantley-services-widget .dot.dot-green::after,
.brantley-services-widget .dot.dot-yellow::after {
  background-image: url(https://brantleynewdev.wpenginepowered.com/wp-content/uploads/2026/06/black-arrow-1.svg);
}

.brantley-services-widget .dot-blue {
  background-color: var(--dot-blue);
}
.brantley-services-widget .dot-green {
  background-color: var(--dot-green);
}
.brantley-services-widget .dot-yellow {
  background-color: var(--dot-yellow);
}

.brantley-services-widget .visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 535px;
}
.brantley-services-widget .scroller-visual-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.brantley-services-widget .scroller-visual-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.brantley-services-widget .bs-subhead {
  font-f
}
/* Reveal Animations */
.brantley-services-widget .reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.brantley-services-widget .reveal-fade {
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.brantley-services-widget .delay-200 {
  transition-delay: 0.2s;
}
.brantley-services-widget .reveal-trigger.is-visible .reveal-up {
  opacity: 1;
  transform: translateY(0);
}
.brantley-services-widget .reveal-fade.is-visible {
  opacity: 1;
}

/* layout */
.layout352_circle{top:0;bottom:0;}
.layout352_centre{align-items:flex-start;margin-left:-14px;}
.layout352_left h2{margin-top:0;}
.layout352_date-text.heading-style-h3 {
  font-size: clamp(24px, 3.194vw, 30px);
  color: #303133;
  font-weight: 600;
  font-family: Montserrat !important;
}
.layout352_date-text.heading-style-h2 {
  margin-top: 5px;
  font-size: clamp(16px, 1.289vw, 18px);
  color: #303133;
  font-weight: 600;
  font-family: Montserrat !important;
}

.layout352_layout {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}
 .layout352_layout a {
  padding: 19px 45px 19px 20px !important;
  border-radius: 8px !important;
  font-size: clamp(13px, 1.042vw, 16px) !important;
  border: none !important;
  margin-top: 30px !important;
  display: inline-block;
  background: url("/wp-content/uploads/2026/06/arrow-white.svg") #0574ed center right 20px no-repeat !important;
  color: #fff !important;
}

.layout352_layout a:hover {
  background: url("/wp-content/uploads/2026/06/arrow-white.svg") #182432 center
    right 20px no-repeat !important;
  color: #fff !important;
}


.layout352_progress {
  z-index: 0;
  width: 3px;
  height: 100%;
  background-color: #ffcc00;
  position: absolute;
  left: 29%;
}
.activetimeline.layout352_progress-bar {
  z-index: -1;
  width: 3px;
  height: 50vh;
  background-color: #000;
  position: fixed;
  top: 50vh;
  bottom: 0;
}
.layout352_fade-overlay-top {
  z-index: 1;
  width: 100%;
  height: 6rem;
  position: absolute;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: 0%;
}
.layout352_fade-overlay-bottom {
  z-index: 1;
  width: 100%;
  height: 6rem;
  position: absolute;
  top: auto;
  bottom: 0%;
  left: 0%;
  right: 0%;
}
.layout352_item {
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: inline-block;
  position: relative;
  display: flex;
  width: 100%;
}
.layout352_centre {
  justify-content: center;
  align-items: stretch;
  display: flex;
}
.text-size-regular {
  text-transform: none;
  font-size: 1.3rem;
  line-height: 1.35;
  color: #fff;
}
.layout352_circle {
  width: 1rem;
  height: 1rem;
  background-color: #5d5d5d;
  border-radius: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 50vh;
}
.layout352_item.active .layout352_left,
.layout352_item.active .layout352_right {
  opacity: 1 !important;
}
.layout352_left {
  width: 30%;
}
.layout352_left h3 {
  margin-top: 15px;
  font-size: clamp(13px, 1.042vw, 16px);
}
.layout352_centre {
  width: 10%;
  justify-content: left;
  margin-left: -17px;
}
.layout352_right {
  width: 50%;
  display: inline-block;
  text-align: left;
}
.layout352_progress.disabletimeline {
  background-color: #000;
}
.layout352_right .italic {
  font-style: italic;
}


.mobile-mockup-wrap{
  display: none;
}



/* Responsive Media Queries */

/* @media only screen and (max-width: 1440px) {
 .layout352_progress {
  left: 31%;
}
.layout352_left {
  width: 25%;
}
.layout352_right {
  width: 50%;
}
} */
@media (max-width: 1024px) {
  .brantley-services-widget .services-grid-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {

  .brantley-services-widget .bs-hero {
    padding: 30px 0 30px 0;
}

   .scroll-widget > div{
      padding: 0 20px  !important;
   }

    .brantley-services-widget .services-scroller-wrapper {
        margin-bottom: 40px;
        
    }

    .brantley-services-widget .sticky-card {
        height: auto !important;
        max-height: none !important;
        background: transparent !important; /* Items will have their own dark background */
        flex-direction: column !important;
        display: block !important;
        overflow: visible !important;
        border-radius: 0;
    }

    .brantley-services-widget .scroller-col.text-col {
        position: relative !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 30px; /* Space between cards */
    }

    /* Target each service card */
    .brantley-services-widget .scroller-text-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        background-color: #030c14 !important; /* Dark card color from your image */
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px !important;
        padding: 40px 20px !important;
        opacity: 0; /* JS will animate this to 1 on scroll */
        visibility: visible !important;
        transform: translateY(30px);
        pointer-events: auto !important;
    }

    /* Title Styling */
    .brantley-services-widget .scroller-text-item h2 {
        font-size: clamp(34px, 4.583vw, 40px) !important;
        line-height: 1.1;
        margin-bottom: 20px !important;
        font-weight: 300;
        text-align: left;
    }

    .brantley-services-widget .scroller-text-item {
      gap: 0px !important;
    }

    /* Mockup placement wrapper */
    .brantley-services-widget .mobile-mockup-wrap {
        width: 100%;
        margin: 20px 0 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .brantley-services-widget .mobile-mockup-wrap img {
        max-width: 280px;
        height: auto;
        display: block;
    }

    /* Description and Features */
    .brantley-services-widget .scroller-text-item p {
        font-size: 14px !important;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8) !important;
        margin-top: 10px !important;
    }

    .brantley-services-widget .features-list li {
        font-size: 14px !important;
        margin-bottom: 6px;
        color: rgba(255, 255, 255, 0.7);
    }

    .brantley-services-widget .btn-div {
        margin-top: 10px;
    }

    /* Grid Nav (Top Buttons) */
    .brantley-services-widget .services-grid-nav {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .brantley-services-widget .nav-card {
        padding: 15px 10px;
        text-align: center;
        flex-direction: column;
        font-size: 12px;
        min-height: 90px;
    }

    /* Hide the original side visual column container only, 
       because JS will move the images inside the cards above */
    .brantley-services-widget .visual-col {
        display: none !important;
    }
    .brantley-services-widget .bs-subhead,.brantley-services-widget .scroller-text-item p, .brantley-services-widget .scroller-text-item h2{
      max-width: none ;
    }

    br{
      display: none;
    }
}

@media (max-width: 767px ){

    .brantley-services-widget .grid-list{
      flex-direction: column ;
      gap: 0px ;
    }
}