  .row-06-bg .sub-title {
      font-size: 30px;
      text-transform: uppercase;
      font-family: 'Univers Condensed', Arial, sans-serif;
  }

  .row-06-bg .sub-title::before {
      font-size: 32px;
      content: "\F140";
      font-family: "bootstrap-icons";
      display: inline-block;
      margin-right: 0px;
      vertical-align: middle;
      padding-right: 10px;
      margin-top: -10px;

  }

  .row-06-bg .arrow-down img {
    transform: translateX(40px);
  }

@media (min-width: 0px) and (max-width: 767px){
    .row-06-bg .content-text {
        font-size: 15px;
    }
}

.row-06-bg .subtitle{
  font-size: 30px;
}


.row-06-bg .right-arrow {
  margin-bottom: -30px;
}

/* Base container as a Grid */
.tabs-container {
  display: grid;
  grid-template-columns: 80px 1fr; /* Left sidebar: 200px, Right: remaining space */
  gap: 10px 0px;
}

/* Hide the radio buttons */
input[type="radio"] { display: none; }

/* Desktop Titles - Force into the first column */
.tab-title {
  grid-column: 1;
  cursor: pointer;
  padding: 12px;
  background: #929496;
  border-bottom: 1px solid #929496;
  width: 60px;
  height: 60px;
  border-radius: 50% 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
  transform: scale(1);
 
  margin-top: 20px;
  margin-bottom: 20px;
}

/*.tabs-container {
  background-image: url("../images/row06/dotted-line.avif");
  background-repeat: repeat-y;
  background-position: left 30px center;
background-size: auto 600px;
  padding-top: 0px ;
}*/


.tabs-container {
  position: relative;
}

.tabs-container::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 30px;
  width: 3px; /* line width */
  height: 600px;
  background-image: url("../images/row06/dotted-line.avif");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 1024px) {
.tabs-container::before {
   background-image: none;
}
}

.tab-title span{ display: none; }

/* Desktop Content - Force into the second column and row 1 */
/* This stacks all content divs on top of each other in the right column */
.tab-content {
  grid-column: 2;
  grid-row: 1 / span 10; /* Span across all possible rows */
  display: none; /* Hidden by default */
  padding: 0px 0px;
  border: 0px solid #ccc;
}

.tab-content .tab-content-input {
  min-height: 800px;
}

.tab-content .sub-content {
  font-size: 26px;
  padding-top: 30px;
  line-height: 1.7em;
}
@media (max-width: 1024px) { .tab-content .sub-content {   font-size: 20px;  } }


/* Show content when radio is checked */
input[type="radio"]:checked + .tab-title + .tab-content {
  display: block;
}

/* Optional: highlight active title */
input[type="radio"]:checked + .tab-title {
  background: #007bff;
  color: white;
}

