/**
 * PkBizHub.com — Corporate Stylesheet
 * Strictly ZERO gradients: High-end, clean solid color palette & crisp layout
 */

:root {
  --primary: #0f172a;        /* Deep Slate Navy */
  --primary-light: #1e293b;  /* Slate 800 */
  --accent: #0f766e;         /* Corporate Teal / Pakistani Emerald */
  --accent-hover: #115e59;   /* Darker Teal */
  --accent-blue: #1d4ed8;    /* Corporate Solid Blue */
  --bg-page: #f8fafc;        /* Slate 50 Neutral Surface */
  --bg-white: #ffffff;       /* Pure Crisp White */
  --border-light: #e2e8f0;   /* Slate 200 */
  --border-medium: #cbd5e1;  /* Slate 300 */
  --text-dark: #0f172a;      /* Headings */
  --text-body: #334155;      /* Body copy */
  --text-muted: #64748b;     /* Muted / Subtitles */
  --whatsapp: #15803d;       /* Solid WhatsApp Green */
  --whatsapp-hover: #166534;
  --danger: #b91c1c;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================================================
   Top Utility Bar - Clean, Modern & Seamless with Page
============================================================== */
.top-bar {
  background-color: #f8fafc;
  color: #475569;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #e2e8f0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-sep {
  color: #cbd5e1;
  font-size: 12px;
  user-select: none;
}

.top-bar-wa {
  color: #065f46;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  transition: all 0.15s ease;
}

.top-bar-wa i {
  color: #10b981;
  font-size: 13px;
}

.top-bar-wa:hover {
  background-color: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-right a {
  color: #64748b;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.top-bar-right a:hover {
  color: #0f172a;
}

.top-bar-right a.admin-link {
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-bar-right a.admin-link:hover {
  color: #0f172a;
}

/* Country Selector Switcher - Crisp Light Capsule */
.country-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background-color: #ffffff;
  padding: 2px 4px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.switcher-label {
  font-size: 11px;
  color: #64748b;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
}

.country-pill {
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.country-pill .flag-icon,
.m-pill .flag-icon {
  width: 16px;
  height: 11px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: inline-block;
  vertical-align: middle;
}

/* Individual Country Theming & Colors */
/* Pakistan (PK) - Emerald Green Theme */
.country-pill.country-pill-pk:hover {
  background-color: #ecfdf5;
  color: #065f46;
}
.country-pill.country-pill-pk.active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  font-weight: 700;
  border-color: #10b981;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.35);
}

/* United Kingdom (UK) - Royal Navy / Blue Theme */
.country-pill.country-pill-uk:hover {
  background-color: #eff6ff;
  color: #1e40af;
}
.country-pill.country-pill-uk.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  border-color: #3b82f6;
  box-shadow: 0 1px 4px rgba(29, 78, 216, 0.35);
}

/* United States (US) - USA Crimson Red Theme */
.country-pill.country-pill-us:hover {
  background-color: #fef2f2;
  color: #991b1b;
}
.country-pill.country-pill-us.active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-weight: 700;
  border-color: #ef4444;
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.35);
}

/* All / Worldwide - Ocean Cyan Theme */
.country-pill.country-pill-all:hover {
  background-color: #f0f9ff;
  color: #0369a1;
}
.country-pill.country-pill-all.active {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  font-weight: 700;
  border-color: #38bdf8;
  box-shadow: 0 1px 4px rgba(2, 132, 199, 0.35);
}

/* Mobile Country Selector Bar */
.mobile-country-bar {
  display: none;
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 0;
}

.mobile-country-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mobile-country-lbl {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
}

