/* ============================================
   oakwoodcarehomeorg - Main Stylesheet
   ============================================ */

:root {
  --navy: #1a3b5d;
  --navy-dark: #0f2a44;
  --navy-light: #2c5282;
  --green: #7ac142;
  --green-dark: #5f9e2f;
  --green-light: #93d462;
  --green-soft: rgba(122,193,66,0.1);
  --gold: #f5a623;
  --gold-light: #ffd700;
  --light-grey: #f5f7fa;
  --grey-border: #e8ecf1;
  --text-dark: #2d3748;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(26,59,93,0.05);
  --shadow-md: 0 8px 24px rgba(26,59,93,0.1);
  --shadow-lg: 0 16px 48px rgba(26,59,93,0.12);
  --shadow-xl: 0 24px 64px rgba(26,59,93,0.14);
  --shadow-card: 0 2px 12px rgba(26,59,93,0.06);
  --shadow-card-hover: 0 16px 40px rgba(26,59,93,0.14);
  --gradient-navy: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  --gradient-green: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  --gradient-soft: linear-gradient(180deg, #fafbfc 0%, var(--light-grey) 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
body.no-select input,
body.no-select textarea,
body.no-select select,
body.no-select [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
body.no-select img {
  -webkit-user-drag: none;
  user-drag: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }

/* ===== UTILITY ===== */
.text-green { color: var(--green) !important; }
.text-navy { color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-secondary) !important; }
.bg-light { background: var(--light-grey) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-green { background: var(--green) !important; }

.btn-green {
  background: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
  padding: 10px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(122,193,66,0.3);
}
.btn-green-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 10px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-green-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-white-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-1px);
}

/* Pulse Animation */
.pulse {
  animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Card Hover Lift */
.card-lift {
  transition: all var(--transition);
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover) !important;
}

/* ===== UI CARD BASE ===== */
.ui-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: all var(--transition);
}
.ui-card:hover {
  box-shadow: var(--shadow-md);
}
.content-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-card);
  padding: 32px;
  margin-bottom: 32px;
  transition: all var(--transition);
}
.content-card:last-child { margin-bottom: 0; }
.content-card .content-card-title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--light-grey);
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-card .content-card-title i {
  color: var(--green);
  font-size: 1.1rem;
}

/* Stat Mini Cards */
.stat-mini-card {
  background: var(--gradient-soft);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
}
.stat-mini-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.stat-mini-card .stat-value {
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--navy);
  line-height: 1.2;
}
.stat-mini-card .stat-desc {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

/* Star Rating */
.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 14px;
}
.stars-lg { font-size: 18px; }

/* Section spacing */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 40px 0; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  padding: 8px 0;
}
.top-bar a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
.top-bar a:hover { color: var(--white); }
.top-bar .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 13px;
  transition: all var(--transition);
}
.top-bar .social-icon:hover {
  background: var(--green);
  color: var(--white);
}

