/* ==========================================================================
   KADAPLAMATTOM COMMUNITY SERVICE EXCHANGE & INTERMEDIARY STYLES
   ========================================================================== */

/* Page Header & Breadcrumbs (Redesigned with Background Image & Showcase Card) */
.service-header-hero {
  position: relative;
  background-color: #052616;
  background-image: 
    linear-gradient(135deg, rgba(3, 26, 15, 0.93) 0%, rgba(6, 44, 25, 0.88) 45%, rgba(9, 65, 36, 0.82) 100%),
    radial-gradient(circle at 85% 22%, rgba(212, 175, 55, 0.24) 0%, transparent 50%),
    radial-gradient(circle at 12% 85%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    url('assets/services_hero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 4.75rem 0 5.25rem;
  overflow: hidden;
  box-shadow: inset 0 -30px 45px rgba(2, 18, 10, 0.45);
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(2, 18, 10, 0.48) 100%);
  pointer-events: none;
  z-index: 1;
}

.service-hero-container {
  position: relative;
  z-index: 3;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.88fr;
  gap: 3.25rem;
  align-items: center;
}

/* Breadcrumb */
.service-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}

.service-breadcrumb a {
  color: #f6e27a;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.service-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-separator {
  font-size: 0.65rem;
  opacity: 0.6;
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}

/* Intermediary Trust Highlights Banner */
.intermediary-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.42rem 0.95rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}

.trust-badge-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(246, 226, 122, 0.5);
}

.trust-badge-pill i {
  color: #f6e27a;
  font-size: 0.9rem;
}

/* Titles */
.service-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 1.15rem;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.service-hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  line-height: 1.72;
  margin-bottom: 1.85rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Hero Action Buttons */
.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.btn-hub-gold {
  background: linear-gradient(135deg, #d4af37 0%, #f6e27a 50%, #cb9b2b 100%);
  color: #06341f;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.92rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.42);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hub-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
  color: #042415;
}

.btn-gold-arrow {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.btn-hub-gold:hover .btn-gold-arrow {
  transform: translateX(4px);
}

.btn-hub-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.88rem 1.55rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-hub-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-hub-outline i {
  color: #f6e27a;
}

/* Trust Reassurance Chips */
.service-hero-guarantees {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.guarantee-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.guarantee-chip i {
  color: #55e69d;
  font-size: 0.9rem;
}

.guarantee-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

/* Glass Showcase Card (Right Column) */
.service-hero-showcase {
  position: relative;
}

.service-showcase-card {
  background: rgba(6, 36, 20, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-showcase-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.showcase-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.showcase-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.showcase-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), rgba(246, 226, 122, 0.12));
  border: 1px solid rgba(246, 226, 122, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f6e27a;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.showcase-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  line-height: 1.25;
}

.showcase-subtitle {
  font-size: 0.78rem;
  color: #55e69d;
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.showcase-badge {
  background: rgba(246, 226, 122, 0.15);
  color: #f6e27a;
  border: 1px solid rgba(246, 226, 122, 0.35);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.3px;
}

.showcase-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}

.showcase-item-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.2s ease;
}

.showcase-item-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(246, 226, 122, 0.45);
  transform: translateY(-2px);
}

.showcase-item-pill i {
  color: #f6e27a;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.showcase-impact-box {
  background: rgba(0, 0, 0, 0.28);
  border-left: 3px solid #d4af37;
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  margin-bottom: 1.2rem;
  position: relative;
}

.showcase-impact-box p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-style: italic;
}

.quote-icon {
  color: #d4af37;
  font-size: 0.75rem;
  margin-right: 0.35rem;
  opacity: 0.85;
}

.showcase-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.showcase-card-btn:hover {
  background: rgba(246, 226, 122, 0.22);
  border-color: #f6e27a;
  color: #f6e27a;
  transform: translateY(-1px);
}

/* Wave Divider */
.service-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.service-hero-wave svg {
  width: 100%;
  height: 38px;
  display: block;
}

.btn-hub-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

