/* =========================================================
   BASE RESET & VARIABLES
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #00897b;
  --teal-dark: #00695c;
  --teal-light: #e0f2f1;
  --teal-mid: #4db6ac;
  --orange: #f57c00;
  --orange-light: #fff3e0;
  --dark: #1a2332;
  --dark-2: #2c3e50;
  --grey: #637381;
  --grey-light: #f4f6f8;
  --grey-border: #e0e0e0;
  --white: #ffffff;
  --yellow: #f9a825;
  --blue: #1976d2;
  --pink: #e91e63;
  --green: #388e3c;
  --font: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* =========================================================
   SCROLL ANIMATIONS — removed opacity:0 initial states
   Elements are always visible; only hover/transition effects remain
   ========================================================= */
.animate-on-scroll {
  /* no hidden state — content visible immediately */
}

.animate-on-scroll.animate-in {
  /* no-op — kept for JS compatibility */
}

/* Fade up — visible by default */
.animate-fade-up {
  /* no hidden state */
}

.animate-fade-up.animate-in {
  /* no-op */
}

/* Fade left — visible by default */
.animate-fade-left {
  /* no hidden state */
}

.animate-fade-left.animate-in {
  /* no-op */
}

/* Fade right — visible by default */
.animate-fade-right {
  /* no hidden state */
}

.animate-fade-right.animate-in {
  /* no-op */
}

/* Scale — visible by default */
.animate-scale {
  /* no hidden state */
}

.animate-scale.animate-in {
  /* no-op */
}

/* Staggered delays kept for any remaining uses */
.stagger-1 {
  transition-delay: 0s;
}
.stagger-2 {
  transition-delay: 0s;
}
.stagger-3 {
  transition-delay: 0s;
}
.stagger-4 {
  transition-delay: 0s;
}
.stagger-5 {
  transition-delay: 0s;
}
.stagger-6 {
  transition-delay: 0s;
}

/* Hover lift effect */
.hover-lift {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Pulse animation for badges */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.pulse-hover:hover {
  animation: pulse 0.6s ease-in-out;
}

/* Shimmer effect for cards */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Floating animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Glow effect on hover */
.glow-hover {
  transition: box-shadow 0.3s ease;
}

.glow-hover:hover {
  box-shadow: 0 0 20px rgba(0, 137, 123, 0.4);
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  height: 64px;
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 18px;
  font-weight: 800;
  color: #1a2332;
  letter-spacing: -0.3px;
}

.logo-region {
  font-size: 10px;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-2);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

/* ---- Hamburger button ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger:hover {
  background: var(--teal-light);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

/* Animated X when open */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile drawer ---- */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  padding: 24px 24px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.mobile-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--grey-border);
  transition: color 0.2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: var(--teal);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-actions .btn-signin,
.mobile-nav-actions .btn-find-caregiver {
  display: block;
  text-align: center;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  width: 100%;
}

/* ---- Overlay ---- */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.btn-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.2s;
}
.btn-signin:hover {
  background: var(--teal-light);
}

.btn-find-caregiver {
  font-size: 13px;
  font-weight: 600;
  background: var(--teal);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn-find-caregiver:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 137, 123, 0.3);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  margin-top: 64px;
  min-height: 0;
  height: auto;
  background: url("../images/hero-image.f8f44caf2103.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 77, 64, 0.88) 0%,
    rgba(0, 105, 92, 0.75) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  max-width: 680px;
  margin-left: calc((100vw - 1200px) / 2);
  padding-left: 24px;
}

@media (max-width: 1248px) {
  .hero-content {
    margin-left: 0;
    padding: 60px 24px;
  }
}

@media (min-width: 581px) and (max-width: 1024px) {
  .navbar {
    height: 72px;
  }
  .nav-container {
    padding: 0 32px;
  }
  .nav-links,
  .nav-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-drawer {
    display: block;
  }
  .drawer-overlay {
    display: block;
    inset: 72px 0 0 0;
  }
  .hero {
    margin-top: 72px;
    height: auto;
    align-items: flex-start;
    background-position: 65% center;
    background-size: cover;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 44px 28px 56px;
  }
  .hero-overlay {
    background: linear-gradient(
      105deg,
      rgba(0, 60, 50, 0.92) 0%,
      rgba(0, 90, 75, 0.82) 45%,
      rgba(0, 0, 0, 0.25) 100%
    );
  }
  .hero-breadcrumb {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: clamp(32px, 6vw, 46px);
    line-height: 1.16;
    margin-bottom: 20px;
  }
  .hero-sub {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 26px;
  }
  .hero-badges {
    gap: 10px;
    margin-bottom: 26px;
    flex-wrap: wrap;
  }
  .badge {
    font-size: 13px;
    padding: 8px 14px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 100%;
  }
  .btn-outline-white,
  .btn-teal {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 15px;
    border-radius: 50px;
  }
  .stats-container {
    max-width: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-item {
    padding: 26px 12px 22px;
    gap: 2px;
  }
  .stat-number {
    font-size: 30px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-divider {
    display: none;
  }
  .cta-banner-wrap {
    padding: 36px 24px;
  }
  .cta-banner {
    border-radius: 14px;
    padding: 26px 30px;
    gap: 22px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cta-left {
    max-width: 100%;
  }
  .cta-banner h2 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .cta-banner p {
    font-size: 11px;
    line-height: 1.55;
  }
  .cta-btns {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .btn-cta-outline,
  .btn-cta-orange {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 14px;
  }
}

/* Narrow tablet viewports retain the larger tablet hero scale. */
@media (min-width: 400px) and (max-width: 580px) {
  .hero {
    height: auto;
    align-items: flex-start;
    background-position: 65% center;
  }
  .hero-overlay {
    background: linear-gradient(
      105deg,
      rgba(0, 60, 50, 0.92) 0%,
      rgba(0, 90, 75, 0.82) 45%,
      rgba(0, 0, 0, 0.25) 100%
    );
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 40px 24px 56px;
  }
  .hero-breadcrumb {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.16;
    margin-bottom: 20px;
  }
  .hero-sub {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 22px;
  }
  .hero-badges {
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
  }
  .badge {
    font-size: 12px;
    padding: 7px 13px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-outline-white,
  .btn-teal {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 15px 22px;
    border-radius: 50px;
  }
}

.hero-breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-highlight {
  color: #80cbc4;
  font-style: italic;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 13px 26px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.08);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  background: #f57c00;
  color: var(--white);
  padding: 13px 26px;
  border-radius: 50px;
  transition: all 0.2s;
  box-shadow: 0 4px 18px rgba(245, 124, 0, 0.4);
}
.btn-teal:hover {
  background: #e65100;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 124, 0, 0.5);
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
  background: var(--teal-dark);
  padding: 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  gap: 4px;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.2px;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 16px 0;
}

/* =========================================================
   SHARED SECTION STYLES
   ========================================================= */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 15px;
  color: var(--grey);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* =========================================================
   CARE SERVICES SECTION
   ========================================================= */
.care-section {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}

.care-section .section-sub {
  margin: 0 auto 40px;
}

.care-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
  text-align: left;
}

.care-card {
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  overflow: hidden;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  background: var(--white);
}
.care-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px) scale(1.02);
}

.care-card-img {
  height: 120px;
  width: 100%;
}

.care-card-body {
  padding: 18px;
}

.care-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 12px;
}
.care-icon.blue {
  background: #e3f2fd;
  color: var(--blue);
}
.care-icon.yellow {
  background: #fff8e1;
  color: var(--yellow);
}
.care-icon.pink {
  background: #fce4ec;
  color: var(--pink);
}
.care-icon.green {
  background: #e8f5e9;
  color: var(--green);
}

