/* Reset some default styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f6f8;
  margin: 0;
  padding: 0 20px;
  color: #333;
}

h1 {
  text-align: center;
  color: #2c3e50;
}

input,
button {
  padding: 10px 16px;
  margin: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
}

button {
  background-color: #3498db;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #2980b9;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  padding: 8px;
  background-color: white;
  margin-bottom: 5px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-done {
  text-decoration: line-through;
  color: gray;
}

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --border: #e5e7eb;

  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;

  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #dbeafe;

  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.10);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.fxBtn,
.btn-primary,
.btn-secondary,
.btn-ghost {
  appearance: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.fxBtn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
}

.fxBtn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-ghost:active {
  transform: translateY(0);
}

.fxBtn--blue,
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.fxBtn--blue:hover,
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: #eef2ff;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.card-pad {
  padding: var(--space-5);
}

.section-title {
  margin: 0 0 var(--space-4);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text);
}

.section-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
}



h1,
h2,
h3,
h4 {
  color: var(--text);
}

p,
span,
label,
small {
  color: var(--text-muted);
}

.offersWrapper,
.loginCard,
.messagesMain,
.messagesSidebar,
.profileCard,
.projectCard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.page-section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}


.mfa-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.mfa-card p {
  margin: 0;
}

.mfa-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}


input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--text);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 100%;
  }

  .mfa-top {
    flex-direction: column;
    align-items: stretch;
  }
}















.catGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.catCard {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.catCard:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
  border-color: #bbb;
}

.catCard img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #eee;
}

.catLabel {
  margin-top: 8px;
  font-weight: 600;
  font-size: 14px;
}

.catCard.isSelected {
  border-color: #111;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .10);
}

@media (max-width: 980px) {
  .catGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .catGrid {
    grid-template-columns: 1fr;
  }
}

/* Search Work area (subtle) */
#projectFilters {
  background: #f3f6ff;
  border: 2px solid #d6e0ff;
  border-radius: 14px;
}

/* Create Project area (bright + standout) */
#createProjectBox {
  background: #fff2b3;
  border: 3px solid #ffcc00;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  margin-top: 16px;
}

#createProjectBox h2 {
  margin-top: 0;
}

#createProjectBox label {
  font-weight: 700;
}

#createProjectBox button[type="submit"] {
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
}

/* ---------- PAGE BASE ---------- */
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f6f7fb;
  color: #111;
  margin: 0;
  padding: 0;
}

hr {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, .08);
  margin: 18px 0;
}



.topHelpersSection {
  position: relative;
  background: url("./hero-team.jpg") center/cover no-repeat;
  padding: 80px 0;
}

.topHelpersOverlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  /* dark overlay */
}

.topHelpersInner {
  position: relative;
  z-index: 1;
}

.topHelpersSection h2 {
  color: #ffffff;
}

.topHelpersSection p {
  color: rgba(255, 255, 255, 0.85);
}

.helpersGrid .card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.topHelpersOverlay {
  backdrop-filter: blur(2px);
}










/* Optional: keep content from going edge-to-edge */
#projectsToggle,
#projectFilters,
#createProjectBox,
#projectsContainer,
#myOffersContainer,
#loginBox,
#loginStatus,
#myRating,
#logoutBtn {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- SEARCH Projects PANEL ---------- */
#projectFilters {
  background: #eef1f7;
  border: 1px solid rgba(0, 0, 0, .10) !important;
  border-radius: 14px;
  padding: 14px !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
}

#projectFilters strong {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .06);
}

#projectFilters select,
#projectFilters input {
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 6px;
}

/* ---------- CREATE PROJECT "POP" CARD ---------- */
#createProjectBox {
  background: linear-gradient(180deg, #fff7d6 0%, #ffffff 80%);
  border: 2px solid rgba(255, 170, 0, .40);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .10);
  position: relative;
}

#createProjectBox::before {
  content: "Create Project";
  position: absolute;
  top: -12px;
  left: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffcc4d;
  border: 1px solid rgba(0, 0, 0, .15);
}

#createProjectBox h2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

#createProjectBox label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

#createProjectBox input[type="text"],
#createProjectBox input[type="number"],
#createProjectBox input[type="email"],
#createProjectBox input[type="password"],
#createProjectBox textarea,
#createProjectBox select {
  width: 100%;
  max-width: 800px;
  border: 1px solid rgba(0, 0, 0, .20);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  margin-top: 6px;
  background: #fff;
}

#createProjectBox textarea {
  min-height: 96px;
  resize: vertical;
}

#createProjectBox button {
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 12px;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: transform .06s ease, opacity .2s ease;
  margin-top: 12px;
}

#createProjectBox button:hover {
  transform: translateY(-1px);
  opacity: .95;
}

#createProjectBox button:disabled {
  opacity: .5;
  cursor: not-allowed;
}


/* ---------- PROJECT CARDS ---------- */
.project {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 16px;
  padding: 14px;
  margin: 12px auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .06);
}

/* ================================
   SEARCH Project SECTION
================================ */
.searchProjectSection {
  background: linear-gradient(135deg, #1e88ff, #3fa9ff);
  color: #fff;
  padding: 22px 20px;
  border-radius: 14px;
  margin: 20px auto 24px;
  width: min(1100px, 94vw);
  box-shadow: 0 10px 28px rgba(30, 136, 255, 0.35);
}

.searchProjectHeader h2 {
  color: #000000da !important;
}

.searchProjectHeader {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.searchProjectHeader h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}

.searchProjectHeader p {
  margin: 0;
  font-size: 20px;
  opacity: 0.95;
}

/* Optional: make filters look cleaner on blue */
.searchProjectSection select,
.searchProjectSection input {
  background: #fff;
  color: #111;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.searchProjectSection+#projectsContainer {
  margin-top: -10px;
}

/* Search Projects section text readability */
#searchProjects,
#searchProjects label,
#searchProjects span,
#searchProjects h2,
#searchProjects h3 {
  color: #000;
}

#searchProjects label {
  color: #000 !important;
}

/* Force readable text in Search Projects section */
#searchProjects * {
  color: #000;
}

/* Make Search Projects text readable */
#searchProjectSection {
  color: #000;
}

/* Primary action buttons (logout + project toggles) */
#logoutBtn,
#allProjectsBtn,
#myProjectsBtn,
#myOffersBtn {
  background: #1e88e5;
  /* bright, friendly blue */
  color: #fff;
  border: none;
  padding: 16px 22px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

#logoutBtn:hover,
#allProjectsBtn:hover,
#myProjectsBtn:hover,
#myOffersBtn:hover {
  background: #1565c0;
  transform: translateY(-1px);
}

#projectsToggle button.active {
  background: #0d47a1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* === Primary UI Buttons (Logout + Project Toggles) === */
#logoutBtn,
#allProjectsBtn,
#myProjectsBtn,
#myOffersBtn {
  background: linear-gradient(135deg, #42a5f5, #1e88e5);
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 999px;
  /* pill shape */
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(30, 136, 229, 0.35);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

#logoutBtn:hover,
#allProjectsBtn:hover,
#myProjectsBtn:hover,
#myOffersBtn:hover {
  background: linear-gradient(135deg, #64b5f6, #1976d2a4);
  box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
  transform: translateY(-2px);
}

#projectsToggle button.active {
  background: linear-gradient(135deg, #1565c05e, #0d48a18b);
  box-shadow: 0 12px 30px rgba(13, 71, 161, 0.6);
}

#projectsToggle {
  display: flex;
  gap: 10px;
}

#categoryPicker {
  margin-top: 10px;
}

/* === Category Picker Layout Upgrade === */
.catGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  justify-items: center;
  margin-top: 20px;
}

.catCard {
  width: 100%;
  max-width: 320px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.catCard img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 14px;
}

.catLabel {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.catCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.catCard.selected {
  border-color: #1e88e566;
  box-shadow: 0 12px 34px rgba(30, 136, 229, 0.4);
}

.catCard {
  position: relative;
}

.catCard.selected::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: #1e88e580;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(30, 136, 229, 0.5);
}

.catCard::after {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.catCard.selected::after {
  opacity: 1;
  transform: scale(1);
}

button {
  position: relative;
  border-radius: 999px;
  border: 6px solid rgba(255, 80, 80, 0.35);

  box-shadow:
    0 0 12px rgba(255, 80, 80, 0.25),
    /* red glow */
    0 8px 20px rgba(0, 0, 0, 0.15);
  /* existing depth */

  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

button:hover {
  box-shadow:
    0 0 18px rgba(255, 80, 80, 0.45),
    0 10px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

/* 🔥 Red glow accent for top navigation buttons */
.top-nav button,
.top-nav .btn,
button.nav-btn {
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(255, 80, 80, 0.55);
  box-shadow:
    0 0 0 3px rgba(232, 18, 18, 0.517),
    0 0 10px rgba(238, 15, 15, 0.389),
    0 0 18px rgba(80, 159, 255, 0.464);
  /* keeps your blue glow */
  transition: all 0.25s ease;
}

/* ✨ Hover: slightly stronger glow */
.top-nav button:hover,
.top-nav .btn:hover,
button.nav-btn:hover {
  box-shadow:
    0 0 0 3px rgba(231, 7, 7, 0.793),
    0 0 16px rgba(224, 15, 15, 0.719),
    0 0 26px rgba(80, 159, 255, 0.547);
  transform: translateY(-1px);
}

/* 🔴 Active/current tab */
.top-nav button.active,
.top-nav .btn.active {
  background: linear-gradient(135deg,
      rgba(255, 80, 80, 0.25),
      rgba(80, 160, 255, 0.35));
}

button {
  border: 3px solid rgba(255, 80, 80, 0.55);
  box-shadow:
    0 0 0 3px rgba(255, 80, 80, 0.25),
    0 0 10px rgba(255, 80, 80, 0.35),
    0 0 18px rgba(80, 160, 255, 0.35);
}

/* 🔥 Red glow for top pill navigation (Logout, All Projects, My Projects, My Offers) */
a,
.nav a,
.nav button,
.top-nav a,
.top-nav button {
  border-radius: 999px;
  border: 1px solid rgba(231, 35, 35, 0.775);
  box-shadow:
    0 0 0 3px rgba(238, 28, 28, 0.81),
    0 0 12px rgba(255, 80, 80, 0.727),
    0 0 20px rgba(80, 160, 255, 0.35);
  /* keeps blue glow */
  transition: all 0.25s ease;
}

a:hover,
.nav a:hover,
.top-nav a:hover {
  box-shadow:
    0 0 0 3px rgba(255, 80, 80, 0.7),
    0 0 18px rgba(255, 80, 80, 0.6),
    0 0 28px rgba(80, 160, 255, 0.45);
  transform: translateY(-1px);
}

a.active {
  background: linear-gradient(135deg,
      rgba(255, 80, 80, 0.28),
      rgba(80, 160, 255, 0.38));
}

/* 🔥 FORCE red glow on top navigation pills */
.nav-pill {
  border: 1px solid rgba(255, 80, 80, 0.6) !important;
  box-shadow:
    0 0 0 3px rgba(255, 80, 80, 0.35),
    0 0 14px rgba(255, 80, 80, 0.55),
    0 0 36px rgba(80, 160, 255, 0.45) !important;
}

.nav-pill:hover {
  box-shadow:
    0 0 0 3px rgba(255, 80, 80, 0.8),
    0 0 20px rgba(255, 80, 80, 0.75),
    0 0 42px rgba(80, 160, 255, 0.55) !important;
}

/* 🧠 Brand alignment */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  /* controls space between logo + text */
}

.logo {
  margin: 0;
  padding: 10;
  height: 40px;
  /* adjust if needed */
}

.brand-text {
  font-size: 28px;
  font-weight: 700;
}

logo height → 32px font-size → 22px padding → 14px 22px

/* 🔴 Subtle red glow for toggle buttons */
.toggle-glow {
  border: 2px solid rgba(255, 80, 80, 0.55);
  box-shadow:
    0 0 10px rgba(255, 80, 80, 0.35),
    0 0 18px rgba(255, 80, 80, 0.25);
  transition: all 0.25s ease;
}

/* Hover boost (still tasteful) */
.toggle-glow:hover {
  box-shadow:
    0 0 10px rgba(255, 80, 80, 0.55),
    0 0 22px rgba(255, 80, 80, 0.4);
  transform: translateY(-1px);
}

/* FORCE glow on top nav toggle buttons (adjust selector to match yours) */
#topNav button,
#topNav .tabBtn,
#topNav .toggleBtn,
#topNav .pill,
#topNav a {
  border: 2px solid rgba(255, 80, 80, 0.55) !important;
  box-shadow:
    0 0 8px rgba(255, 80, 80, 0.35),
    0 0 16px rgba(255, 80, 80, 0.25) !important;
  transition: all 0.25s ease;
}

#topNav button:hover,
#topNav .tabBtn:hover,
#topNav .toggleBtn:hover,
#topNav .pill:hover,
#topNav a:hover {
  box-shadow:
    0 0 10px rgba(197, 39, 39, 0.873),
    0 0 22px rgba(255, 80, 80, 0.4) !important;
  transform: translateY(-1px);
}

