
.pill-section {
    padding: 80px 0;
    background: #061733;
    overflow: hidden;
    font-family: Raleway;
    background: #061733 url(/wp-content/uploads/2025/12/Pattern-01.png) no-repeat left bottom;
    background-size: auto 500px;
  
}

  .pill-container {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    align-self: stretch;
    flex-direction: row;
    margin-top: 80px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .pill-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
  }
  .pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 503px;
    width: 105px;
    padding: 64px 40px;
    border-radius: 18px;
    background: linear-gradient(33deg, #112C51 27.9%, #0D4B77 82.61%, #0291CE 131.34%);
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
    margin-right: 20px;
  }
  .pill:hover {
    background: linear-gradient(54.48deg, #112C51 -22.81%, #0D4B77 18.62%, #0291CE 59.43%);
}
  .pill-count {
    color: #FFD600;
    font-size: 20px;
    font-weight: 600;
  }
  .pill-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 24px;
    font-weight: 00;
    color: #FFF;
  }
  .pill-content {
    display: flex;
    padding: 64px 64px 64px 40px;
    align-items: center;
    gap: 64px;
    height: 503px;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    transition: all 0.5s ease;
    margin-right: 20px;
  }
  
  /* ✅ Seamless connection on active */
  .pill.active {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 0;
  }
  .pill-content.active {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -1px;
  }
  
  @media (min-width: 1285px) {
    .pill-content {
      max-width: 800px !important;
    }
  }
  
  @media (min-width: 1200px) {
    .pill-content {
      max-width: 650px;
    }
    .pill:hover {
      background: linear-gradient(54.48deg, #112C51 -22.81%, #0D4B77 18.62%, #0291CE 59.43%);
  }
  }
  
  .pill-content {
      max-width: 628px;
  }
  
  @media (max-width: 1200px) {
    .pill-container {
      flex-direction: column;
      align-items: stretch;
      margin: 32px 16px 32px 16px;
    }
    .pill-group {
      margin-bottom: 26px;
      margin-right: 0px !important;
  }  
    .pill.active {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      margin-bottom: 0px !important;
    }
    .pill {
          flex-direction: row !important;
          height: auto !important;
          width: 100% !important;
          padding: 24px 20px !important;
          justify-content: flex-start !important;
          text-align: left !important;
          writing-mode: unset;
          transform: none;
          margin-right: 0 !important;
      }
    .pill-title {
      writing-mode: unset !important;
      transform: none !important;
      font-size: 18px;
      margin-left: 12px;
    }
    .pill-count {
      font-size: 18px;
    }
    .pill-content {
      flex-direction: column;
      height: auto;
      margin: 0;
      padding: 24px 16px 24px 16px !important;
      border-radius: 0 0 18px 18px;
      gap: 24px;
      margin-bottom: 20px;
    }
  }
  .pill-image {
    margin: 0 auto;
    max-width: 349px;
  }
  .pill-section .section-title {
    margin-bottom: 20px;
  }
  .pill-content h3 {
    margin-bottom: 40px;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
  }
  .pill_content {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
  }
  .pill-content p:not(:last-of-type) {
    padding-bottom: 24px;
    border-bottom: 1px solid #FFD600;
  }
  .pill-content p:not(:first-of-type) {
    margin: 14px 0;
  }
  .pill-group {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #0D4B77;
  }
  @media (max-width: 767px) {
  .pill {
    background: linear-gradient(33deg, #112C51 27.9%, #0D4B77 82.61%, #0291CE 131.34%) !important;    
  }
  .pill-section {
    background-position: left top !important;
    background-position: -155px 47px !important;
}

  .row {
    padding: 0 16px !important;
  }
  .pill-container {
    margin-left: 0px;
    margin-right: 0px;
  }

  .pill-group.active {
    background: linear-gradient(33deg, #112C51 27.9%, #0D4B77 82.61%, #0291CE 131.34%) !important;    
    margin-right: 29px;
  }
  
  .pill-group {
    background: linear-gradient(33deg, #112C51 27.9%, #0D4B77 82.61%, #0291CE 131.34%) !important;    
  }
  
  .pill-group.active .pill {
    background: transparent !important;
  }

}
  @media (min-width: 1201px) {
    .pill-group {
      flex-direction: row;
    }
  }
  
  .pill-group.active {
    background: linear-gradient(33deg, #112C51 27.9%, #0D4B77 82.61%, #0291CE 131.34%);
    margin-right: 29px;
  
  }
  
  .pill-group.active .pill:hover {
    background: none !important;
  }
  .pill {
    background: transparent;
    width: 105px;
    padding: 64px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    cursor: pointer;
    margin-right: 0px;
  }
  
  .pill-group {
      margin-right: 29px;
  }
  .pill-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
  }
  .pill-count {
    color: #FFD600;
    font-size: 20px;
    font-weight: 600;
  }
  
  .pill-content {
    background: transparent;
    padding: 64px 64px 64px 40px;
    display: flex;
    align-items: center;
    gap: 64px;
    height: 503px;
    color: #fff;
    flex: 1;
  }
  
  .pill-section .hp-v4-featured-owl {
      background: #112C51 !important;
      color: #fff !important;
  }
  
  .pill-section .hp-v4-featured-owl-title {
      color: #fff !important; 
  }
  
  .pill-section  .hp-v4-featured-owl .item a::before {
      background: url(/wp-content/themes/ppt/img/arrow_yellow.png) no-repeat center center !important;
  }
  
.pill-section .hp-v4-featured-owl .item a::before, .hp-v4-featured-owl .item a::after {
    width: 72px !important;
}
  .pill-section  .hp-v4-featured-owl .item a::after {
      background: url(/wp-content/themes/ppt/img/arrow_yellow.png) no-repeat center center !important;
  
  }
  
  .pill-section  .hp-v4-featured-owl-title strong {
      font-family: Raleway;
      font-size: 12px;
      font-style: normal;
      font-weight: 700;
      line-height: 100%;
      letter-spacing: 1.2px;
      padding-bottom: 16px;
      display: inline-block;
  }
  .pill-section .hp-v4-featured-owl .owl-dots .owl-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #fff;
      opacity: 0.5;
      transition: 0.2s ease-in-out;
  }
  .pill-section .hp-v4-featured-owl .owl-dots .owl-dot.active {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #fff;
      opacity: 1;
      transition: 0.2s ease-in-out;
  }
  .pill-section .hp-v4-featured-hold {
      margin-top: 64px;
      margin-bottom: 20px;
  }
    @media (max-width: 800px) {
        .pill-section .hp-v4-featured-hold {
      margin-top: 40px;
  }
    }
  .pill-section::after  {
      content: '';
      width: 510px;
      height: 586px;
      background: url(/wp-content/uploads/2025/12/Pattern-01.png) no-repeat center center / contain;
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: -1;
  }
  .pill-section {
    position: relative;
  }
  

  