.care-card-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.care-card-body p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 14px;
}

.care-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.tag.teal {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.tag.yellow {
  background: #fff8e1;
  color: #f57f17;
}
.tag.pink {
  background: #fce4ec;
  color: #880e4f;
}
.tag.green {
  background: #e8f5e9;
  color: var(--green);
}
.tag.grey {
  background: #f4f6f8;
  color: var(--grey);
}

.care-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* First button — plain outline */
.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  background: transparent;
  padding: 10px 22px;
  border-radius: 10px;
  transition: all 0.2s;
}
.btn-outline-teal:hover {
  background: var(--teal-light);
}

/* Second button — filled teal */
.btn-outline-teal:last-child {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-outline-teal:last-child:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

/* =========================================================
   ACTIVE PSWs SECTION
   ========================================================= */
.psw-section {
  padding: 72px 0 80px;
  background: var(--white);
}

/* --- Header --- */
.psw-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  gap: 32px;
}

.psw-header-left {
  max-width: 560px;
}

.psw-verified-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.psw-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.psw-section-sub {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
  border: 1.5px solid var(--teal-dark);
  padding: 11px 22px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
  transition: all 0.2s;
}
.btn-view-all:hover {
  background: var(--teal-light);
}

/* --- Cards grid --- */
.psw-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.psw-card {
  background: var(--white);
  border: 1px solid #e4e8ec;
  border-radius: 16px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.psw-card:hover {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px) scale(1.01);
}

/* Top row: avatar + meta */
.psw-card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.psw-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.psw-avatar-wrap img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.psw-verified-dot {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: var(--teal);
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--white);
}

.psw-card-meta {
  flex: 1;
  min-width: 0;
}

.psw-card-meta h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.psw-credential {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 5px;
  line-height: 1.4;
}

.psw-location {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 6px;
}
.psw-location i {
  color: var(--teal);
  margin-right: 4px;
}

.psw-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}
.psw-rating i {
  color: var(--yellow);
  font-size: 13px;
}
.psw-rating strong {
  font-weight: 700;
  color: var(--dark);
}
.psw-rating span {
  color: var(--grey);
  font-size: 12px;
}

/* Compliance tags — teal outlined pills */
.psw-compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.ctag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid;
  transition: all 0.2s ease;
}
.ctag.ctag-teal {
  color: var(--teal-dark);
  border-color: var(--teal-mid);
  background: rgba(0, 137, 123, 0.08);
}
.ctag.ctag-teal:hover {
  background: rgba(0, 137, 123, 0.15);
}
.ctag.ctag-teal i {
  font-size: 10px;
}

/* Skill tags — plain grey chips */
.psw-skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.stag {
  font-size: 11px;
  font-weight: 600;
  color: #37474f;
  background: linear-gradient(135deg, #f0f2f5, #e8eaed);
  padding: 5px 12px;
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.stag:hover {
  background: linear-gradient(135deg, #e0e4e8, #d5d9dd);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Footer row: rate + availability */
.psw-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.psw-rate-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
}

.psw-availability {
  font-size: 12px;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Request button */
.btn-request {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  background: var(--teal-dark);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.2s;
  letter-spacing: 0.2px;
}
.btn-request:hover {
  background: #004d40;
}

/* =========================================================
   SAFETY SECTION
   ========================================================= */
.safety-section {
  padding: 60px 0;
  background: #f7f8fa;
  overflow: hidden;
}

.safety-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 64px;
  align-items: center;
}

/* --- Image column --- */
.safety-img-col {
  position: relative;
  flex-shrink: 0;
}

.safety-badge-wrap {
  position: relative;
  width: 100%;
}

.safety-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
}

/* Top-left badge: $0 Agency Fee */
.safety-top-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  animation: floatUp 3s ease-in-out infinite;
}

.stb-icon {
  width: 34px;
  height: 34px;
  background: #fff8e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 15px;
  flex-shrink: 0;
}

.stb-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.stb-sub {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.2;
}

/* Bottom compliance badge */
.safety-badge {
  position: absolute;
  bottom: 28px;
  left: 20px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  min-width: 190px;
  animation: floatDown 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

.sb-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  display: block;
  margin-bottom: 5px;
}

.badge-text {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.4;
  display: block;
}

/* --- Text column --- */
.safety-text-col {
  display: flex;
  align-items: center;
}

.safety-text-inner {
  width: 100%;
}

.safety-text-col .section-sub {
  margin-bottom: 28px;
}

/* 6-feature grid (3×2) */
.safety-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}