/* Reusable red glow */
.glow-red {
  border: 2px solid rgba(255, 70, 70, 0.55);
  box-shadow:
    0 0 10px rgba(237, 31, 31, 0.823),
    0 0 22px rgba(255, 70, 70, 0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.glow-red:hover {
  box-shadow:
    0 0 14px rgba(160, 38, 38, 0.873),
    0 0 28px rgba(255, 70, 70, 0.30);
  transform: translateY(-1px);
}

/* Header sizing so logo never gets cut off */
.headerLink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: inherit;
  line-height: 1;
}

.headerLogo {
  height: 44px;
  width: auto;
  display: block;
}

.headerText {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ✅ Glow the 3 toggle buttons + logout button */
#projectsToggle button,
#logoutBtn {
  border: 2px solid rgba(255, 70, 70, 0.55) !important;
  box-shadow:
    0 0 10px rgba(255, 70, 70, 0.25),
    0 0 22px rgba(255, 70, 70, 0.18) !important;
  border-radius: 999px;
}

#projectsToggle button:hover,
#logoutBtn:hover {
  box-shadow:
    0 0 14px rgba(255, 70, 70, 0.45),
    0 0 28px rgba(255, 70, 70, 0.30) !important;
  transform: translateY(-1px);
}

/* 🔥 Force red glow on important buttons */
.glowBtn {
  border: 2px solid rgba(255, 60, 60, 0.6) !important;
  box-shadow:
    0 0 10px rgba(255, 60, 60, 0.35),
    0 0 26px rgba(255, 60, 60, 0.25) !important;
  background: rgba(90, 150, 255, 0.35);
  border-radius: 999px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.glowBtn:hover {
  box-shadow:
    0 0 16px rgba(255, 60, 60, 0.55),
    0 0 36px rgba(255, 60, 60, 0.4) !important;
  transform: translateY(-1px);
}

.offerIcons {
  display: flex;
  gap: 6px;
}

.offerIcons img {
  height: 7px;
  /* 👈 small, icon-sized */
  width: auto;
  border-radius: 6px;
  background: white;
  padding: 3px;
  box-shadow:
    0 0 0 1px rgba(255, 0, 0, 0.25),
    0 0 6px rgba(255, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.offerIcons img:hover {
  transform: scale(1.12);
  box-shadow:
    0 0 0 1px rgba(255, 0, 0, 0.45),
    0 0 10px rgba(255, 0, 0, 0.45);
}

/* FORCE the 5 icons next to "My Offers" to be small */
#projectsToggle img,
#projectsToggle .offerIcons img {
  height: 22px !important;
  width: 22px !important;
  max-height: 22px !important;
  max-width: 22px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  background: #fff !important;
  padding: 3px !important;
  box-shadow: 0 0 0 1px rgba(255, 0, 0, .25), 0 0 6px rgba(255, 0, 0, .25) !important;
  display: inline-block !important;
}

/* Keep them aligned nicely with the button */
#projectsToggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

#projectsToggle .offerIcons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#projectsToggle .myOffersRow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

#projectsToggle .offerIcons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#projectsToggle .offerIcons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* =========================
   FORCE TOP BUTTON GLOW
   (All Projects / My Projects / My Offers / Logout)
   ========================= */
#projectsToggle button,
#logoutBtn {
  border: 2px solid rgba(255, 70, 70, 0.65) !important;
  box-shadow:
    0 0 0 4px rgba(255, 70, 70, 0.20),
    0 0 16px rgba(255, 70, 70, 0.35),
    0 10px 22px rgba(30, 136, 229, 0.25) !important;
  border-radius: 999px !important;
}

/* Hover boost */
#projectsToggle button:hover,
#logoutBtn:hover {
  box-shadow:
    0 0 0 4px rgba(255, 70, 70, 0.35),
    0 0 22px rgba(255, 70, 70, 0.55),
    0 12px 28px rgba(30, 136, 229, 0.35) !important;
  transform: translateY(-1px);
}

/* =========================
   FORCE ICONS SMALL
   ========================= */
#projectsToggle .myOffersRow {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

#projectsToggle .offerIcons {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

#projectsToggle .offerIcons img {
  width: 82px !important;
  height: 82px !important;
  max-width: 82px !important;
  max-height: 82px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  display: inline-block !important;
}

.searchProjectSection h2 {
  color: #000000ee;
}

.offerIcons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.offerIcons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 0 0 1px rgba(255, 0, 0, .25), 0 0 6px rgba(255, 0, 0, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.offerIcons img:hover {
  transform: translateY(-1px) scale(1.10);
  box-shadow: 0 0 0 1px rgba(255, 0, 0, .45), 0 0 10px rgba(255, 0, 0, .45);
}


.top-helpers-section {
  position: relative;
  padding: 72px 0;
  background-image: url("./hero-team.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.top-helpers-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
}

.top-helpers-inner {
  position: relative;
  z-index: 1;
}

.top-helpers-section .section-head {
  margin-bottom: 24px;
}

.top-helpers-section .section-head h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
}

.top-helpers-section .section-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.top-helpers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.top-helpers-grid>* {
  position: relative;
  z-index: 1;
}

























/* ============================= */
/* 🎉 FUN Hover Message Bubbles */
/* ============================= */
/* ============================= */
/* ✅ OFFER ICONS: CLEAN LAYERS   */
/* ============================= */

.offerIcons {
  display: flex;
  gap: 14px;
  align-items: center;
  position: relative;
  overflow: visible !important;
}

.offerIcon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible !important;

  /* stacking context so z-index works */
  z-index: 1;
}

.offerIcon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  cursor: pointer;
  transition: transform .2s ease;
}

.offerIcon:hover .iconMsg {
  opacity: 1;
  transform: translateX(-50%) rotate(-4deg) translateY(-6px);
}


/* Floating message */
.iconMsg {
  position: absolute;
  bottom: 65px;
  /* ⬅️ RAISED higher */
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);

  background: #fff;
  color: #111;
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);

  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;

  z-index: 9999;
  /* ⬅️ Forces above everything */
}

.offerIcons {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  overflow: visible;
  /* ⬅️ IMPORTANT */
}


/* Show message on hover */
.offerIcon:hover::before {
  opacity: 1;
  transform: translateX(-50%) rotate(-4deg) translateY(-6px);
}

.offerIcon:nth-child(odd) .iconMsg {
  background: #fff8dc;
  /* soft yellow */
}

.offerIcon:nth-child(even) .iconMsg {
  background: #e8f4ff;
  /* soft blue */
}

.offerIcon:nth-child(3n) .iconMsg {
  background: #ffe8f0;
  /* soft pink */
}

@keyframes floatBounce {
  0% {
    transform: translateX(-50%) rotate(-8deg) translateY(0);
  }

  50% {
    transform: translateX(-50%) rotate(-6deg) translateY(-4px);
  }

  100% {
    transform: translateX(-50%) rotate(-8deg) translateY(0);
  }
}

.offerIcon:hover .iconMsg {
  opacity: 1;
  animation: floatBounce 0.6s ease;
}

/* ---- ICON STRIP ---- */
.offerIcons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: visible;
  /* important */
}

/* Each icon wrapper */
.offerIcon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  overflow: visible;
}

/* Icon image size */
.offerIcon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, .18);
}

/* ---- FUN MESSAGE BUBBLE ---- */
.offerIcon::before {
  content: attr(data-msg);
  position: absolute;
  left: 50%;
  bottom: 74px;
  /* raised */
  transform: translateX(-50%) rotate(-7deg);
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .18s ease, transform .18s ease;
}

.offerIcon:hover::before {
  opacity: 1;
  transform: translateX(-50%) rotate(-4deg) translateY(-6px);
}

/* Make each icon its own stacking context so z-index works predictably */
.offerIcon {
  position: relative;
  z-index: 1;
}

/* ============================= */
/* 💬 Hover Message Bubble (TOP) */
/* ============================= */

/* If your bubble is made with ::before or ::after, force it to the top */
.offerIcon::before {
  position: absolute;
  z-index: 9999;
}

/* If your bubble uses an actual element inside the icon, force it up */
.offerIcon .bubble,
.offerIcon .wordBubble,
.offerIcon .speechBubble {
  position: absolute;
  z-index: 9999;
}

/* ============================= */
/* ☁️ Smoke Layer (BEHIND) */
/* ============================= */

.offerIcon::after {
  /* your smoke already exists here — this just forces it behind */
  z-index: 5;
  pointer-events: none;
}

/* ============================= */
/* 🕺 Stick Dancer (ABOVE SMOKE) */
/* ============================= */

#stickDancer {
  position: absolute;
  /* keep */
  z-index: 1000;
  /* above smoke */
  pointer-events: none;
}

/* Fire/smoke behind dancer */
#stickDancer.fire-on::before,
#stickDancer.fire-on::after {
  z-index: -1;
  /* behind dancer itself */
}

/* ============================= */
/* 🧱 Ensure modals/UI beat smoke */
/* ============================= */

#chatModal {
  position: fixed;
  z-index: 99999;
}


/* ---- SMOKE / MIST EFFECT (pure CSS) ---- */
/* We create 3 smoky puffs that rise */
.offerIcon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42px;
  /* starts near top of image */
  width: 10px;
  height: 40px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  filter: blur(21px);
}

/* Use box-shadow clones as multiple puffs */
.offerIcon:hover::after {
  opacity: 1;
  animation: smokeRise 3.2s ease-out infinite;
  box-shadow:
    -12px 30px 0 0 rgba(255, 255, 255, 0.55),
    1px 0px 0 0 rgba(255, 255, 255, 0.60),
    14px 12px 0 0 rgba(255, 255, 255, 0.45);
}

@keyframes smokeRise {
  0% {
    transform: translateX(-50%) translateY(10px) scale(0.9);
    filter: blur(1px);
    opacity: 0.9;
  }

  20% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(-50%) translateY(-40px) scale(2.3);
    filter: blur(10px);
    opacity: 0;
  }
}


@keyframes flameFlicker {
  0% {
    transform: translateX(-50%) scale(1) rotate(-2deg);
  }

  100% {
    transform: translateX(-50%) scale(1.08) rotate(2deg);
  }
}

@keyframes flameFlicker2 {
  0% {
    transform: translateX(-50%) scale(0.98) rotate(3deg);
    opacity: 0.75;
  }

  100% {
    transform: translateX(-50%) scale(1.12) rotate(-3deg);
    opacity: 0.95;
  }
}