/* ===== NAVBAR ===== */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  padding: 0;
  transition: box-shadow var(--transition);
}
.main-nav > .container {
  min-height: 88px;
}
.main-nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 1rem;
  padding: 0;
  color: var(--navy) !important;
}
.navbar-brand.site-logo {
  padding: 10px 0;
  margin-right: 1.5rem;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 0;
  flex-shrink: 0;
}
.site-logo:hover {
  text-decoration: none;
  color: inherit;
  opacity: 0.92;
}
.site-logo__image {
  display: block;
  width: auto;
  height: 72px;
  max-width: min(420px, 58vw);
  object-fit: contain;
  object-position: left center;
}
.site-logo--header .site-logo__image {
  height: 72px;
  max-width: min(420px, 58vw);
}
.site-logo--footer .site-logo__image {
  height: 60px;
  max-width: min(360px, 85vw);
}
.site-logo--auth {
  display: flex;
  justify-content: center;
  width: 100%;
}
.site-logo--auth .site-logo__image {
  height: 88px;
  max-width: min(380px, 88vw);
  margin: 0 auto;
}
.site-logo--footer {
  margin-bottom: 20px;
}
.navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}
.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 16px 16px !important;
  position: relative;
  transition: color var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--green) !important;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--green);
  border-radius: 3px 3px 0 0;
}
.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin-top: 4px;
}
.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dark);
  transition: all var(--transition);
}
.dropdown-item:hover {
  background: var(--light-grey);
  color: var(--green);
}
.navbar .btn-green,
.navbar .btn-green-outline {
  padding: 8px 20px;
  font-size: 14px;
}
.main-nav .navbar-collapse {
  align-items: center;
}
.main-nav .nav-actions {
  position: relative;
  z-index: 2;
}
@media (min-width: 992px) {
  .main-nav .navbar-collapse {
    position: relative;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .main-nav .navbar-nav .nav-link {
    white-space: nowrap;
  }
}
@media (max-width: 1200px) and (min-width: 992px) {
  .main-nav .navbar-nav .nav-link {
    padding: 16px 10px !important;
    font-size: 15px;
  }
  .navbar .btn-green,
  .navbar .btn-green-outline {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Mobile Nav */
.navbar-toggler {
  border: none;
  padding: 8px;
  font-size: 24px;
  color: var(--navy);
}
.navbar-toggler:focus { box-shadow: none; }
.offcanvas-header {
  align-items: center;
  gap: 12px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--grey-border);
}
.offcanvas-header .site-logo {
  flex: 1;
  min-width: 0;
}
.offcanvas-header .site-logo--header .site-logo__image {
  height: 58px;
  max-width: min(320px, 62vw);
}
.offcanvas-header .btn-close { font-size: 14px; flex-shrink: 0; }

/* ===== HERO ===== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/about-mission.png') center/cover no-repeat;
  opacity: 0.3;
}
.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,59,93,0.85), rgba(15,42,68,0.9));
}
.hero-section .container { position: relative; z-index: 2; }
.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.65;
}
.hero-search-card {
  background: rgba(255,255,255,0.98);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 32px;
  max-width: 840px;
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
}
.hero-search-card .form-select,
.hero-search-card .form-control {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 16px;
  height: auto;
}
.hero-search-card .form-select:focus,
.hero-search-card .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(122,193,66,0.15);
}
.hero-search-card .btn-green {
  padding: 14px 32px;
  font-size: 16px;
  height: 100%;
  width: 100%;
  justify-content: center;
}
.browse-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.browse-links .pill-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.browse-links .pill-link:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== STATS BAR ===== */
.stats-section {
  padding: 28px 0;
  background: linear-gradient(180deg, var(--light-grey) 0%, var(--white) 100%);
}
.stats-bar {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  min-height: 68px;
  transition: background var(--transition);
}
.stat-card:not(:last-child) {
  border-right: 1px solid var(--grey-border);
}
.stat-card:hover {
  background: rgba(122, 193, 66, 0.05);
}
.stat-card-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--green);
  background: var(--green-soft);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.stat-card:hover .stat-card-icon {
  background: var(--gradient-green);
  color: var(--white);
  transform: scale(1.05);
}
.stat-card-content {
  min-width: 0;
}
.stat-card .stat-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== HOW IT WORKS ===== */
.how-it-works .step-card {
  text-align: center;
  padding: 48px 28px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.how-it-works .step-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-green);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.how-it-works .step-card:hover::after { transform: scaleX(1); }
.how-it-works .step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(122,193,66,0.25);
}
.how-it-works .step-icon {
  width: 80px;
  height: 80px;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--green);
  margin: 0 auto 24px;
  transition: all var(--transition);
}
.how-it-works .step-card:hover .step-icon {
  background: var(--gradient-green);
  color: var(--white);
  transform: scale(1.08) rotate(-3deg);
}
.how-it-works .step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: var(--gradient-navy);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

/* ===== REVIEW CARDS ===== */
.review-section { background: var(--light-grey); }
.review-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
  padding: 28px;
  position: relative;
  transition: all var(--transition);
  height: 100%;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--green-soft);
  font-family: Georgia, serif;
  pointer-events: none;
}
.review-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(122,193,66,0.2);
}
.review-card .review-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 16px;
  flex-shrink: 0;
}
.review-card .review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.review-card .review-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 15px;
}
.review-card .review-date {
  color: var(--text-light);
  font-size: 13px;
}
.review-card .review-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}
.review-card .review-text .read-more {
  color: var(--green);
  font-weight: 500;
}
.review-card .google-badge {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.review-card .google-badge i {
  color: #4285F4;
}
.review-filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  white-space: normal;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.4;
}
.review-filter-btn .filter-label {
  flex: 1;
  min-width: 0;
}
.review-filter-btn .badge {
  flex-shrink: 0;
}
.review-card .google-badge img {
  height: 16px;
  vertical-align: middle;
}