.safety-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.safety-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.safety-icon.teal {
  background: #e0f2f1;
  color: var(--teal);
}
.safety-icon.purple {
  background: #f3e5f5;
  color: #8e24aa;
}
.safety-icon.blue {
  background: #e3f2fd;
  color: var(--blue);
}
.safety-icon.orange {
  background: #fff8e1;
  color: var(--yellow);
}
.safety-icon.green {
  background: #e8f5e9;
  color: var(--green);
}
.safety-icon.grey-icon {
  background: #f4f6f8;
  color: #607d8b;
}

.safety-feature h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.3;
}

.safety-feature p {
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.6;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section {
  padding: 80px 0 90px;
  background: #f7f8fa;
  text-align: center;
}

.testimonials-section .section-label {
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.t-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.t-section-sub {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 48px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: left;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid #e8eaed;
  border-radius: 16px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition:
    box-shadow 0.25s,
    transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px) scale(1.01);
}

/* Stars */
.t-stars {
  color: var(--yellow);
  font-size: 15px;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

/* Quote block: big opening mark + italic text */
.t-quote-body {
  position: relative;
  margin-bottom: 20px;
  padding-left: 22px;
}

.t-quote-mark {
  position: absolute;
  top: -4px;
  left: 0;
  font-size: 36px;
  font-family: Georgia, serif;
  color: #c8ccd2;
  line-height: 1;
}

.t-quote-body p {
  font-size: 13.5px;
  color: #3d4a58;
  line-height: 1.75;
  font-style: italic;
  margin: 0;
}

/* Care tag chip */
.t-tag-row {
  margin-bottom: 20px;
}

.t-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid #b2dfdb;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Author — no avatar, just name + role/city */
.t-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  border-top: 1px solid #f0f2f4;
  padding-top: 16px;
}

.t-author strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  display: block;
}

.t-author span {
  font-size: 12px;
  color: var(--grey);
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner-wrap {
  background: #f7f8fa;
  padding: 40px 24px;
}

.cta-banner {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--teal);
  border-radius: 20px;
  padding: 40px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-left {
  max-width: 480px;
}

.cta-banner h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cta-banner p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin: 0;
}

.cta-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* White outline button */
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Orange button */
.btn-cta-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s;
  box-shadow: 0 4px 14px rgba(245, 124, 0, 0.35);
}
.btn-cta-orange:hover {
  background: #e65100;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #0D1513;
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 52px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

/* --- Brand col --- */
.brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  flex-shrink: 0;
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.footer-logo-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal-mid);
  letter-spacing: 2px;
  margin-top: 1px;
}

.footer-brand-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-trust-list li {
  font-size: 12.5px;
  color: var(--teal-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-trust-list li i {
  font-size: 12px;
  color: var(--teal-mid);
  width: 14px;
}

/* --- Nav cols --- */
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--teal-mid);
}