/* Rising smoky motion */
@keyframes smokyRise {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 0.7;
  }

  100% {
    transform: translateX(-50%) translateY(-15px) scale(1.08);
    opacity: 0.9;
  }
}

@keyframes smokyDrift {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  100% {
    transform: translateX(-50%) translateY(-25px) scale(1.1);
  }
}

/* animate the inner ONLY */
#stickDancer .dancerInner.dance {
  animation: dancerBop 0.42s infinite ease-in-out;
  transform-origin: 50% 80%;
}

/* bigger wiggle + more hop */

@keyframes dancerBop {
  0% {
    transform: translateY(0) rotate(-48deg) scale(1);
  }

  25% {
    transform: translateY(-6px) rotate(10deg) scale(1.03);
  }

  50% {
    transform: translateY(0) rotate(-19deg) scale(1);
  }

  75% {
    transform: translateY(-7px) rotate(12deg) scale(1.04);
  }

  100% {
    transform: translateY(0) rotate(-18deg) scale(1);
  }
}

/* ---- Stick dancer (SVG) base ---- */
/* Container: positioned by JS, floats above icon */
#stickDancer {
  position: absolute;
  left: -500px;
  top: -9999px;
  width: 30px;
  height: 60px;
  pointer-events: none;
  z-index: 5000;

  /* center horizontally, lift vertically ABOVE the icon */
  transform: translate(-25%, -75px);
}


/* Animate only the inner wrapper so centering never breaks */
#stickDancer .dancerInner.dance {
  animation: dancerBop 0.50s infinite ease-in-out;
  transform-origin: 10% 50%;
}

/* Ensure the dancer can host pseudo-elements */
#stickDancer {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
}

#stickDancer .dancerInner {
  position: relative;
  z-index: 2;
}

/* BIG smoky fire behind dancer */
#stickDancer.fire-on::before,
#stickDancer.fire-on::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -130px;
  /* start high above dancer */
  transform: translateX(-50%);
  pointer-events: none;
}

/* Flame column: tall + skinny + colorful */
#stickDancer.fire-on::before {
  width: 46px;
  /* skinny */
  height: 170px;
  /* tall */
  z-index: -1;
  /* BEHIND dancer */
  border-radius: 50% 50% 40% 40%;
  background:
    radial-gradient(circle at 50% 85%,
      rgba(255, 255, 140, 0.80) 3%,
      rgba(255, 200, 70, 0.65) 18%,
      rgba(255, 80, 80, 0.55) 40%,
      rgba(255, 80, 210, 0.45) 62%,
      rgba(150, 90, 255, 0.40) 82%,
      rgba(0, 0, 0, 0) 100%);
  filter: blur(0.5px);
  animation: flameTall 180ms infinite alternate ease-in-out;
}

/* Smoke: wide blurred plume (layer 1) */
#stickDancer.fire-on::after {
  width: 140px;
  height: 340px;
  z-index: -2;
  /* behind flame too */
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 75%,
      rgba(255, 255, 255, 0.22) 3%,
      rgba(255, 255, 255, 0.14) 18%,
      rgba(255, 140, 200, 0.10) 45%,
      rgba(160, 120, 255, 0.10) 65%,
      rgba(0, 0, 0, 0) 100%);
  filter: blur(25px);
  opacity: 0.9;
  animation: smokeDrift 2.2s infinite ease-in-out;
}

/* Extra smoke puffs using box-shadow clones */
#stickDancer.fire-on .dancerInner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  width: 18px;
  height: 60px;
  border-radius: 50%;
  z-index: 1;
  /* inside inner, still behind stick lines */
  opacity: 0.85;
  filter: blur(3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    -42px 60px 0 0 rgba(255, 255, 255, 0.18),
    -10px 10px 0 0 rgba(255, 180, 230, 0.15),
    18px 34px 0 0 rgba(180, 140, 255, 0.14),
    44px 72px 0 0 rgba(255, 255, 255, 0.16);
  animation: smokeRise 1.6s infinite ease-out;
}

/* Motion */
@keyframes flameTall {
  0% {
    transform: translateX(-50%) scaleX(0.95) scaleY(0.98) skewX(-2deg);
    opacity: 0.85;
  }

  100% {
    transform: translateX(-50%) scaleX(1.05) scaleY(1.05) skewX(2deg);
    opacity: 3;
  }
}

@keyframes smokeDrift {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 0.70;
  }

  50% {
    transform: translateX(-55%) translateY(-14px) scale(1.04);
    opacity: 0.85;
  }

  100% {
    transform: translateX(-45%) translateY(-26px) scale(1.08);
    opacity: 0.65;
  }
}

@keyframes smokeRise {
  0% {
    transform: translateX(-50%) translateY(20px) scale(0.9);
    opacity: 0.70;
  }

  30% {
    opacity: 0.95;
  }

  100% {
    transform: translateX(-50%) translateY(-55px) scale(1.7);
    opacity: 0;
  }
}

@keyframes dancerBop {
  0% {
    transform: translateY(0px) rotate(-3deg);
  }

  50% {
    transform: translateY(-12px) rotate(3deg);
  }

  100% {
    transform: translateY(0px) rotate(-3deg);
  }
}

/* ---- Smoky fire behind dancer: taller + skinnier + more color ---- */
#stickDancer.fire-on::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -230px;
  /* higher behind him */
  transform: translateX(-50%);
  width: 46px;
  /* skinnier core */
  height: 260px;
  /* taller */
  z-index: -2;
  pointer-events: none;

  background:
    radial-gradient(circle at 50% 92%,
      rgba(255, 255, 150, .45) 10%,
      rgba(255, 190, 80, .40) 14%,
      rgba(255, 60, 60, .38) 32%,
      rgba(255, 60, 200, .34) 65%,
      rgba(150, 70, 255, .30) 86%,
      rgba(0, 0, 0, 0) 100%),
    radial-gradient(circle at 55% 45%,
      rgba(255, 60, 200, .16) 25%,
      rgba(120, 60, 255, .14) 90%,
      rgba(0, 0, 0, 0) 100%);

  filter: blur(18px);
  opacity: .95;
  animation: skinnyRise 1.9s ease-in-out infinite alternate;
}

/* extra smoke volume layer (wider, softer, more “smoky fire”) */
#stickDancer.fire-on::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -190px;
  transform: translateX(-50%);
  width: 150px;
  /* more smoke */
  height: 320px;
  z-index: -3;
  pointer-events: none;

  background:
    radial-gradient(circle at 50% 86%,
      rgba(255, 80, 80, .18) 0%,
      rgba(255, 60, 200, .18) 30%,
      rgba(150, 70, 255, .16) 70%,
      rgba(255, 255, 255, .06) 72%,
      rgba(0, 0, 0, 0) 100%),
    radial-gradient(circle at 40% 45%,
      rgba(160, 160, 160, .10) 0%,
      rgba(160, 160, 160, .06) 60%,
      rgba(0, 0, 0, 0) 100%);

  filter: blur(30px);
  opacity: .9;
  animation: smokeDrift 2.6s ease-in-out infinite alternate;
}

@keyframes skinnyRise {
  0% {
    transform: translateX(-50%) translateY(0) scaleY(1) skewX(-2deg);
    opacity: .75;
  }

  100% {
    transform: translateX(-50%) translateY(-26px) scaleY(1.12) skewX(2deg);
    opacity: 1;
  }
}

@keyframes smokeDrift {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  100% {
    transform: translateX(-50%) translateY(-34px) scale(1.10);
  }
}

#offerIcons,
.offerIcon {
  overflow: visible !important;
}

/* IMPORTANT: prevent clipping */
#offerIcons,
.offerIcon {
  overflow: visible !important;
}

/* smoke from the ICON */
.offerIcon {
  position: relative;
  /* required for ::after positioning */
}

.offerIcon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42px;
  /* adjust to sit just above the icon */
  width: 12px;
  height: 50px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  filter: blur(10px);
}

.offerIcon:hover::after {
  opacity: 1;
  animation: smokeRise 1.2s ease-out infinite;
  box-shadow:
    -16px 34px 0 0 rgba(255, 255, 255, 0.45),
    -2px 6px 0 0 rgba(255, 255, 255, 0.55),
    16px 18px 0 0 rgba(255, 255, 255, 0.35),
    30px 44px 0 0 rgba(255, 255, 255, 0.25),
    -30px 50px 0 0 rgba(255, 255, 255, 0.22);
}

@keyframes smokeRise {
  0% {
    transform: translateX(-50%) translateY(10px) scale(0.9);
    opacity: 0.85;
    filter: blur(6px);
  }

  100% {
    transform: translateX(-50%) translateY(-55px) scale(2.2);
    opacity: 0;
    filter: blur(14px);
  }
}

.chatBubble,
.wordBubble,
.offerMessageBox {
  position: relative;
  z-index: 9999;
}

/* NEVER let the stick dancer / effects block clicks anywhere */
#stickDancer,
#stickDancer::before,
#stickDancer::after {
  pointer-events: none !important;
}

#categoryPicker,
.catCard {
  pointer-events: auto;
}

/* Category card must be position:relative so the checkmark can sit in the corner */
.catCard {
  position: relative;
}

/* This class is toggled by JS when selected */
.catCard.selected {
  outline: 3px solid #2b6cff;
}

/* The blue checkmark */
.catCard.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: #2b6cff;
  color: white;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

/* Never allow dancer/fire/smoke layers to steal clicks */
#stickDancer,
#stickDancer *,
#stickDancer::before,
#stickDancer::after,
.offerIcon::after,
.offerIcon::before {
  pointer-events: none !important;
}

/* Ensure category picker is clickable */
#categoryPicker {
  position: relative;
  z-index: 5;
}

.catCard {
  position: relative;
}

.catCard.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: #2b6cff;
  color: #fff;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

/* Make clicks land on the category button, not the image */
#categoryPicker .catCard img {
  pointer-events: none;
}

.catCard {
  position: relative;
  cursor: pointer;
}

.catCard.selected {
  outline: 3px solid #2b7cff;
  transform: scale(1.02);
}

.catCard.selected::after {
  content: "✔";
  position: absolute;
  top: 6px;
  right: 8px;
  background: #2b7cff;
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 50%;
}

.catCard img {
  pointer-events: none;
}

.catCard {
  position: relative;
}

.catCard.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1d4ed8;
  /* blue */
  color: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Stick dancer container */
#stickDancer {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 10000;
  /* above everything near icons */
}

#stickDancer .dancerInner {
  position: relative;
  z-index: 2;
}

/* wiggle */
#stickDancer .dancerInner.dance {
  animation: dancerBop .85s infinite ease-in-out;
  transform-origin: 50% 80%;
}

@keyframes dancerFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }

}

/* smoke/fire behind dancer */
#stickDancer.fire-on::before,
#stickDancer.fire-on::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

#stickDancer.fire-on::before {
  top: -140px;
  width: 50px;
  height: 240px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 85%,
      rgba(255, 255, 150, .55) 0%,
      rgba(255, 190, 80, .45) 18%,
      rgba(255, 60, 60, .40) 40%,
      rgba(255, 60, 200, .34) 68%,
      rgba(150, 70, 255, .28) 88%,
      rgba(0, 0, 0, 0) 100%);
  filter: blur(16px);
  animation: flameTall 220ms infinite alternate ease-in-out;
}

#stickDancer.fire-on::after {
  top: -190px;
  width: 160px;
  height: 320px;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 80%,
      rgba(255, 255, 255, .14) 0%,
      rgba(255, 140, 200, .10) 35%,
      rgba(160, 120, 255, .10) 70%,
      rgba(0, 0, 0, 0) 100%);
  filter: blur(28px);
  animation: smokeDrift 2.2s infinite ease-in-out;
}