/* Intermediary Explainer Bar */
.intermediary-info-ribbon {
  background: #ffffff;
  border-bottom: 1px solid rgba(10, 77, 46, 0.1);
  padding: 1.25rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.info-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.ribbon-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.step-num-circle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-subtle, #e8f4ed);
  color: var(--primary, #0a4d2e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.step-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main, #192a20);
  margin-bottom: 0.15rem;
}

.step-text p {
  font-size: 0.82rem;
  color: var(--text-muted, #57685d);
  line-height: 1.4;
}

/* ==========================================================================
   2-COLUMN DIRECTORY LAYOUT (FILTERS LEFT, CONTENT RIGHT)
   ========================================================================== */
.services-main-layout {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.services-layout-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.25rem;
  align-items: start;
}

/* Sticky Left Sidebar Filters */
.services-sidebar-filter {
  position: sticky;
  top: 90px;
}

.sidebar-filter-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(10, 77, 46, 0.12);
  box-shadow: 0 10px 30px rgba(10, 77, 46, 0.06);
  padding: 1.5rem;
}

.sidebar-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid #edf2ef;
}

.sidebar-filter-header h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark, #06341f);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.sidebar-filter-header h4 i {
  color: var(--primary, #0a4d2e);
}

.btn-reset-filters {
  background: none;
  border: none;
  color: #137547;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-reset-filters:hover {
  background: #e8f4ed;
}

.sidebar-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-mobile-close-btn {
  display: none;
}

.btn-apply-mobile-filter {
  display: none;
}

.mobile-filter-bar {
  display: none;
}

.sidebar-filter-group {
  margin-bottom: 1.25rem;
}

.sidebar-filter-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.45rem;
}

.sidebar-search-wrap {
  position: relative;
}

.sidebar-search-wrap i {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.9rem;
}

.sidebar-search-wrap input {
  width: 100%;
  padding: 0.75rem 0.85rem 0.75rem 2.4rem;
  border: 1.5px solid #d1ded6;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s;
  background: #ffffff;
  color: #1e293b;
}

.sidebar-search-wrap input:focus {
  border-color: var(--primary, #0a4d2e);
  box-shadow: 0 0 0 3px rgba(10, 77, 46, 0.12);
}

.sidebar-select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1.5px solid #d1ded6;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  background: #ffffff;
  color: #1e293b;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sidebar-select:focus {
  border-color: var(--primary, #0a4d2e);
}

.sidebar-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar-category-list::-webkit-scrollbar {
  width: 5px;
}
.sidebar-category-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.sidebar-cat-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: #f8faf9;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.sidebar-cat-item .cat-item-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-cat-item .cat-item-left i {
  font-size: 0.95rem;
  color: #137547;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-cat-item .cat-title-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-cat-item:hover {
  background: #e8f5ed;
  color: #06341f;
  border-color: rgba(19, 117, 71, 0.2);
}

