/* =============================================================================
   Proudly NI — Complete CSS Design System
   Brand Colours: Navy #0c2f64 · Gold #f4b624 · Green #66a52b
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── 1. Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Brand primary: deep navy from logo */
  --primary:          #0c2f64;
  --primary-light:    #1a4a8a;
  --primary-dark:     #071d3e;

  /* Brand accent: gold from logo */
  --gold:             #f4b624;
  --gold-light:       #f9cc5c;
  --gold-dark:        #c8930e;

  /* Brand action: green from logo */
  --green:            #66a52b;
  --green-light:      #82c23a;
  --green-dark:       #4d7d1f;

  /* Legacy secondary alias → gold (was red, now brand gold) */
  --secondary:        #f4b624;
  --secondary-light:  #f9cc5c;
  --secondary-dark:   #c8930e;

  --accent:           #ffffff;
  --accent-warm:      #f4b624;
  --dark:             #07111f;
  --dark-surface:     #0f2040;
  --surface:          #ffffff;
  --surface-2:        #f4f6fa;
  --surface-3:        #e8ecf4;
  --border:           #c8d0e4;
  --border-subtle:    rgba(12,47,100,0.08);
  --text:             #0b1424;
  --text-muted:       #3a4a6e;
  --text-light:       #6b7a9a;

  /* Semantic colours */
  --success:          #66a52b;
  --error:            #d93025;
  --warning:          #f4b624;
  --info:             #0ea5e9;

  --radius-sm:        8px;
  --radius:           14px;
  --radius-lg:        22px;
  --radius-full:      9999px;

  --shadow-sm:        0 2px 8px rgba(0,0,0,0.04);
  --shadow:           0 6px 20px rgba(0,0,0,0.08);
  --shadow-lg:        0 14px 44px rgba(0,0,0,0.12);
  --shadow-hover:     0 20px 50px rgba(12,47,100,0.18);

  --transition:       all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. Bootstrap Overrides — Brand colours: Navy · Gold · Green ─────────── */
.btn-primary {
  background-color: #0c2f64 !important;
  border-color: #0c2f64 !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #1a4a8a !important;
  border-color: #1a4a8a !important;
  color: #ffffff !important;
}

.btn-outline-primary {
  color: #0c2f64 !important;
  border-color: #0c2f64 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #0c2f64 !important;
  border-color: #0c2f64 !important;
  color: #ffffff !important;
}

/* Gold (accent) button — for primary CTAs */
.btn-gold,
.btn-accent {
  background-color: #f4b624 !important;
  border-color: #f4b624 !important;
  color: #07111f !important;
  font-weight: 700;
}

.btn-gold:hover,
.btn-gold:focus,
.btn-accent:hover,
.btn-accent:focus {
  background-color: #f9cc5c !important;
  border-color: #f9cc5c !important;
  color: #07111f !important;
}

/* Green (success/action) button */
.btn-success {
  background-color: #66a52b !important;
  border-color: #66a52b !important;
  color: #ffffff !important;
}

.btn-success:hover,
.btn-success:focus {
  background-color: #82c23a !important;
  border-color: #82c23a !important;
}

.text-primary {
  color: #0c2f64 !important;
}

.text-gold {
  color: #f4b624 !important;
}

.text-green {
  color: #66a52b !important;
}

.bg-primary {
  background-color: #0c2f64 !important;
}

.bg-gold {
  background-color: #f4b624 !important;
  color: #07111f !important;
}

.border-primary {
  border-color: #0c2f64 !important;
}

.border-gold {
  border-color: #f4b624 !important;
}

/* ── 3. Base Reset ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--surface-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--secondary);
  color: #ffffff;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

/* ── 3. Typography Helpers ────────────────────────────────────────────────── */
.fw-extrabold { font-weight: 800; }
.tracking-tight { letter-spacing: -0.03em; }
.tracking-wider { letter-spacing: 0.05em; }