@keyframes flameTall {
  0% {
    opacity: .75;
    transform: translateX(-50%) scaleX(.95) scaleY(.98) skewX(-2deg);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.08) scaleY(1.06) skewX(2deg);
  }
}

@keyframes smokeDrift {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: .65;
  }

  50% {
    transform: translateX(-56%) translateY(-16px) scale(1.05);
    opacity: .85;
  }

  100% {
    transform: translateX(-45%) translateY(-30px) scale(1.10);
    opacity: .60;
  }
}

/* ensure icons don't clip dancer */
#offerIcons,
.offerIcon {
  overflow: visible !important;
}

.catCard {
  position: relative;
}

.catCard.selected {
  outline: 3px solid #2b6cff;
  border-radius: 12px;
}

.catCard.selected::after {
  content: "✔";
  position: absolute;
  top: 12px;
  right: 12px;

  font-size: 26px;
  font-weight: 900;

  color: white;
  background: #ff3b3b;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 16px rgba(255, 59, 59, 0.6);
}

.catCard.selected {
  animation: popIn 0.2s ease-out;
}

@keyframes popIn {
  0% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

.catCard {
  position: relative;
}

.catCard.selected {
  border: 3px solid #00c853;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 200, 83, 0.25);
}

#categoryPicker * {
  pointer-events: auto;
}

#categoryPicker::before,
#categoryPicker::after,
.catCard::before,
.catCard::after {
  pointer-events: none !important;
}

/* Layout helpers */
:root {
  --card-bg: rgba(255, 255, 255, 0.92);
  --border: rgba(234, 77, 77, 0.1);
  --text: #111;
  --muted: rgba(0, 0, 0, 0.65);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
}

body {
  color: var(--text);
}

.card {
  max-width: 980px;
  margin: 14px auto;
  padding: 16px 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cardHeader {
  margin-bottom: 12px;
}

.subtext {
  color: var(--muted);
  line-height: 1.35;
}

.formRow {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
}

.field input:focus {
  border-color: rgba(0, 0, 0, 0.25);
}

.btn {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: #111;
  /* 👈 ADD THIS */
  cursor: pointer;
  font-weight: 600;
}


.btn.primary {
  background: rgba(0, 90, 255, 0.10);
  border-color: rgba(0, 90, 255, 0.25);
}

.statusRow {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.status {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 820px) {
  .formRow {
    grid-template-columns: 1fr;
  }
}

#navContainer {
  max-width: 980px;
  margin: 14px auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

#navContainer button {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: #ffffff;
  color: #111;
  /* 👈 ADD THIS */
  font-weight: 700;
  cursor: pointer;
}

:root {
  --bg: #f6f7fb;
  --card: rgba(255, 255, 255, 0.92);
  --text: #121417;
  --muted: rgba(18, 20, 23, .68);
  --border: rgba(18, 20, 23, .12);

  /* Brand accent (match your logo red) */
  --accent: #e53935;
  --accentSoft: rgba(229, 57, 53, .14);

  --shadow: 0 18px 45px rgba(18, 20, 23, .10);
  --radius: 16px;
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

/* Center content width */
#siteHeader {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Replace the harsh blue panel feel */
.searchProjectSection {
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Hero header text cleaner */
.searchProjectHeader h2 {
  margin: 0 0 6px 0;
  font-size: 34px;
  letter-spacing: -0.4px;
}

.searchProjectHeader p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

#navContainer {
  padding: 12px 0 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

#navContainer button {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(18, 20, 23, .06);
}

#navContainer button:hover {
  border-color: rgba(229, 57, 53, .35);
  box-shadow: 0 10px 24px rgba(229, 57, 53, .12);
}

/* Primary action feel (optional: make All Projects stand out) */
#btnAllProjects {
  border-color: rgba(229, 57, 53, .35);
  background: linear-gradient(180deg, rgba(229, 57, 53, .12), rgba(255, 255, 255, .92));
}

#navContainer {
  max-width: 1100px;
  margin: 20px auto 8px;
  display: flex;
  justify-content: center;
  /* 👈 centers buttons */
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

#navContainer button {
  background: rgba(255, 255, 255, 0.95);
  color: #121417;
  border: 1px solid rgba(18, 20, 23, .12);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(18, 20, 23, .08);
  transition: all .18s ease;
}

#navContainer button:hover {
  border-color: rgba(229, 57, 53, .35);
  box-shadow: 0 10px 28px rgba(229, 57, 53, .12);
  transform: translateY(-1px);
}

#btnAllProjects {
  border-color: rgba(229, 57, 53, .35);
  background: linear-gradient(180deg, rgba(229, 57, 53, .14), rgba(255, 255, 255, .95));
}

.searchProjectSection {
  max-width: 1100px;
  margin: 14px auto;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 20, 23, .12);
  box-shadow: 0 18px 45px rgba(18, 20, 23, .10);
}

.chips {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 13px;
  font-weight: 700;
  color: rgba(18, 20, 23, .78);
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(18, 20, 23, .10);
  padding: 8px 10px;
  border-radius: 999px;
}

.chip:hover {
  border-color: rgba(229, 57, 53, .30);
  box-shadow: 0 10px 22px rgba(229, 57, 53, .10);
}

.searchProjectHeader {
  text-align: center;
  /* 👈 centers everything inside */
  margin-bottom: 18px;
}

.heroTitle {
  margin: 0 0 10px 0;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.heroTitle {
  color: #fff;
  text-shadow: 0 2px 8px rgb(249, 33, 33);
}

.heroSection h1 {
  color: #fff !important;
}

#marketHeroSection h1 {
  color: #fff !important;
}

.searchProjectHeader p {
  margin: 0;
  font-size: 17px;
  color: rgba(41, 120, 240, 0.65);
}

.searchProjectSection {
  margin-top: 5px;
  margin-bottom: 5px;
  /* space before login */
}

#authCard {
  margin-top: 0;
}

/* Reduce space under the highlight circles */
.chips {
  margin-top: 18px;
  margin-bottom: 18px;
  /* 👈 tighten this */
}

/* Reduce gap between hero text area and search box */
.searchProjectHeader {
  margin-bottom: 20px;
  /* was probably larger */
}

/* Tighten overall spacing inside discovery section */
.searchProjectSection {
  padding: 22px 24px;
}

/* Search box layout */
#searchProjectSection {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(18, 20, 23, .04);
  border: 1px solid rgba(18, 20, 23, .08);
}

/* Grid layout */
#searchProjectSection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px;
  align-items: end;
}

.searchField label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: rgba(18, 20, 23, .65);
}

.searchField select,
.searchField input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(18, 20, 23, .15);
  background: #fff;
}

.searchProjectSection h2 {
  margin-bottom: 6px;
}

.searchProjectSection p {
  margin-bottom: 12px;
}

#createProjectSection {
  max-width: 2000px;
  margin: 80px auto;
  display: block;
  /* ensure not flex child beside something */
}

#offerIconsWrap {
  margin: 50px auto 50px;
  display: flex;
  justify-content: center;
  /* 👈 centers the entire row */
  align-items: center;
}

.offerIcons {
  display: flex;
  justify-content: center;
  /* 👈 centers the icons inside */
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#offerIconsWrap {
  width: 100%;
}

.offerIcon img {
  width: 48px;
  height: 48px;
}

.catCard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: 40px;
  border: 2px solid rgba(229, 57, 53, .35);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 30px rgba(229, 57, 53, .12);
  min-height: 110px;
  transition: all .2s ease;
}

.catCard img {
  width: 70px;
  /* 👈 increase size */
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.catCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(229, 57, 53, .18);
}

.catCard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;

  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(18, 20, 23, .12);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(18, 20, 23, .08);

  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  min-height: 220px;
  /* big card feel */
}

/* Image becomes the hero */
.catCard img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  /* if your images are more photo-like */
  border-radius: 14px;
  border: 1px solid rgba(18, 20, 23, .10);
  background: rgba(18, 20, 23, .02);
  margin-bottom: 12px;
}

/* Label */
.catLabel {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

/* Optional subtext if you add it later */
.catCard .catSub {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(18, 20, 23, .65);
}

/* Hover */
.catCard:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 57, 53, .30);
  box-shadow: 0 18px 44px rgba(229, 57, 53, .12);
}

/* Selected state (your JS should toggle .selected on the button) */
.catCard.selected {
  border-color: rgba(229, 57, 53, .55);
  box-shadow: 0 20px 54px rgba(229, 57, 53, .18);
  outline: 3px solid rgba(229, 57, 53, .18);
}

/* If you use a checkmark badge via ::after */
.catCard.selected::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(229, 57, 53, .12);
  border: 1px solid rgba(229, 57, 53, .35);
  color: #b71c1c;
  font-weight: 900;
}

/* ===== FORCE Category Cards (Big Bold Tiles) ===== */
#categoryPicker.catGrid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 12px !important;
}

@media (max-width: 980px) {
  #categoryPicker.catGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  #categoryPicker.catGrid {
    grid-template-columns: 1fr !important;
  }
}

/* Override the old giant “pill/circle” look */
#categoryPicker .catCard {
  width: 100% !important;
  min-height: 240px !important;

  border-radius: 18px !important;
  padding: 16px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;

  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(18, 20, 23, .14) !important;
  box-shadow: 0 14px 34px rgba(18, 20, 23, .08) !important;

  /* KILL any old huge pill sizing */
  height: auto !important;
}

/* Make the image actually visible and fill the top */
#categoryPicker .catCard img {
  width: 100% !important;
  height: 140px !important;
  object-fit: contain !important;
  /* use contain if your images are icon-style */
  border-radius: 14px !important;
  border: 1px solid rgba(18, 20, 23, .10) !important;
  background: rgba(18, 20, 23, .03) !important;
  display: block !important;
  margin: 0 0 12px 0 !important;
}





.modern-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.modern-hero-copy {
  max-width: 680px;
  color: #fff;
}

.modern-hero-eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #dbeafe;
}

.modern-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
  font-weight: 800;
  color: #fff;
}

.modern-hero-subtext {
  margin: 0 0 22px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.modern-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modern-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.modern-hero-card {
  background: rgba(255, 255, 255, .97);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
  max-width: 100px;
  width: 50%;
}

.modern-hero-card h2,
.modern-hero-card p,
.modern-hero-card h3 {
  text-align: center;
}

.modern-hero-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: #111827;
}

.modern-hero-card p {
  margin: 0 0 16px;
  font-size: 18px;
  color: #4b5563;
}

.modern-hero-card h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: #1557e7;
}

.modern-hero-actions {
  display: grid;
  gap: 14px;
}

.modern-primary-btn,
.modern-secondary-btn {
  border: none;
  border-radius: 999px;
  padding: 16px 22px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
}

.modern-primary-btn {
  background: #2563eb;
}

.modern-secondary-btn {
  background: #10b981;
}

.home-section {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 24px;
}

@media (max-width: 900px) {
  .modern-hero {
    min-height: auto;
    padding: 56px 20px;
  }

  .modern-hero-inner {
    grid-template-columns: 1fr;
  }

  .modern-hero-copy,
  .modern-hero-card {
    margin: 0 auto;
  }

  .modern-hero-copy {
    text-align: center;
  }

  .modern-hero-chips {
    justify-content: center;
  }
}


/* Label always visible */
#categoryPicker .catCard .catLabel {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
  color: rgba(69, 137, 237, 0.92) !important;
  margin-top: 4px !important;
}

/* Hover + selected */
#categoryPicker .catCard:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(24, 67, 196, 0.567) !important;
  box-shadow: 0 18px 44px rgba(186, 16, 13, 0.791) !important;
}