/* Reviews listing page */
.reviews-page {
  background: var(--light-grey);
}
.reviews-page .reviews-layout {
  align-items: flex-start;
}
.reviews-page .review-filter-panel {
  padding: 24px;
  margin-bottom: 0;
}
.reviews-page .review-filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reviews-page .reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reviews-page .review-list-item {
  height: auto;
  width: 100%;
  margin-bottom: 0;
}
.reviews-page .review-list-item::before {
  font-size: 3rem;
  top: 12px;
  right: 20px;
}
.reviews-page .reviews-cta {
  margin-top: 8px;
  padding-top: 24px;
}
.reviews-page .review-filter-panel.sticky-top {
  top: 100px;
}
.reviews-page .review-list-item {
  scroll-margin-top: 120px;
}

/* ===== PROVIDER CARDS ===== */
.provider-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.provider-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(122,193,66,0.25);
}
.provider-card .provider-image-wrap {
  position: relative;
  overflow: hidden;
}
.provider-card .provider-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--light-grey);
  transition: transform 0.5s ease;
}
.provider-card:hover .provider-image { transform: scale(1.05); }
.provider-card .provider-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.provider-card .provider-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 2px solid var(--grey-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--navy);
  margin-top: -40px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.provider-card .provider-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 18px;
}
.provider-card .provider-location {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
}
.provider-card .provider-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 12px;
}
.provider-card .provider-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}
.provider-card .badge-provider {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.badge-provider.outstanding { background: #d4edda; color: #155724; }
.badge-provider.good { background: #cce5ff; color: #004085; }
.badge-provider.experience { background: #fff3cd; color: #856404; }

/* ===== CARE CATEGORIES ===== */
.category-tile {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.category-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-green);
  opacity: 0;
  transition: opacity var(--transition);
}
.category-tile:hover::before { opacity: 0.06; }
.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--green);
  color: inherit;
}
.category-tile .cat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--green);
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.category-tile:hover .cat-icon {
  background: var(--gradient-green);
  color: var(--white);
  transform: scale(1.08);
}
.category-tile h5 { font-size: 16px; margin: 0; font-weight: 700; position: relative; z-index: 1; }
.category-tile span { font-size: 13px; color: var(--text-secondary); position: relative; z-index: 1; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='20' cy='80' r='40' fill='rgba(255,255,255,0.05)'/%3E%3Ccircle cx='80' cy='20' r='30' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") no-repeat;
}
.cta-banner h2 {
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 800;
}
.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(122,193,66,0.25);
  color: inherit;
}
.blog-card .blog-image-wrap {
  overflow: hidden;
  position: relative;
}
.blog-card .blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-image { transform: scale(1.06); }
.blog-card .blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .blog-category {
  display: inline-block;
  padding: 5px 14px;
  background: var(--green-soft);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-card .blog-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--navy);
}
.blog-card .blog-meta {
  color: var(--text-light);
  font-size: 13px;
}
.blog-card .blog-excerpt {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}
.site-footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 16px;
}
.site-footer a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  display: block;
  padding: 4px 0;
  transition: all var(--transition);
}
.site-footer a:hover {
  color: var(--white);
  padding-left: 4px;
}
.site-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
}
.site-footer .footer-logo.site-logo {
  text-decoration: none;
  margin-bottom: 0;
}
.site-footer .footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}
.site-footer .footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.site-footer .footer-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 15px;
  margin-right: 6px;
  transition: all var(--transition);
}
.site-footer .footer-social .social-icon:hover {
  background: var(--green);
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  margin-top: 40px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a {
  display: inline;
  padding: 0;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a:hover {
  color: var(--white);
  padding: 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  margin-bottom: 56px;
}
.section-header.text-center .section-badge {
  margin-left: auto;
  margin-right: auto;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-badge i { font-size: 12px; }
.section-header h2 {
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 640px;
  line-height: 1.7;
}
.section-divider {
  width: 64px;
  height: 4px;
  background: var(--gradient-green);
  border-radius: var(--radius-full);
  margin: 16px auto 0;
}

/* ===== INNER PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/about-mission.png') center/cover no-repeat;
  opacity: 0.15;
}
.page-hero .page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,59,93,0.9), rgba(15,42,68,0.95));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.page-hero-content .breadcrumb {
  justify-content: center;
}
.page-hero-content > p,
.page-hero-content > .text-white-50 {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-actions {
  width: 100%;
  max-width: 100%;
  margin: 1.5rem auto 0;
}
.page-hero-content--article {
  max-width: 900px;
}
.page-hero-content .article-meta {
  justify-content: center;
  flex-wrap: wrap;
}
.page-hero h1 {
  color: var(--white);
  font-weight: 800;
  font-size: 2.5rem;
}
.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 12px;
}
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.page-hero .breadcrumb-item.active { color: var(--white); }
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-border);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 90px;
}
.filter-sidebar .filter-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-border);
}
.filter-sidebar .filter-section:last-child { border-bottom: none; padding-bottom: 0; }
.filter-sidebar h6 {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: var(--navy);
}
.filter-sidebar .sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin: 0 -14px;
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}
.filter-sidebar .sidebar-link:hover {
  background: var(--green-soft);
  color: var(--green-dark);
  padding-left: 18px;
}
.filter-sidebar .sidebar-link .count {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
  background: var(--light-grey);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}
.filter-sidebar .help-cta-box {
  background: var(--gradient-navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  text-align: center;
}
.filter-sidebar .help-cta-box p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 16px;
}
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,42,68,0.5);
  z-index: 9998;
  backdrop-filter: blur(4px);
}
.filter-overlay.show { display: block; }
.filter-sidebar .form-check-label {
  font-size: 14px;
  color: var(--text-secondary);
}
.filter-sidebar .star-filter {
  cursor: pointer;
  transition: opacity var(--transition);
}
.filter-sidebar .star-filter:hover { opacity: 0.8; }
.filter-sidebar .range-slider {
  width: 100%;
  accent-color: var(--green);
}
.filter-mobile-btn { display: none; }
.filter-close-btn { display: none; }
.filter-sidebar.show-mobile .filter-close-btn { display: block; }

/* ===== PROVIDER LIST CARD ===== */
.provider-list-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
  padding: 28px;
  transition: all var(--transition);
  overflow: hidden;
}
.provider-list-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(122,193,66,0.25);
}
.provider-list-card .plc-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.provider-list-card .plc-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.provider-list-card:hover .plc-image { transform: scale(1.04); }
.provider-list-card .plc-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 2px solid var(--grey-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--navy);
  box-shadow: var(--shadow-md);
  margin-top: -36px;
  margin-left: 16px;
  position: relative;
  z-index: 2;
}
.results-bar {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.provider-list-card .plc-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.25rem;
}
.provider-list-card .plc-location {
  color: var(--text-secondary);
  font-size: 14px;
}
.provider-list-card .plc-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}
.provider-list-card .plc-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== PROFILE PAGE ===== */
.profile-hero {
  position: relative;
  min-height: 350px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  overflow: hidden;
}
.profile-hero .cover-image {
  position: absolute;
  inset: 0;
  background: url('../images/about-mission.png') center/cover no-repeat;
  opacity: 0.25;
}
.profile-hero .cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,59,93,0.95) 0%, rgba(26,59,93,0.7) 100%);
}
.profile-hero .container { position: relative; z-index: 2; }
.profile-hero .profile-header {
  padding-top: 120px;
}
.profile-hero .profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 3px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.profile-hero h1 {
  color: var(--white);
  font-weight: 800;
  font-size: 2rem;
}
.profile-hero .profile-meta {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
}
.profile-nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.profile-nav .nav-link {
  padding: 16px 20px !important;
  font-size: 14px;
  white-space: nowrap;
}
.profile-nav .nav-link.active {
  color: var(--green) !important;
  background: var(--green-soft);
  border-radius: var(--radius-md);
}
.profile-section.content-card { scroll-margin-top: 100px; }

