.team-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    .doctor-card {
        width: 100%;
        max-width: 220px;
    }
}

.site-header:not(.is-scrolled) .navbar-brand img {
    filter: brightness(10);
}

.navbar-brand img {
    transition: .25s;
}

.site-header.is-scrolled .navbar-nav .nav-link {
    color: var(--text);
}

.navbar-nav .btn-theme {
    font-size: 12px;
    padding-inline: 20px;
}

.service-block img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.team-section {
    background-image: url('../images/care-team-bg.webp');
    background-size: cover;
    background-attachment: fixed;
    background-color: #00000070;
    background-blend-mode: color;
}

.symptom-tabs{
    padding:80px 0;
    }
    
    
    /* COLLAGE */
    
    .image-collage{
    display:flex;
    gap:15px;
    flex-wrap: wrap;
    }
    
    .image-collage img{
    width:100%;
    height:100%;
    object-fit:cover;
    }

    
    .image-collage .img1,
    .image-collage .img2 {
        height:475px;
        max-width: 60%;
    }

    .image-collage  .img2 {
        margin-left: auto;
        margin-top: -300px;
        border: solid 15px #fff;
    }
    
    
    /* TABS */
    
    .symptom-nav .nav-link{
    border:none;
    color:#777;
    font-weight:500;
    }
    
    .symptom-nav .nav-link.active{
    color:var(--accent);
    border-bottom:3px solid var(--accent);
    background:none;
    }
    
    
    /* LIST */
    
    .symptom-list{
    columns:2;
    list-style:none;
    padding:0;
    }
    
    .symptom-list li{
    margin-bottom:8px;
    padding-left:16px;
    position:relative;
    }

    .symptom-nav .nav-link {
        font-size: 18px;
    }

    .support-section {
        background-image: linear-gradient(to bottom, #f4efcd 600px, #fff 0%);
    }

/* --- Timeline Section & Track --- */
.menopause-timeline {
    overflow: visible;
  }
  
  .timeline-container {
    padding-left: 80px; /* Space for the vertical line */
  }
  
  .step-progress-track {
    position: absolute;
    left: inherit;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #fff;
    z-index: 1;
  }
  
  .step-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--accent);
    transition: height 0.1s linear;
  }
  
  /* --- Step Cards (Left Side) --- */
  .step-card-scroll {
    padding: 20px 0; /* Vertical spacing between steps */
    margin-bottom: 40px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0.25; /* Dimmed when inactive */
    position: relative;
    z-index: 2;
    border-bottom: solid 1px;
  }

  .step-card-scroll:last-child {
    border-bottom: none;
  }
  
  .step-card-scroll.is-active {
    opacity: 1;
    transform: translateX(10px); /* Subtle nudge to show focus */
  }
  
  .step-card-scroll .step-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
    color: var(--text); /* Light grey when inactive */
    transition: color 0.4s ease;
  }
  
  .step-card-scroll h3 {
    font-weight: 700;
    color: var(--text);
    transition: color 0.4s ease;
  }
  
  /* Active Text Colors */
  .step-card-scroll.is-active .step-number,
  .step-card-scroll.is-active h3 {
    color: var(--accent);
  }
  
  /* --- Sticky Collage (Right Side) --- */
  .sticky-collage-container {
    position: sticky;
    top: 100px; /* Adjusts vertical centering while scrolling */
    height: 500px;
    width: 100%;
  }
  
  .collage-stack {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .collage-group {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.6s, 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9) translateY(20px); /* Entrance "slide up" effect */
  }
  
  .collage-group.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 10;
  }
  
  /* --- Image Layout Logic --- */
  .collage-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: solid 15px var(--bg);
  }
  
  .img-main {
    position: absolute;
    width: 65%;
    height: 600px;
    top: 10%;
    left: 0;
    z-index: 4;
  }
  
  .img-sub-top {
    position: absolute;
    width: 45%;
    height: 45%;
    top: 0;
    right: 0;
    z-index: 6;
  }
  
  .img-sub-bottom {
    position: absolute;
    width: 45%;
    height: 45%;
    bottom: 0;
    right: 5%;
    z-index: 5;
    opacity: 0.5; /* Keeps the "collage" depth */
  }

  .process-section.section-padding {
    padding-bottom: 200px;
  }

  .social-icons { 
    font-size: 36px;

    & svg:hover {
      scale: 1.1;
      color: var(--accent);
    }
  }

  @media only screen and (min-width:1200px) {
    .site-header .nav-link {
      border-bottom: solid 1px transparent;

      &:hover {
        border-bottom: solid 1px #fff;
      }
    }

    .site-header.is-scrolled .nav-link {
      border-bottom: solid 1px transparent;

      &:hover {
        border-bottom: solid 1px var(--primary);
      }
    }
  }

.statistic-box {
  padding: 30px;
  border-top: solid 1px var(--accent);
  height: 100%;
  border-right: solid 1px var(--accent);
  font-size: 18px;
}


