/* slider */
  .slider-container {
      display: flex;
      max-width: 1320px;
      margin: auto;
      background: #fff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);

    }
section#casestudyslider {
    padding: 50px 0;
}
    /* Left progress column */
    .progress-column {
      position: relative;
      width: 100px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .progress-line {
      position: absolute;
      top: 30px;
      bottom: 30px;
      width: 3px;
      background: #d1d5db; /* gray */
      left: 50%;
      transform: translateX(-50%);
      border-radius: 3px;
    }

    .progress-bar {
      position: absolute;
      top: 30px;
      width: 3px;
      background: #11275d; /* blue */
      left: 50%;
      transform: translateX(-50%);
      height: 0;
      transition: height 0.5s ease;
      border-radius: 3px;
    }

    /* navigation buttons move with progress */
    .nav-btn {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border: 1px solid #e5e7eb;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        /* padding: 8px; */
        display: block;
        cursor: pointer;
        color: #1e3a8a;
        font-size: 24px;
        transition: background 0.3s ease, top 0.5s ease;
        z-index: 5;
        height: 34px;
        width: 34px;
        display: flex;
    }
    button#nextBtn {
        left: 76px;
    }
    button#prevBtn {
     left: 24px;
    }
    button#nextBtn:after,button#prevBtn:after{
        content: unset;
    }

    .nav-btn:hover {
      background: #f1f5f9;
    }

    .swiper {
      flex: 1;
    }

    .slide-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      padding: 40px;
      align-items: center;

    }

    .text-block p.subtitle {
      font-size: 14px;
      font-weight: 600;
      color: #6b7280;
      margin: 0;
    }

    .text-block h2 {
      font-size: 28px;
      font-weight: 700;
      margin: 10px 0;
      color: #111827;
    }

    .text-block a {
      display: inline-block;
      margin-top: 8px;
      font-weight: 600;
      color: #11275d;
      text-decoration: underline !important;
    }

    .text-block p.desc {
      margin-top: 12px;
      color: #4b5563;
      line-height: 1.6;
    }

    .image-block img {
      width: 100%;
      height: 350px;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    @media(max-width: 768px) {
      .slide-content {
        grid-template-columns: 1fr;
      }
      .image-block img {
        height: 250px;
      }
    }