@media (max-width: 1100px) {
  .footer-col ul li a {
    color: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 680px) {
  .footer-col ul li a {
    font-size: 15px;
    color: #fff;
  }
  .footer-col h5 {
    font-size: 12px;
    margin-bottom: 16px;
  }
  .footer-col ul {
    gap: 14px;
  }
}

/* --- Bottom bar --- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
  text-decoration: none;
}

@media (max-width: 680px) {
  .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
  }
}

.footer-bottom-links a:hover {
  color: var(--teal-mid);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .care-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .psw-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .safety-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .safety-img-col {
    width: 100%;
  }
  .safety-img {
    height: 380px;
    border-radius: 16px;
  }
  .safety-text-col {
    justify-content: flex-start;
  }
  .safety-text-inner {
    padding: 0;
    max-width: 100%;
  }
  .psw-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-view-all {
    margin-top: 0;
  }
  .section-title {
    font-size: 28px;
  }
  .psw-section-title {
    font-size: 26px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-content {
    text-align: left;
    padding: 60px 28px;
  }
  .hero-sub {
    max-width: 100%;
  }
  .hero-badges {
    justify-content: flex-start;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 480px;
  }
  .btn-outline-white,
  .btn-teal {
    width: 100%;
    max-width: none;
    justify-content: center;
    font-size: 14px;
    padding: 14px 20px;
  }
}

@media (max-width: 680px) {
  .care-cards {
    grid-template-columns: 1fr;
  }
  .psw-cards {
    grid-template-columns: 1fr;
  }
  .testimonial-cards {
    grid-template-columns: 1fr;
  }
  .stats-container {
    flex-wrap: wrap;
  }
  .stat-item {
    min-width: 50%;
  }
  .stat-divider {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-drawer {
    display: block;
  }
  .drawer-overlay {
    display: block;
  }
  .cta-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 28px;
  }
  .cta-btns {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .btn-cta-outline,
  .btn-cta-orange {
    width: 100%;
    justify-content: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero {
    align-items: flex-start;
    background-position: 65% center;
    height: auto;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 36px 20px 56px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .btn-outline-white,
  .btn-teal {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 15px 20px;
    border-radius: 50px;
  }
  .safety-features {
    grid-template-columns: 1fr;
  }
  .psw-card-footer {
    flex-direction: column;
  }
  .care-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .btn-outline-teal {
    font-size: 12px;
    padding: 9px 16px;
    width: 200px;
    justify-content: center;
  }
}

/* =========================================================
   BADGE FLOAT ANIMATIONS
   ========================================================= */
@keyframes floatUp {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes floatDown {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* =========================================================
   PAGE SHARED — hero, sidebar TOC, content layout
   ========================================================= */
.page-hero {
  margin-top: 64px;
  padding: 72px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--teal-dark) 0%,
    var(--teal) 60%,
    #00acc1 100%
  );
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 77, 64, 0.85) 0%,
    rgba(0, 105, 92, 0.75) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.page-hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 24px;
}
.page-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.page-hero-meta span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}
.page-sidebar {
  position: sticky;
  top: 88px;
}
.toc-card {
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  padding: 24px;
}
.toc-card h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey);
  margin-bottom: 16px;
}
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc-list a {
  font-size: 13px;
  color: var(--grey);
  padding: 7px 10px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.toc-list a:hover,
.toc-list a.active {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.toc-list a i {
  font-size: 11px;
  opacity: 0.6;
}
.toc-divider {
  border: none;
  border-top: 1px solid var(--grey-border);
  margin: 14px 0;
}
.toc-badge {
  margin-top: 16px;
  background: var(--teal-light);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.toc-badge i {
  color: var(--teal);
  margin-top: 2px;
  font-size: 13px;
  flex-shrink: 0;
}
.toc-badge p {
  font-size: 12px;
  color: var(--teal-dark);
  line-height: 1.5;
}

.page-content {
  min-width: 0;
}
.content-section {
  margin-bottom: 56px;
  scroll-margin-top: 90px;
}
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--teal-dark);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.content-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.content-section p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 14px;
}
.content-section p:last-child {
  margin-bottom: 0;
}
.content-section ul {
  margin: 12px 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.content-section ul li {
  font-size: 14.5px;
  color: #4a5568;
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}
.content-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.highlight-box {
  background: linear-gradient(135deg, var(--teal-light) 0%, #f0fffe 100%);
  border: 1px solid #b2dfdb;
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.highlight-box i {
  color: var(--teal);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.highlight-box div {
  font-size: 14px;
  color: var(--teal-dark);
  line-height: 1.65;
}
.highlight-box strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.warn-box {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid var(--yellow);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.warn-box i {
  color: var(--yellow);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.warn-box div {
  font-size: 14px;
  color: #5d4037;
  line-height: 1.65;
}
.content-divider {
  border: none;
  border-top: 1px solid var(--grey-border);
  margin: 48px 0;
}
.contact-card {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 20px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.contact-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: var(--teal-dark);
  padding: 12px 24px;
  border-radius: 10px;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-contact:hover {
  background: var(--teal-light);
}

/* =========================================================
   BROWSE CAREGIVERS PAGE
   ========================================================= */
.browse-hero {
  margin-top: 64px;
  background: linear-gradient(135deg, #00695c 0%, #00897b 55%, #00acc1 100%);
  padding: 56px 0 52px;
  overflow: hidden;
  position: relative;
}
.browse-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 77, 64, 0.85) 0%,
    rgba(0, 105, 92, 0.75) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}
.browse-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.browse-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.browse-hero-text {
  width: 100%;
}
.browse-hero-text h1 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.bh-highlight {
  color: #80cbc4;
}
.browse-hero-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.browse-hero-search {
  width: 100%;
}
.bhs-inner {
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 5px 5px 5px 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  gap: 0;
}
.bhs-field {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}
.bhs-field i {
  color: #00897b;
  font-size: 13px;
  flex-shrink: 0;
}
.bhs-field input,
.bhs-field select {
  border: none;
  outline: none;
  font-size: 13.5px;
  color: #1a2332;
  font-family: var(--font);
  background: transparent;
  width: 100%;
  padding: 8px 6px;
}
.bhs-divider {
  width: 1px;
  height: 26px;
  background: #e0e0e0;
  margin: 0 8px;
  flex-shrink: 0;
}
.bhs-btn {
  background: #00897b;
  color: #fff;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font);
  padding: 11px 20px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  transition: background 0.2s;
  white-space: nowrap;
}
.bhs-btn:hover {
  background: #00695c;
}

/* =========================================================
   STICKY SEARCH BAR — browse page
   ========================================================= */
.sticky-search {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 900;
  background: #00695c;
  padding: 10px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
  pointer-events: none;
}
.sticky-search.is-visible {
  transform: translateY(0);
  pointer-events: all;
}
.sticky-search-inner {
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .sticky-search {
    top: 72px;
  }
}

.browse-layout {
  max-width: 1400px;
  margin: 32px auto 64px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
.browse-sidebar {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 14px;
  overflow: hidden;
}
.filter-card {
  padding: 18px;
}
.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f2f4;
  margin-bottom: 14px;
}
.filter-header h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a2332;
  display: flex;
  align-items: center;
  gap: 7px;
}
.filter-header h3 i {
  color: #00897b;
  font-size: 13px;
}
.filter-reset {
  font-size: 11.5px;
  font-weight: 600;
  color: #00897b;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}
.filter-group {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f4f5f7;
}
.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.filter-group h4 {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #637381;
  margin-bottom: 10px;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #2c3e50;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
}
.filter-check:hover {
  color: #00897b;
}
.filter-check input[type="checkbox"] {
  accent-color: #00897b;
  width: 14px;
  height: 14px;
  cursor: pointer;
  flex-shrink: 0;
}
.rate-range {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.rate-range input[type="range"] {
  flex: 1;
  accent-color: #00897b;
  min-width: 50px;
}
.rate-range span {
  font-size: 12px;
  font-weight: 600;
  color: #1a2332;
}

.browse-results {
  min-width: 0;
}
.results-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 12px;
}
.results-count {
  font-size: 13.5px;
  color: #637381;
  flex: 1;
}
.results-count strong {
  color: #1a2332;
  font-weight: 700;
}
.results-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #637381;
}
.results-sort select {
  border: 1px solid #e4e8ec;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 12.5px;
  font-family: var(--font);
  color: #1a2332;
  outline: none;
  cursor: pointer;
  background: #f7f8fa;
}
.mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #00897b;
  border: 1.5px solid #00897b;
  background: none;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  font-family: var(--font);
}

.active-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.af-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #00695c;
  background: #e0f2f1;
  border: 1px solid #b2dfdb;
  padding: 3px 8px 3px 10px;
  border-radius: 20px;
}
.af-chip .af-chip-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #00695c;
  line-height: 1;
  padding: 0 2px;
  font-weight: 700;
  text-decoration: none;
}
.af-chip .af-chip-remove:hover {
  color: #c62828;
}

.bc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bc-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
  border: 1px solid #e8eaed;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.bc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00897b, #26a69a, #4db6ac);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.bc-card:hover::before {
  opacity: 1;
}
.bc-card:hover {
  box-shadow: 0 20px 50px rgba(0, 137, 123, 0.2);
  transform: translateY(-6px);
  border-color: #26a69a;
}
.bc-card.featured {
  border: 2px solid #00897b;
  box-shadow: 0 8px 30px rgba(0, 137, 123, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #e8f5f1 100%);
}
.bc-card.featured::before {
  opacity: 1;
  background: linear-gradient(90deg, #00897b, #e5a550, #ff7043);
}
.bc-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #00897b, #00695c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 137, 123, 0.4);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bc-card-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.bc-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.bc-avatar-wrap img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #e8f5e9;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.bc-card:hover .bc-avatar-wrap img {
  border-color: #0A7A5C;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(10, 122, 92, 0.25);
}
.bc-dot {
  display: none;
}
.bc-card:hover .bc-dot {
  display: none;
}
.bc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  margin-top: 4px;
}
.bc-rating i {
  color: #FFD700;
  font-size: 13px;
}
.bc-rating strong {
  font-weight: 700;
  color: #1a1a1a;
}
.bc-rating span {
  color: #999;
  font-size: 12px;
}
.bc-meta {
  flex: 1;
  min-width: 0;
}
.bc-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.bc-name-row h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a2332;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.4px;
  line-height: 1.3;
}
.bc-verified {
  color: #00897b;
  font-size: 15px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 137, 123, 0.2));
}
.bc-cred {
  font-size: 13px;
  color: #546e7a;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.bc-loc {
  font-size: 13px;
  color: #637381;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.bc-loc i {
  color: #00897b;
  font-size: 12px;
}
.bc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  background: #fff9e6;
  padding: 4px 8px;
  border-radius: 6px;
  width: fit-content;
}
.bc-rating i {
  color: #f9a825;
  font-size: 12px;
}
.bc-rating strong {
  font-weight: 700;
  color: #1a2332;
}
.bc-rating span {
  color: #9e9e9e;
  font-size: 11px;
}
.bc-compliance {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.bc-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.bc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
  border-top: 2px solid #f0f5f3;
}
.bc-rate {
  font-size: 18px;
  font-weight: 800;
  color: #f57c00;
  letter-spacing: -0.6px;
  background: linear-gradient(135deg, #f57c00, #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bc-avail {
  font-size: 12px;
  color: #637381;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.bc-card .btn-request {
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Profile page link wrapper — makes top of card clickable */
.bc-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.bc-card-link:hover { color: inherit; }

/* Two-button action row at bottom of card */
.bc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 8px 8px;
}
.btn-view-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  background: #0A7A5C;
  color: #fff;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  letter-spacing: 0.3px;
}
.btn-view-profile:hover {
  background: #086648;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 122, 92, 0.35);
}
.bc-actions .btn-request {
  display: none;
}
.bc-actions .btn-request:hover {
  display: none;
}