/* ===== REVIEWS TAB DISTRIBUTION ===== */
.rating-distribution .dist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}
.rating-distribution .dist-bar {
  flex: 1;
  height: 10px;
  background: var(--light-grey);
  border-radius: 10px;
  overflow: hidden;
}
.rating-distribution .dist-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 10px;
}

/* ===== JOB CARDS ===== */
.job-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-green);
  opacity: 0;
  transition: opacity var(--transition);
}
.job-card:hover::before { opacity: 1; }
.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(122,193,66,0.25);
}
.job-card .job-title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.job-card .job-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--light-grey);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--grey-border);
}
.job-filters-bar {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.employer-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
  transition: all var(--transition);
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.employer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.employer-card .employer-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  color: var(--navy);
  transition: all var(--transition);
}
.employer-card:hover .employer-icon {
  background: var(--gradient-green);
  color: var(--white);
}
.employer-card small {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 12px;
}
.job-card .job-provider {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.job-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  margin: 10px 0;
}
.job-card .job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.job-card .job-meta i { color: var(--green); }
.job-card .job-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== SERVICE CARDS (Profile) ===== */
.service-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--gradient-soft);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  height: 100%;
}
.service-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.service-card .service-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-md);
  font-size: 1.35rem;
  color: var(--green);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient-green);
  color: var(--white);
}
.service-card strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}
.service-card small {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== RATING SUMMARY ===== */
.rating-summary-card {
  background: var(--gradient-soft);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 24px;
}

/* ===== GALLERY ===== */
.gallery-grid .gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid .gallery-item:hover img { transform: scale(1.08); }

/* ===== FEATURED ARTICLE ===== */
.featured-article-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition);
}
.featured-article-card:hover {
  box-shadow: var(--shadow-card-hover);
}
.featured-article-card .featured-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.featured-article-card .featured-body {
  padding: 40px;
}
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--gradient-green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.mission-image-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mission-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.mission-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid rgba(122,193,66,0.2);
  border-radius: var(--radius-2xl);
  pointer-events: none;
}

