/* ============================================================
   FindCarers — Base Style System
   Color palette extracted from logo
   ============================================================ */

:root {
  /* Brand Colors */
  --fc-navy:        #1a1f2e;
  --fc-navy-light:  #232a3e;
  --fc-navy-mid:    #2c3550;
  --fc-teal:        #2dbfb0;
  --fc-teal-dark:   #22a99b;
  --fc-teal-light:  #4dd4c6;
  --fc-teal-bg:     rgba(45, 191, 176, 0.08);

  /* Neutral */
  --fc-white:       #ffffff;
  --fc-off-white:   #f7f9fc;
  --fc-gray-100:    #f0f4f8;
  --fc-gray-200:    #e2e8f0;
  --fc-gray-300:    #cbd5e1;
  --fc-gray-400:    #94a3b8;
  --fc-gray-500:    #64748b;
  --fc-gray-700:    #334155;
  --fc-gray-900:    #0f172a;

  /* Semantic */
  --fc-success:     #22c55e;
  --fc-warning:     #f59e0b;
  --fc-danger:      #ef4444;
  --fc-verified:    #2dbfb0;

  /* Typography */
  --fc-font-display: 'Sora', 'Segoe UI', sans-serif;
  --fc-font-body:    'DM Sans', 'Segoe UI', sans-serif;

  /* Spacing */
  --fc-navbar-h:    72px;
  --fc-radius:      12px;
  --fc-radius-lg:   20px;
  --fc-radius-xl:   28px;

  /* Shadows */
  --fc-shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --fc-shadow:      0 4px 16px rgba(0,0,0,.10);
  --fc-shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --fc-shadow-teal: 0 8px 24px rgba(45,191,176,.25);
}

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--fc-font-body);
  font-size: 15px;
  color: var(--fc-gray-700);
  background: var(--fc-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h3,h4,h5,h6 {
  font-family: var(--fc-font-display);
  color: var(--fc-navy);
  line-height: 1.2;
  font-weight: 700;
}

a { color: var(--fc-teal); text-decoration: none; }
a:hover { color: var(--fc-teal-dark); }

img { max-width: 100%; }

/* ── Utility Overrides ── */
.text-teal   { color: var(--fc-teal) !important; }
.text-navy   { color: var(--fc-navy) !important; }
.bg-navy     { background: var(--fc-navy) !important; }
.bg-teal     { background: var(--fc-teal) !important; }
.bg-teal-soft{ background: var(--fc-teal-bg) !important; }
.bg-offwhite { background: var(--fc-off-white) !important; }
.rounded-fc  { border-radius: var(--fc-radius) !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
.fc-navbar {
  background: var(--fc-navy);
  height: var(--fc-navbar-h);
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.fc-navbar .navbar-brand img { height: 38px; }

.fc-navbar .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all .2s;
  font-family: var(--fc-font-body);
}
.fc-navbar .nav-link:hover,
.fc-navbar .nav-link.active {
  color: var(--fc-white) !important;
  background: rgba(255,255,255,.07);
}

.fc-navbar .dropdown-menu {
  background: var(--fc-navy-light);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow-lg);
  min-width: 220px;
  padding: 8px;
  margin-top: 8px;
}
.fc-navbar .dropdown-item {
  color: rgba(255,255,255,.8);
  font-size: 13.5px;
  border-radius: 8px;
  padding: 9px 14px;
  transition: all .18s;
}
.fc-navbar .dropdown-item:hover {
  background: rgba(45,191,176,.15);
  color: var(--fc-teal-light);
}

.fc-navbar .dropdown-divider { border-color: rgba(255,255,255,.08); }

/* Navbar CTA buttons */
.btn-fc-signin {
  color: rgba(255,255,255,.85) !important;
  border: 1.5px solid rgba(255,255,255,.2) !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  padding: 7px 18px !important;
  transition: all .2s;
}
.btn-fc-signin:hover {
  border-color: var(--fc-teal) !important;
  color: var(--fc-teal) !important;
  background: transparent !important;
}

.btn-fc-primary {
  background: var(--fc-teal) !important;
  color: var(--fc-white) !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 7px 20px !important;
  transition: all .2s;
  box-shadow: var(--fc-shadow-teal);
}
.btn-fc-primary:hover {
  background: var(--fc-teal-dark) !important;
  box-shadow: 0 6px 20px rgba(45,191,176,.35) !important;
  transform: translateY(-1px);
}

/* ============================================================
   BUTTONS (global)
   ============================================================ */
.btn-teal {
  background: var(--fc-teal);
  color: var(--fc-white);
  border: none;
  border-radius: var(--fc-radius);
  font-weight: 600;
  font-family: var(--fc-font-display);
  padding: 12px 28px;
  font-size: 14px;
  letter-spacing: .02em;
  transition: all .2s;
  box-shadow: var(--fc-shadow-teal);
}
.btn-teal:hover {
  background: var(--fc-teal-dark);
  color: var(--fc-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45,191,176,.35);
}
.btn-teal-outline {
  background: transparent;
  color: var(--fc-teal);
  border: 2px solid var(--fc-teal);
  border-radius: var(--fc-radius);
  font-weight: 600;
  font-family: var(--fc-font-display);
  padding: 11px 28px;
  font-size: 14px;
  transition: all .2s;
}
.btn-teal-outline:hover {
  background: var(--fc-teal);
  color: var(--fc-white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--fc-navy);
  color: var(--fc-white);
  border: none;
  border-radius: var(--fc-radius);
  font-weight: 600;
  padding: 12px 28px;
  font-size: 14px;
  transition: all .2s;
}
.btn-navy:hover {
  background: var(--fc-navy-mid);
  color: var(--fc-white);
  transform: translateY(-2px);
}

/* ============================================================
   CARDS
   ============================================================ */
.fc-card {
  background: var(--fc-white);
  border-radius: var(--fc-radius-lg);
  border: 1px solid var(--fc-gray-200);
  box-shadow: var(--fc-shadow-sm);
  overflow: hidden;
  transition: all .25s;
}
.fc-card:hover {
  box-shadow: var(--fc-shadow-lg);
  transform: translateY(-4px);
  border-color: var(--fc-teal);
}

.fc-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.fc-badge-promoted {
  background: rgba(245,158,11,.12);
  color: #b45309;
}
.fc-badge-verified {
  background: rgba(45,191,176,.12);
  color: var(--fc-teal-dark);
}
.fc-badge-open {
  background: rgba(34,197,94,.12);
  color: #16a34a;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.fc-search-wrap {
  background: var(--fc-white);
  border-radius: var(--fc-radius-xl);
  box-shadow: var(--fc-shadow-lg);
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fc-search-wrap .form-control {
  border: none;
  outline: none;
  box-shadow: none;
  font-size: 15px;
  background: transparent;
  color: var(--fc-navy);
  flex: 1;
}
.fc-search-wrap .form-control:focus { box-shadow: none; border: none; }
.fc-search-wrap .form-select {
  border: none;
  border-left: 1.5px solid var(--fc-gray-200);
  border-radius: 0;
  font-size: 14px;
  color: var(--fc-gray-500);
  padding: 0 14px;
  background-color: transparent;
}
.fc-search-wrap .form-select:focus { box-shadow: none; border-color: var(--fc-gray-200); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.fc-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--fc-teal);
  margin-bottom: 10px;
}
.fc-section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--fc-navy);
  line-height: 1.18;
}
.fc-section-sub {
  font-size: 16px;
  color: var(--fc-gray-500);
}