/* Verification badges + skill tags on browse card */
.bc-compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.bc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0A7A5C;
  background: #fff;
  border: 1.5px solid #0A7A5C;
  border-radius: 20px;
  padding: 5px 12px;
}
.bc-badge i {
  font-size: 11px;
  color: #0A7A5C;
}
.bc-skills .stag {
  background: #f0f2f4;
  color: #555;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 500;
  box-shadow: none;
}
.bc-care-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px 0;
}
.bc-care-tag {
  background: #f0f2f4;
  color: #555;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 500;
  box-shadow: none;
  transition: all 0.2s ease;
}
.bc-care-tag:hover {
  transform: translateY(-1px);
  background: #e8eaed;
}

.load-more-wrap {
  text-align: center;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font);
  color: #00695c;
  border: 2px solid #00897b;
  background: none;
  padding: 11px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-load-more:hover {
  background: #e0f2f1;
}
.btn-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.load-more-wrap p {
  font-size: 11.5px;
  color: #9e9e9e;
}

/* Browse responsive */
@media (max-width: 1060px) {
  .bc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .browse-layout {
    grid-template-columns: 1fr;
  }
  .browse-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: #fff;
    z-index: 1100;
    border-radius: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.13);
  }
  .browse-sidebar.mobile-open {
    transform: translateX(0);
  }
  .mobile-filter-btn {
    display: inline-flex;
  }
  .browse-hero-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1024px) {
  .bc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .bc-grid {
    grid-template-columns: 1fr;
  }
  .browse-hero-text h1 {
    font-size: 24px;
  }
  .bhs-inner {
    flex-wrap: wrap;
    padding: 10px;
    gap: 8px;
  }
  .bhs-divider {
    display: none;
  }
  .bhs-btn {
    width: 100%;
    justify-content: center;
  }
  .bc-card {
    padding: 16px;
  }
  .bc-avatar-wrap img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
  }
  .bc-name-row h4 {
    font-size: 15px;
  }
}