/* ===== ARTICLE CONTENT ===== */
.article-hero-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}
.article-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-grey);
}
.article-content .lead-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.callout-box {
  background: var(--green-soft);
  border: 1px solid rgba(122,193,66,0.25);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 2rem 0;
}
.callout-box h5 {
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.callout-box ul { margin-bottom: 0; padding-left: 1.25rem; }
.callout-box li { margin-bottom: 8px; color: var(--text-secondary); }

/* ===== LEGAL PAGES ===== */
.legal-page .legal-document {
  padding: 36px 40px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--grey-border);
}
.legal-content h2 {
  scroll-margin-top: 110px;
}
.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}
.legal-content ul li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--green-dark);
}
.legal-sidebar {
  top: 100px;
}
.legal-filter-sidebar {
  position: static;
  top: auto;
}
.legal-filter-sidebar .filter-section:first-child {
  padding-top: 0;
}
.legal-filter-sidebar .sidebar-link {
  color: var(--text-dark);
}
.legal-filter-sidebar .sidebar-link:hover {
  color: var(--green-dark);
}
.legal-link-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
.page-hero--legal {
  padding-bottom: 80px;
}
.author-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-card .author-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}
.share-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--grey-border);
  background: var(--white);
  color: var(--text-secondary);
  transition: all var(--transition);
  text-decoration: none;
}
.share-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.social-share-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
  text-decoration: none;
}
.social-share-btn:hover {
  transform: translateY(-3px);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.social-share-btn.facebook { background: #1877f2; }
.social-share-btn.twitter { background: #1da1f2; }
.social-share-btn.linkedin { background: #0a66c2; }
.social-share-btn.whatsapp { background: #25d366; }

/* ===== HERO SEARCH ENHANCEMENT ===== */
.page-search-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 8px;
  backdrop-filter: blur(8px);
}
.page-search-box .form-control {
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
}
.page-search-box .btn-green {
  border-radius: var(--radius-md);
  white-space: nowrap;
}

/* ===== MAP ===== */
.map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--green);
  z-index: 9999;
  width: 0;
  transition: width 0.1s linear;
}

/* ===== FAQ ACCORDION ===== */
.faq-accordion .accordion-item {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.faq-accordion .accordion-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(122,193,66,0.3);
}
.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  padding: 20px 24px;
  background: var(--white);
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--green-soft);
  color: var(--green-dark);
  box-shadow: none;
}
.faq-intro-cards {
  margin-bottom: 48px;
}
.faq-intro-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  height: 100%;
}
.faq-intro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--green);
}
.faq-intro-card .faq-intro-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  color: var(--green-dark);
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== MODAL / AUTH ===== */
.auth-card {
  max-width: 480px;
  margin: 40px auto;
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 44px;
  border: 1px solid var(--grey-border);
}
.auth-page-bg {
  background: var(--gradient-soft);
  min-height: calc(100vh - 200px);
}
.auth-card .site-logo--auth {
  margin-bottom: 8px;
}
.auth-card .auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--grey-border);
  margin-bottom: 24px;
}
.auth-card .auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.auth-card .auth-tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.auth-card .form-control {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 15px;
}
.auth-card .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(122,193,66,0.15);
}
.auth-card .btn-green { width: 100%; justify-content: center; padding: 12px; }
.auth-card .social-btn {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
  cursor: pointer;
}
.auth-card .social-btn:hover {
  background: var(--light-grey);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grey-border);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline-item .tl-year {
  font-weight: 800;
  color: var(--green);
  font-size: 14px;
  margin-bottom: 4px;
}
.timeline-item .tl-title {
  font-weight: 700;
  color: var(--navy);
}
.timeline-item .tl-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ===== TEAM CARDS ===== */
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--grey-border);
  padding: 36px 24px;
  transition: all var(--transition);
  height: 100%;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(122,193,66,0.25);
}
.team-card .team-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-xl);
  background: var(--gradient-soft);
  border: 3px solid var(--grey-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--navy);
  margin: 0 auto 20px;
  transition: all var(--transition);
}
.team-card:hover .team-avatar {
  border-color: var(--green);
  background: var(--green-soft);
  transform: scale(1.05);
}
.team-card h5 { font-size: 17px; margin-bottom: 6px; font-weight: 700; }
.team-card .team-role { color: var(--text-secondary); font-size: 14px; font-weight: 500; }