.text-gradient {
  background: linear-gradient(135deg, #f4b624 0%, #f9cc5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-navy {
  background: linear-gradient(135deg, #0c2f64 0%, #1a4a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 4. Layout Utilities ─────────────────────────────────────────────────── */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg) !important;
}

.hover-primary:hover {
  color: var(--primary) !important;
}

.hover-white:hover {
  color: #ffffff !important;
}

.backdrop-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── 5. Hero Section ─────────────────────────────────────────────────── */

/* Container — brand navy base */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center 35% !important;
  background-repeat: no-repeat !important;
  background-color: #0c2f64 !important;
  overflow: visible !important;
  z-index: 10;
}

/* Overlay — deep navy gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    175deg,
    rgba(12, 47, 100, 0.40) 0%,
    rgba(7, 29, 62, 0.65) 45%,
    rgba(4, 17, 37, 0.88) 100%
  );
}

/* Ambient glow — top right (gold brand accent) */
.hero-section::before {
  content: '';
  position: absolute;
  top: -12%;
  right: -6%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(244, 182, 36, 0.18) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* Ambient glow — bottom left (green brand accent) */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -12%;
  left: -6%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(102, 165, 43, 0.14) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* Content wrapper — above overlays */
.hero-content {
  position: relative;
  z-index: 20;
  padding: 5rem 0 9.5rem;
}

/* ── Eyebrow badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Headline ── */
.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.hero-highlight {
  font-style: normal;
  color: #f4b624;
  text-shadow:
    0 0 36px rgba(244, 182, 36, 0.55),
    0 2px 12px rgba(0, 0, 0, 0.7);
}

/* ── Subtitle ── */
.hero-subtitle {
  font-size: 1.08rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ───────────────────────────────────────────────────────────────────────
   SEARCH CARD — Google/Airbnb-style inline form
   ─────────────────────────────────────────────────────────────────────── */
.hero-search-card {
  max-width: 880px;
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    0 20px 50px rgba(0, 16, 48, 0.3),
    0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  overflow: visible !important;
  padding: 6px;
  position: relative;
  z-index: 1000 !important;
}

@media (max-width: 767px) {
  .hero-search-card {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
}

/* ── Field cell ── */
.hs-field {
  flex: 1 1 auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  border-radius: 12px;
  transition: background-color 0.2s ease;
  position: relative;
}

.hs-field:hover {
  background-color: rgba(1, 33, 105, 0.025);
}

.hs-field-what {
  flex: 1.25 1 0%;
}

.hs-field-where {
  flex: 1 1 0%;
  position: relative;
  z-index: 1001 !important;
}

/* Vertical separator between cells on desktop */
@media (min-width: 768px) {
  .hs-field + .hs-field {
    border-left: 1.5px solid #e2e8f0;
  }
}

/* Horizontal separator on mobile */
@media (max-width: 767px) {
  .hs-field + .hs-field {
    border-top: 1.5px solid #e2e8f0;
    margin-top: 8px;
    padding-top: 14px;
  }
}

/* Label row — Prominent, Bold & High-Contrast */
.hs-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c2f64;
  margin-bottom: 6px;
}

.hs-label i {
  font-size: 1.05rem;
  color: #f4b624;
}

/* Text input — Clear, Prominent Typography */
.hs-input {
  display: block;
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0b1424;
  padding: 2px 0;
  height: 34px;
}

.hs-input::placeholder {
  color: #64748b;
  font-weight: 500;
}

.hs-input:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

/* Select field — Clean, Native & Reliable (matches /search page) */
.hs-select {
  display: block;
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0b1424;
  height: 34px;
  padding: 0 28px 0 0 !important;
  cursor: pointer;
}

.hs-select:focus {
  outline: 0 !important;
  box-shadow: none !important;
  color: var(--primary);
}

.hs-select option {
  font-weight: 500;
  color: #0b1424;
  background-color: #ffffff;
  padding: 8px 12px;
}

.custom-location-menu .dropdown-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: #0b1424;
  transition: all 0.15s ease;
  border-radius: 10px !important;
  padding: 9px 14px !important;
}

.custom-location-menu .dropdown-item:hover {
  background-color: #f4f6fa !important;
  color: #0c2f64 !important;
}

.custom-location-menu .dropdown-item.active {
  background-color: #0c2f64 !important;
  color: #ffffff !important;
}

.custom-location-menu .dropdown-item.active i {
  color: #f4b624 !important;
}

.custom-location-menu::-webkit-scrollbar {
  width: 6px;
}

.custom-location-menu::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 10px;
}

/* ── Button cell ── */
.hs-btn-cell {
  display: flex;
  align-items: center;
  padding: 4px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hs-btn-cell {
    padding: 10px 0 4px 0;
    width: 100%;
  }
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 32px;
  border: none !important;
  border-radius: 14px !important;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #07111f !important;
  background: linear-gradient(135deg, #f4b624 0%, #f9cc5c 100%) !important;
  box-shadow: 0 4px 14px rgba(244, 182, 36, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 182, 36, 0.55);
  background: linear-gradient(135deg, #f9cc5c 0%, #f4b624 100%) !important;
  color: #07111f !important;
}

/* ── Popular chips ── */
.hero-popular-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.popular-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.popular-chip:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  color: #fff !important;
}




/* ── 6. Business Cards ───────────────────────────────────────────────────── */
.business-card {
  transition: var(--transition);
}

.business-card:hover img {
  transform: scale(1.04);
}

.business-card img {
  transition: transform 0.4s ease;
}

/* ── 7. Rating Stars ──────────────────────────────────────────────────────── */
.stars {
  color: var(--accent);
  display: inline-flex;
  gap: 2px;
}

.star {
  font-size: 1.1rem;
}

.star.filled {
  color: var(--accent);
}

.star.half {
  position: relative;
  color: var(--border);
}

.star.half::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  color: var(--accent);
}

/* ── 8. Navigation & Header ──────────────────────────────────────────────── */
.navbar {
  transition: var(--transition);
}

.navbar .nav-link {
  position: relative;
  padding: 0.5rem 0.85rem;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
  width: 80%;
}

/* ── 9. Badges & Pills ────────────────────────────────────────────────────── */
.badge {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge.bg-primary-subtle {
  background-color: rgba(12, 47, 100, 0.1) !important;
  color: var(--primary) !important;
}

.badge.bg-gold-subtle {
  background-color: rgba(244, 182, 36, 0.15) !important;
  color: #7a5900 !important;
}

.badge.bg-success-subtle {
  background-color: rgba(102, 165, 43, 0.12) !important;
  color: var(--green-dark) !important;
}

.badge.bg-warning-subtle {
  background-color: rgba(244, 182, 36, 0.15) !important;
  color: #7a5900 !important;
}

.badge.bg-danger-subtle {
  background-color: rgba(217, 48, 37, 0.1) !important;
  color: var(--error) !important;
}

/* ── 10. Admin Sidebar ───────────────────────────────────────────────────── */
.hover-bg-dark:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

/* ── 11. Custom Scrollbars ────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-3);
}

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ── 12. Responsive Adjustments ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .display-4 {
    font-size: 2rem;
  }
  .display-5 {
    font-size: 1.65rem;
  }
  .display-6 {
    font-size: 1.45rem;
  }
}

/* ── 13. Add-Business Multi-Step Form Mobile ──────────────────────────────── */
@media (max-width: 575.98px) {
    .add-business-hero.py-5 {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }
    .add-step-title.display-5 {
        font-size: 1.35rem !important;
    }
    .add-step-subtitle.fs-5 {
        font-size: 0.825rem !important;
    }
    .add-step-progress {
        gap: 0.25rem !important;
        margin-bottom: 1rem !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }
    .step-badge {
        padding: 0.2rem 0.5rem !important;
        font-size: 0.65rem !important;
        white-space: nowrap;
    }
    .add-step-container.py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .add-step-card.p-4.p-md-5 {
        padding: 1rem !important;
    }
    .add-step-card .form-control-lg,
    .add-step-card .form-select-lg,
    .add-step-input-group .form-control {
        font-size: 0.9rem;
        padding: 0.55rem 0.85rem;
    }
    .add-step-card .input-group-lg .btn {
        font-size: 0.85rem;
        padding: 0.55rem 0.9rem;
    }
    .add-step-card .input-group-lg .input-group-text {
        font-size: 0.85rem;
        padding: 0.55rem 0.85rem;
    }
    .add-step-card label.form-label {
        font-size: 0.9rem;
    }
    .add-step-actions {
        flex-direction: column !important;
    }
    .add-btn-next,
    .add-btn-back,
    .add-skip-btn {
        width: 100%;
        text-align: center;
    }
    .add-step-card textarea.form-control {
        font-size: 0.9rem;
    }
    .add-step-card .form-text {
        font-size: 0.75rem;
    }
    .add-step-card .selected-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
    }
    .add-step-card .cat-search-box input {
        font-size: 0.85rem;
        padding-left: 2rem;
    }
    .add-step-card .cat-search-box .search-icon {
        font-size: 0.85rem;
        left: 0.65rem;
    }
    .add-step-card .category-select-wrap {
        max-height: 200px;
    }
    .add-step-card .category-option {
        padding: 0.35rem 0.6rem;
        gap: 0.3rem;
    }
    .add-step-card .category-option .parent-label {
        font-size: 0.78rem;
    }
    .add-step-card .category-option .child-name {
        font-size: 0.78rem;
    }
    .add-step-card .category-option input[type="checkbox"] {
        width: 0.95em;
        height: 0.95em;
    }
    /* Search results / skip button area */
    .add-step-card .btn-lg.rounded-pill {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.55rem 1rem;
    }
    .add-step-card .input-group-lg .rounded-end-4 {
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
    }
    /* Password meter */
    .add-step-card .password-strength-wrapper {
        height: 4px !important;
    }
}

/* ── 14. Form Input Borders (best-practice) ──────────────────────────────── */
/* Clean, subtle border on all form inputs for better usability */
.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
    border: 1px solid var(--bs-border-color, #ced4da);
    box-shadow: none; /* remove default Bootstrap ring, we handle focus below */
}

/* Slightly thicker, coloured border on focus — accessibility best practice */
.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Form controls that previously used shadow-none still need a visible border */
.shadow-none.form-control,
.shadow-none.form-select,
.form-control.shadow-none,
.form-select.shadow-none {
    border: 1px solid var(--bs-border-color, #ced4da) !important;
}
.shadow-none.form-control:focus,
.shadow-none.form-select:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* border-0 override — we intentionally set border-0 on some inline styles,
   so give those inputs a visible border via the card context */
.border-0.form-control:not(:focus),
.form-control.border-0:not(:focus) {
    border: 1px solid var(--bs-border-color, #ced4da) !important;
}
.border-0.form-control:focus {
    border: 1px solid #86b7fe !important;
}

/* Input groups — ensure borders are visible there too */
.input-group .form-control,
.input-group .form-select {
    border: 1px solid var(--bs-border-color, #ced4da);
}

/* Textareas */
textarea.form-control {
    border: 1px solid var(--bs-border-color, #ced4da);
}

/* ── 15. Mobile-First Elegant Sizing (legacy) ────────────────────────────── */
@media (max-width: 575.98px) {
  /* Scale down overly large headings on phones */
  .display-4 {
    font-size: 1.85rem !important;
  }
  .display-5 {
    font-size: 1.5rem !important;
  }
  .display-6 {
    font-size: 1.35rem !important;
  }
  .fs-5 {
    font-size: 0.925rem !important;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
  h4 { font-size: 1.05rem; }
  h5 { font-size: 0.95rem; }

  /* Hero padding reduction */
  .hero-section, .bg-dark.text-white.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .py-lg-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  /* Scale down huge form inputs */
  .form-control-lg,
  .form-select-lg,
  .input-group-lg .form-control,
  .input-group-lg .btn,
  .input-group-lg .input-group-text {
    font-size: 0.925rem;
    padding: 0.5rem 0.85rem;
  }

  /* Scale down large buttons */
  .btn-lg {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  .btn-group-lg > .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  /* Reduce card padding on phones */
  .card-body.p-4 {
    padding: 1.1rem !important;
  }
  .p-4.p-md-5 {
    padding: 1.25rem !important;
  }
  .p-5 {
    padding: 1.25rem !important;
  }

  /* Progress step badges — make them compact */
  .rounded-pill.px-3.py-2 {
    padding: 0.25rem 0.6rem !important;
    font-size: 0.7rem !important;
  }
  .gap-2.mb-5 {
    gap: 0.3rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* Business card image */
  .business-card .position-relative.overflow-hidden {
    height: 140px !important;
  }

  /* Grid gap reduction */
  .g-4 {
    --bs-gutter-y: 1rem;
  }
  .g-4 > .col,
  .g-4 > [class*="col-"] {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .row.g-4 {
    --bs-gutter-y: 0.75rem;
  }

  /* Contain text width */
  .max-w-2xl {
    max-width: 100% !important;
  }

  /* Footer - stack columns tighter */
  footer .row.g-4.mb-4 > .col-lg-4,
  footer .row.g-4.mb-4 > .col-lg-2,
  footer .row.g-4.mb-4 > .col-lg-3 {
    margin-bottom: 0;
  }

  /* Category icons on homepage */
  .rounded-4[style*="54px"] {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    font-size: 20px !important;
  }

  /* Category badges smaller */
  .badge.text-decoration-none.rounded-pill.px-3.py-2 {
    padding: 0.2rem 0.5rem !important;
    font-size: 0.7rem !important;
  }

  /* Review stars less massive */
  .star {
    font-size: 1rem;
  }

  /* Listing page: hero action buttons stack full-width */
  .btn-lg.rounded-pill {
    width: 100%;
    display: block;
  }
  .btn-lg.rounded-pill + .btn-lg.rounded-pill {
    margin-top: 0.4rem;
  }

  /* Search bar hero card padding */
  .card.rounded-4.p-3.p-md-4.mx-auto.mb-4 {
    padding: 0.85rem !important;
  }

  /* Profile page avatar sizing */
  [style*="width: 120px; height: 120px"] {
    width: 90px !important;
    height: 90px !important;
    font-size: 36px !important;
  }

  /* Dashboard stats cards */
  .fs-3 {
    font-size: 1.4rem !important;
  }

  /* Admin listing avatar */
  [style*="width: 100px; height: 100px"] {
    width: 70px !important;
    height: 70px !important;
    font-size: 28px !important;
  }

  /* Carousel caption hide on smaller */
  .carousel-item [style*="height: 500px"] {
    height: 250px !important;
  }

  /* Business listing hero heading */
  .d-flex.align-items-center.gap-3.mb-3 .display-4 {
    font-size: 1.5rem !important;
  }

  /* Listing hero header badges */
  .badge.rounded-pill.px-3.py-2 {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem !important;
  }

  /* Listing page: contact card spacing */
  .list-unstyled.d-flex.flex-column.gap-3 {
    gap: 0.7rem !important;
  }

  /* Business-listing hero logo */
  [style*="width: 80px; height: 80px"] {
    width: 56px !important;
    height: 56px !important;
  }

  /* Admin tables - smaller cells */
  .table td, .table th {
    padding: 0.45rem 0.5rem;
    font-size: 0.8rem;
  }
  .table .badge {
    font-size: 0.65rem;
  }

  /* Category grid cards - less padding */
  .card.shadow-sm.rounded-4.p-3.hover-lift {
    padding: 0.75rem !important;
  }

  /* Round buttons on category page on mobile */
  .rounded-circle[style*="48px"] {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
  }

  /* Gallery section space */
  .bg-light.py-5.border-bottom {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  /* Business listing description */
  .container.py-5 {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }

  /* Reduce claim alert padding */
  .alert.rounded-4.p-4.mb-4 {
    padding: 1rem !important;
  }

  /* Multi-field search form on home */
  .card.rounded-4.p-3.p-md-4.bg-white .row.g-2 .col-md-5,
  .card.rounded-4.p-3.p-md-4.bg-white .row.g-2 .col-md-4,
  .card.rounded-4.p-3.p-md-4.bg-white .row.g-2 .col-md-3 {
    margin-bottom: 0.25rem;
  }

  /* Search page header badge */
  .badge.text-bg-light.text-primary.px-3.py-2.rounded-pill.mb-3 {
    margin-bottom: 0.5rem !important;
    padding: 0.2rem 0.6rem !important;
    font-size: 0.65rem;
  }

  /* Container padding on mobile */
  .container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  /* Sidebar toggle button spacing */
  .navbar-toggler {
    padding: 0.3rem 0.5rem;
    font-size: 1.1rem;
  }

  /* Mobile nav padding */
  .navbar .nav-link {
    padding: 0.4rem 0.6rem;
  }
}

/* ── 16. Custom Category Icon Colours ────────────────────────────────────── */
.bg-purple  { background-color: #6f42c1 !important; }
.bg-orange  { background-color: #fd7e14 !important; }
.bg-teal    { background-color: #20c997 !important; }
.bg-indigo  { background-color: #6610f2 !important; }
.bg-pink    { background-color: #d63384 !important; }
.bg-rose    { background-color: #e83e8c !important; }
.bg-cyan    { background-color: #0dcaf0 !important; color: #000 !important; }
.bg-navy    { background-color: #0a192f !important; }
.bg-brown   { background-color: #8b5e3c !important; }
.bg-coral   { background-color: #e76f51 !important; }
.bg-lime    { background-color: #44c767 !important; }
.bg-violet  { background-color: #7b2d8e !important; }
.bg-brand-gold { background-color: #f4b624 !important; color: #07111f !important; }
.bg-sky     { background-color: #0d6efd !important; }
.bg-mint    { background-color: #0cae74 !important; }
.bg-plum    { background-color: #580f5e !important; }
.bg-slate   { background-color: #475569 !important; }
.bg-amber   { background-color: #ffc107 !important; color: #000 !important; }
.bg-turquoise { background-color: #00bcd4 !important; }
.bg-lavender { background-color: #9b59b6 !important; }
.bg-maroon  { background-color: #800000 !important; }

/* ── 17. Live Search Suggestions ──────────────────────────────────────────── */
.hover-bg-light:hover {
    background-color: #f8f9fa !important;
}
.transition-bg {
    transition: background-color 0.15s ease;
}
.live-suggest-dropdown a:last-child {
    border-bottom: none !important;
}
.live-suggest-dropdown::-webkit-scrollbar {
    width: 6px;
}
.live-suggest-dropdown::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* ── 18. Search Directory Page Form Styles ──────────────────────────── */
#search-app .form-control,
#search-app .form-select {
  height: 52px;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 1rem !important;
  transition: all 0.2s ease-in-out;
}

#search-app .form-control:focus,
#search-app .form-select:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(12, 47, 100, 0.12);
}

/* ── 19. Premium Drag & Drop File Uploader Component ───────────────────── */
.premium-uploader {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  background-color: #f8fafc;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.premium-uploader:hover,
.premium-uploader.dragover {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(12, 47, 100, 0.08), 0 0 0 4px rgba(244, 182, 36, 0.2);
  transform: translateY(-2px);
}

.premium-uploader input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.premium-uploader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.premium-uploader-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(12, 47, 100, 0.08) 0%, rgba(244, 182, 36, 0.12) 100%);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 12px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.premium-uploader:hover .premium-uploader-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, #0c2f64 0%, #f4b624 100%);
  color: #ffffff;
}

.premium-uploader-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0b1424;
  margin-bottom: 4px;
}

.premium-uploader-sub {
  font-size: 0.82rem;
  color: #64748b;
}

.premium-uploader-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 10px;
  transition: all 0.2s ease;
}

.premium-uploader:hover .premium-uploader-btn {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

/* Live Preview State */
.premium-uploader-preview {
  display: none;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.premium-uploader.has-preview .premium-uploader-content {
  display: none;
}

.premium-uploader.has-preview .premium-uploader-preview {
  display: flex;
}

.premium-uploader-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.premium-uploader-file-info {
  flex-grow: 1;
  min-width: 0;
}

.premium-uploader-file-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0b1424;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.premium-uploader-file-size {
  font-size: 0.78rem;
  color: #64748b;
}


