/* ============================================================
   WebDevelopersNearMe.com — styles.css
   Full dynamic directory listing site
   ============================================================ */

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

:root {
  --blue:        #1766DC;
  --blue-dark:   #0f52b8;
  --blue-light:  #e8f0fe;
  --orange:      #ff6b35;
  --navy:        #0d1b3e;
  --text:        #1a1a2e;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --bg-light:    #f8fafc;
  --bg-section:  #f3f6fb;
  --white:       #ffffff;
  --star:        #f59e0b;
  --green:       #22c55e;
  --radius:      10px;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

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

/* ---------- 2. UTILITIES ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.center-link {
  text-align: center;
  margin-top: 2.5rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section-eyebrow {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover { background: var(--blue-light); }

.btn-lg { padding: 13px 30px; font-size: 1rem; border-radius: 8px; }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }


/* ============================================================
   4. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.logo-text sup { font-size: 0.55em; color: var(--blue); }

/* Primary Nav */
.primary-nav { flex-shrink: 0; }

.primary-nav > ul {
  display: flex;
  gap: 4px;
}

.primary-nav > ul > li { position: relative; }

.primary-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.15s;
}

.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.active > a {
  background: var(--bg-light);
  color: var(--blue);
}

/* Dropdowns */
.mega-dropdown,
.dropdown-simple {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 200;
}

.has-dropdown:hover .mega-dropdown,
.has-dropdown:hover .dropdown-simple {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 180px);
  gap: 0;
  padding: 20px;
}

.dropdown-col { padding: 0 16px; }
.dropdown-col:not(:last-child) { border-right: 1px solid var(--border); }

.dropdown-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.dropdown-col a,
.dropdown-simple a {
  display: block;
  padding: 5px 0;
  color: var(--text);
  font-size: 0.87rem;
  transition: color 0.15s;
}

.dropdown-col a:hover,
.dropdown-simple a:hover { color: var(--blue); }

.dropdown-simple {
  min-width: 200px;
  padding: 10px 0;
}

.dropdown-simple a { padding: 8px 20px; }
.dropdown-simple a:hover { background: var(--bg-light); }

/* Header Search */
.header-search {
  flex: 1;
  max-width: 260px;
  position: relative;
}

.header-search .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.header-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.87rem;
  color: var(--text);
  background: var(--bg-light);
  outline: none;
  transition: border 0.2s;
}

.header-search input:focus { border-color: var(--blue); background: white; }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.link-plain {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s;
}
.link-plain:hover { color: var(--blue); }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s;
}


/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #f0f5ff 0%, #ffffff 60%, #f5f3ff 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(23,102,220,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* Hero Heading */
.hero-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 2rem;
}

.hero-heading .highlight { color: var(--blue); }

/* Hero Search Bar */
.hero-search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}

.hero-search-bar:focus-within { border-color: var(--blue); }

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  flex: 1;
  min-width: 0;
}

.search-field i { color: var(--text-muted); font-size: 1rem; flex-shrink: 0; }

.search-field input {
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
  background: transparent;
}

.search-field input::placeholder { color: var(--text-muted); }

.search-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

.search-btn {
  border-radius: 0 8px 8px 0;
  padding: 14px 24px;
  border: none;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Popular Tags */
.popular-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}

.tags-label { color: var(--text-muted); font-weight: 600; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  transition: all 0.15s;
}
.tag:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* Hero Right Card */
.hero-right { display: flex; justify-content: flex-end; }

.hero-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  width: 100%;
  max-width: 340px;
  border: 1px solid var(--border);
}

.hero-card-image {
  background: linear-gradient(135deg, var(--blue) 0%, #2b4fce 100%);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.hero-card-avatar {
  text-align: center;
  position: relative;
}

.avatar-group {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  margin: 0 -6px;
}

.card-illustration .card-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.9);
}

.hero-card-body {
  padding: 20px 22px 24px;
}

.hero-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.hero-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}


/* ============================================================
   6. STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}


/* ============================================================
   7. FEATURED COMPANIES
   ============================================================ */
.featured-section {
  padding: 80px 0;
  background: var(--bg-light);
}

/* Category Tabs */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover { border-color: var(--blue); color: var(--blue); }

.tab-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  font-weight: 600;
}

/* Company Cards */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 0;
}