input[type="radio"]:checked + .tab-title {    background: #af1f71;  transform: scale(1.25); }
/*input[type="radio"]:checked + .tab-title01 {    background: #0071BB; }
input[type="radio"]:checked + .tab-title02 {    background: #00aeef; }
input[type="radio"]:checked + .tab-title03 {    background: #ffc40d; }
input[type="radio"]:checked + .tab-title04 {    background: #ef402b; }
input[type="radio"]:checked + .tab-title05 {    background: #00a3b7; }
input[type="radio"]:checked + .tab-title06 {    background: #40ae49; }*/



@media (max-width: 1024px) {
  input[type="radio"]:checked + .tab-title {    background: #af1f71;  transform: scale(1.05); }
  .tab-content .tab-content-input { min-height: 300px; margin-bottom: 20px; }

  .tabs-container {
    display: block; /* Switch from grid to block stack */
  }

  .tab-title {
    display: block;
    width: 100%;
    margin-top: 5px;
    border-radius: 15px 15px 15px 15px;
    font-size: 18px;
    line-height: 1.2em;
  }
  .tab-title span{
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .tab-title img{
    height: 40px; 
    width: 40px; 
  }

  .tab-title span{ display: block; color: #ffffff; }

  .tab-content {
    display: none; /* Keep hidden until title is clicked */
    width: 100%;
    border-top: none;
  }

  /* Show content directly below title in mobile */
  input[type="radio"]:checked + .tab-title + .tab-content {
    display: block;
  }

  .tab-content .left .big-image {
      height: 100px!important;
      text-align: end;
  }

  .tab-content .left .big-image img{
      height: 100px!important;
  }

  .tab-content .left {
    min-height: auto!important;
    padding-bottom: 20px;
  }

}


@media (min-width: 0px) and (max-width: 767px){
input[type="radio"]:checked + .tab-title {    background: #af1f71;  transform: scale(1.05);   } 
}


.sp-tabs-wrap li {
  list-style: none;
}

.sp-tabs-wrap,
.sp-tabs-wrap li,
.sp-tabs-wrap button {
  display: inline-flex;
  align-items: center;
}

.sp-tabs-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;   /* remove bullets */
  padding-left: 0;    /* remove default ul indent */
  margin: 0 0 30px 0;
  gap: 0;
  padding-top: 30px;
}

.sp-tab-item {
  margin: 0;
  padding: 0;
}

.sp-title {
   font-size: 19px;
   font-family: 'Univers', Arial, sans-serif;
   line-height: 1.3em;
   margin-bottom: 0px;
}

.sp-text {
   font-size: 18px;
}

.sp-tab-btn {
  background: transparent;
  border: none;
  padding: 0 15px;
  font-family: 'Univers Condensed', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #9b9b9b;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1;
}

.sp-tab-item:not(:first-child) .sp-tab-btn {
  border-left: 3px solid #9b9b9b;
}

.sp-tab-btn.active {
  color: #b3207a;
}

.s-priority-badge{
  background-color: #732e5a;
}


.sp-tab-content-wrap .tab-pane {
  display: none;
}

.sp-tab-content-wrap .tab-pane.active {
  display: block;
  min-height: 200px;
}

.sp-tab-content-wrap .tab-pane.fade {
  opacity: 0;
}

.sp-tab-content-wrap .tab-pane.fade.show {
  opacity: 1;
}


@media (min-width: 1025px) and (max-width: 1400px){
  .sp-title { font-size: 18px;  }
  .sp-text {  font-size: 17px;  }
}


@media (min-width: 768px) and (max-width: 1024px){
  .sp-title { font-size: 17px;  }
  .sp-text {  font-size: 16px;  }
  .sp-tab-content-wrap .tab-pane.active {padding: 30px 15px 10px 15px; }
}


@media (max-width: 767.98px) {
  .sp-tabs-wrap {
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
  }

  .sp-tab-item {
    width: 100%;
  }

  .sp-tab-btn {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
    text-align: left;
    font-size: 15px;
  }

  .sp-tab-item:not(:first-child) .sp-tab-btn {
    border-left: none;
    border-top: 1px solid #9b9b9b;
  }
}



/*  output */

.output-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.output-tab-btn {
  background: #b8b8b8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}

.output-tab-btn.active {
  background: #f5a623;
}

.output-tab-btn-02.active{
  background: #53a186!important;
}

.output-tab-btn-03.active {
  background: #00b3ca!important;
}
.output-tab-btn-04.active {
  background: #7680b5!important;
}

.output-highlight-01{
  color: #f5a623;
}

.output-highlight-02{
  color: #53a186;
}

.output-highlight-03 {
  color: #00b3ca;
}

.output-highlight-04 {
  color: #7680b5;
}

.output-main-box {
  background: #f3f3f3;
  border-radius: 16px;
  overflow: hidden;
}

.output-left-box {
  padding: 24px 20px;
  display: flex;
  align-items: start;
  border-right: 1px dotted #666;
}

.output-highlight {
  
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.output-stat-col {
  padding: 18px 10px;
  border-right: 1px solid #888;
}

.output-stat-col:last-child {
  border-right: none;
}

.output-stat-item {
  padding: 10px 0 18px;
  border-bottom: 1px solid #888;
}

.output-stat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}


.output-stat-item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.row-06-bg .output-stat-column-02, .row-06-bg .output-stat-column-03, .row-06-bg .output-stat-column-04 {
  border-left: 1px solid #666;
}
@media (min-width: 768px) and (max-width: 1024px){
  .row-06-bg .output-stat-column-01,  .row-06-bg .output-stat-column-02 {
    border-bottom: 1px solid #666;
  }

  .output-stat-col {
    padding: 8px 20px;
  }
  
  .output-left-box {
    padding: 0px 20px 20px 20px;
  }  
}
@media (min-width: 0px) and (max-width: 767px){
  .row-06-bg .output-stat-column-02, .row-06-bg .output-stat-column-03, .row-06-bg .output-stat-column-04 {
    border-top: 1px solid #666 ;
  }
}  

@media (min-width: 0px) and (max-width: 767px){
  .output-left-box {
    border-right: none;
    border-bottom: 1px solid #666;
  }

  .output-stat-col {
    border-right: none;
    border-bottom: 1px solid #888;
  }

  .output-stat-col:last-child {
    border-bottom: none;
  }
}


/* Keep your existing desktop styles, but add/update these: */

 .mobile-accordion-header {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    background: #b8b8b8;
    color: #fff;
    border: 0px solid #fff;
    font-weight: 700;
    border-radius: 50% 50%;
    margin-bottom: 5px;
    display: block; /* Ensure it's visible on mobile */
}

 .mobile-accordion-header.active {
    background: #f5a623;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

@media (min-width: 0px) and (max-width: 767px){
    /* Force the active tab-pane to be visible and look like an accordion body */
    .tab-content > .tab-pane.active {
        display: block !important;
        opacity: 1 !important;
        background: #f3f3f3;
        padding: 20px;
        margin-bottom: 10px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
    }
}


/* --- Mobile Styles (0px to 767px) --- */
@media (max-width: 767px) {
    /* Hide the desktop nav bar on mobile */
    .output-tab-nav {
        display: none !important;
    }

    /* Show the accordion buttons */
    .mobile-accordion-header {
        display: block !important;
        width: 100%;
        text-align: left;
        padding: 12px 20px;
        background: #b8b8b8;
        color: #fff;
        border: 1px solid #fff;
        font-weight: 700;
        border-radius: 20px 20px;
        margin-bottom: 0px;
    }

    .mobile-accordion-header.active {
        background: #f5a623;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
    }

    /* Force the active content to look like an accordion body */
    .output-tab-panel.tab-pane.active {
        display: block !important;
        position: relative;
        opacity: 1 !important;
        background: #f3f3f3;
        padding: 20px;
        margin-bottom: 10px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        border: 1px solid #ddd;
        border-top: none;
        margin-top: -20px;
        z-index: 0;
        
    }

    /* Hide inactive panels so they take up NO space */
    .output-tab-panel.tab-pane:not(.active) {
        display: none !important;
    }
}

/* --- Desktop Styles (768px and up) --- */
@media (min-width: 768px) {
    /* Hide the mobile accordion headers on desktop */
    .mobile-accordion-header {
        display: none !important;
    }

    /* Ensure desktop nav is visible */
    .output-tab-nav {
        display: flex !important;
    }

    /* Strictly hide inactive panels to prevent "ghost space" */
    .output-tab-panel.tab-pane:not(.active) {
        display: none !important;
        height: 0;
        overflow: hidden;
    }

    .output-tab-panel.tab-pane.active {
        display: block !important;
    }
}


/* Ensure only the active panel is visible and takes up space */
.output-tab-panel.tab-pane {
    display: none !important;
}

.output-tab-panel.tab-pane.active {
    display: block !important;
}

@media (max-width: 767px) {
    .output-tab-panel.tab-pane.active {
        /* Styling to make it look like part of the accordion */
        background: #f3f3f3;
        padding: 20px;
        border: 1px solid #ddd;
        border-top: none;
        margin-bottom: 10px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
}