/* ===============================
   ✨ MODERN SERVICE PROVIDER UI
================================*/

.bg-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 15px;
    border-radius: 12px;
  }
  
  /* ---- Modern Card ---- */
  .card {
    position: relative;
    padding: 25px 20px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    max-width: 320px;
    flex: 1 1 300px;
    transition: all 0.35s ease;
    overflow: hidden;
  }
  
  .card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  }
  
  /* ---- Header Badge ---- */
  .service_provider_card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .service_provider_card span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 50px;
    background: linear-gradient(135deg, #00c853, #b2ff59);
    color: #fff;
    box-shadow: 0 0 6px rgba(0, 200, 83, 0.4);
  }
  
  /* ---- Image ---- */
  .rounded-circle {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 4px solid #f1f1f1;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.15);
    transition: all 0.3s ease;
  }
  
  .rounded-circle:hover {
    transform: scale(1.05);
  }
  
  /* ---- Name & Speciality ---- */
  .card h5 {
    margin-top: 15px;
    color: #212529;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
  }
  
  .card p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 3px;
  }
  
  /* ---- Button ---- */
  .card a {
    display: inline-block;
    margin-top: 10px;
    background: linear-gradient(135deg, #007bff, #00bcd4);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 50px;
    transition: 0.3s ease;
  }
  
  .card a:hover {
    background: linear-gradient(135deg, #0056b3, #0097a7);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  }
  
  /* ---- Pagination ---- */
  .pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .pagination a {
    background: linear-gradient(135deg, #007bff, #00bcd4);
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.25);
  }
  
  .pagination a:hover,
  .pagination a.active-button {
    background: linear-gradient(135deg, #28a745, #00e676);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
    transform: translateY(-2px);
  }
  
  /* ---- Scroll button ---- */
  .btn-down {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
    background: linear-gradient(135deg, #007bff, #00bcd4);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 22px;
    text-align: center;
    line-height: 45px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn-down:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.5);
  }
  
  /* ---- Responsive ---- */
  @media (max-width: 768px) {
    .bg-blue {
      justify-content: center;
    }
    .card {
      flex: 1 1 45%;
    }
  }
  
  @media (max-width: 480px) {
    .card {
      flex: 1 1 100%;
    }
    .pagination a {
      padding: 8px 12px;
      font-size: 0.9rem;
    }
  }
  