/* ============================================================
   FOOTER
   ============================================================ */
.fc-footer {
  background: var(--fc-navy);
  color: rgba(255,255,255,.72);
  padding: 64px 0 32px;
}
.fc-footer h5 {
  color: var(--fc-white);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 18px;
}
.fc-footer ul { list-style: none; padding: 0; margin: 0; }
.fc-footer ul li { margin-bottom: 9px; }
.fc-footer ul li a {
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
  transition: color .18s;
}
.fc-footer ul li a:hover { color: var(--fc-teal); }
.fc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.fc-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  font-size: 15px;
  transition: all .2s;
  margin-right: 8px;
}
.fc-footer-social a:hover {
  border-color: var(--fc-teal);
  color: var(--fc-teal);
  background: rgba(45,191,176,.08);
}

/* ============================================================
   LISTING CARD (used on /care-type/adult/)
   ============================================================ */
.listing-card {
  background: var(--fc-white);
  border-radius: var(--fc-radius-lg);
  border: 1px solid var(--fc-gray-200);
  overflow: hidden;
  transition: all .25s;
  box-shadow: var(--fc-shadow-sm);
}
.listing-card:hover {
  box-shadow: var(--fc-shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(45,191,176,.4);
}
.listing-card .listing-gallery {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--fc-gray-100);
}
.listing-card .listing-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.listing-card:hover .listing-gallery img { transform: scale(1.04); }
.listing-card .listing-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.listing-card .listing-body { padding: 18px 20px 20px; }
.listing-card .listing-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-navy);
  margin-bottom: 4px;
  font-family: var(--fc-font-display);
}
.listing-card .listing-excerpt {
  font-size: 13.5px;
  color: var(--fc-gray-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.listing-card .listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--fc-gray-400);
  margin-bottom: 14px;
}
.listing-card .listing-meta span { display: flex; align-items: center; gap: 5px; }
.listing-card .listing-rating {
  color: var(--fc-warning);
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.fc-filter-panel {
  background: var(--fc-white);
  border-radius: var(--fc-radius-lg);
  border: 1px solid var(--fc-gray-200);
  padding: 24px;
  position: sticky;
  top: calc(var(--fc-navbar-h) + 16px);
}
.fc-filter-panel h6 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--fc-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fc-gray-200);
}
.fc-filter-panel .form-check-label { font-size: 14px; color: var(--fc-gray-700); }
.fc-filter-panel .form-check-input:checked {
  background-color: var(--fc-teal);
  border-color: var(--fc-teal);
}
.fc-filter-panel .form-control,
.fc-filter-panel .form-select {
  border-radius: 10px;
  border-color: var(--fc-gray-200);
  font-size: 14px;
}
.fc-filter-panel .form-control:focus,
.fc-filter-panel .form-select:focus {
  border-color: var(--fc-teal);
  box-shadow: 0 0 0 3px rgba(45,191,176,.15);
}