/* Page layout responsive */
@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-sidebar {
    position: static;
  }
  .page-hero h1 {
    font-size: 32px;
  }
}
@media (max-width: 680px) {
  .page-hero h1 {
    font-size: 26px;
  }
  .page-hero {
    padding: 52px 20px 44px;
  }
  .page-layout {
    padding: 36px 20px 60px;
  }
  .content-section h2 {
    font-size: 21px;
  }
  .contact-card {
    flex-direction: column;
    padding: 28px 24px;
  }
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */

/* Base hidden state — applied before element enters viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Triggered state */
.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

/* Delay helpers for staggered children */
.reveal-d1 {
  transition-delay: 0.08s;
}
.reveal-d2 {
  transition-delay: 0.16s;
}
.reveal-d3 {
  transition-delay: 0.24s;
}
.reveal-d4 {
  transition-delay: 0.32s;
}
.reveal-d5 {
  transition-delay: 0.4s;
}

/* =========================================================
   NAVBAR SCROLL EFFECT
   ========================================================= */
.navbar {
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.navbar--scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

/* =========================================================
   HERO PARTICLES
   ========================================================= */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  animation: particleDrift linear infinite;
}
@keyframes particleDrift {
  0% {
    transform: translateY(0) translateX(0);
  }
  33% {
    transform: translateY(-20px) translateX(10px);
  }
  66% {
    transform: translateY(-10px) translateX(-8px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* =========================================================
   BUTTON RIPPLE
   ========================================================= */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* =========================================================
   HERO HIGHLIGHT CURSOR BLINK
   ========================================================= */
.hero-highlight::after {
  content: "|";
  margin-left: 2px;
  opacity: 1;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* =========================================================
   NAV LINK ACTIVE INDICATOR
   ========================================================= */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.nav-active::after {
  width: 100%;
}
.nav-links a.nav-active {
  color: var(--teal) !important;
  font-weight: 700;
}

/* =========================================================
   SECTION LABEL ANIMATED UNDERLINE
   ========================================================= */
.section-label {
  position: relative;
  display: inline-block;
}

/* =========================================================
   STAT BAR — slide in
   ========================================================= */
.stats-bar {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* =========================================================
   CARE CARD IMAGE ZOOM on hover
   ========================================================= */
.care-card-img {
  overflow: hidden;
  transition: transform 0.4s ease;
}
.care-card:hover .care-card-img {
  transform: scale(1.04);
}

/* =========================================================
   PSW CARD — smooth shadow lift
   ========================================================= */
.psw-card {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease !important;
}

/* =========================================================
   TESTIMONIAL CARD — fade border on hover
   ========================================================= */
.testimonial-card {
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.testimonial-card:hover {
  border-color: var(--teal-mid) !important;
  transform: translateY(-3px);
}

/* =========================================================
   CTA BANNER — subtle pulse on orange button
   ========================================================= */
@keyframes subtlePulse {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(245, 124, 0, 0.35);
  }
  50% {
    box-shadow: 0 4px 24px rgba(245, 124, 0, 0.6);
  }
}
.btn-cta-orange {
  animation: subtlePulse 2.5s ease-in-out infinite;
}
.btn-cta-orange:hover {
  animation: none;
}

/* =========================================================
   SAFETY BADGE FLOAT (ensure it still works)
   ========================================================= */
.safety-top-badge {
  animation: floatUp 3s ease-in-out infinite;
}
.safety-badge {
  animation: floatDown 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* =========================================================
   UNIFIED HERO HEIGHT — all page heroes except index
   Applies to: browse-hero, page-hero (terms/privacy/hiw), svc-hero
   ========================================================= */
.browse-hero,
.page-hero,
.svc-hero {
  min-height: 0;
  height: auto;
  display: flex;
  align-items: center;
}

.browse-hero-inner,
.page-hero-inner,
.svc-hero-inner {
  width: 100%;
}

@media (min-width: 581px) and (max-width: 1024px) {
  .browse-hero {
    height: auto;
  }
}

/* =========================================================
   HOW IT WORKS PAGE
   ========================================================= */

/* ---- Tab switcher ---- */
.hiw-tabs-wrap {
  background: #f7f8fa;
  border-bottom: 1px solid var(--grey-border);
  display: flex;
  justify-content: center;
  padding: 0 24px;
}
.hiw-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 0;
}
.hiw-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--grey);
  background: none;
  border: 1.5px solid transparent;
  padding: 10px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
}
.hiw-tab:hover {
  color: var(--teal);
  background: var(--teal-light);
}
.hiw-tab.active {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 2px 12px rgba(0, 137, 123, 0.12);
}

/* ---- Panel ---- */
.hiw-panel {
  padding: 80px 0;
  background: var(--white);
}
.hiw-panel.hidden {
  display: none;
}
.hiw-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Step row ---- */
.hiw-step {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.hiw-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.hiw-step:last-child {
  margin-bottom: 0;
}
.hiw-step.reverse .hiw-step-img {
  order: 3;
}
.hiw-step.reverse .hiw-step-body {
  order: 2;
}

.hiw-step-num {
  font-size: 13px;
  font-weight: 800;
  color: rgba(0, 137, 123, 0.25);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 3px;
  align-self: center;
}

.hiw-step-img {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}
.hiw-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hiw-step:hover .hiw-step-img img {
  transform: scale(1.03);
}
.img-placeholder {
  border-radius: 20px;
  aspect-ratio: 4/3;
}

.hiw-step-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  width: fit-content;
}
.hiw-step-chip.teal {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.hiw-step-chip.yellow {
  background: #fff8e1;
  color: #f57f17;
}
.hiw-step-chip.green {
  background: #e8f5e9;
  color: #2e7d32;
}
.hiw-step-chip.purple {
  background: #f3e5f5;
  color: #7b1fa2;
}

.hiw-step-body h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.hiw-step-body > p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 10px;
}

.hiw-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.hiw-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--dark-2);
  font-weight: 500;
}
.hiw-feature i {
  color: var(--teal);
  font-size: 13px;
  flex-shrink: 0;
}

.hiw-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.hiw-check-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.check-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.check-icon.teal {
  background: var(--teal-light);
  color: var(--teal);
}
.check-icon.blue {
  background: #e3f2fd;
  color: #1976d2;
}
.check-icon.green {
  background: #e8f5e9;
  color: #388e3c;
}
.hiw-check-item strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  display: block;
  margin-bottom: 3px;
}
.hiw-check-item p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.55;
  margin: 0;
}

/* ---- FAQ ---- */
.hiw-faq-section {
  padding: 80px 0;
  background: #f7f8fa;
}
.hiw-faq-header {
  margin-bottom: 40px;
}
.hiw-faq-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-top: 10px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 14px;
  padding: 22px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}
.faq-item.faq-open {
  border-color: var(--teal);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}
.faq-q {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  /* reset button defaults */
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5;
}
.faq-q:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.faq-q i {
  color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 11px;
  transition: transform 0.25s ease;
}
/* Rotate arrow when open */
.faq-q[aria-expanded="true"] i {
  transform: rotate(90deg);
}
/* Collapsible answer wrapper */
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-a p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.65;
  padding-left: 21px;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ---- HIW CTA ---- */
.hiw-cta-section {
  padding: 40px 0 60px;
  background: #f7f8fa;
}
.hiw-cta-card {
  background: var(--teal);
  border-radius: 20px;
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hiw-cta-left {
  max-width: 500px;
}
.hiw-cta-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.hiw-cta-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}
.hiw-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.hiw-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 12px 22px;
  border-radius: 10px;
  transition: all 0.2s;
}
.hiw-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}
.hiw-btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  background: #f57c00;
  padding: 12px 22px;
  border-radius: 10px;
  transition: background 0.2s;
  box-shadow: 0 4px 14px rgba(245, 124, 0, 0.35);
}
.hiw-btn-orange:hover {
  background: #e65100;
}

