/* TahtakaleXML.com - Premium Modern Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  /* Brand Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --primary-border: rgba(37, 99, 235, 0.2);

  --secondary: #0f172a;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.12);

  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.1);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.1);
  --info: #06b6d4;
  --info-soft: rgba(6, 182, 212, 0.1);

  /* Neutrals */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-dark: #090d16;
  --bg-dark-surface: #131b2e;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px -5px rgba(37, 99, 235, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

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

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Container (90% width screen-filling layout) */
.container {
  width: 90%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 16px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: #ffffff !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }

.font-bold { font-weight: 700 !important; }
.font-semibold { font-weight: 600 !important; }
.font-medium { font-weight: 500 !important; }

/* Top Announcement Bar */
.top-announcement-bar {
  background: linear-gradient(90deg, #1e3a8a, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.top-announcement-bar a {
  color: #fbbf24;
  text-decoration: underline;
  margin-left: 6px;
}

/* Main Navigation Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo-img {
  height: 62px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  display: block;
}
.site-logo-img-footer {
  height: 64px;
  max-width: 300px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  display: inline-block;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.logo-title span {
  color: var(--primary);
}
.logo-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--secondary);
  cursor: pointer;
}

/* Global Form Controls & Inputs */
.form-group {
  margin-bottom: 18px;
}
.form-group label,
.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 7px;
}
.form-control,
input[type="text"].form-control,
input[type="email"].form-control,
input[type="url"].form-control,
input[type="password"].form-control,
input[type="number"].form-control,
select.form-control,
textarea.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-main);
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease-in-out;
  outline: none;
  box-sizing: border-box;
}

.form-control:focus,
input[type="text"].form-control:focus,
input[type="email"].form-control:focus,
input[type="url"].form-control:focus,
input[type="password"].form-control:focus,
input[type="number"].form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder {
  color: #94a3b8;
  opacity: 1;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

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

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
}
.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-lg);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--accent-soft); color: #d97706; }
.badge-info { background: var(--info-soft); color: #0891b2; }
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-secondary { background: #f1f5f9; color: var(--text-muted); }

.badge-tahtakale {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.badge-verified {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #1e293b 100%);
  color: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 1020px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #fbbf24;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* HERO SEARCH BOX */
.hero-search-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 12px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-search-form {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  gap: 10px;
}
.search-input-group i {
  color: var(--text-light);
  font-size: 16px;
}
.search-input-group input,
.search-input-group select {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
}

.hero-search-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: #94a3b8;
}
.hero-search-tags a {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-search-tags a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* STATS ROW */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
}
.hero-stat-label {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}

/* SECTION HEADINGS */
.section-padding {
  padding: 70px 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-header-centered {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}
.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 6px;
  display: block;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* CATEGORY CARDS */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}
.category-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.category-card:hover .category-icon-box {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}
.category-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.category-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* COMPANY CARD (GRID & LIST) */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.company-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}
.company-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}
.company-card.featured-card {
  border: 2px solid #3b82f6;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.company-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.company-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}
.company-title-area {
  flex: 1;
}
.company-badges-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.company-name-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
}
.company-name-link:hover {
  color: var(--primary);
}
.company-location {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.company-description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Feature Spec Grid in Card */
.company-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 13px;
}
.spec-item {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.spec-value {
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

.company-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

/* WHY US / ADVANTAGES */
.features-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.feature-box {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-box:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}
.feature-box-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

/* BLOG CARDS */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-card-thumb {
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 40px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: #ffffff;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.blog-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-title a:hover {
  color: var(--primary);
}
.blog-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  flex: 1;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1d4ed8 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

/* DIRECTORY PAGE LAYOUT */
.directory-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 0 80px;
}

.filter-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 22px;
  position: sticky;
  top: 90px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.filter-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-option-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #334155;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
  margin: 0;
}
.filter-option-label:hover {
  background-color: #f8fafc;
  color: var(--primary);
}
.filter-option-label.is-active {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.filter-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.filter-option-left input[type="checkbox"],
.filter-option-left input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
.filter-option-text {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #64748b;
  flex-shrink: 0;
  margin-left: 8px;
}
.filter-pill-success {
  background: #ecfdf5;
  color: #059669;
}
.filter-pill-warning {
  background: #fffbeb;
  color: #d97706;
}
.filter-pill-info {
  background: #ecfeff;
  color: #0891b2;
}
.filter-pill-primary {
  background: #eff6ff;
  color: #2563eb;
}

/* Custom Slim Scrollbar for Category Box */
.filter-scrollable {
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}
.filter-scrollable::-webkit-scrollbar {
  width: 4px;
}
.filter-scrollable::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}
.filter-scrollable::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.filter-scrollable::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* DETAIL PAGE */
.detail-header-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.detail-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.detail-specs-table th, .detail-specs-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.detail-specs-table th {
  width: 35%;
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
}
.detail-specs-table td {
  font-weight: 600;
  color: var(--text-main);
}

/* FOOTER */
.site-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid #1e293b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* SUBMIT COMPANY FORM RESPONSIVE */
.submit-company-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: flex-start;
}
.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;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .submit-company-layout {
    grid-template-columns: 1fr;
  }
  .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-search-form {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .directory-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .nav-menu {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .company-grid {
    grid-template-columns: 1fr;
  }
}