.mobile-country-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.m-pill {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  padding: 4px 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.m-pill:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

.m-pill-pk.active {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  border-color: #10b981;
}

.m-pill-uk.active {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  border-color: #3b82f6;
}

.m-pill-us.active {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  border-color: #ef4444;
}

.m-pill-all.active {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  border-color: #38bdf8;
}

@media (max-width: 992px) {
  .mobile-country-bar {
    display: block;
  }
  .top-bar-left .country-switcher {
    display: none;
  }
  .top-bar-left .top-bar-sep {
    display: none;
  }
}

/* ==============================================================
   Main Header & Navigation - Simple, Clear & Modern
============================================================== */
.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

/* Modern Site Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background-color: #f0fdfa;
  border: 1px solid #ccfbf1;
  color: #0f766e;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.logo-text {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: #0f766e;
}

.logo-country-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-country-badge.badge-pk {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.logo-country-badge.badge-uk {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.logo-country-badge.badge-us {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.logo-country-badge.badge-global {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

/* Global Hub 3 Country Cards */
.country-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .country-cards-grid {
    grid-template-columns: 1fr;
  }
}

.hub-country-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  overflow: hidden;
}

.hub-country-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.10), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  border-color: var(--accent);
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.hub-card-flag {
  font-size: 38px;
  line-height: 1;
}

.hub-card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

.hub-card-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hub-section-mini {
  margin-bottom: 16px;
}

.hub-section-mini h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hub-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hub-tag {
  font-size: 12px;
  background-color: #f1f5f9;
  color: #334155;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

.hub-tag:hover {
  background-color: var(--accent);
  color: #ffffff;
}

.hub-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #334155;
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #0f766e;
}

.nav-links a.active {
  color: #0f766e;
  font-weight: 700;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #0f766e;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-add-business {
  background-color: #0f766e;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #0f766e;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 118, 110, 0.2);
}

.btn-add-business:hover {
  background-color: #0d655e;
  border-color: #0d655e;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(15, 118, 110, 0.25);
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-toggle:hover {
  background-color: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}

/* ==============================================================
   Buttons (Crisp Solid Colors - Zero Gradients)
============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
  text-decoration: none;
}

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

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

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

.btn-navy:hover {
  background-color: var(--primary-light);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background-color: #f1f5f9;
  border-color: var(--text-muted);
  color: var(--text-dark);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==============================================================
   Hero Search Section (Faisal Mosque, Islamabad)
   Specs: Desktop 560px Height | Content Max-Width 1100px | 5% Opacity Overlay
   Strictly Zero Gradients: Authentic Landmark is 95% Visible & Clear
============================================================== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0f172a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 56px 0 44px 0;
  border-bottom: none;
  overflow: hidden;
  box-sizing: border-box;
}

/* Content-Specific Background Images */
.hero-section.hero-pk {
  background-image: url('../images/hero-pakistan-panoramic.jpg?v=3');
  background-position: center 35%;
}

.hero-section.hero-uk {
  background-image: url('../images/hero-uk.jpg');
}

.hero-section.hero-us {
  background-image: url('../images/hero-us.jpg');
}

.hero-section.hero-global {
  background-image: url('../images/hero-global.jpg');
}

/* 5% Base Opacity with Soft Center Vignette Scrim - Landmark is 95% Visible with 3D Text Pop */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.32) 0%, rgba(15, 23, 42, 0.12) 60%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}


/* Crystal-Clear High-Contrast Headings over 95% Visible Background */
.hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  line-height: 1.22;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.hero-title span {
  color: #38bdf8;
  border-bottom: 3px solid #38bdf8;
  padding-bottom: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
  font-size: 17.5px;
  color: #f8fafc;
  margin-bottom: 24px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

/* ==============================================================
   Search Bar with Keyword & All Cities List Dropdown (BizBranches Style)
============================================================== */
.hero-search-box {
  background-color: #ffffff;
  padding: 5px 6px 5px 18px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 118, 110, 0.15);
  max-width: 780px; /* Perfect Proportion for Keyword + City + Button */
  margin: 0 auto 20px auto;
  transition: all 0.22s ease;
}

.hero-search-box:focus-within {
  border-color: #0f766e;
  box-shadow: 0 18px 42px -6px rgba(15, 118, 110, 0.28), 0 0 0 3px rgba(15, 118, 110, 0.18);
  transform: translateY(-1px);
}

.dir-search-box {
  background-color: #ffffff;
  padding: 5px 6px 5px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border-medium);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  max-width: 780px;
  margin: 0 auto 24px auto;
  transition: all 0.22s ease;
}

.dir-search-box:focus-within {
  border-color: #0f766e;
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.18), 0 0 0 3px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
}