/* ---- HIW Responsive ---- */
@media (max-width: 900px) {
  .hiw-step {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hiw-step-num {
    writing-mode: horizontal-tb;
    font-size: 24px;
    color: rgba(0, 137, 123, 0.15);
  }
  .hiw-step.reverse .hiw-step-img {
    order: unset;
  }
  .hiw-step.reverse .hiw-step-body {
    order: unset;
  }
  .hiw-step-body h2 {
    font-size: 22px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hiw-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
}
@media (max-width: 680px) {
  .hiw-tab {
    padding: 9px 18px;
    font-size: 13px;
  }
  .hiw-panel {
    padding: 48px 0;
  }
  .hiw-step {
    margin-bottom: 60px;
  }
  .hiw-step-body h2 {
    font-size: 20px;
  }
  .hiw-cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .hiw-btn-outline,
  .hiw-btn-orange {
    justify-content: center;
    width: 100%;
  }
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.svc-hero {
  margin-top: 64px;
  background: linear-gradient(120deg, #00695c 0%, #00897b 55%, #004d40 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 77, 64, 0.85) 0%,
    rgba(0, 105, 92, 0.75) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}
.svc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.svc-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.svc-hero-highlight {
  color: #80cbc4;
  font-style: italic;
}
.svc-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 24px;
}
.svc-hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.svc-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.svc-hero-meta span i {
  color: #80cbc4;
}
.svc-hero-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.svc-hero-btn {
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 50px;
  background: #f57c00;
  color: #fff;
  box-shadow: 0 4px 18px rgba(245, 124, 0, 0.4);
  transition:
    background 0.2s,
    transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc-hero-btn:hover {
  background: #e65100;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .svc-hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
  }
  .svc-hero-cta .btn-outline-white,
  .svc-hero-cta .svc-hero-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 15px;
  }
}
.svc-hero .btn-outline-white {
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 14px;
}

/* Services grid */
.svc-grid-section {
  padding: 80px 0 72px;
  background: var(--white);
}
.svc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

/* Service card */
.svc-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.svc-card:hover {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px) scale(1.01);
}
.svc-card-img {
  height: 180px;
  width: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.svc-card-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 17px;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.svc-icon.blue {
  background: #e3f2fd;
  color: #1976d2;
}
.svc-icon.yellow {
  background: #fff8e1;
  color: #f9a825;
}
.svc-icon.pink {
  background: #fce4ec;
  color: #e91e63;
}
.svc-icon.purple {
  background: #f3e5f5;
  color: #8e24aa;
}
.svc-icon.green {
  background: #e8f5e9;
  color: #388e3c;
}
.svc-icon.orange {
  background: #fff3e0;
  color: #f57c00;
}

.svc-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 10px;
}
.svc-card-body > p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 16px;
}
.svc-desc-html {
  font-size: 13px;
  color: #3d4a58;
  line-height: 1.6;
  margin-bottom: 16px;
}
.svc-desc-html ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
}
.svc-desc-html ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.svc-desc-html ul li i {
  color: var(--teal);
  margin-top: 3px;
}
.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.svc-list li {
  font-size: 13px;
  color: #3d4a58;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.svc-list li i {
  color: var(--teal);
  font-size: 11px;
  margin-top: 3px;
  flex-shrink: 0;
}
.svc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.svc-rate {
  font-size: 14px;
  color: var(--orange);
}

.rate-from {
  color: #000;
}

.rate-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--orange);
}
.svc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  background: var(--teal-dark);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
  transition:
    background 0.2s,
    transform 0.2s;
  text-align: center;
}
.svc-btn:hover {
  background: #004d40;
  transform: translateY(-1px);
}

/* Why section */
.svc-why-section {
  padding: 72px 0 80px;
  background: #f7f8fa;
}
.svc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  margin-top: 44px;
}
.svc-why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.svc-why-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.svc-why-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.svc-why-item p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.65;
}

/* Services responsive */
@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .svc-hero h1 {
    font-size: 28px;
  }
  .svc-hero-meta {
    gap: 14px;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-why-grid {
    grid-template-columns: 1fr;
  }
  .svc-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .svc-hero .btn-outline-white,
  .svc-hero-btn {
    text-align: center;
    justify-content: center;
  }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

/* ── Hero ── */
.contact-hero {
  margin-top: 64px;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #00695c 0%, #00897b 60%, #00acc1 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
}
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.contact-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.contact-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 28px;
}
.contact-hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.contact-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.contact-hero-meta span i { color: #80cbc4; }

/* ── Main layout ── */
.contact-body {
  max-width: 1200px;
  margin: 64px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}

/* ── Contact form card ── */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 20px;
  padding: 40px 40px 36px;
}
.contact-form-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.contact-form-card > p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Form row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.2px;
}
.form-group label span {
  color: #e53935;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid #dde1e7;
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,137,123,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #adb5bd;
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23637381' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Auth page styles */
.auth-page {
  margin-top: 64px;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(145deg, #00695c 0%, #00897b 55%, #004d40 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 52px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}
.auth-left-inner {
  position: relative;
  z-index: 1;
  max-width: 400px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.auth-brand-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.auth-brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.auth-brand-name span {
  color: #f57c00;
}
.auth-brand-name em {
  display: block;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}
.auth-left-heading {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.auth-left-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 32px;
}
.auth-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.auth-trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  transition: transform 0.2s ease;
}
.auth-trust-list li:hover {
  transform: translateX(5px);
}
.auth-trust-list li i {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #80cbc4;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.auth-left-stats {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 18px 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}
.als-item {
  flex: 1;
  text-align: center;
}
.als-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.als-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.als-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}
.auth-right {
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 40px;
  overflow-y: auto;
}
.auth-form-wrap {
  width: 100%;
  max-width: 440px;
}
.auth-form-header {
  margin-bottom: 28px;
}
.auth-form-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: #1a2332;
  margin-bottom: 6px;
}
.auth-form-header p {
  font-size: 14px;
  color: #637381;
}
.auth-form-header p a {
  color: #00897b;
  font-weight: 600;
  transition: color 0.2s ease;
}
.auth-form-header p a:hover {
  color: #00695c;
}

/* Input wrap styling */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid #dde1e7;
  border-radius: 10px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-wrap input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,137,123,0.1);
  outline: none;
}
.input-icon {
  position: absolute;
  left: 14px;
  color: #637381;
  font-size: 14px;
  pointer-events: none;
}
.pw-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #637381;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.pw-toggle:hover {
  color: var(--teal);
}

/* Auth submit button */
.btn-auth-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 137, 123, 0.2);
}
.btn-auth-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 137, 123, 0.3);
}
.btn-auth-submit:active {
  transform: translateY(0);
}