/* ============================================================
   CATEGORY PILLS
   ============================================================ */
.fc-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fc-white);
  border: 1.5px solid var(--fc-gray-200);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fc-navy);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.fc-category-pill:hover,
.fc-category-pill.active {
  border-color: var(--fc-teal);
  background: var(--fc-teal-bg);
  color: var(--fc-teal-dark);
}
.fc-category-pill .pill-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fc-teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ============================================================
   HERO VARIANTS
   ============================================================ */
.fc-hero {
  background: var(--fc-navy);
  color: var(--fc-white);
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.fc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(45,191,176,.15) 0%, transparent 70%);
  pointer-events: none;
}
.fc-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--fc-white);
  margin-bottom: 18px;
}
.fc-hero-title span { color: var(--fc-teal); }
.fc-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin-bottom: 36px;
}

/* ============================================================
   HOW IT WORKS STEPS
   ============================================================ */
.fc-step-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--fc-radius-lg);
  background: var(--fc-white);
  border: 1px solid var(--fc-gray-200);
  transition: all .25s;
}
.fc-step-card:hover { box-shadow: var(--fc-shadow-lg); border-color: var(--fc-teal); }
.fc-step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--fc-teal);
  color: var(--fc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--fc-font-display);
  margin: 0 auto 18px;
}
.fc-step-card h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--fc-navy);
  margin-bottom: 10px;
}
.fc-step-card p { font-size: 14px; color: var(--fc-gray-500); margin: 0; }

/* ============================================================
   STAT COUNTERS
   ============================================================ */
.fc-stat-card {
  text-align: center;
  padding: 28px 20px;
}
.fc-stat-card .stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--fc-teal);
  font-family: var(--fc-font-display);
  line-height: 1;
  margin-bottom: 6px;
}
.fc-stat-card .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,.65);
}

/* ============================================================
   PAGE HEADER BAND (inner pages)
   ============================================================ */
.fc-page-header {
  background: var(--fc-navy);
  padding: 48px 0 52px;
  position: relative;
  overflow: hidden;
}
.fc-page-header::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(45,191,176,.07);
  pointer-events: none;
}
.fc-page-header h1 {
  color: var(--fc-white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0;
}
.fc-page-header .breadcrumb { background: transparent; padding: 0; margin: 8px 0 0; }
.fc-page-header .breadcrumb-item,
.fc-page-header .breadcrumb-item a { color: rgba(255,255,255,.55); font-size: 13.5px; }
.fc-page-header .breadcrumb-item.active { color: var(--fc-teal); }
.fc-page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .fc-hero { padding: 52px 0 64px; }
  .fc-search-wrap { flex-direction: column; border-radius: var(--fc-radius-lg); padding: 16px; }
  .fc-search-wrap .form-select { border-left: none; border-top: 1.5px solid var(--fc-gray-200); padding: 10px 0; }
  .fc-filter-panel { position: static; }
}