#categoryPicker .catCard.selected {
  border-color: rgba(238, 17, 14, 0.879) !important;
  outline: 3px solid rgba(6, 58, 190, 0.62) !important;
  box-shadow: 0 20px 54px rgba(225, 12, 8, 0.643) !important;
}

/* Optional checkmark if you want it */
#categoryPicker .catCard.selected::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ee062da8;
  border: 1px solid rgba(59, 151, 221, 0.643);
  color: #007BFF;
  font-weight: 1000;
}

#categoryPicker .catCard {
  position: relative !important;
}

/* ===== HARD FIX: category images stuck as tiny corner badges ===== */
#categoryPicker .catCard {
  position: relative !important;
  overflow: hidden !important;
  /* keeps image corners clean */
}

/* Target ONLY the direct image inside each card */
#categoryPicker .catCard>img {
  /* CANCEL any old "badge" styling */
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;

  /* CANCEL any old size limits */
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;

  /* FORCE big hero image */
  display: block !important;
  width: 100% !important;
  height: 150px !important;

  object-fit: contain !important;
  /* change to contain if these are icon-style PNGs */
  border-radius: 14px !important;
  margin: 0 0 12px 0 !important;

  border: 1px solid rgba(18, 20, 23, .10) !important;
  background: rgba(18, 20, 23, .03) !important;
}

#siteHeader {
  width: 100%;
  display: flex;
  justify-content: center;
  /* centers horizontally */
  align-items: center;
  margin: 16px 0 22px;
}

#siteHeader a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#siteHeader {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  margin-top: 16px;
  margin-bottom: 22px;
}

.hidden {
  display: none;
}

#searchProjectSection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

#searchProjectSection label {
  margin-left: 0 !important;
  /* remove inline offset */
}

#searchProjectSection select,
#searchProjectSection input {
  width: 100%;
  box-sizing: border-box;
}

#filterCountry {
  min-width: 160px;
  width: 100%;
  box-sizing: border-box;
}

/* Search Projects box: responsive grid that never overflows */
#searchProjectSection {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(18, 20, 23, .04);
  border: 1px solid rgba(18, 20, 23, .10);

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.searchTitleRow {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.searchField label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(18, 20, 23, .65);
  margin-bottom: 6px;
}

.searchField input,
.searchField select {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(18, 20, 23, .15);
  background: #fff;
}

/* City/State group takes 2 columns on desktop */
.searchGroup {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 14px;
}

/* Clear button area */
.searchActions {
  display: flex;
  justify-content: flex-end;
  grid-column: span 1;
}

#clearFiltersBtn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(18, 20, 23, .12);
  background: rgba(255, 255, 255, .92);
  font-weight: 800;
  cursor: pointer;
}

/* Tablet */
@media (max-width: 980px) {
  #searchProjectSection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .searchGroup {
    grid-column: 1 / -1;
  }

  .searchActions {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 560px) {
  #searchProjectSection {
    grid-template-columns: 1fr;
  }

  .searchGroup {
    grid-template-columns: 1fr;
  }
}

#clearFiltersBtn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(18, 20, 23, .18);
  background: #ffffff;

  font-weight: 800;
  color: #121417;
  /* 👈 FORCE readable dark text */

  cursor: pointer;
  transition: all .15s ease;
}

#clearFiltersBtn:hover {
  border-color: rgba(229, 57, 53, .35);
  box-shadow: 0 8px 20px rgba(229, 57, 53, .12);
}

#clearFiltersBtn {
  background: rgba(18, 20, 23, .04);
  color: rgba(18, 20, 23, .75);
}

.hero-helpers__stats {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 10px 12px;
  min-width: 140px;
  backdrop-filter: blur(10px);
}

.hero-stat__num {
  color: #fff;
  font-weight: 1000;
  font-size: 14px;
  letter-spacing: -0.3px;
}

.hero-stat__label {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  font-size: 12px;
}

/* extra bottom fade to hide baked-in image text */
.hero-helpers__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(15, 23, 42, 0.45) 0%,
      rgba(15, 23, 42, 0.22) 45%,
      rgba(15, 23, 42, 0.10) 100%);
}

.hero-helpers__actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-helpers__row {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-helpers__row--center {
  justify-content: center;
}

#btnHeroBecomeProjectCreator {
  min-width: 260px;
}

.hero-helpers__content {
  position: relative;
  z-index: 2;

  max-width: 900px;
  margin: 0 auto;
  /* ← centers horizontally */
  text-align: center;
  /* ← centers text */

  display: flex;
  flex-direction: column;
  align-items: center;
  /* ← centers children */
}

#createProjectSection {
  max-width: 1100px;
  margin: 22px auto;
  padding: 22px 22px;
}

#createProjectSection {
  width: 100%;
  box-sizing: border-box;
}

#createProjectBtn,
#btnCreateProjectSubmit {
  width: auto;
  padding: 12px 18px;
  border-radius: 12px;
}

.catGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .catGrid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 520px) {
  .catGrid {
    grid-template-columns: 1fr;
  }
}

.catCard img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 14px;
}

/* Make right side not compress children */
.create-right {
  min-width: 0;
}

/* Category grid: always nice cards */
.catGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.catCard {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
}

.catCard img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.catLabel {
  margin-top: 10px;
  font-weight: 800;
  text-align: center;
}

/* Center the whole create section cleanly */
.section-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Two-column layout: left info + right form */
.create-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  /* left fixed, right flexible */
  gap: 24px;
  align-items: start;
}

/* Let the right column actually grow (critical) */
.create-right {
  min-width: 0;
  width: 100%;
}

/* Make it stack nicely on smaller screens */
@media (max-width: 900px) {
  .create-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CREATE PROJECT (CLEAN)
========================= */

.section-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 16px;
}

#createProjectSection {
  width: 100%;
  box-sizing: border-box;
  margin: 14px 0;
  padding: 22px;
  border-radius: 10px;
}

/* Left info + right form */
.create-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 12px;
}

.create-left {
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 14px;
  padding: 14px;
}

/* critical: prevents the right side from squishing */
.create-right {
  min-width: 0;
  width: 100%;
}

/* Category cards */
.catGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.catCard {
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
}

.catCard img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.catLabel {
  margin-top: 10px;
  font-weight: 800;
  text-align: center;
}

/* Mobile */
@media (max-width: 900px) {
  .create-grid {
    grid-template-columns: 1fr;
  }
}

html {
  scroll-behavior: smooth;
}

.create-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  /* ✅ minmax(0,1fr) prevents weird shrink */
  gap: 24px;
  align-items: start;
}

.create-right {
  width: 100%;
  min-width: 0;
}

.catGrid {
  width: 100%;
  justify-items: stretch;
  /* ✅ cards stretch */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Make the grid columns behave */
.create-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* Force the right column + its wrappers to stretch full width */
.create-right,
#createProjectFormBox,
#projectForm,
#categoryPicker,
.catGrid {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* Make the category grid fill the row nicely */
.catGrid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 14px;
  justify-items: stretch;
}

/* HARD OVERRIDES (IDs) */
#createProjectFormBox,
#categoryPicker {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  display: block !important;
}

/* Ensure the right column stretches */
.create-right {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  display: block !important;
  /* overrides flex-centering issues */
}

/* Center the whole Create Project panel */
#createProjectSection {
  margin: 22px auto !important;
  width: min(1100px, calc(100% - 32px)) !important;
}

/* Make the grid feel centered and balanced */
.create-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
  justify-content: center;
  /* key */
}

/* On smaller screens, stack */
@media (max-width: 900px) {
  .create-grid {
    grid-template-columns: 1fr;
  }
}

/* Category grid: bigger cards + centered */
#categoryPicker.catGrid {
  width: 100% !important;
  max-width: 760px;
  /* keeps it nicely centered within the form */
  margin: 12px auto 0;
  /* centers the whole grid */
  display: grid !important;
  grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
  gap: 18px !important;
  justify-items: center;
  /* centers each card */
}

/* Bigger cards */
#categoryPicker .catCard {
  width: 100%;
  max-width: 260px;
  /* keeps the cards visually consistent */
  padding: 14px;
}

/* Bigger images */
#categoryPicker .catCard img {
  height: 170px;
  border-radius: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  #categoryPicker.catGrid {
    grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  #categoryPicker.catGrid {
    grid-template-columns: 1fr !important;
    max-width: 320px;
  }
}

/* The gray panel itself */
#createProjectSection {
  background: #f7f7f7 !important;
  margin: 22px auto !important;
  width: min(1100px, calc(100% - 32px)) !important;
  box-sizing: border-box;
}

/* Outer wrapper: just provides page padding, doesn't affect centering */
.section-shell {
  width: 100%;
  padding: 18px 16px;
  box-sizing: border-box;
}

/* Center the logo/icon row */
.logo-row,
.logos,
#logoRow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px auto;
  width: min(1100px, calc(100% - 32px));
}

/* Center dancer + logo row */
.logo-strip {
  width: 100%;
  display: flex;
  justify-content: center;
  /* center horizontally */
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 24px auto;
}

.logo-strip {
  width: 100%;
  text-align: center;
}

.logo-strip {
  width: min(1100px, calc(100% - 32px));
  margin: 24px auto;
}

.logo-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo-strip .logo-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Center the entire icon strip */
#offerIcons {
  width: min(1100px, calc(100% - 32px));
  margin: 16px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, 86px);
  justify-content: center;
  /* centers each row */
  justify-content: center;
  /* center horizontally */
  gap: 14px;
  padding: 10px 8px;
  box-sizing: border-box;
}

.offerIcon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.offerIcon img {
  width: 60px;
  /* adjust size here */
  height: 60px;
  object-fit: contain;
}

/* subtle hover effect */
.offerIcon:hover {
  transform: scale(1.1);
}

/* Center the logo + dancer icon strip */
.offerIcons {
  width: 100%;
  display: flex;
  justify-content: center;
  /* centers the whole row */
  align-items: center;
  flex-wrap: wrap;
  /* allows wrapping instead of overlap */
  gap: 12px;
  /* spacing between icons (prevents overlap) */
  margin: 14px auto;
  padding: 10px 8px;
  box-sizing: border-box;
}

/* Each icon is a fixed-size "card" so they don't collide */
.offerIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  /* adjust to taste */
  height: 86px;
  border-radius: 14px;
  box-sizing: border-box;
}

/* Make the image behave */
.offerIcon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.section-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HERO icon strip: centered when it fits, scrolls when it must */
#offerIcons {
  width: min(1100px, calc(100% - 32px));
  margin: 16px auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 10px 8px 14px;
  box-sizing: border-box;
}

/* ✅ Key trick: center the content inside the scroll area */
#offerIcons::before,
#offerIcons::after {
  content: "";
  flex: 1 0 auto;
}

/* ✅ FINAL: centered, clean, no overlap */
#offerIcons {
  width: min(1100px, calc(100% - 32px));
  margin: 16px auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

#offerIcons .offerIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#offerIcons .offerIcon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
}

#offerIcons {
  width: min(1100px, calc(100% - 32px));
  margin: 16px auto;
  display: flex;
  justify-content: center;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  flex-wrap: nowrap;
}

#offerIcons::-webkit-scrollbar {
  height: 8px;
}

/* HERO icon strip: single centered row with horizontal scroll */
#offerIcons {
  width: min(1100px, calc(100% - 32px));
  margin: 16px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  /* <-- key: no wrapping */
  overflow-x: auto;
  /* <-- allows scroll on small screens */
  padding: 10px 8px 14px;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
}

#offerIcons .offerIcon {
  flex: 0 0 auto;
  scroll-snap-align: center;
}

#offerIcons::-webkit-scrollbar {
  height: 8px;
}

#offerIcons .offerIcon {
  flex: 0 0 auto;
}