.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.company-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.company-logo.toptal     { background: linear-gradient(135deg, #1a1a1a, #444); }
.company-logo.prismetric { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.company-logo.pixelcrayons { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.company-logo.expert     { background: linear-gradient(135deg, #f59e0b, #ef4444); }

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

.company-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stars { color: var(--star); font-size: 0.8rem; letter-spacing: 1px; }
.rating-val { font-size: 0.8rem; font-weight: 700; color: var(--text); }

.verified-badge { color: var(--green); font-size: 1.1rem; }

.company-info { display: flex; flex-direction: column; gap: 5px; }

.info-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.info-row i { color: var(--blue); width: 14px; text-align: center; }

.company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex: 1;
}

.ctag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
}

.view-profile { align-self: flex-start; margin-top: auto; }


/* ============================================================
   8. HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: var(--bg-light);
}

.step-num {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 6px 20px rgba(23,102,220,0.3);
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--blue);
  font-size: 1.2rem;
  margin-top: 60px;
  flex-shrink: 0;
}


/* ============================================================
   9. CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7c 100%);
  padding: 48px 0;
}

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

.cta-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.cta-text p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }


/* ============================================================
   10. SERVICE CATEGORIES
   ============================================================ */
.service-categories {
  padding: 80px 0;
  background: var(--bg-section);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 0;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}

.cat-icon.ai        { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.cat-icon.web       { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.cat-icon.mobile    { background: linear-gradient(135deg, #10b981, #059669); }
.cat-icon.uiux      { background: linear-gradient(135deg, #f59e0b, #f97316); }
.cat-icon.ecom      { background: linear-gradient(135deg, #ef4444, #dc2626); }
.cat-icon.software  { background: linear-gradient(135deg, #1766DC, #0d52b8); }
.cat-icon.cloud     { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.cat-icon.cyber     { background: linear-gradient(135deg, #64748b, #475569); }
.cat-icon.marketing { background: linear-gradient(135deg, #ec4899, #db2777); }
.cat-icon.qa        { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.cat-icon.bigdata   { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.cat-icon.blockchain{ background: linear-gradient(135deg, #f59e0b, #d97706); }

.cat-card h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
}

.cat-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.cat-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.cat-links a:hover { color: var(--blue); }

.cat-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.cat-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 100px;
}

.cat-badge.leading { background: #fef3c7; color: #92400e; }
.cat-badge.top     { background: #dbeafe; color: #1e40af; }
.cat-badge.best    { background: #dcfce7; color: #166534; }

.cat-view-all {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
}
.cat-view-all:hover { text-decoration: underline; }


/* ============================================================
   11. TRUSTED BY
   ============================================================ */
.trusted-by {
  padding: 80px 0;
  background: var(--white);
}

.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}

.brand-logo:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand.google   { color: #4285F4; }
.brand.microsoft{ color: #0078d4; font-size: 1.8rem; }
.brand.amazon   { color: #ff9900; font-style: italic; }
.brand.apple    { color: #1d1d1f; font-size: 1.8rem; }
.brand.ibm      { color: #0f62fe; }
.brand.meta     { color: #0467df; }

.trust-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.trust-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 20px;
}


/* ============================================================
   12. REVIEWS
   ============================================================ */
.reviews-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: var(--star);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-stars span {
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
}

.review-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.review-text {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reviewer-info { flex: 1; min-width: 0; }

.reviewer-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviewer-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-company-badge {
  background: var(--bg-section);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
  line-height: 1.4;
}

.review-company-badge b { color: var(--navy); display: block; }


/* ============================================================
   13. BLOG SECTION
   ============================================================ */
.blog-section {
  padding: 80px 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
}

.blog-thumb-1 { background: linear-gradient(135deg, #6366f1 0%, #1766DC 100%); }
.blog-thumb-2 { background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%); }
.blog-thumb-3 { background: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%); }

.blog-category {
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-body h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.blog-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover { text-decoration: underline; }


/* ============================================================
   14. BOTTOM CTA
   ============================================================ */
.bottom-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #2b4fce 100%);
  padding: 80px 0;
  text-align: center;
}

.bottom-cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.bottom-cta-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: white;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  background: var(--blue);
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.footer-logo sup { font-size: 0.55em; color: var(--blue); }

.about-col p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--blue);
  color: white;
}

.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: white; }

.contact-list { gap: 12px !important; }

.contact-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.contact-list li i {
  color: var(--blue);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-list li a {
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.contact-list li a:hover { color: white; }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-bottom a:hover { color: white; }


/* ============================================================
   16. RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { justify-content: center; }
  .hero-card  { max-width: 400px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid { gap: 16px; }
  .step-arrow { display: none; }
}

@media (max-width: 768px) {
  .header-search  { display: none; }
  .link-plain     { display: none; }
  .header-actions { gap: 8px; }
  .hamburger      { display: flex; }
  .primary-nav    { display: none; }

  .hero-section { padding: 48px 0 40px; }
  .hero-heading { font-size: 1.8rem; }
  .hero-search-bar { flex-direction: column; border-radius: 10px; }
  .search-field { padding: 12px 16px; width: 100%; }
  .search-divider { width: 100%; height: 1px; }
  .search-btn { width: 100%; border-radius: 0 0 8px 8px; }

  .stats-inner { flex-direction: column; gap: 20px; }
  .stat-divider { width: 60px; height: 1px; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .companies-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .bottom-cta-inner h2 { font-size: 1.6rem; }
  .section-header h2 { font-size: 1.55rem; }
  .brands-row { gap: 16px; }
}

@media (max-width: 480px) {
  .companies-grid  { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .hero-heading    { font-size: 1.5rem; }
  .popular-tags    { flex-direction: column; align-items: flex-start; }
  .btn-lg          { padding: 11px 20px; font-size: 0.9rem; }
}

/* ============================================================
   17. SCROLL ANIMATIONS (light)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