/* ==============================================================
   Unified All-in-One Directory Search Bar (Country + Keyword + City)
   Merges Country Filter Tabs + Search Box into ONE Attractive Capsule
============================================================== */
.dir-unified-search-box {
  background-color: #ffffff;
  padding: 5px 6px 5px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border-medium);
  box-shadow: 0 6px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  max-width: 860px;
  margin: 0 auto 28px auto;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.dir-unified-search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 0 0 3px rgba(5, 150, 105, 0.14);
  transform: translateY(-1px);
}

.dir-unified-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

/* Segment 1: Country */
.unified-col-country {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 170px;
  min-width: 0;
  padding: 4px 10px;
  border-radius: 40px;
  background-color: #f8fafc;
  transition: background-color 0.2s ease;
}

.unified-col-country:hover {
  background-color: #f1f5f9;
}

.unified-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  margin-right: 6px;
}

.search-flag-svg {
  width: 20px;
  height: 15px;
  border-radius: 2.5px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  display: block;
}

.unified-globe-icon {
  color: #0284c7;
  font-size: 15px;
}

.unified-country-select {
  width: 100%;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 18px;
}

/* Hairline Dividers */
.unified-divider {
  width: 1px;
  height: 26px;
  background-color: #e2e8f0;
  margin: 0 10px;
  flex-shrink: 0;
}

/* Segment 2: Keyword */
.unified-col-keyword {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1.6;
  min-width: 0;
}

.unified-field-icon {
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-size: 15px;
  pointer-events: none;
}

.unified-keyword-input {
  width: 100%;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0 10px 0 32px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
}

.unified-keyword-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Segment 3: City */
.unified-col-city {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1.25;
  min-width: 0;
}

.unified-city-select {
  width: 100%;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0 24px 0 30px;
  font-size: 13.5px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.unified-chevron {
  position: absolute;
  right: 6px;
  color: #94a3b8;
  font-size: 11px;
  pointer-events: none;
}

/* Segment 4: Search Button */
.unified-submit-btn {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0 24px;
  height: 44px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 6px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.unified-submit-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.unified-submit-btn i {
  transition: transform 0.2s ease;
}

.unified-submit-btn:hover i {
  transform: translateX(3px);
}

.hero-search-form,
.hero-form-single {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.search-col-keyword,
.hero-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1.45;
  min-width: 0;
}

.search-col-city {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1.05;
  min-width: 0;
}

.search-field-icon,
.search-leading-icon {
  position: absolute;
  left: 6px;
  color: #0f766e;
  font-size: 15px;
  pointer-events: none;
}

.search-keyword-input,
.hero-single-input {
  width: 100%;
  height: 48px;
  padding: 0 12px 0 32px;
  border: none !important;
  background-color: transparent !important;
  color: #0f172a;
  font-size: 14.5px;
  font-weight: 500;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit;
}

.search-keyword-input::placeholder,
.hero-single-input::placeholder {
  color: #64748b;
  font-size: 13.5px;
}

.search-divider {
  width: 1px;
  height: 26px;
  background-color: #cbd5e1;
  margin: 0 8px;
  flex-shrink: 0;
}

.search-city-select {
  width: 100%;
  height: 48px;
  padding: 0 24px 0 30px;
  border: none !important;
  background-color: transparent !important;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-city-select option,
.search-city-select optgroup {
  color: #0f172a;
  background-color: #ffffff;
  font-weight: 500;
  padding: 6px;
}

.search-city-select optgroup {
  font-weight: 700;
  color: #0f766e;
}

.search-chevron {
  position: absolute;
  right: 10px;
  color: #94a3b8;
  font-size: 11px;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.search-col-city:focus-within .search-chevron {
  color: #0f766e;
  transform: rotate(180deg);
}

/* Theme Submit Button */
.search-submit-btn,
.btn-hero-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0f766e; /* Signature Theme Emerald Teal */
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  height: 44px;
  padding: 0 22px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.35);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 6px;
}

.search-submit-btn i,
.btn-hero-submit i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.search-submit-btn:hover,
.btn-hero-submit:hover {
  background-color: #115e59;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.45);
  transform: translateY(-1px);
}

.search-submit-btn:hover i,
.btn-hero-submit:hover i {
  transform: translateX(3px);
}

/* ==============================================================
   Competitor-Style Dual Action Buttons (BizBranches / Global Standard)
============================================================== */
.hero-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.2px;
}

/* Primary Button: Solid Vibrant Emerald (BizBranches Style) */
.hero-cta-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  border: 1px solid #10b981;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.45), 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-cta-primary:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.55);
}