/* Nav: My Helper Profile button with icon + badge */
.navProfileBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.navProfileBtn__icon {
  font-size: 16px;
  line-height: 1;
  opacity: 0.9;
}

.navProfileBtn__badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid rgba(255, 215, 0, 0.45);
  white-space: nowrap;
}

.panel {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 14px;
  background: #f7f7f7;
  box-sizing: border-box;
}

/* Center create project category section */
#categoryPicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

/* Center section heading */
.categoryTitle {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

#createProjectSection {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.createProjectControls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

/* Center the create project form */
#createProjectFormBox {
  margin: 0 auto;
  max-width: 1000px;
}

/* Center the category cards grid */
#categoryPicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

/* Center the dropdown controls */
.createProjectControls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

#createProjectSection h2 {
  text-align: center;
}

/* Center the create page layout */
.create-grid {
  width: 100%;
  display: flex;
  justify-content: center;
  /* centers the column */
}

.create-left {
  width: 100%;
  max-width: 980px;
  /* controls how wide the form/card area can get */
}

/* Center the category card grid */
#categoryPicker.catGrid {
  display: grid;
  /* keep your grid */
  justify-content: center;
  /* centers the whole grid block */
  justify-items: center;
  /* centers each card inside its cell */
  gap: 16px;
  /* optional, looks nicer */
}

.hidden {
  display: none !important;
}

#intakeOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#intakeOverlayBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

#intakeOverlayPanel {
  position: relative;
  max-width: 720px;
  margin: 6vh auto;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

#intakeOverlayClose {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

/* blur background while overlay is open */
body.overlayOpen .create-grid,
body.overlayOpen header,
body.overlayOpen nav,
body.overlayOpen main {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

/* keep overlay clickable */
body.overlayOpen #intakeOverlay {
  pointer-events: auto;
}

body.overlayOpen .create-grid,
body.overlayOpen header,
body.overlayOpen nav,
body.overlayOpen #categoryPicker {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

#intakeOverlay.hidden {
  display: none;
}

#intakeOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#intakeOverlayBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

#intakeOverlayPanel {
  position: relative;
  margin: 6vh auto 0;
  width: min(720px, 92vw);
  background: white;
  border-radius: 16px;
  padding: 16px;
  z-index: 1;
}

/* Highlight pulse when service dropdown appears */
.service-highlight {
  animation: servicePulse 1.2s ease;
}

@keyframes servicePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 120, 255, 0.6);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(0, 120, 255, 0.15);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 120, 255, 0);
  }
}

.project-progress {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 16px 0 22px;
  flex-wrap: wrap;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
  transition: all 0.25s ease;
}

.progress-step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #333;
  font-weight: 700;
  font-size: 14px;
}

.progress-step .step-label {
  font-size: 14px;
  font-weight: 600;
}

.progress-step.active {
  opacity: 1;
}

.progress-step.active .step-num {
  background: #2563eb;
  color: #fff;
}

.progress-step.done {
  opacity: 1;
}

.progress-step.done .step-num {
  background: #2563eb;
  color: #fff;
}

.field-highlight {
  animation: fieldPulse 1.8s ease;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22);
  border-radius: 10px;
}

@keyframes fieldPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.16);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.field-highlight {
  animation: fieldPulse 1.8s ease;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22);
  border-radius: 10px;
}

@keyframes fieldPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.45);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.16);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.project-new-highlight {
  animation: newProjectGlow 2.5s ease-out;
}

@keyframes newProjectGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 200, 0, 0);
  }

  25% {
    box-shadow: 0 0 0 6px rgba(0, 200, 0, 0.45);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 200, 0, 0);
  }
}

.heroText {
  text-align: center;
}

.heroText {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}



.helpers-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.helpers-copy h2,
.helpers-copy p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#createProjectPromo {
  margin-top: 40px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

#yourAccountSection {
  text-align: center;
}

.account-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.account-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

.account-header h2 {
  margin-bottom: 8px;
}

.account-header p {
  opacity: 0.8;
  margin-bottom: 12px;
}

.account-header h3 {
  font-weight: 700;
}

#yourAccountSection {
  text-align: center;
}

.panel {
  text-align: center;
}

.account-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 30px auto;
  padding: 10px 20px;
}

.account-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.account-header p {
  font-size: 16px;
  color: #666;
  margin-bottom: 16px;
}

.account-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #eb2727;
}

.panel {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.account-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.account-action-btn {
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #3b82f6;
  color: white;
  transition: transform .15s ease, box-shadow .15s ease;
}

.account-action-btn.secondary {
  background: #3b82f6;
}

.account-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.trust-badge {
  background: #f3f4f6;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.top-helper-card {
  background: white;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.top-helper-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.top-helper-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-helper-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.top-helper-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #374151;
  font-weight: 800;
}

.top-helper-meta {
  min-width: 0;
}

.top-helper-name {
  font-size: 16px;
  font-weight: 800;
}

.top-helper-headline {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}

.top-helper-location {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}

.top-helper-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.top-helper-skill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
}

.top-helper-footer {
  margin-top: 14px;
}

.top-helper-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.top-helpers-subtitle {
  color: #334155;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.account-panel {
  width: 100%;
  max-width: 460px;
}

.home-section {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 24px;
}

.account-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 10px 20px;
}

.account-header h2 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.account-header p {
  font-size: 16px;
  color: #666;
  margin-bottom: 16px;
}

.account-header h3 {
  font-size: 13px;
  font-weight: 700;
  color: #222;
}

.account-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.account-action-btn {
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #3b82f6;
  color: white;
}

.account-action-btn.secondary {
  background: #3b82f6;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.trust-badge {
  background: #f3f4f6;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.helpers-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 20px;
}

.helpers-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}


.home-hero-copy {
  max-width: 340px;
}

.home-hero-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.home-hero-copy h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
}

.home-hero-sub {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .88);
}

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

.home-btn-primary,
.home-btn-secondary {
  border: none;
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.home-btn-primary {
  background: #fff;
  color: #111827;
}

.home-btn-secondary {
  background: #10b981;
  color: #fff;
}

.modern-hero-card {
  background: rgba(255, 255, 255, .97);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.modern-hero-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  color: #111827;
  text-align: center;
}

.modern-hero-card p {
  margin: 0 0 14px;
  font-size: 17px;
  color: #4b5563;
  text-align: center;
}

.modern-hero-card h3 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  text-align: center;
}

.modern-primary-btn,
.modern-secondary-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  margin-top: 10px;
}

.modern-primary-btn {
  background: #2563eb;
}

.modern-secondary-btn {
  background: #10b981;
}


.home-hero-copy {
  margin: 0 auto;
}

.home-hero-actions {
  justify-content: center;
}

.market-hero {
  position: relative;
  max-width: 1200px;
  margin: 24px auto 36px;
  padding: 56px 28px;
  border-radius: 28px;
  min-height: 420px;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.35)),
    url("images/hero-team.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.market-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.market-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.market-hero__copy {
  max-width: 640px;
}

.market-hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.market-hero__title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.market-hero__subtitle {
  margin: 0 0 22px;
  max-width: 580px;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.market-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.market-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.market-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.market-btn {
  border: none;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.market-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.market-btn--primary {
  background: #ffffff;
  color: #111827;
}

.market-btn--secondary {
  background: linear-gradient(135deg, #55d3f3, #2563eb);
}

.market-btn--secondary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.market-hero__card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
}

.market-hero__card h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  color: #111827;
}

.market-hero__card p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.45;
  color: #4b5563;
}

.market-hero__card-points {
  display: grid;
  gap: 10px;
}

.market-hero__card-points div {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f4f6;
  color: #1f2937;
  font-weight: 700;
  font-size: 14px;
}

.market-section {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.market-section__head {
  text-align: center;
  margin-bottom: 18px;
}

.market-section__head h2 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 900;
  color: #111827;
}

.market-section__head p {
  color: #71a3e9fa;
  font-weight: 500;
}

#topHelpersList>div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.market-btn {
  border: none;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.market-btn--secondary {
  background: #3b82f6;
  color: white;
  border: none;
}

.market-btn--secondary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.market-btn--secondary {
  color: white;
  font-weight: 700;
}

.market-btn--secondary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.market-btn {
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 700;
  transition: all .2s ease;
}

.market-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.market-hero__card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  max-width: 360px;
  width: 100%;
  justify-self: center;
}

.market-hero__card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  color: #111827;
}

.market-hero__card p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.45;
  color: #4b5563;
}

.market-hero__card-points {
  display: grid;
  gap: 10px;
}

.market-hero__card-points div {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f4f6;
  color: #1f2937;
  font-weight: 700;
  font-size: 14px;
}

.account-login-btn {
  margin: 10px 0 18px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: #3b82f6;
  color: white;
  cursor: pointer;
  transition: all .2s ease;
}

.account-login-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.helper-modal.hidden {
  display: none;
}

.helper-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.helper-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

.helper-modal__panel {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 24px auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  z-index: 1;
}

.helper-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #334155;
}

.helper-profile-card__head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.helper-profile-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.helper-profile-card__avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #0f172a;
  font-weight: 800;
  font-size: 2rem;
}

.helper-profile-card__meta h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.1;
}

.helper-profile-card__headline,
.helper-profile-card__location {
  margin: 0 0 6px;
  color: #475569;
  font-size: 1rem;
}

.helper-profile-card__section {
  margin-top: 22px;
}

.helper-profile-card__section h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #0f172a;
}

