
      /* ============================================
        CSS for the Sleek & Responsive Carousel
        ============================================
      */

      /* Main container for the scrolling section */
      .carousel-container {
        position: relative;
        width: 82%;
        margin: 0 auto;
        margin-top: 2rem;
      }

      /* The element that masks the scrolling wrapper */
      .carousel-mask {
        background-color: #f3f3f3;
        padding-top: 6px;
        padding-bottom: 6px;
        overflow: hidden;
        position: relative;
        /* A subtle fade effect on the edges for desktop */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
      }

      /* The element that actually scrolls */
      .scrolling-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 0 1rem; /* Add padding to see the fade effect */
      }

      /* The individual card */
      .job-card {
        flex: 0 0 250px; 
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(44, 55, 71, 0.08); /* Refined shadow */
        border: 1px solid #e9eef4;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-top: 4px solid transparent; 
      }

      .job-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(44, 55, 71, 0.12);
      }

      /* --- Card Color Variants --- */
      .job-card.color-red { border-top-color: #D32F2F; }
      .job-card.color-green { border-top-color: #388E3C; }
      .job-card.color-orange { border-top-color: #F57C00; }
      .job-card.color-blue { border-top-color: #0288D1; }
      .job-card.color-purple { border-top-color: #512DA8; }
      .job-card.color-pink { border-top-color: #C2185B; }
      .job-card.color-teal { border-top-color: #00796B; }
      .job-card.color-dark { border-top-color: #2C3E50; }

      .btn-red { background-color: #D32F2F; }
      .btn-green { background-color: #388E3C; }
      .btn-orange { background-color: #F57C00; }
      .btn-blue { background-color: #0288D1; }
      .btn-purple { background-color: #512DA8; }
      .btn-pink { background-color: #C2185B; }
      .btn-teal { background-color: #00796B; }
      .btn-dark { background-color: #2C3E50; }


      /* Header section of the card */
      .card-header {
        display: flex;
        align-items: center;
        padding: 0.5rem;
        padding-bottom: 0;
      }

      .card-logo {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: contain;
        margin-right: 0.75rem;
        background-color: #f0f2f5;
        border: 2px solid #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        flex-shrink: 0;
      }

      .card-org-name {
        font-weight: 600;
        line-height: 1;
        font-size: 0.95rem;
        color: #1a202c;
      }

      /* Body section of the card */
      .card-body {
        padding: 0 0.75rem;
        flex-grow: 1; 
        min-height: 70px; /* Give a consistent height for description */
      }

      .card-description {
        font-size: 0.8rem;
        line-height: 1.25rem;
        margin: 0;
        color: #4a5568;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;  
        overflow: hidden;
      }

      /* Footer section of the card */
      .card-footer {
        padding: 0.5rem;
        background-color: transparent;
        border-top: 1px solid #f0f2f5; /* Lighter border */
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        text-align: center;
      }

      .card-link {
        text-decoration: none;
        padding:3px 8px; 
        border-radius: 4px;
        color: white; 
        font-weight: 600;
        font-size: 0.85rem;
        transition: color 0.2s ease;
      }

      .card-link:hover {
        color: #ffeabe;
      }
      
      /* Navigation Arrows for Desktop */
      .scroll-arrow {
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(4px);
        border: 1px solid #e5eaf1;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: all 0.2s ease;
        color: #334155;
      }
      .scroll-arrow:hover {
        transform: translateY(-50%) scale(1.1);
        background-color: #ffffff;
      }
      .scroll-arrow.left {
        left: -5px;
      }
      .scroll-arrow.right {
        right: -5px;
      }
      .scroll-arrow i {
        font-size: 1rem;
      }
      
      /* Scroll Indicators */
      .carousel-indicators {
        text-align: center;
        margin-top: 1rem;
      }

      .indicator-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #cbd5e1;
        border-radius: 50%;
        margin: 0 4px;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .indicator-dot.active {
        background-color: var(--secondary);
        transform: scale(1.25);
        width: 20px; /* Elongated active dot */
        border-radius: 5px;
      }

      /* =================================== */
      /* MOBILE RESPONSIVE STYLES           */
      /* =================================== */
      @media (max-width: 768px) {
        .carousel-container{
          width: 95%;
          margin-top: 1rem;
        }
        .scroll-arrow {
          display: none; /* Hide arrows on mobile, rely on swipe */
        }
        .job-card {
           flex-basis: 200px; /* Show 2 cards with a peek of the 3rd */
        }
        .carousel-mask {
          background-color: unset;
            /* Only fade the right edge on mobile to show there's more to scroll */
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 85%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, black 10%, black 85%, transparent 100%);
        }
        .scrolling-wrapper {
            /* Add padding to the sides so cards don't touch the edge */
            padding: 0 1rem;
        }
      }
      
      @media (max-width: 500px) {
        .card-logo {
            width: 24px;
            height: 24px;
            margin-right: 0.15rem;
        }
        .job-card {
           flex-basis: 100px; /* Show 1.5 cards on smaller phones */
        }
        .card-header{
          padding: 0.2rem;
        }
        .card-body{
          min-height: unset;
          max-height: 30px;
          padding: 0 0.5rem;
        }
        .indicator-dot{
          height: 6px;
          width: 6px;
          margin: 0 3px;
        }
        .indicator-dot.active{
          width: 10px;
        }
        .card-footer{
          padding:0 0 0.3rem 0;
          line-height: 1;
        }
        .scrolling-wrapper{
            gap: 0.3rem;
        }
        .scroll-arrow{
          width: 24px;
          height: 24px;
          display: flex;
          i {
            font-size: 0.8rem;
          }
        }
        .carousel-indicators {
            margin-top: 0rem;
        }
        .card-org-name { font-size: 0.6rem; }
        .card-description { 
          font-size: 0.5rem;
          line-height: 1;
          -webkit-line-clamp: 3;
        }
        .card-link { 
          font-size: 0.5rem;
          padding:1px 4px;
          border-radius: 4px;
        }
      }
