.condition-overview {
    padding: 100px 0;
    background-color: var(--white-color);
    overflow: hidden;
  }

  .condition-overview .row {
    align-items: flex-start;
  }

  .condition-title h2 {
    font-size: 42px;
    line-height: 1.3em;
    margin-bottom: 0;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 30px;
  }

  .condition-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
  }

  .condition-body {
    padding-left: 30px;
  }

  .condition-body p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
  }

  .condition-btn {
    margin-top: 40px;
  }

  @media (max-width: 991px) {
    .condition-title h2 {
      margin-bottom: 40px;
      font-size: 32px;
    }
    
    .condition-body {
      padding-left: 0;
    }
  }

  @media (max-width: 480px) {
    .condition-overview {
      padding: 60px 0; /* Reduced vertical padding for better mobile fit */
    }

    .condition-overview .row {
      flex-direction: column; /* Ensure vertical stacking on mobile */
    }

    .condition-title h2 {
      font-size: 28px; /* Optimized font size for small screens */
      padding-bottom: 20px; /* Reduced padding for compact layout */
    }

    .condition-title h2::after {
      width: 40px; /* Scaled down accent line for visual balance */
    }

    .condition-body p {
      font-size: 16px; /* Improved readability for body text */
      margin-bottom: 20px; /* Tighter spacing between paragraphs */
    }

    .condition-btn {
      margin-top: 30px; /* Adjusted button spacing for better flow */
    }

    .condition-btn .btn-default {
      width: auto; /* Restored original shape to match desktop */
    }

    /* Condition Details Section Mobile Adjustments */
    .condition-details {
      padding: 60px 0;
    }

    .condition-details h2 {
      font-size: 32px;
      margin-bottom: 25px;
      line-height: 1.3;
    }

    .condition-intro {
      margin-bottom: 40px;
    }

    .condition-intro p {
      font-size: 16px;
      text-align: left;
      padding: 0 15px;
    }

    .condition-types-header {
      font-size: 22px;
      margin-bottom: 30px;
      text-align: left;
      padding-left: 15px;
    }

    .type-card {
      padding: 30px 20px;
      margin-bottom: 10px;
    }

    .type-card h3 {
      font-size: 24px;
      margin-bottom: 10px;
    }

    .type-card p {
      font-size: 15px;
    }

    .highlight-note {
      font-size: 16px;
      text-align: center;
      margin-top: 20px;
      padding: 0 10px;
    }

    /* Symptoms Section Mobile Adjustments */
    .symptoms-section {
      padding: 60px 0;
    }

    .symptoms-section h2 {
      font-size: 28px;
      margin-bottom: 25px;
      text-align: left;
    }

    .symptoms-intro p {
      font-size: 16px;
      margin-bottom: 30px;
    }

    .symptom-list {
      grid-template-columns: 1fr;
      gap: 15px;
      margin-bottom: 30px;
    }

    .symptom-item {
      padding: 15px 20px;
    }

    .symptom-text {
      font-size: 16px;
    }

    .evaluation-note {
      padding: 20px;
      margin-top: 30px;
    }

    .evaluation-note p {
      font-size: 16px;
    }

    /* Causes Section Mobile Adjustments */
    .causes-section {
      padding: 60px 0;
    }

    .causes-section h2 {
      font-size: 28px;
    }

    .causes-intro {
      margin-bottom: 40px;
    }

    .causes-intro p {
      font-size: 16px;
    }

    .cause-item {
      padding: 20px;
    }

    .cause-number {
      font-size: 30px;
      margin-bottom: 10px;
    }

    .cause-item p {
      font-size: 16px;
    }

    .clinical-insight-box {
      padding: 30px 20px;
      margin-top: 40px;
    }

    .clinical-insight-box p {
       font-size: 18px;
    }

    /* Evaluation Section Mobile Adjustments */
    .evaluation-section {
      padding: 60px 0;
    }

    .evaluation-section h2 {
      font-size: 28px;
    }

    .evaluation-intro p {
      font-size: 16px;
      margin-bottom: 30px;
    }

    .evaluation-step {
      padding: 25px;
    }

    .step-icon {
      width: 50px;
      height: 50px;
      font-size: 20px;
      margin: 0 auto 15px !important;
    }

    .evaluation-step p {
      font-size: 16px;
    }

    .evaluation-summary {
      margin-top: 40px;
      font-size: 16px;
      padding: 20px 25px;
      border-radius: 30px;
      display: block !important;
    }

    /* Treatment Section Mobile Adjustments */
    .treatment-section {
      padding: 60px 0;
    }

    .treatment-section h2 {
      font-size: 28px;
    }

    .treatment-intro p {
      font-size: 16px;
      margin-bottom: 30px;
    }

    .treatment-list {
      grid-template-columns: 1fr;
      gap: 15px;
      margin-bottom: 40px;
    }

    .treatment-item {
      padding: 20px;
    }

    .treatment-item p {
      font-size: 16px;
    }

    .treatment-note {
      padding: 20px;
    }

    .treatment-note p {
      font-size: 16px;
    }

    /* Specialist Section Mobile Adjustments */
    .specialist-section {
      padding: 60px 0;
    }

    .specialist-section h2 {
      font-size: 28px;
    }

    .specialist-intro p {
      font-size: 16px;
      margin-bottom: 25px;
    }

    .specialist-list {
      gap: 12px;
      margin-bottom: 35px;
    }

    .specialist-item {
      padding: 15px 20px;
    }

    .specialist-item p {
      font-size: 16px;
    }

    .specialist-icon {
      margin-right: 15px;
    }

    .specialist-outro p {
      font-size: 17px;
      padding: 20px;
    }

    /* Related Conditions Section Mobile Adjustments */
    .related-conditions-section {
      padding: 60px 0;
    }

    .related-conditions-section h2 {
      font-size: 28px;
    }

    .related-list {
      margin-top: 30px;
      gap: 12px;
    }

    .related-card {
      padding: 12px 20px;
      min-width: 140px;
    }

    .related-card span {
      font-size: 16px;
      margin-right: 10px;
    }

    /* CTA Section Mobile Adjustments */
    .cta-section {
      padding: 60px 0; /* Reduced vertical padding for mobile */
    }

    .cta-section h2 {
      font-size: 28px; /* Optimized heading size for mobile */
      margin-bottom: 20px;
    }

    .cta-section p {
      font-size: 16px; /* Optimized body text for readability */
      margin-bottom: 30px;
      padding: 0 10px; /* Added slight side padding for text safety */
    }

    .cta-btn .btn-default {
      width: auto; /* Restored original shape to match desktop */
    }
  }

  /* Dark Section Styles - What Is Condition */
  .condition-details {
    background-color: var(--primary-color);
    padding: 100px 0;
    color: var(--white-color);
  }

  .condition-details h2 {
    color: var(--white-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 42px;
  }
  
  .condition-intro {
    margin-bottom: 60px;
  }

  .condition-intro p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .condition-types-header {
    text-align: center;
    margin-bottom: 40px;
    color: var(--white-color);
    font-family: var(--accent-font);
    font-size: 28px;
  }

  .type-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  }

  .type-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
  }

  .type-card h3 {
    color: var(--white-color);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 400;
  }

  .type-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 16px;
  }

  .highlight-note {
     font-size: 20px;
     font-weight: 500;
     color: var(--secondary-color);
     text-align: center;
     margin-top: 60px;
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
  }
  
  @media (max-width: 768px) {
    .condition-details h2 {
        font-size: 32px;
    }
    .condition-intro p {
        font-size: 18px;
    }
    .type-card {
        margin-bottom: 20px;
        padding: 30px 20px;
    }
  }

  /* Symptoms Section - Editorial Stack Design */
  .symptoms-section {
    padding: 100px 0;
    background-color: #f8f9fa; /* Light grey */
  }

  /* Left Column Sticky Content */
  .symptoms-sticky-col {
    position: sticky;
    top: 120px;
  }

  .symptoms-intro p {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.8;
  }

  /* Right Column Stack */
  .symptom-stack-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .symptom-stack-item {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--white-color) 0%, var(--white-color) 50%, #f0f7fa 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    padding: 24px 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
  }
  
  .symptom-stack-item:hover {
    transform: translateX(10px) scale(1.01);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(2, 48, 71, 0.08);
    background-position: 100% 0%; /* Sweep effect */
  }

  /* Decorative accent bar on hover */
  .symptom-stack-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-color);
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.4s ease;
  }

  .symptom-stack-item:hover::before {
    opacity: 1;
    transform: scaleY(1);
  }

  .stack-icon {
    width: 48px;
    height: 48px;
    background: rgba(2, 48, 71, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy */
  }
  
  .symptom-stack-item:hover .stack-icon {
    background: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1) rotate(5deg);
  }

  .stack-icon i {
    font-size: 18px;
    color: var(--primary-color);
    transition: color 0.3s ease;
  }
  
  .symptom-stack-item:hover .stack-icon i {
    color: var(--white-color);
  }

  .symptom-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    transition: transform 0.3s ease;
  }
  
  .symptom-stack-item:hover .symptom-text {
    transform: translateX(5px);
  }
  
  .evaluation-note {
    background: transparent; 
    padding: 20px 0;
    border-left: none;
    margin-top: 30px;
  }

  .evaluation-note p {
    margin: 0;
    font-weight: 500;
    color: var(--text-color);
    font-size: 18px;
    font-style: italic;
    position: relative;
    display: inline-block;
  }
  
  /* Pulse Animation for the note */
  @keyframes subtlePulse {
      0% { opacity: 0.7; }
      50% { opacity: 1; }
      100% { opacity: 0.7; }
  }
  
  .evaluation-note p::before {
     content: '•';
     color: var(--accent-color);
     margin-right: 10px;
     animation: subtlePulse 2s infinite;
  }

  @media (max-width: 991px) {
    .symptoms-sticky-col {
      position: relative;
      top: 0;
      margin-bottom: 40px;
    }
    
    .symptom-stack-item:hover {
        transform: translateY(-5px); /* Slide up instead of right on mobile */
    }
  }
  /* Causes Section - Theme Integrated Design */
  .causes-section {
    padding: 100px 0;
    background-color: var(--primary-color); /* Restored Theme Blue */
    color: var(--white-color);
    position: relative;
    overflow: hidden;
  }

  /* Background pattern for depth */
  .causes-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%); 
    border-radius: 50%;
    pointer-events: none;
  }

  .causes-section h2 {
    color: var(--white-color);
    margin-bottom: 20px;
    text-align: center;
  }

  .causes-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
  }

  .causes-intro p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
  }

  .causes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
  }

  .cause-card {
    background: rgba(255, 255, 255, 0.08); /* 8% opacity for visibility on Blue */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .cause-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color); /* Theme Accent Hover */
  }

  .cause-icon {
    font-size: 24px;
    color: var(--secondary-color); /* Theme Accent */
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .cause-card:hover .cause-icon {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotate(360deg);
  }

  .cause-card h3 {
    font-size: 20px;
    color: var(--white-color);
    margin-bottom: 15px;
    font-weight: 600;
  }

  .cause-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
  }

  .clinical-correlation-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .clinical-correlation-box p {
    margin: 0;
    font-size: 18px;
    color: var(--white-color);
    font-weight: 500;
    letter-spacing: 0.5px;
  }

  .clinical-correlation-box i {
      color: var(--secondary-color);
      font-size: 24px;
      margin-bottom: 15px;
      display: block;
      opacity: 1;
  }

  @media (max-width: 991px) {
    .causes-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .causes-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Evaluation Section - Light Clinical Dashboard */
  .evaluation-section {
    padding: 100px 0;
    background-color: #fcfdfe; /* Ultra light cool grey/blue */
    position: relative;
    overflow: hidden;
  }
  
  /* Background accent - subtle radial glow */
  .evaluation-section::before {
      content: '';
      position: absolute;
      top: -20%;
      right: -10%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(var(--secondary-color-rgb),0.03) 0%, rgba(255,255,255,0) 70%);
      pointer-events: none;
  }

  .eval-header-group {
      max-width: 800px;
      margin: 0 auto 60px;
      text-align: center;
  }

  .eval-header-group h2 {
      color: var(--primary-color);
      margin-bottom: 30px;
      font-size: 42px;
  }
  
  .eval-intro-box {
      background: #fff; 
      border: 1px solid rgba(0,0,0,0.04);
      padding: 25px 30px;
      border-radius: 12px;
      position: relative;
      display: inline-block;
      box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  }
  
  .eval-intro-box p {
      font-size: 20px;
      line-height: 1.6;
      color: var(--text-color);
      margin: 0;
      font-weight: 400;
  }
  
  .eval-intro-box b {
      color: var(--primary-color);
      font-weight: 600;
  }

  /* The Grid for List Items */
  .eval-process-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 30px;
      max-width: 1000px;
      margin: 0 auto 50px;
      list-style: none;
      padding: 0;
  }
  
  .eval-process-item {
      background: #fff;
      border: 1px solid rgba(0, 0, 0, 0.03); 
      padding: 35px 30px;
      border-radius: 16px;
      display: flex;
      align-items: flex-start;
      transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
      position: relative;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0,0,0,0.02);
  }
  
  .eval-process-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.06);
      border-color: rgba(var(--primary-color-rgb), 0.1);
  }
  
  /* Hover Glow Effect */
  .eval-process-item::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: var(--secondary-color);
      opacity: 0;
      transition: opacity 0.3s ease;
  }
  
  .eval-process-item:hover::after {
      opacity: 1;
  }
  
  .eval-item-icon {
      width: 44px;
      height: 44px;
      background: rgba(var(--primary-color-rgb), 0.06);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 20px;
      flex-shrink: 0;
      color: var(--primary-color);
      font-size: 18px;
      transition: all 0.3s ease;
  }
  
  .eval-process-item:hover .eval-item-icon {
      background: var(--primary-color);
      color: #fff;
  }
  
  .eval-process-item p {
      margin: 0;
      font-size: 18px;
      color: var(--text-color);
      line-height: 1.5;
      font-weight: 500;
  }

  /* Bottom Conclusion */
  .eval-conclusion-bar {
      max-width: 900px;
      margin: 0 auto;
      text-align: center;
      position: relative;
  }
  
  .eval-conclusion-bar::before {
      content: '';
      display: block;
      width: 50px;
      height: 2px;
      background: var(--secondary-color);
      margin: 0 auto 30px;
  }
  
  .eval-conclusion-bar p {
      font-size: 19px;
      color: var(--text-color); /* Removed opacity for higher contrast */
      font-style: italic;
      font-weight: 400;
  }
  
  .eval-conclusion-bar span {
      color: var(--primary-color);
      font-style: normal;
      font-weight: 400;
      border-bottom: 1px dashed rgba(var(--primary-color-rgb),0.3);
  }

  @media (max-width: 991px) {
    .eval-process-grid {
      grid-template-columns: 1fr;
      gap: 15px;
    }
    .eval-header-group h2 {
        font-size: 32px;
    }
  }
  /* Treatment Section - Dark Service Grid */
  .treatment-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    position: relative;
    z-index: 1;
  }
  
  /* Background Pattern */
  .treatment-section::before {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 60%;
      background: linear-gradient(0deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
      pointer-events: none;
  }

  .treatment-header {
      max-width: 800px;
      margin: 0 auto 50px;
      text-align: center;
  }
  
  .treatment-header h2 {
      color: var(--white-color);
  }
  
  .treatment-header p {
      font-size: 18px;
      color: rgba(255, 255, 255, 0.85);
      margin-top: 15px;
      line-height: 1.6;
      font-weight: 400;
  }

  .treatment-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-bottom: 60px;
      position: relative;
      z-index: 2;
  }
  
  .treatment-item {
      width: calc(33.333% - 20px);
      display: flex;
  }

  .treatment-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 35px 25px;
      width: 100%;
      text-align: center;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      display: flex;
      flex-direction: column;
      align-items: center;
      height: 100%;
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
      text-decoration: none;
  }

  .treatment-card:hover {
      transform: translateY(-8px);
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--secondary-color);
      box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  }

  .treatment-icon {
      width: 70px;
      height: 70px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--secondary-color);
      font-size: 28px;
      margin-bottom: 25px;
      transition: all 0.3s ease;
  }

  .treatment-card:hover .treatment-icon {
      background: var(--secondary-color);
      color: var(--primary-color);
      transform: rotateY(180deg);
  }

  .treatment-card .treatment-title {
      font-size: 19px;
      font-weight: 600;
      color: var(--white-color);
      margin: 0;
      line-height: 1.4;
  }
  
  .treatment-card .treatment-title a {
      color: inherit;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 4px;
      text-decoration-color: rgba(255,255,255,0.3);
      transition: color 0.3s ease, text-decoration-color 0.3s ease;
  }
  
  .treatment-card .treatment-title a:hover {
      color: var(--secondary-color);
      text-decoration-color: var(--secondary-color);
  }
  
  /* Accuracy Note Box - Dark Mode */
  .accuracy-note {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-left: 4px solid var(--secondary-color);
      padding: 25px 35px;
      border-radius: 8px;
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      position: relative;
      z-index: 2;
  }
  
  .accuracy-note i {
      font-size: 28px;
      color: var(--secondary-color);
      margin-right: 25px;
      flex-shrink: 0;
  }
  
  .accuracy-note p {
      margin: 0;
      font-size: 17px;
      color: rgba(255, 255, 255, 0.9);
      font-weight: 400;
      line-height: 1.5;
  }
  
  .accuracy-note b {
      color: var(--white-color);
      font-weight: 600;
  }

  @media (max-width: 991px) {
      .treatment-item {
          width: calc(50% - 15px);
      }
  }

  @media (max-width: 768px) {
      .treatment-item {
          width: 100%;
      }
      .accuracy-note {
          flex-direction: column;
          text-align: center;
          padding: 25px;
      }
      .accuracy-note i {
          margin-right: 0;
          margin-bottom: 15px;
      }
  }

  /* Specialist Evaluation Section - Light Theme */
  .specialist-section {
    padding: 100px 0;
    background-color: #fcfcfc; /* Very light grey */
    position: relative;
    overflow: hidden;
  }
  
  .specialist-header {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 50px;
  }
  
  .specialist-header h2 {
      font-size: 38px;
      color: var(--primary-color);
      margin-bottom: 20px;
  }
  
  .specialist-header p {
      font-size: 19px;
      color: var(--text-color);
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
  }
  
  .specialist-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px;
      margin-bottom: 50px;
  }
  
  .specialist-item {
      width: calc(33.333% - 20px);
      display: flex;
  }
  
  .specialist-card {
      background: #fff;
      padding: 35px 30px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.03);
      border: 1px solid rgba(0,0,0,0.04);
      height: 100%;
      width: 100%;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
  }
  
  .specialist-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.08);
      border-color: rgba(var(--secondary-color-rgb), 0.3);
  }
  
  .specialist-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: var(--secondary-color);
      opacity: 0;
      transition: opacity 0.3s ease;
  }
  
  .specialist-card:hover::before {
      opacity: 1;
  }
  
  .specialist-icon {
      width: 40px;
      height: 40px;
      background: rgba(var(--primary-color-rgb), 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary-color);
      font-size: 16px;
      transition: all 0.3s ease;
  }
  
  .specialist-card:hover .specialist-icon {
      background: var(--primary-color);
      color: #fff;
  }
  
  .specialist-card .specialist-title {
      font-size: 18px;
      font-weight: 600;
      color: var(--primary-color);
      margin: 0;
      line-height: 1.5;
  }
  
  .next-steps-box {
      background: var(--primary-color);
      color: #fff;
      padding: 30px;
      border-radius: 12px;
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
      position: relative;
      overflow: hidden;
  }
  
  .next-steps-box::after {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
      border-radius: 50%;
  }
  
  .next-steps-box p {
      font-size: 20px;
      font-weight: 500;
      margin: 0;
      position: relative;
      z-index: 2;
  }

  @media (max-width: 991px) {
      .specialist-item {
          width: calc(50% - 15px);
      }
  }

  @media (max-width: 768px) {
      .specialist-section {
          padding: 50px 0;
      }
      .specialist-header {
          margin-bottom: 30px;
      }
      .specialist-header h2 {
          font-size: 28px;
          margin-bottom: 12px;
      }
      .specialist-header p {
          font-size: 16px;
      }
      .specialist-grid {
          gap: 20px;
          margin-bottom: 35px;
      }
      .specialist-item {
          width: 100%;
      }
      .specialist-card {
          padding: 24px 20px;
          border-radius: 14px;
      }
      .specialist-card .specialist-title {
          font-size: 16px;
      }
      .next-steps-box {
          padding: 24px 20px;
          border-radius: 12px;
      }
      .next-steps-box p {
          font-size: 16px;
          line-height: 1.5;
      }
  }

  @media (max-width: 425px) {
      .specialist-section {
          padding: 40px 0;
      }
      .specialist-header {
          margin-bottom: 25px;
      }
      .specialist-header h2 {
          font-size: 22px;
          line-height: 1.35;
          margin-bottom: 10px;
      }
      .specialist-header p {
          font-size: 15px;
          line-height: 1.5;
      }
      .specialist-grid {
          gap: 14px;
          margin-bottom: 25px;
      }
      .specialist-item {
          width: 100%;
      }
      .specialist-card {
          padding: 18px 16px;
          border-radius: 12px;
      }
      .specialist-icon {
          width: 36px;
          height: 36px;
          font-size: 14px;
          margin-bottom: 12px;
      }
      .specialist-card .specialist-title {
          font-size: 15px;
          line-height: 1.45;
      }
      .next-steps-box {
          padding: 18px 15px;
          border-radius: 10px;
      }
      .next-steps-box p {
          font-size: 14px;
          line-height: 1.5;
      }
      .related-tags-container {
          gap: 10px;
      }
      .condition-pill {
          padding: 8px 16px;
          font-size: 13.5px;
          line-height: 1.35;
          border-radius: 24px;
          align-items: center;
          max-width: 100%;
          text-align: left;
      }
      .condition-pill i {
          margin-right: 8px;
          font-size: 13px;
          flex-shrink: 0;
      }
  }

  /* Related Conditions Section - Tags/Pills Style */
  .related-conditions-section {
    padding: 60px 0 80px;
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  
  .related-header {
      text-align: center;
      margin-bottom: 40px;
  }
  
  .related-header h2 {
      font-size: 28px;
      color: var(--text-color);
      font-weight: 600;
  }
  
  .related-tags-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      max-width: 900px;
      margin: 0 auto;
  }
  
  .condition-pill {
      display: inline-flex;
      align-items: center;
      padding: 12px 25px;
      background: #f4f7f9;
      border-radius: 50px;
      color: var(--text-color);
      font-size: 16px;
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
      border: 1px solid transparent;
  }
  
  .condition-pill:hover {
      background: var(--primary-color);
      color: #fff;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
  }
  
  .condition-pill i {
      margin-right: 12px;
      font-size: 16px;
      color: var(--primary-color);
      transition: color 0.3s ease;
  }
  
  .condition-pill:hover i {
      color: #fff;
  }
  /* CTA Section - Blends with Footer */
  .cta-section {
    background-color: var(--primary-color);
    padding: 80px 0 60px;
    border-radius: 30px 30px 0 0;
    text-align: center;
    position: relative;
    z-index: 5;
    margin-bottom: -1px; /* Ensure no pixel gap */
  }

  .cta-header {
      max-width: 800px;
      margin: 0 auto;
  }

  .cta-header h2 {
      color: var(--white-color);
      font-size: 36px;
      margin-bottom: 25px;
  }

  .cta-header p {
      color: rgba(255, 255, 255, 0.9);
      font-size: 20px;
      margin-bottom: 40px;
      line-height: 1.6;
      font-weight: 400;
  }

  .cta-btn .btn-primary {
      background-color: var(--secondary-color);
      border-color: var(--secondary-color);
      color: var(--primary-color);
      padding: 16px 45px;
      font-weight: 700;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      transition: all 0.3s ease;
  }
  
  .cta-btn .btn-primary:hover {
      background-color: #fff;
      border-color: #fff;
      color: var(--primary-color);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  /* Footer Adjustment for seamless blending */
  footer.main-footer {
      border-radius: 0 !important;
      padding-top: 20px !important;
      margin-top: 0 !important;
  }