/* ===== PAGINATION ===== */
.pagination-custom {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.pagination-custom .page-link {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 8px 16px;
  font-size: 14px;
  transition: all var(--transition);
}
.pagination-custom .page-link:hover {
  background: var(--light-grey);
  color: var(--navy);
  border-color: var(--grey-border);
}
.pagination-custom .page-item.active .page-link {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ===== CONTACT FORM ===== */
.contact-form .form-control {
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
}
.contact-form .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(122,193,66,0.15);
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-border);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.profile-sidebar {
  top: 90px;
  z-index: 10;
}
.profile-sidebar .contact-info-card {
  height: auto;
}
.contact-info-card .ci-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-border);
}
.contact-info-card .ci-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-info-card .ci-icon {
  width: 52px;
  height: 52px;
  background: var(--green-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--green-dark);
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-info-card .ci-item:hover .ci-icon {
  background: var(--gradient-green);
  color: var(--white);
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--grey-border);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.contact-form .form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-info-card .ci-label { font-weight: 600; font-size: 15px; color: var(--navy); }
.contact-info-card .ci-value { color: var(--text-secondary); font-size: 14px; }
.contact-info-card .social-profile-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-info-card .social-profile-links a {
  color: var(--green);
  text-decoration: none;
  word-break: break-word;
}
.contact-info-card .social-profile-links a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--light-grey);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  border: 1px solid var(--grey-border);
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-md);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-content h1 { font-size: 2.75rem; }
}
@media (max-width: 992px) {
  .hero-content h1 { font-size: 2.25rem; }
  .hero-section { min-height: auto; padding: 100px 0 80px; }
  .section-padding { padding: 60px 0; }
  .page-hero { padding: 60px 0 80px; }
  .page-hero h1 { font-size: 2rem; }
  .stat-card .stat-number { font-size: 1.2rem; }
  .profile-hero { min-height: 280px; }
  .profile-hero .profile-header { padding-top: 60px; }
  .site-footer .col-lg { margin-bottom: 32px; }
  .filter-sidebar { margin-bottom: 24px; }
}
@media (max-width: 768px) {
  .hero-content h1 { font-size: 1.75rem; }
  .hero-content p { font-size: 1rem; }
  .section-padding { padding: 40px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero { padding: 40px 0 60px; }
  .stats-section { padding: 20px 0; }
  .stats-bar {
    flex-direction: column;
  }
  .stat-card {
    min-height: 58px;
    padding: 12px 16px;
  }
  .stat-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--grey-border);
  }
  .stat-card .stat-number { font-size: 1.15rem; }
  .stat-card-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner { padding: 50px 0; }
  .profile-hero h1 { font-size: 1.5rem; }
  .profile-hero { min-height: 240px; }
  .profile-hero .profile-header { padding-top: 40px; }
  .auth-card { padding: 24px; margin: 20px 16px; }
  .provider-list-card .plc-image { height: 140px; }
  .hero-search-card { padding: 16px; }
  .browse-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .browse-links::-webkit-scrollbar { display: none; }
  .browse-links .pill-link {
    padding: 6px 12px;
    font-size: 12px;
  }
  .footer-bottom .row > div { text-align: center !important; margin-bottom: 8px; }
  .hero-search-card .btn-green { padding: 12px 20px; font-size: 15px; }
  .provider-list-card .plc-logo { width: 60px; height: 60px; font-size: 22px; }
  .profile-hero .profile-avatar { width: 72px; height: 72px; font-size: 24px; }
  .filter-mobile-btn { display: block !important; }
  .filter-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    border-radius: 0;
    margin: 0;
    padding-top: 60px;
    max-width: 100%;
    position: static;
  }
  .filter-sidebar.show-mobile { display: block; }
  .filter-close-btn {
    display: block !important;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 10000;
    width: auto;
    border-radius: var(--radius-full);
    padding: 8px 16px;
  }
  .results-bar { padding: 12px 16px; }
  .results-bar .d-flex { flex-direction: column; align-items: flex-start !important; gap: 8px; }
  .form-card { padding: 24px; }
  .featured-article-card .featured-body { padding: 24px; }
  .featured-article-card .featured-image { min-height: 220px; }
  .article-hero-image { height: 260px; }
  .mission-image-wrap img { height: 280px; }
  .provider-list-card { padding: 20px; }
  .provider-list-card .d-flex.gap-2.mt-2 { flex-direction: column; }
  .provider-list-card .d-flex.gap-2.mt-2 .btn { width: 100%; justify-content: center; }
  .job-card .col-md-3 { align-items: stretch !important; }
  .job-card .col-md-3 .btn { width: 100%; }
  .profile-hero .col-md-4 .d-flex { flex-direction: column; gap: 8px; }
  .profile-hero .col-md-4 .btn { width: 100%; justify-content: center; }
  .faq-intro-card { margin-bottom: 12px; }
  .page-search-box .row { flex-direction: column; }
  .page-search-box .btn-green { width: 100%; }
  .page-hero-actions .page-search-box .row { flex-direction: column; }
  .contact-info-card.sticky-top,
  .profile-sidebar.sticky-top,
  .legal-sidebar.sticky-top,
  .reviews-page .review-filter-panel.sticky-top { position: static !important; }
  .faq-cta-btns { display: flex; flex-direction: column; gap: 8px; }
  .faq-cta-btns .btn { width: 100%; margin: 0 !important; }
  .legal-page .legal-document { padding: 24px 20px; }
  .legal-sidebar { position: static !important; }
}
@media (max-width: 991.98px) {
  .site-logo--header .site-logo__image {
    height: 64px;
    max-width: min(360px, 62vw);
  }
  .main-nav > .container {
    min-height: 80px;
  }
}
@media (max-width: 576px) {
  body { font-size: 15px; }
  .site-logo--header .site-logo__image {
    height: 54px;
    max-width: min(300px, 72vw);
  }
  .site-logo--footer .site-logo__image {
    height: 52px;
    max-width: min(300px, 88vw);
  }
  .site-logo--auth .site-logo__image {
    height: 72px;
  }
  .main-nav > .container {
    min-height: 72px;
  }
  .top-bar a span { font-size: 13px; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-section { padding: 80px 0 60px; }
  .review-card { padding: 16px; }
  .reviews-page .review-filter-panel { padding: 20px; }
  .provider-card { padding: 16px; }
  .category-tile { padding: 20px 16px; }
  .filter-sidebar { padding: 16px; }
  .auth-card { padding: 16px; }
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; font-size: 16px; }
}

/* ===== PRINT ===== */
@media print {
  .top-bar, .main-nav, .footer-bottom, .back-to-top, .reading-progress { display: none; }
  .hero-section, .page-hero, .profile-hero { background: var(--navy) !important; min-height: auto; padding: 40px 0; }
}