/* Role buttons */
.role-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.role-btn {
  flex: 1;
  padding: 14px 16px;
  background: var(--white);
  border: 2px solid #dde1e7;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.role-btn.active {
  border-color: var(--teal);
  background: rgba(0, 137, 123, 0.05);
}
.role-btn span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}
.role-btn em {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: #637381;
}
.role-btn.active span {
  color: var(--teal);
}

/* Role context */
.role-context {
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--teal-dark);
  line-height: 1.5;
}

/* Form error banner */
.form-error-banner {
  background: #ffebee;
  border: 1px solid #ffcdd2;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #c62828;
  font-size: 13px;
}
.form-error-banner i {
  color: #d32f2f;
  font-size: 16px;
  margin-top: 2px;
}

/* Field error */
.field-error {
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.field-error i {
  font-size: 11px;
}

/* Auth responsive */
@media (max-width: 820px) {
  .auth-page {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .auth-left {
    padding: 40px 24px;
  }
  .auth-right {
    padding: 40px 24px;
  }
  .auth-left-heading {
    font-size: 28px;
  }
  .auth-form-header h1 {
    font-size: 24px;
  }
}

/* Submit button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 6px;
  letter-spacing: 0.2px;
}
.btn-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,137,123,0.3);
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}
.form-success h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
}

/* ── Sidebar info ── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Info card */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  padding: 28px 26px;
}
.contact-info-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
}
/* Single-item contact info */
.contact-info-card .contact-items-grid {
  display: flex;
  border: 1px solid #f0f2f4;
  border-radius: 12px;
  overflow: hidden;
}
.contact-info-card .contact-items-grid .contact-info-item {
  border: none;
  padding: 16px;
  color: var(--teal);
  font-size: 15px;
}

.contact-info-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 10px;
  margin-bottom: 0;
  padding: 18px 12px;
  border-bottom: none;
}
.contact-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.contact-info-icon.teal   { background: var(--teal-light); color: var(--teal); }
.contact-info-icon.orange { background: #fff3e0; color: var(--orange); }
.contact-info-icon.blue   { background: #e3f2fd; color: var(--blue); }
.contact-info-icon.green  { background: #e8f5e9; color: var(--green); }

.contact-info-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  text-align: left;
}
.contact-info-text span,
.contact-info-text a {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  text-align: left;
  display: block;
}
.contact-info-text a:hover { color: var(--teal); }

/* Response time card */
.contact-response-card {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 16px;
  padding: 26px 26px 24px;
  color: var(--white);
}
.contact-response-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-response-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
}
.contact-response-item:last-child { border-bottom: none; }
.contact-response-item span:first-child { color: rgba(255,255,255,0.75); }
.contact-response-item strong { color: #fff; font-weight: 700; }

/* FAQ teaser card */
.contact-faq-card {
  background: var(--grey-light);
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  padding: 26px 26px 22px;
}
.contact-faq-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-faq-card h3 i { color: var(--teal); }
.contact-faq-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--dark-2);
  padding: 10px 0;
  border-bottom: 1px solid #eaedf0;
  transition: color 0.2s;
  font-weight: 500;
}
.contact-faq-link:last-child { border-bottom: none; }
.contact-faq-link:hover { color: var(--teal); }
.contact-faq-link i { font-size: 10px; color: var(--grey); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .contact-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 680px) {
  .contact-hero h1 { font-size: 30px; }
  .contact-body { margin-top: 40px; }
  .contact-form-card { padding: 28px 20px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-sidebar { grid-template-columns: 1fr; }
  .contact-hero-meta { gap: 14px; }
}

/* Homepage tablet portrait — keeps the hero composition intentional at tablet widths. */
@media (min-width: 581px) and (max-width: 680px) {
  .hero-content {
    padding: 50px 32px 34px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-cta {
    align-items: stretch;
    max-width: 560px;
  }
  .btn-outline-white,
  .btn-teal {
    max-width: none;
    font-size: 15px;
    padding: 15px 24px;
  }
  .stat-item {
    min-width: 50%;
  }
}

/* Keep all tablet stat cards in a mobile-style two-column grid. */
@media (min-width: 581px) and (max-width: 1024px) {
  :root {
    --tablet-nav-height: 72px;
    --tablet-stats-height: 196px;
  }
  .hero {
    height: auto;
    min-height: auto;
  }
  .hero-content {
    width: 100%;
    max-width: none;
    padding: 84px 48px 48px;
  }
  .hero-breadcrumb {
    font-size: 20px;
    margin-bottom: 22px;
  }
  .hero h1 {
    font-size: clamp(54px, 7.2vw, 66px);
    margin-bottom: 26px;
  }
  .hero-sub {
    max-width: 680px;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.55;
    margin-bottom: 30px;
  }
  .hero-badges {
    max-width: 620px;
    gap: 14px;
    margin-bottom: 26px;
  }
  .badge {
    font-size: 16px;
    padding: 11px 20px;
  }
  .hero-cta {
    width: 100%;
    max-width: none;
    gap: 16px;
    margin-top: 56px;
  }
  .btn-outline-white,
  .btn-teal {
    width: 100%;
    font-size: 19px;
    padding: 20px 32px;
  }
  .btn-teal {
    margin-top: 24px;
  }
  .stats-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    padding: 0;
  }
  .stat-item {
    min-width: 0;
    padding: 26px 12px 22px;
    gap: 2px;
  }
  .stat-number {
    font-size: 30px;
    line-height: 1.15;
  }
  .stat-label {
    font-size: 11px;
    line-height: 1.3;
  }
  .stat-divider {
    display: none;
  }
}

/* =========================================================
   CARE REQUEST POPUP (caregiver restriction notice)
   ========================================================= */
.care-request-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: crpFadeIn 0.25s ease;
}
@keyframes crpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.care-request-popup-box {
  background: #fff;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 44px 36px 36px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: crpSlideUp 0.3s ease;
}
@keyframes crpSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.care-request-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.care-request-popup-close:hover {
  color: #333;
}
.care-request-popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F0A040 0%, #e8851e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}
.care-request-popup-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.care-request-popup-msg {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin: 0 0 24px;
}
.care-request-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #F0A040 0%, #e8851e 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.care-request-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 160, 64, 0.4);
}