.hero-cta-primary i {
  font-size: 14px;
}

/* Secondary Button: Frosted Glass / Translucent Outline */
.hero-cta-secondary {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.hero-cta-secondary i {
  font-size: 14px;
  color: #38bdf8;
}

@media (max-width: 640px) {
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ==============================================================
   Hero Simple Trust Bar (Clean, Minimal, Modern)
   Flat horizontal strip with soft circular icons & hairline dividers
============================================================== */
.hero-simple-bar {
  background-color: #ffffff;
  border-bottom: 2px solid var(--accent);
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  z-index: 5;
}

.simple-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.simple-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 16px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.simple-bar-item:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.simple-bar-item:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.simple-bar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.simple-bar-icon.icon-emerald {
  background-color: #ecfdf5;
  color: #059669;
}

.simple-bar-icon.icon-whatsapp {
  background-color: #f0fdf4;
  color: #16a34a;
}

.simple-bar-icon.icon-blue {
  background-color: #eff6ff;
  color: #2563eb;
}

.simple-bar-icon.icon-purple {
  background-color: #faf5ff;
  color: #7c3aed;
}

.simple-bar-icon.icon-red {
  background-color: #fef2f2;
  color: #dc2626;
}

.simple-bar-icon.icon-amber {
  background-color: #fffbeb;
  color: #d97706;
}

.simple-bar-content {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.simple-bar-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.simple-bar-desc {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 1px;
  white-space: nowrap;
}

/* ==============================================================
   Page Headers (Inner Pages)
============================================================== */
.page-header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 40px 0;
  border-bottom: 3px solid var(--accent);
}

.page-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: #ffffff;
}

/* ==============================================================
   Section Common
============================================================== */
.section {
  padding: 60px 0;
}

.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 14px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==============================================================
   Categories Grid
============================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ==============================================================
   Category Cards (High-End Dynamic Sector Theming & Colors)
============================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 20px;
}

.category-card {
  --cat-color: #0f766e;
  --cat-bg: #f0fdfa;
  --cat-border: #99f6e4;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  color: var(--text-dark);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--cat-color);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--cat-color);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
}

.category-card:hover::before {
  opacity: 1;
}

.cat-icon-box {
  width: 52px;
  height: 52px;
  background-color: var(--cat-bg);
  border: 1px solid var(--cat-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-color);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.category-card:hover .cat-icon-box,
.cat-page-card:hover .cat-icon-box {
  transform: scale(1.08);
  background-color: var(--cat-color);
  color: #ffffff;
  border-color: var(--cat-color);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
}

.cat-details {
  flex-grow: 1;
  min-width: 0;
}

.cat-details h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #0f172a;
  line-height: 1.35;
  transition: color 0.18s ease;
}

.category-card:hover .cat-details h4 {
  color: var(--cat-color);
}

.cat-details p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 12px;
}

.cat-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.cat-count-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--cat-color);
  background-color: var(--cat-bg);
  border: 1px solid var(--cat-border);
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.cat-count-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--cat-bg);
  color: var(--cat-color);
  border: 1px solid var(--cat-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-card:hover .cat-count-arrow {
  transform: translateX(3px);
  background-color: var(--cat-color);
  border-color: var(--cat-color);
  color: #ffffff;
}

/* Categories Page Grid & Rich Cards */
.categories-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.cat-page-card {
  --cat-color: #0f766e;
  --cat-bg: #f0fdfa;
  --cat-border: #99f6e4;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.cat-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--cat-color);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.cat-page-card:hover {
  transform: translateY(-4px);
  border-color: var(--cat-color);
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
}

.cat-page-card:hover::before {
  opacity: 1;
}

.cat-page-title {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s ease;
}

.cat-page-card:hover .cat-page-title {
  color: var(--cat-color);
}

.cat-page-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cat-color);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.cat-page-action-link:hover {
  gap: 10px;
}