.helper-profile-card__section p {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

.helper-profile-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.helper-profile-card__actions {
  margin-top: 28px;
}

.helper-modal__panel {
  max-width: 640px;
}

.helper-profile-card__avatar {
  width: 90px !important;
  height: 90px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  border-radius: 20%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  display: block;
}

.helper-profile-modal-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.helper-profile-modal-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.invite-project-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.invite-project-option {
  width: 100%;
  text-align: left;
  border: 1px solid #dbe2ea;
  background: #f8fafc;
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.invite-project-option:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.invite-project-option strong {
  font-size: 1rem;
  color: #0f172a;
}

.invite-project-option span {
  color: #475569;
  font-size: 0.95rem;
}

.helpers-copy h2,
.helpers-copy p {
  color: white;
}

.helpers-copy h2,
.helpers-copy p {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.market-section__head p {
  color: white;
}

.market-section__head {
  text-align: center;
  margin-bottom: 32px;
}

.market-section__head h2 {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
  margin-bottom: 10px;
}

#topHelpersSection,
.market-section,
.search-panel,
.filters {
  background: #eaf4ff !important;
}

.create-work-section {
  max-width: 1000px;
  margin: 60px auto;
  /* centers horizontally */
  padding: 40px;
  background: #eef6ff;
  /* very light blue */
  border-radius: 28px;

  text-align: center;
}

.create-work-section .form-group,
.create-work-section select,
.create-work-section input {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.category-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}

background: linear-gradient(180deg, #f3f8ff, #e8f2ff);

#createWorkSection select,
#createWorkSection input {
  max-width: 700px;
  margin: 0 auto;
  display: block;
}


.market-section {
  background: linear-gradient(180deg, #eef6ff, #e3f0ff);
  border: 1px solid #dbeafe;
  border-radius: 24px;
  padding: 28px;
}

.market-section h2 {
  background: transparent;
  /* remove any white background */
  color: #1e3a8a;
  /* darker blue text */
}

.market-section__head {
  background: transparent;
}


.market-section h2 {
  color: #1e40af;
  font-weight: 800;
}


.market-section__head p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.top-helper-skill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.market-section {
  position: relative;
}

.market-section {
  background: #eaf4ff;
  /* light blue */
}

.market-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.top-helper-meta h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.top-helper-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.top-helper-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
}

.trust-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.trust-badge--verified {
  background: #e7f8ef;
  color: #18794e;
}

.trust-badge--pending {
  background: #fff5e6;
  color: #a15c00;
}

.home-search-bar {
  margin: -30px auto 36px;
  position: relative;
  z-index: 5;
  max-width: 980px;
  padding: 0 20px;
}

.home-search-bar__inner {
  display: grid;
  grid-template-columns: 2fr 1fr auto auto;
  gap: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
}

.home-search-bar__inner input {
  border: 1px solid #dbe2ea;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 1rem;
}

.home-search-bar__primary,
.home-search-bar__secondary {
  border: none;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
}

.home-search-bar__primary {
  background: #2563eb;
  color: white;
}

.home-search-bar__secondary {
  background: #eef2ff;
  color: #1e3a8a;
}

/* ============================= */
/* Homepage Quick Search Bar */
/* ============================= */

.home-search-bar {
  margin: -36px auto 42px;
  position: relative;
  z-index: 10;
  max-width: 980px;
  padding: 0 20px;
}

.home-search-bar__inner {
  display: grid;
  grid-template-columns: 2fr 1fr auto auto;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
}

.home-search-bar__inner input {
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
}

.home-search-bar__primary,
.home-search-bar__secondary {
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
}

.home-search-bar__primary {
  background: #2563eb;
  color: white;
}

.home-search-bar__secondary {
  background: #eef2ff;
  color: #1e3a8a;
}

/* ============================= */
/* Trust & Verification Section  */
/* ============================= */

.profile-section-title {
  margin-top: 28px;
  margin-bottom: 12px;
  font-weight: 800;
}

.profile-trust-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.profile-trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-trust-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-trust-label {
  font-weight: 700;
  color: #0f172a;
}

.profile-trust-status {
  font-size: 0.9rem;
  color: #475569;
}

.profile-trust-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  background: #2563eb;
  color: white;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.profile-trust-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.profile-trust-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.siteFooter {
  width: 100%;
  max-width: none;
  margin: 80px 0 0;
  padding: 50px 20px 30px;
  text-align: center;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.siteFooter__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

.verified-helper-badge {
  display: inline-block;
  margin: 6px 0 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #1f7a4d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid #b7e4c7;
}

.verified-helper-badge {
  display: inline-block;
  margin: 6px 0 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid #dbe2ea;
}

.site-footer {
  margin-top: 80px;
  padding: 40px 20px;
  background: #f5f7fb;
  border-top: 1px solid #e2e8f0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand strong {
  font-size: 1.05rem;
  color: #0f172a;
}

.footer-brand p {
  margin: 6px 0 0;
  color: #475569;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 0.86rem;
  color: #64748b;
}

.top-helper-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 8px;
}

.top-helper-rating,
.top-helper-jobs {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.helper-profile-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 18px;
}

.helper-profile-trust__item {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.project-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.project-action-btn {
  border: none;
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  background: #2563eb;
  color: white;
}

.review-modal-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  display: flex;
  gap: 8px;
}

.review-star {
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.35;
}

.review-star--active {
  opacity: 1;
}

#reviewComment {
  width: 100%;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  padding: 12px;
  font: inherit;
}

.review-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.project-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.project-action-btn {
  border: none;
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.project-action-btn:hover {
  transform: translateY(-1px);
}

.project-action-btn--complete {
  background: #16a34a;
  color: white;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.2);
}

.project-action-btn--review {
  background: #2563eb;
  color: white;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.project-complete-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.project-complete-box__label {
  font-weight: 800;
  color: #0f172a;
}

.profile-back-btn {
  border: none;
  background: #eef2ff;
  color: #1e3a8a;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 16px;
}

.profile-back-btn:hover {
  background: #dbeafe;
}

.hidden {
  display: none;
}

.heroLine2 {
  display: block;
}

.siteFooter {
  width: 100%;
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px 30px;
}

.footerLinks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.footerLinks a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.footerCopyright {
  color: #9ca3af;
  font-size: 14px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.siteFooter {
  width: 100%;
  margin-top: 80px;
  padding: 50px 20px 30px;
  text-align: center;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.footerBrand {
  margin-bottom: 18px;
}

.footerLogo {
  font-weight: 700;
  font-size: 20px;
  color: #111827;
}

.footerTagline {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

.footerLinks {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footerLinks a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
}

.footerLinks a:hover {
  text-decoration: underline;
}

.footerCopyright {
  font-size: 13px;
  color: #9ca3af;
}



body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.siteFooter {
  width: 100%;
  margin: 80px 0 0;
  padding: 50px 20px 30px;
  text-align: center;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  box-sizing: border-box;
  display: block;
}

.siteFooter__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footerBrand {
  margin-bottom: 18px;
}

.footerLogo {
  font-weight: 700;
  font-size: 20px;
  color: #111827;
}

.footerTagline {
  font-size: 14px;
  color: #6b7280;
  margin-top: 4px;
}

.footerLinks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.footerLinks a {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.footerLinks a:hover {
  text-decoration: underline;
}

.footerCopyright {
  font-size: 13px;
  color: #9ca3af;
}

.offersWrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}

.offersTitle {
  text-align: center;
  margin-bottom: 16px;
}

.offerCard {
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 14px;
  margin: 12px 0;
  background: #fff;
}

.offer-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.offer-status--pending {
  background: #fef3c7;
  color: #92400e;
}

.offer-status--accepted {
  background: #dcfce7;
  color: #166534;
}

.offer-status--rejected {
  background: #fee2e2;
  color: #991b1b;
}

.offer-status--withdrawn {
  background: #e5e7eb;
  color: #374151;
}

.offer-action-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.offer-action-btn--withdraw {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.offer-action-btn--withdraw:hover {
  background: #ffe4e6;
}

.offersWrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}

.offersTitle {
  text-align: center;
  margin-bottom: 16px;
}

.offerCard {
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 14px;
  margin: 12px 0;
  background: #fff;
}

.offer-action-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.offer-action-btn--accept {
  background: #dcfce7;
  color: #166534;
}

.offer-action-btn--reject {
  background: #fee2e2;
  color: #991b1b;
}

.offer-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.offer-status--pending {
  background: #fef3c7;
  color: #92400e;
}

.offer-status--accepted {
  background: #dcfce7;
  color: #166534;
}

.offer-status--rejected {
  background: #fee2e2;
  color: #991b1b;
}

.offer-status--withdrawn {
  background: #e5e7eb;
  color: #374151;
}

.offer-action-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.offer-action-btn--accept {
  background: #dcfce7;
  color: #166534;
}

.offer-action-btn--accept:hover {
  background: #bbf7d0;
}

.offer-action-btn--reject {
  background: #fee2e2;
  color: #991b1b;
}

.offer-action-btn--reject:hover {
  background: #fecaca;
}

.creator-offer-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.messagesThread {
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  min-height: 180px;
  margin-bottom: 14px;
}

.messagesComposer {
  display: grid;
  gap: 10px;
}

.messagesComposer textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 12px;
  font: inherit;
}

.messageBubble {
  background: #f3f4f6;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.messageBubble__sender {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #374151;
}

.modeBtn {
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.modeBtn:hover {
  background: #333;
}

#marketHeroSection h1 {
  color: #ffffff !important;
}

#marketHeroSection h1 {
  color: #ffffff !important;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

.fxBtn {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 999px;
  padding: 18px 34px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow:
    0 10px 24px rgba(255, 160, 190, 0.28),
    0 0 0 6px rgba(255, 185, 205, 0.45);
}

.fxBtn:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.04);
}

.fxBtn:active {
  transform: translateY(1px) scale(0.985);
}

.fxBtn--blue {
  background: linear-gradient(135deg, #4db2ff 0%, #248ee8 55%, #126ed8 100%);
}

.fxBtn--dark {
  background: linear-gradient(135deg, #111111 0%, #05070d 55%, #000000 100%);
}

.fxBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.12) 25%,
      transparent 50%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

.fxBtn:hover::before {
  transform: translateX(120%);
}

.fxBtnSmoke {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0) 75%);
  transform: translate(-50%, -50%);
  animation: smokeRise 900ms ease-out forwards;
  filter: blur(2px);
}

@keyframes smokeRise {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.4);
  }

  35% {
    opacity: 0.45;
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% - 14px)) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x, 0px)), calc(-50% - 48px)) scale(1.8);
  }
}

.catCard--volunteer .catLabel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.catBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
  letter-spacing: 0.2px;
}

.category-mission-note {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 13px;
  line-height: 1.45;
}

.budget-lock-badge {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.messagesLayout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  align-items: start;
}

.messagesSidebar {
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  min-height: 420px;
  overflow: hidden;
}

.messagesInbox {
  padding: 10px;
}

.messagesMain {
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.messagesThreadHeader {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-weight: 800;
}

.messagesThread {
  flex: 1;
  min-height: 260px;
  max-height: 480px;
  overflow: auto;
  padding: 14px;
}

.messagesComposer {
  border-top: 1px solid #eee;
  padding: 12px;
}

.messagesComposer textarea {
  width: 100%;
  resize: vertical;
  min-height: 84px;
}

.messagesComposerActions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.messagesComposer.hidden {
  display: none;
}

.messages-inbox-item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  background: #fff;
}

.messages-inbox-item:hover {
  background: #fafafa;
}

.messages-inbox-item--active {
  border-color: #111827;
  background: #f9fafb;
}

.messages-inbox-meta {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 4px;
}

.messages-inbox-preview {
  margin-top: 8px;
  font-size: 14px;
}

.messages-unread-pill {
  margin-top: 8px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .messagesLayout {
    grid-template-columns: 1fr;
  }
}

.mainCard {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: #2563eb;
  /* clean blue */
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: #111;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #f9fafb;
}

.heroBackground {
  position: relative;
}

.heroBackground::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.heroContent {
  position: relative;
  z-index: 1;
}

.mfaCard {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Base button polish */
button,
.btn {
  transition: all 0.2s ease;
  transform: translateY(0);
}

/* Hover effect */
button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Active (click) effect */
button:active,
.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Primary button (blue one) */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Secondary buttons */
.btn-secondary {
  background: #f5f5f5;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #eeeeee;
}

/* Logout button (subtle glow) */
.btn-logout {
  background: #e0f2fe;
  /* light blue */
  color: #1e3a8a;
  /* dark blue text */
  border: 2px solid #93c5fd;
  /* soft blue border */
  font-weight: 600;
  transition: all 0.2s ease;
}

/* 👇 NEW hover (gray + blue, no pink/red) */
.btn-logout:hover {
  background: #f3f4f6;
  /* soft gray */
  border-color: #9ca3af;
  /* gray border */
  color: #1e40af;
  /* slightly deeper blue text */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* neutral shadow */
}

/* click effect */
.btn-logout:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-logout:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  background: #f3f4f6;
  border-color: #9ca3af;
}

button {
  will-change: transform;
}

/* Click (active) effect for main action buttons */
.btn-primary:active,
.btn-secondary:active {
  transform: translateY(1px);
  box-shadow:
    0 0 0 4px rgba(139, 0, 0, 0.7),
    0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-secondary:hover {
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.8);
  /* bright red ring */
}

/* ALL buttons hover = bright red */
button:hover,
.btn:hover {
  box-shadow:
    0 0 0 3px rgba(255, 0, 0, 0.9),
    0 8px 25px rgba(255, 0, 0, 0.35);
  transform: translateY(-2px);
}

/* Smooth motion */
button,
.btn {
  transition: all 0.2s ease;
}

/* Click = deeper red press */
button:active,
.btn:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.7);
}

.hero-subtitle {
  color: #1f2937;
  /* slightly darker gray */
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.25),
    0 0 10px rgba(59, 130, 246, 0.4);
}

.hero-subtitle {
  letter-spacing: 0.5px;
}