.col-stat:nth-child(-n + 3) .statistic-box {
  border-top: none;
}

.col-stat:nth-child(3n) .statistic-box {
  border-right: none;
}

.pricing-heading-bar {
  width: 100%;
  max-width: 760px;
  height: 22px;
  background: #eadfc8;
  border-radius: 999px;
  margin-bottom: 18px;
}


.pricing-heading p {
  font-size: 22px;
  color: #6d6d6d;
  line-height: 1.4;
}

.pricing-card {
  background: #fff;
  border: 1px solid #e7e2da;
  overflow: hidden;
  margin-bottom: 50px;
}

.pricing-card-content {
  padding: 42px 40px;
}

.pricing-card-content h3 {
  font-size: 32px;
  line-height: 1.2;
  color: #111;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--accent);
}

.pricing-subtitle {
  font-size: 18px;
  color: #111;
  margin-bottom: 24px;
  font-weight: 500;
}

.pricing-subtitle span {
  font-size: 15px;
  color: #6d6d6d;
  font-weight: 400;
}

.pricing-card-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #222;
  margin-bottom: 18px;
}

.pricing-list {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}

.pricing-list li:last-child {
  margin-bottom: 0;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.2;
}

.statistic-box h3 {
  font-size: 24px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.pricing-card-side {
  border-left: 1px solid #ece7df;
  padding: 42px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}

.price-amount {
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.price-label {
  font-size: 18px;
  color: #222;
  line-height: 1.4;
}

.pricing-side-bottom {
  margin-top: 40px;
}

.btn-pricing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 58px;
  padding: 14px 28px;
  background: #233a63;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-pricing:hover {
  background: #1b2f51;
  color: #fff;
}

@media (max-width: 991.98px) {
  .pricing-heading h2 {
    font-size: 40px;
  }

  .pricing-heading p {
    font-size: 18px;
  }

  .pricing-card-content,
  .pricing-card-side {
    padding: 30px 24px;
  }

  .pricing-card-side {
    border-left: 0;
    border-top: 1px solid #ece7df;
    text-align: left;
    align-items: flex-start;
  }

  .price-amount {
    font-size: 42px;
  }

  .pricing-side-bottom {
    margin-top: 24px;
  }
}

@media (max-width: 575.98px) {
  .pricing-heading-bar {
    height: 14px;
    margin-bottom: 14px;
  }

  .pricing-heading h2 {
    font-size: 32px;
  }

  .pricing-card-content h3 {
    font-size: 24px;
  }

  .pricing-subtitle {
    font-size: 16px;
  }

  .price-amount {
    font-size: 36px;
  }

  .btn-pricing {
    min-width: 100%;
  }
}
  
  /* Responsive: Reset for Mobile */
  @media (max-width: 991px) {
    .timeline-container { padding-left: 15px; }
    .step-card-scroll { opacity: 1; transform: none; padding: 30px 0; }
    .step-progress-track { display: none; }
  }

  @media only screen and (max-width:767px) {
    main {
        overflow: hidden;
    }

    .process-section::before {
        display: none;
    }

    .process-section.section-padding {
        padding-bottom: 30px;
    }

    .step-card-scroll.is-active {
        opacity: 1;
        transform: translateX(0px);
    }

    .step-card-scroll {
        opacity: .3;
    }

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

    .team-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-inline: 15px;
    }

    .team-wrap .doctor-card {
            width: 100%;
            max-width: 100%;
    }

    .footer-text {
        max-width: 100%;
    }

    .navbar-toggler {
        color: var(--accent);
    }

    .site-header.is-scrolled .navbar-toggler-icon {
        filter: invert(1);
    }

    .image-collage .img2 {
        margin-top: -150px;
    }

    .image-collage .img1, .image-collage .img2 {
        height: 250px;
    }

    .why-image-collage .tall {
        display: none;
    }

    .why-image-collage {
        margin-bottom: 0;
        display: flex;
        flex-wrap: wrap;
    }

    .why-image-collage .square {
        max-width: 60%;
    }
    .why-image-collage .square:last-child {
        margin-left: auto;
        margin-top: -200px;
        border: solid 15px #fff;
    }

    .symptom-nav .nav-link {
        width: max-content;
    }

    .nav.symptom-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .site-header .navbar-collapse {
        border-radius: 0;
        margin-inline: -15px;
        background: #ffffffcf;
        backdrop-filter: blur(12px);
        box-shadow: none;
    }

    .site-header.is-scrolled .navbar-collapse {
        background:transparent;
        backdrop-filter: none;

       
    }

    .site-header .navbar-collapse .navbar-nav .nav-link {
        color: var(--text);
    }

    .site-header .nav-link {
        border-bottom: solid 1px #1c562a52;
    }

    .site-header .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .col-stat:nth-child(-n + 3) .statistic-box {
      border-top: solid 1px var(--accent);
    }   

    .statistic-box {
      max-width: 90%;
      margin-inline: auto;
      border-right: none;
      padding-inline:0;
    }

  }