/* ==============================================================
   Business Cards (Listing Cards)
============================================================== */
.listings-grid,
.listings-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.biz-card {
  --biz-accent: #0f766e;
  --biz-bg: #f0fdfa;
  --biz-border: #99f6e4;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  width: 100%;
}

.biz-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.09), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
}

.biz-card.is-featured {
  border-color: #f59e0b;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.12);
}

.biz-card.is-featured:hover {
  box-shadow: 0 16px 32px -4px rgba(245, 158, 11, 0.22);
}

/* Left Section: Logo & Country */
.biz-card-left {
  width: 110px;
  min-width: 110px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background-color: #fafbfc;
  border-right: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.biz-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.biz-card:hover .biz-logo-wrap {
  transform: scale(1.04);
}

.biz-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-logo-monogram {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  position: relative;
  user-select: none;
}

.biz-logo-monogram i {
  font-size: 13px;
  position: absolute;
  bottom: 5px;
  right: 6px;
  opacity: 0.85;
}

/* Middle / Main Section */
.biz-card-main {
  flex-grow: 1;
  min-width: 0;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.biz-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.biz-country-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.biz-country-pill.pk {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.biz-country-pill.gb, .biz-country-pill.uk {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.biz-country-pill.us {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
}

.badge-verified {
  background-color: #ccfbf1;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.badge-featured {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.badge-featured-gold {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 800;
}

.badge-pending {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-category {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.biz-title {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.biz-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.biz-title a:hover {
  color: var(--biz-accent, var(--accent));
}

.biz-tagline {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 6px;
}

.biz-meta-list {
  list-style: none;
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
}

.biz-meta-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.biz-meta-list li i {
  color: var(--accent);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.biz-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.biz-meta-chip {
  font-size: 11.5px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.biz-services-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #f1f5f9;
}

.biz-service-chip {
  font-size: 11px;
  background-color: #f1f5f9;
  color: #334155;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Right Section: Actions */
.biz-card-actions {
  width: 170px;
  min-width: 170px;
  padding: 16px 18px;
  background-color: #fafbfc;
  border-left: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}

.biz-card-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: 1px solid #1eb855;
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-whatsapp:hover {
  background-color: #1eb855;
  color: #ffffff;
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
  .biz-card {
    flex-direction: column;
  }
  .biz-card-left {
    width: 100%;
    min-width: 100%;
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 12px 16px;
    justify-content: flex-start;
  }
  .biz-logo-wrap {
    width: 56px;
    height: 56px;
  }
  .biz-card-main {
    padding: 14px 16px;
  }
  .biz-card-actions {
    width: 100%;
    min-width: 100%;
    border-left: none;
    border-top: 1px solid #f1f5f9;
    padding: 12px 16px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .biz-card-actions .btn {
    flex: 1 1 auto;
    min-width: 90px;
  }
}

/* Directory Country Switcher Tabs */
.dir-country-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.dir-tab {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.dir-tab:hover {
  background-color: #f8fafc;
  border-color: var(--border-medium);
}

.dir-tab.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.dir-tab-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background-color: #f1f5f9;
  color: #475569;
}

.dir-tab.active .dir-tab-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==============================================================
   Cities Grid Section
============================================================== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.city-pill-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.city-pill-card:hover {
  border-color: var(--accent);
  background-color: #ffffff;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(15, 118, 110, 0.14), 0 2px 4px -1px rgba(15, 118, 110, 0.05);
}

.city-pill-card i {
  color: var(--accent);
  margin-right: 4px;
}

.city-pill-card span:last-child {
  font-size: 11.5px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.city-pill-card:hover span:last-child {
  background-color: #f0fdfa;
  border-color: #99f6e4;
  color: #0f766e;
}

/* ==============================================================
   CTA Banner (Solid Corporate Color)
============================================================== */
.cta-banner {
  background-color: var(--accent);
  color: #ffffff;
  padding: 50px 0;
  border-top: 1px solid #115e59;
  border-bottom: 1px solid #115e59;
}

.cta-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.cta-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-content p {
  font-size: 16px;
  color: #ccfbf1;
}

/* ==============================================================
   Directory / Search Page Layout
============================================================== */
.directory-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.filter-sidebar {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
}

.filter-sidebar h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-dark);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.filter-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-input-wrap i {
  position: absolute;
  left: 12px;
  color: var(--accent);
  font-size: 13.5px;
  pointer-events: none;
}

.filter-input-wrap .form-control {
  padding-left: 34px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ==============================================================
   Single Business Profile
============================================================== */
.profile-header-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.profile-logo {
  width: 110px;
  height: 110px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-info {
  flex-grow: 1;
}

.profile-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.profile-tagline {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.profile-action-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

.content-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.content-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-card h3 i {
  color: var(--accent);
}

.table-hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table-hours td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
}

.table-hours tr:last-child td {
  border-bottom: none;
}

.table-hours td:first-child {
  font-weight: 600;
  color: var(--text-dark);
}

.table-hours td:last-child {
  text-align: right;
  color: var(--text-muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-body);
}

/* ==============================================================
   Add Business Form (Registration)
============================================================== */
.form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-field label .required {
  color: var(--danger);
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Alert Boxes (Solid Clean) */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.alert-danger {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-info {
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #075985;
}

.alert-warning {
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* ==============================================================
   Footer
============================================================== */
.main-footer {
  background-color: var(--primary);
  color: #94a3b8;
  padding: 60px 0 24px 0;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 8px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
}

/* ==============================================================
   Responsive Queries
============================================================== */
@media (max-width: 992px) {
  .hero-form {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .directory-layout {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;       /* User Spec: Mobile Auto */
    min-height: auto;
    padding: 40px 16px;
  }
  .hero-content {
    max-width: 100%;    /* User Spec: Mobile 100% */
    text-align: center; /* User Spec: Mobile Center */
    padding: 0;
  }
  .hero-title {
    font-size: 32px;    /* User Spec: Mobile 30-34px */
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 16px;    /* User Spec: Mobile 15-16px */
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .hero-search-box,
  .dir-search-box {
    border-radius: 20px;
    padding: 12px;
    max-width: 100%;
  }
  .hero-search-form,
  .hero-form-single {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .search-col-keyword,
  .search-col-city {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 0 10px;
    background: #f8fafc;
    height: 46px;
  }
  .search-divider {
    display: none;
  }
  .search-keyword-input,
  .search-city-select {
    height: 44px;
    font-size: 13.5px;
  }
  .search-submit-btn,
  .btn-hero-submit {
    width: 100%;
    height: 46px;
    margin-left: 0;
    justify-content: center;
  }
  .dir-unified-search-box {
    border-radius: 18px;
    padding: 10px;
  }
  .dir-unified-search-form {
    flex-wrap: wrap;
    gap: 8px;
  }
  .unified-col-country {
    flex: 1 1 100%;
    height: 42px;
  }
  .unified-divider {
    display: none;
  }
  .unified-col-keyword {
    flex: 1 1 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 44px;
  }
  .unified-col-city {
    flex: 1 1 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 44px;
  }
  .unified-submit-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    height: 44px;
  }
  .hero-simple-bar {
    padding: 12px 0;
  }
  .simple-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 0;
  }
  .simple-bar-item {
    justify-content: flex-start;
    padding: 6px 14px;
  }
  .simple-bar-item:nth-child(1),
  .simple-bar-item:nth-child(3) {
    border-right: 1px solid #e2e8f0;
  }
  .simple-bar-item:nth-child(2),
  .simple-bar-item:nth-child(4) {
    border-right: none;
  }
  .simple-bar-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .simple-bar-title {
    font-size: 13px;
  }
  .simple-bar-desc {
    font-size: 11px;
  }
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }
  .main-nav.active {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .hero-title {
    font-size: 28px;
  }
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .profile-header-card {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-simple-bar {
    padding: 10px 0;
  }
  .simple-bar-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .simple-bar-item {
    border-right: none !important;
    justify-content: flex-start;
    padding: 5px 8px;
  }
  .simple-bar-title,
  .simple-bar-desc {
    white-space: normal;
  }
}