.sidebar-cat-item.active {
  background: linear-gradient(135deg, #0a4d2e, #137547);
  color: #ffffff;
  font-weight: 700;
  border-color: #0a4d2e;
  box-shadow: 0 4px 12px rgba(10, 77, 46, 0.2);
}

.sidebar-cat-item.active .cat-item-left i {
  color: #f6e27a;
}

.sidebar-cat-item.active .cat-count-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.cat-count-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-cta-box {
  background: linear-gradient(135deg, #06341f, #0a4d2e);
  color: #ffffff;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  margin-top: 1.5rem;
}

.sidebar-cta-box i {
  font-size: 1.75rem;
  color: #f6e27a;
  margin-bottom: 0.5rem;
}

.sidebar-cta-box h5 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.sidebar-cta-box p {
  font-size: 0.8rem;
  color: #e2f0e7;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

/* Provider Cards Grid in Right Area */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.provider-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(10, 77, 46, 0.12);
  box-shadow: 0 4px 16px rgba(10, 77, 46, 0.05);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(10, 77, 46, 0.12);
  border-color: rgba(10, 77, 46, 0.25);
}

.card-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.trade-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-subtle, #e8f4ed);
  color: var(--primary, #0a4d2e);
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.avail-pill.available {
  background: #e6f7ec;
  color: #137547;
}

.avail-pill.busy {
  background: #fff3e0;
  color: #d97706;
}

.dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.provider-profile-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.avatar-circle {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a4d2e, #137547);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(10, 77, 46, 0.15);
}

.provider-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main, #192a20);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.provider-code-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #57685d);
  letter-spacing: 0.03em;
}

.provider-specs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: var(--bg-light, #f3f7f4);
  border-radius: 8px;
  padding: 0.65rem;
  margin-bottom: 1rem;
  text-align: center;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main, #192a20);
}

.spec-val.rating {
  color: #cb9b2b;
}

.spec-lbl {
  font-size: 0.68rem;
  color: var(--text-muted, #57685d);
  font-weight: 600;
}

.provider-details-list {
  font-size: 0.85rem;
  color: var(--text-muted, #57685d);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.detail-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

.detail-line i {
  color: var(--primary, #0a4d2e);
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

/* Prominently Visible Mobile Phone Box (No Amount) */
.provider-phone-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: #166534;
}

.provider-phone-box i {
  color: #16a34a;
  font-size: 1rem;
}

.provider-phone-link {
  color: #166534;
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.provider-phone-link:hover {
  text-decoration: underline;
}

/* Dual Action Buttons: Direct Call & WhatsApp */
.provider-actions-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.btn-prov-call {
  background: #0a4d2e;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(10, 77, 46, 0.2);
  transition: all 0.2s ease;
}

.btn-prov-call:hover {
  background: #06341f;
  transform: translateY(-2px);
}

.btn-prov-wa {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
  transition: all 0.2s ease;
}

.btn-prov-wa:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

/* Service Request Intermediary Button ("Do It Both") */
.btn-prov-request {
  width: 100%;
  background: #ffffff;
  color: var(--primary, #0a4d2e) !important;
  border: 1.5px solid var(--primary, #0a4d2e);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-prov-request:hover {
  background: #f0f7f3;
  border-color: #06341f;
  color: #06341f !important;
  transform: translateY(-1px);
}

/* Modals & Intermediary Form Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 35, 20, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-box.modal-lg {
  max-width: 850px;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header-hub {
  background: linear-gradient(135deg, #0a4d2e, #137547);
  color: #ffffff;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-header-hub h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.modal-header-hub p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body-hub {
  padding: 1.75rem;
  overflow-y: auto;
}

/* Intermediary Success / Unlocked Contact Box */
.contact-revealed-box {
  background: #fbfdfa;
  border: 2px solid #137547;
  border-radius: 14px;
  padding: 1.6rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.success-icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f4ed;
  color: #137547;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.req-ref-badge {
  display: inline-block;
  background: #f6e27a;
  color: #06341f;
  font-weight: 800;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.04em;
}

.worker-direct-contact {
  background: #ffffff;
  border: 1px solid rgba(10, 77, 46, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  margin: 1.25rem 0;
  text-align: left;
}

.direct-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-call {
  background: #0a4d2e;
  color: #ffffff;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-call:hover {
  background: #137547;
  color: #fff;
}

.btn-wa {
  background: #25D366;
  color: #ffffff;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-wa:hover {
  background: #1eb956;
  color: #fff;
}

/* Intermediary Tracking Timeline */
.timeline-list {
  position: relative;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: #e0e7e3;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.25rem;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a4d2e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #0a4d2e;
}

/* Admin Table & Badges */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat-card {
  background: #f3f7f4;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(10, 77, 46, 0.1);
}

.admin-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0a4d2e;
}

.admin-stat-lbl {
  font-size: 0.75rem;
  color: #57685d;
  font-weight: 600;
}

.admin-table-responsive {
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-data-table th {
  background: #0a4d2e;
  color: #fff;
  padding: 0.75rem 0.9rem;
  text-align: left;
  font-weight: 600;
}

.admin-data-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid #e8ece9;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge.new {
  background: #e0f2fe;
  color: #0369a1;
}

.status-badge.intermediary_contacted {
  background: #fef3c7;
  color: #b45309;
}

.status-badge.worker_assigned {
  background: #f3e8ff;
  color: #7e22ce;
}

.status-badge.in_progress {
  background: #ffedd5;
  color: #c2410c;
}

.status-badge.completed {
  background: #dcfce7;
  color: #15803d;
}

.status-badge.cancelled {
  background: #fee2e2;
  color: #b91c1c;
}

/* Responsive adjustments for 2-Column Directory Layout & Mobile Fullpage Popup Filter */
@media (max-width: 992px) {
  .services-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .mobile-filter-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid rgba(10, 77, 46, 0.12);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(10, 77, 46, 0.05);
  }

  .btn-open-mobile-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0a4d2e, #137547);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.15rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(10, 77, 46, 0.2);
    transition: transform 0.2s ease;
  }

  .btn-open-mobile-filter:hover {
    transform: translateY(-1px);
  }

  .mobile-filter-badge {
    background: #f6e27a;
    color: #06341f;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-filter-summary {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-align: right;
  }

  /* Mobile Fullpage Popup Drawer */
  .services-sidebar-filter {
    display: none;
  }

  .services-sidebar-filter.mobile-open {
    display: flex !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    background: rgba(5, 25, 15, 0.72) !important;
    backdrop-filter: blur(6px) !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    animation: fadeInBg 0.25s ease;
  }

  .services-sidebar-filter.mobile-open .sidebar-filter-card {
    width: 100% !important;
    max-width: 600px !important;
    height: 88vh !important;
    max-height: 88vh !important;
    border-radius: 24px 24px 0 0 !important;
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 1.25rem 1.5rem !important;
    overflow: hidden !important;
    animation: slideUpPopup 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: #ffffff !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.3) !important;
  }

  .sidebar-filter-content-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-category-list {
    max-height: 300px !important;
  }

  .sidebar-mobile-close-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f3;
    border: none;
    font-size: 1.5rem;
    color: #334155;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s;
  }

  .sidebar-mobile-close-btn:hover {
    background: #e2e8e5;
  }

  .btn-apply-mobile-filter {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #0a4d2e, #137547);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(10, 77, 46, 0.25);
    flex-shrink: 0;
  }

  .btn-apply-mobile-filter:hover {
    background: #06341f;
  }
}

@keyframes slideUpPopup {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeInBg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .service-hero-title {
    font-size: 2.2rem;
  }
  .service-hero-subtitle {
    max-width: 100%;
  }
  .service-showcase-card {
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .service-header-hero {
    padding: 2.25rem 0 3.75rem !important;
    text-align: center;
    background-position: center 20%;
  }
  .service-breadcrumb {
    justify-content: center;
  }
  .intermediary-pills-bar {
    justify-content: center;
    gap: 0.5rem !important;
  }
  .trust-badge-pill {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.75rem !important;
  }
  .service-hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  .service-hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin: 0 auto 1.5rem !important;
  }

  /* 2 Action Buttons on Mobile */
  .service-hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin: 0 auto 1.25rem !important;
  }

  .btn-hub-gold, .btn-hub-outline {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    white-space: normal !important;
    text-align: center !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .service-hero-guarantees {
    justify-content: center;
    font-size: 0.78rem;
    gap: 0.5rem;
  }

  .service-showcase-card {
    padding: 1.25rem;
    text-align: left;
  }

  .showcase-items-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .info-ribbon {
    padding: 1rem 0 !important;
  }
  .info-ribbon-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .ribbon-step {
    padding: 0.65rem 0.85rem !important;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(10, 77, 46, 0.08);
  }

  .service-filter-wrapper {
    padding: 1rem !important;
    margin: -1.5rem 0 1.75rem !important;
    border-radius: 14px !important;
  }
  .filter-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
  }
  .search-input-group, .locality-select-group {
    width: 100% !important;
    flex: none !important;
  }
  .filter-row .btn-outline {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Horizontal touch scrolling for category pills */
  .category-pills-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    scrollbar-width: none !important;
  }
  .category-pills-bar::-webkit-scrollbar {
    display: none !important;
  }
  .category-pill {
    flex-shrink: 0 !important;
    font-size: 0.82rem !important;
    padding: 0.5rem 0.85rem !important;
  }

  /* Providers Grid */
  .providers-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .provider-card {
    padding: 1.25rem !important;
  }
  .provider-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .provider-rate-badge {
    margin-left: 0 !important;
  }

  /* Modals Mobile Fixes */
  .modal-overlay {
    padding: 0.5rem !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
  }
  .modal-box {
    width: 96% !important;
    max-width: 96% !important;
    margin: 1rem auto !important;
    max-height: calc(100vh - 2rem) !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .modal-header-hub {
    padding: 0.9rem 1.15rem !important;
    flex-shrink: 0 !important;
  }
  .modal-header-hub h3 {
    font-size: 1.15rem !important;
  }
  .modal-header-hub p {
    font-size: 0.78rem !important;
  }
  .modal-body-hub {
    padding: 1.15rem !important;
    max-height: calc(100vh - 7rem) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .modal-body-hub form > div[style*="grid-template-columns"],
  .modal-body-hub div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 420px) {
  .service-hero-actions {
    grid-template-columns: 1fr !important;
  }
}