.top-helpers-section {
  max-width: 1100px;
  margin: 48px auto;
  padding: 40px 32px 48px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.top-helpers-title {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 10px;
}

.top-helpers-subtitle {
  text-align: center;
  font-size: 22px;
  color: #4b5563;
  margin: 0 0 32px;
}

.top-helper-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  max-width: 760px;
  margin: 0 auto;
}

.top-helper-header {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
}

.top-helper-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.top-helper-name {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px;
}

.top-helper-tagline,
.top-helper-location {
  font-size: 18px;
  color: #475569;
  margin: 0 0 8px;
}

.helper-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.helper-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid #dbeafe;
}

.helper-pill.neutral {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.helper-pill.gold {
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #fde68a;
}

.helper-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.helper-actions .btn-primary,
.helper-actions .btn-secondary {
  min-width: 210px;
  padding: 16px 22px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.helper-actions .btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.helper-actions .btn-secondary {
  background: white;
  color: #1f2937;
  border: 1px solid #d1d5db;
}

.helper-actions .btn-primary:hover,
.helper-actions .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.85);
}

.top-helpers-section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 36px 28px 44px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.top-helpers-head {
  text-align: center;
  margin-bottom: 28px;
}

.top-helpers-title {
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  color: #1f2937;
  text-shadow: none;
}

.top-helpers-subtitle {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 600;
  color: #475569;
  text-shadow: none;
}

.top-helpers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.top-helpers-grid .helper-card,
.top-helpers-grid .profile-card,
.top-helpers-grid>div {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.profile-trust-status {
  display: block;
  text-align: center;
  margin: 16px auto 0;
  color: #475569;
  font-weight: 600;
}

.profile-trust-status {
  color: #334155;
  font-weight: 700;
  display: block;
  text-align: center;
  margin: 20px auto;
}

.stats-card,
.hero-stat,
.stat-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  border: 1px solid #d1d5db;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.stats-card .label,
.hero-stat .label,
.stat-card .label {
  color: #475569;
}

.stats-card .value,
.hero-stat .value,
.stat-card .value {
  color: #111827;
}

.profile-trust-status {
  color: #334155;
  font-weight: 700;
  display: block;
  text-align: center;
  margin: 20px auto;
}

.stat-card,
.hero-stat,
.stats-card {
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
  border: 1px solid #d1d5db;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.stat-card *,
.hero-stat *,
.stats-card * {
  color: inherit;
}

#backgroundCheckStatusText {
  display: none;
}


.create-work-section {
  max-width: 1000px;
  margin: 60px auto;
  /* centers horizontally */
  padding: 40px 32px;
  background: #eef6ff;
  /* very light blue */
  border-radius: 28px;
  border: 1px solid #dbeafe;
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.08);
  text-align: center;
}

.create-work-section .form-group,
.create-work-section select,
.create-work-section input {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.category-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.category-grid:empty {
  display: none;
}

.category-grid {
  min-height: 120px;
  /* instead of big empty space */
  background: #eef6ff;
}

.category-grid:empty {
  display: none;
}

#categoryPicker {
  background: #eef6ff;
  border: 1px solid #dbeafe;
  border-radius: 28px;
  padding: 24px;
}

#categoryPicker:empty {
  display: none;
}

#categoryPicker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 24px;
  background: #eef6ff;
  border: 1px solid #dbeafe;
  border-radius: 28px;
  box-sizing: border-box;
}

#categoryPicker .catCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

#categoryPicker .catCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.85);
}

#categoryPicker .catCard img {
  width: 100%;
  max-width: 260px;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

#categoryPicker .catLabel {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
}

#categoryPicker .catBadge {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

#categoryPickerStatus:empty,
#categoryMissionNote:empty {
  display: none;
}

#categoryMissionNote:empty {
  display: none;
}

#categoryMissionNote {
  display: none;
}

#categoryMissionNote:empty,
#categoryPickerStatus:empty {
  display: none;
}

#categoryPickerStatus,
#categoryMissionNote {
  display: none !important;
}

.category-title {
  grid-column: 1 / -1;
  /* spans full width of grid */
  text-align: center;
  font-weight: 800;
  font-size: 22px;
  color: #1e3a8a;
  margin-bottom: 12px;
}

.category-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #3b82f6;
  margin: 10px auto 0;
  border-radius: 2px;
}

.form-label {
  font-weight: 700;
  color: #1f2937;
  /* darker gray = easier to read */
  opacity: 1;
  /* remove faded look */
}

.legal-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 720px;
  margin: 16px auto 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid #e5e7eb;
  color: #475569;
  line-height: 1.5;
}

.legal-check input {
  margin-top: 3px;
  transform: scale(1.1);
}

.legal-check a {
  color: #2563eb;
  font-weight: 700;
}

.legal-check a:hover {
  box-shadow: 0 0 0 3px rgba(255, 0, 0, .85);
  border-radius: 6px;
}

.terms-error {
  color: #dc2626;
  font-weight: 600;
  margin-top: 8px;
  display: none;
}

.terms-highlight {
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.8);
  border-radius: 12px;
  transition: 0.2s ease;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.terms-error {
  display: none;
  color: #dc2626;
  font-weight: 600;
  margin-top: 8px;
}

.terms-highlight {
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.8);
  border-radius: 12px;
  transition: 0.2s ease;
}

.inline-logo {
  height: 28px;
  margin-left: 10px;
  vertical-align: middle;
  border-radius: 6px;
}

@keyframes subtlePulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.inline-logo {
  height: 28px;
  margin-left: 10px;
  vertical-align: middle;
  border-radius: 6px;

  display: inline-block;
  /* 🔥 IMPORTANT */
  animation: subtlePulse 2s ease-in-out infinite;
}


.inline-logo {
  height: 28px;
  margin-left: 10px;
  vertical-align: middle;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.inline-logo:hover {
  animation: subtlePulse 1.2s ease-in-out;
}

.create-secondary-btn {
  border: 3px solid #ff0000;
  /* 🔥 bright red */
  border-radius: 14px;
  /* keep your rounded look */
}

.create-goal-btn {
  border: 3px solid #ff0000 !important;
  /* true bright red */
  border-radius: 6px !important;
  /* rectangle (not pill) */
  box-shadow: none !important;
  /* removes pink glow */
}

button {
  border: 3px solid #ff0000;
  border-radius: 6px;
  box-shadow: none;
}

.create-goal-btn {
  border: 3px solid #ff0000;
  border-radius: 8px;
  box-shadow: none;
  background: white;

  color: #000000 !important;
  /* 🔥 force black text */
  font-weight: 600;
  /* optional: makes it easier to read */
}

#filterState {
  width: 100%;
  padding: 18px 20px;
  border-radius: 20px;
  border: 2px solid #d9d9d9;
  font-size: 18px;
  background: white;
}

#regionFieldWrap {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#filterState {
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 2px solid #d9d9d9;
  background: #fff;
  font-size: 18px;
  color: #111827;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, #374151 50%),
    linear-gradient(135deg, #374151 50%, transparent 50%);
  background-position:
    calc(100% - 26px) calc(50% - 4px),
    calc(100% - 18px) calc(50% - 4px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;

  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#filterState:hover {
  border-color: #ff0000;
}

#filterState:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.region-hidden {
  display: none;
}

#filterState {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 8px;
  appearance: auto;
  -webkit-appearance: menulist;
  -moz-appearance: auto;
  pointer-events: auto;
  position: relative;
  z-index: 5;
}

.searchPanel {
  background: #eaf3ff;
  border: 1px solid #d7e7ff;
  border-radius: 24px;
  padding: 28px;
}

.searchPanel h2 {
  margin: 0 0 24px;
}

.searchGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  align-items: end;
}

.searchField {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.searchField label {
  font-size: 16px;
  font-weight: 700;
  color: #4b5563;
}

.searchField input,
.searchField select {
  width: 100%;
  min-height: 64px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 2px solid #d9d9d9;
  background: #fff;
  font-size: 18px;
}

.searchActions {
  display: flex;
  gap: 16px;
  align-items: center;
}

#searchBtn {
  min-height: 64px;
  padding: 0 28px;
  border-radius: 16px;
  border: 3px solid #ff0000;
  background: #3498f3;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

#clearBtn {
  min-height: 64px;
  padding: 0 28px;
  border-radius: 16px;
  border: 2px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .searchGrid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 700px) {
  .searchGrid {
    grid-template-columns: 1fr;
  }

  .searchActions {
    flex-direction: column;
    align-items: stretch;
  }
}

#videoOptionsWrap {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #f8fbff;
}

#videoOptionsFields {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

#videoOptionsWrap {
  margin-top: 16px;
  padding: 16px;
  border: 2px solid #dbeafe;
  border-radius: 16px;
  background: #f8fbff;
}

#videoOptionsWrap label {
  font-weight: 700;
}

.video-options-card {
  ...
}

.video-options-header {
  ...
}

.video-options-toggle {
  ...
}

.video-options-toggle input[type="checkbox"] {
  ...
}

.video-options-toggle span {
  ...
}

.video-options-help {
  ...
}

#videoOptionsFields {
  ...
}

#videoOptionsFields label {
  ...
}

#bookingModal.hidden {
  display: none;
}

#bookingModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.booking-modal-card {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  margin: 60px auto;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.booking-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.booking-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.booking-modal-card input,
.booking-modal-card textarea {
  width: 100%;
  border: 2px solid #d9d9d9;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 16px;
  box-sizing: border-box;
}

.booking-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.adminBrandPill {
  display: flex;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
}

.adminBrandPill img {
  height: 54px !important;
  width: auto !important;
  max-height: 54px !important;
  max-width: 260px !important;
  object-fit: contain !important;
  display: block;
}

.termsRow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  /* 🔥 allows wrapping instead of squeezing */
}

.termsRow label {
  font-size: 14px;
  line-height: 1.4;
  color: #475569;
  max-width: 100%;
}

.termsRow a {
  color: #2563eb;
  text-decoration: underline;
}

.back-to-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  border: none;
  border-radius: 50%;
  background: white;
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  display: none;
  transition: all 0.25s ease;
}

/* Logo */
.back-to-top-btn img {
  width: 52px;
  height: 52px;
  transition: transform 0.25s ease;
}

/* Show state */
.back-to-top-btn.show {
  display: block;
  animation: fadeInUp 0.4s ease;
}

/* Hover = premium feel */
.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

/* Logo rotates slightly (feels interactive) */
.back-to-top-btn:hover img {
  transform: rotate(-8deg);
}

/* Mini mode when scrolling */
.back-to-top-btn.compact {
  padding: 10px;
  opacity: 0.85;
}

.back-to-top-btn.compact img {
  width: 40px;
  height: 40px;
}

/* Glow pulse (brand) */
.back-to-top-btn.show::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  animation: pulseGlow 1.8s ease-out 1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    opacity: 0.6;
    transform: scale(0.8);
  }

  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.back-to-top-btn span {
  position: absolute;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: white;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.back-to-top-btn:hover span {
  opacity: 1;
  right: 86px;
}

.top-helpers-carousel {
  display: flex;
  flex-direction: row;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.top-helper-card {
  flex: 0 0 280px;
  width: 280px;
  scroll-snap-align: start;
}

padding-bottom: 10px;

.helper-modes {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.helper-modes span {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.helper-live-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.helper-live-badge,
.helper-response-badge {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.helper-live-badge {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.helper-live-badge--muted {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.helper-response-badge {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}

.hidden {
  display: none !important;
}

.payment-breakdown-card {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.payment-breakdown-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #eef2f7;
  font-size: 16px;
}

.payment-row:first-of-type {
  border-top: none;
}

.payment-row strong {
  color: #0f172a;
}

.payment-row--highlight {
  margin-top: 8px;
  padding: 14px;
  border-radius: 16px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 900;
}