/* ==========================================================================
   TrustScope - Review Platform Design System
   Inspired by Trustindex & Trustpilot Modern UI
   ========================================================================== */

:root {
  /* Exact Color Palette from DevTools & Screenshot 1 */
  --primary-color: rgb(26, 151, 106); /* #1a976a */
  --primary-hover: #158059;
  --primary-light: #eaf7f1;
  --primary-dark: #0f6244;
  
  /* Trustindex Header: Pure Black */
  --secondary-color: #000000;
  --secondary-surface: #18181b;
  --secondary-light: #27272a;

  /* Star Rating Palette (Trustindex Green rgb(26, 151, 106)) */
  --star-green: rgb(26, 151, 106);
  --star-gold: #ffb800;
  --star-yellow: #f5a623;
  --star-empty: #d1d5db;
  --star-1: #ff3737;
  --star-2: #ff8622;
  --star-3: #ffce00;
  --star-4: #73cf11;
  --star-5: rgb(26, 151, 106);

  /* Backgrounds & Surfaces */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e5e7eb;
  --border-focus: rgb(26, 151, 106);

  /* Typography Colors */
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --text-inverse: #ffffff;

  /* Feedback Colors */
  --color-success: rgb(26, 151, 106);
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #0284c7;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* Layout & Exact Font Family from DevTools (Screenshot 1) */
  --max-width: 1720px;
  --header-height: 68px;
  --font-family: 'Poppins', Arial, Helvetica, sans-serif;
  --font-heading: 'Poppins', Arial, Helvetica, sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--secondary-color);
  color: var(--text-inverse);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  user-select: none;
}

.brand-logo-wrap:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-badge-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
}

.brand-badge-icon img,
.brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 194, 136, 0.45));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo-wrap:hover .brand-badge-icon img,
.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 3px 12px rgba(0, 220, 150, 0.7));
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.brand-text span {
  color: #ffffff !important;
}

/* Header Live Search */
.header-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--text-light);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--secondary-surface);
  border: 1px solid var(--secondary-light);
  border-radius: var(--radius-full);
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  color: #fff;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  background: #19273f;
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 182, 122, 0.25);
}

.search-input::placeholder {
  color: #8393a7;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1010;
}

.search-dropdown.active {
  display: flex;
}

.search-item {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background var(--transition-fast);
}

.search-item:hover {
  background: #f8fafc;
}

.search-item img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
}

.search-item-info {
  display: flex;
  flex-direction: column;
}

.search-item-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
}

.search-item-category {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Header Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 0 var(--primary-color);
}

.btn-outline-nav {
  background: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-outline-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-primary-nav {
  background: #ffffff;
  border: 1.5px solid #ffffff;
  color: #050b14;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary-nav:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.lang-selector-wrapper {
  position: relative;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  user-select: none;
}

.lang-selector:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-selector-wrapper:hover .lang-arrow,
.lang-selector-wrapper.active .lang-arrow {
  transform: rotate(180deg);
}

.real-flag-img {
  width: 21px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 270px;
  max-height: 400px;
  overflow-y: auto;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
  z-index: 1100;
  animation: dropdownFadeIn 0.2s ease;
}

.lang-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.lang-selector-wrapper:hover .lang-dropdown-menu,
.lang-dropdown-menu.active {
  display: flex;
}

.lang-dropdown-header {
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
}

.lang-dropdown-list {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background var(--transition-fast);
  font-size: 0.88rem;
  color: #1e293b;
}

.lang-item:hover {
  background: #f1f5f9;
}

.lang-item.active {
  background: #f0fdf4;
  color: rgb(26, 151, 106);
  font-weight: 600;
}

.lang-item-flag {
  width: 22px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  flex-shrink: 0;
}

.lang-item-name {
  flex: 1;
  color: inherit;
}

.lang-item-native {
  font-size: 0.78rem;
  color: #64748b;
  margin-right: 0.25rem;
}

.lang-check {
  display: none;
  color: rgb(26, 151, 106);
  font-weight: 800;
  font-size: 0.95rem;
}

.lang-item.active .lang-check {
  display: inline-block;
}

/* Hide Google Translate top banner / iframe clutter */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
body > .skiptranslate,
.goog-te-banner-frame.skiptranslate[style] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

#google_translate_element {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(26, 151, 106, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 151, 106, 0.35);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-large {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Page Layout & Container
   ========================================================================== */
.main-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 4rem 2rem;
}

/* Review Page Scoped Centered Layout (Matches 2nd Reference Image) */
.company-profile-view {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 1.5rem 1.5rem 4rem 1.5rem !important;
}

/* Hide navigation menu links on review page as requested */
body.review-page .header-menu-links,
body:has(#companyProfileView.active-view) .header-menu-links {
  display: none !important;
}

/* Breadcrumbs */
.breadcrumbs-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.breadcrumbs-nav a {
  color: #00875a;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.breadcrumbs-nav a:hover {
  text-decoration: underline;
}

.breadcrumbs-sep {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* Grid Layout (Main Content + Sidebar) */
.page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 980px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Company Header Card (Hero full-width above grid, matches Image 2)
   ========================================================================== */
.company-header-card {
  background: transparent;
  border-radius: 0;
  padding: 0.25rem 0 1.5rem 0;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  width: 100%;
}

.company-identity {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.company-avatar-box {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: #0d1624;
  flex-shrink: 0;
  border: 1px solid #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.company-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.company-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.company-name {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.rating-status-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.stars-summary-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.stars-group {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.star-icon {
  width: 18px;
  height: 18px;
  fill: var(--star-green);
}

.star-icon.empty {
  fill: #cbd5e1;
}

.star-score-text {
  font-weight: 700;
  color: var(--text-main);
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 0.15rem;
}

.verified-icon {
  width: 16px;
  height: 16px;
  fill: #000000;
}

.company-action-box {
  flex-shrink: 0;
}

.website-visit-btn {
  display: inline-flex;
  flex-direction: column;
  padding: 0.8rem 1.35rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
  position: relative;
  min-width: 185px;
}

.website-visit-btn:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.website-url {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.website-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.external-arrow {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 1.1rem;
  color: #1e293b;
}

/* ==========================================================================
   Primary Action: Write Review Banner (Exact DevTools Computed Style)
   ========================================================================== */
.write-review-cta-wrap {
  margin-bottom: 1.5rem;
}

.btn-write-review-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  background-color: rgb(26, 151, 106);
  border: 1px solid rgb(26, 151, 106);
  border-radius: 8px;
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 600;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(26, 151, 106, 0.2);
}

.btn-write-review-hero:hover {
  background-color: #158059;
  border-color: #158059;
  box-shadow: 0 4px 12px rgba(26, 151, 106, 0.3);
  transform: translateY(-1px);
}

.btn-write-review-hero svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Rating Breakdown Section (Matches Screenshot 1 & Image 2)
   ========================================================================== */
.rating-breakdown-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.breakdown-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.breakdown-score-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.breakdown-single-star {
  width: 24px;
  height: 24px;
  fill: rgb(26, 151, 106);
  flex-shrink: 0;
}

.breakdown-score-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.breakdown-score-divider {
  color: #9ca3af;
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 2px;
}

.breakdown-score-total {
  font-size: 1rem;
  font-weight: 500;
  color: #4b5563;
}

/* Progress Bars */
.breakdown-bars-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.rating-bar-row:hover {
  background: #f1f5f9;
}

.rating-bar-row.active {
  background: #e6f8f1;
}

.rating-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.rating-bar-row.active .rating-checkbox {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.rating-bar-row.active .rating-checkbox::after {
  content: '✓';
  font-size: 11px;
  font-weight: bold;
}

.star-label {
  width: 60px;
  flex-shrink: 0;
  color: var(--text-main);
  font-weight: 500;
}

.bar-track {
  flex: 1;
  height: 10px;
  background-color: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  transition: width 0.6s var(--transition-smooth);
}

.count-label {
  width: 45px;
  text-align: right;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Source Filter Checkboxes */
.source-filter-wrap {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.source-filter-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.source-options {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.source-option-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.source-option-label input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.source-icon {
  font-size: 1rem;
}

.source-icon.fb {
  color: #1877f2;
}

.source-icon.trust {
  color: var(--primary-color);
}

/* ==========================================================================
   Reviews Feed Section (Matches Screenshots 2, 3, 4)
   ========================================================================== */
.reviews-section-header {
  margin-bottom: 1.25rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.75rem;
  position: relative;
}

.reviews-section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 160px;
  height: 2px;
  background-color: var(--primary-color);
}

.section-main-heading {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.reviews-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.recent-reviews-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.filter-actions-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-chip-btn {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.filter-chip-btn:hover, .filter-chip-btn.active {
  background: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-dark);
}

.sort-select {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: white;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

.sort-select:focus {
  border-color: var(--primary-color);
}

/* Review Cards List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: white;
  background: #3b82f6;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.reviewer-text {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.review-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.verified-buyer-check {
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.review-source-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.review-stars-row .star-icon {
  width: 20px;
  height: 20px;
}

.review-stars-row .star-icon.filled-1 { fill: var(--star-1); }
.review-stars-row .star-icon.filled-2 { fill: var(--star-2); }
.review-stars-row .star-icon.filled-3 { fill: var(--star-3); }
.review-stars-row .star-icon.filled-4 { fill: var(--star-4); }
.review-stars-row .star-icon.filled-5 { fill: var(--star-5); }

.review-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.review-body {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1rem;
  word-break: break-word;
}

/* Proof Attachment in Review (Matches Screenshot 4) */
.review-attachment-wrap {
  margin: 1rem 0 1.25rem 0;
  max-width: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-attachment-wrap:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.review-attachment-wrap img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.attachment-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.review-attachment-wrap:hover .attachment-overlay {
  opacity: 1;
}

/* Experience Date */
.review-exp-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.review-exp-date strong {
  color: #475569;
}

/* Review Actions */
.review-actions-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.action-pill-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.action-pill-btn.voted {
  background: #e6f8f1;
  color: var(--primary-dark);
  border-color: #a7f3d0;
}

.action-pill-btn svg {
  width: 15px;
  height: 15px;
}

/* Company Response Box */
.company-reply-box {
  margin-top: 1.25rem;
  background: #f8fafc;
  border-left: 3px solid var(--primary-color);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.2rem;
}

.reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.reply-company-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.reply-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reply-content {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
}

/* ==========================================================================
   Sidebar Widgets (Matches Screenshots 1, 2, 3, 4)
   ========================================================================== */
.sidebar-widgets {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.widget-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

/* Company Activity Widget */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: #334155;
}

.activity-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Legitimacy Widget */
.legitimacy-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.legitimacy-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
}

/* Review Sources Widget */
.source-stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.source-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
}

.source-stat-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.source-stat-badge {
  background: #f1f5f9;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact Details Widget */
.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #0284c7;
  text-decoration: none;
}

.contact-link-item:hover {
  text-decoration: underline;
}

.contact-link-item svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Location Widget (Matches Screenshot 3) */
.location-hq-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.location-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 1rem;
}

.location-address svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-preview-wrap {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.map-preview-wrap:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.map-preview-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Similar Companies Widget (Matches Screenshot 3) */
.similar-companies-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.similar-company-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.similar-company-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.similar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.similar-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1e293b;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  padding: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.similar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.similar-text-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.similar-score {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  flex-shrink: 0;
}

.similar-score svg {
  width: 14px;
  height: 14px;
  fill: #000;
}

/* For Business CTA Widget (Matches Screenshot 4) */
.widget-for-business {
  background: linear-gradient(145deg, #ffffff, #f0fdf4);
  border: 1px solid #bbf7d0;
}

.business-cta-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Homepage / Directory View (Matches Screenshot 5)
   ========================================================================== */
.homepage-view {
  display: none;
}

.homepage-view.active-view {
  display: block;
}

.company-profile-view {
  display: none;
}

.company-profile-view.active-view {
  display: block;
}

.hero-banner-section {
  position: relative;
  background-color: #fafafa;
  background-image: url('assets/hero_bg_waves.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #111827;
  border-radius: 24px;
  padding: 4.8rem 4.5rem;
  overflow: hidden;
  margin-bottom: 3.5rem;
  border: 1px solid #edf2f7;
  box-shadow: 0 6px 35px rgba(0, 0, 0, 0.03);
}

.hero-banner-section::before {
  display: none !important;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

.hero-left h1 {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.4rem;
  letter-spacing: -0.8px;
  color: #111827;
}

.hero-left p {
  font-size: 1.22rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 660px;
  font-weight: 400;
}

.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  border: 1.5px solid #111827;
  font-size: 0.96rem;
  color: #111827;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-social-proof .badge-stars {
  color: #f59e0b;
  display: flex;
  gap: 3px;
  font-size: 1.1rem;
}

.social-proof-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #16a34a;
  font-weight: 700;
}

/* Hero Registration Card (Matches Image 2) */
.hero-form-card {
  background: #ffffff;
  color: #111827;
  border-radius: 20px;
  padding: 3rem 2.8rem;
  border: 1px solid #eef2f6;
  box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.05);
  max-width: 520px;
  margin-left: auto;
}

.hero-form-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  text-align: center;
  color: #111827;
}

.hero-form-group {
  margin-bottom: 0.9rem;
}

.hero-input {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1.02rem;
  color: #1e293b;
  background: #ffffff;
  transition: all var(--transition-fast);
}

.hero-input:focus {
  border-color: #16a34a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.hero-input::placeholder {
  color: #64748b;
}

.terms-caption {
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

.terms-caption a {
  color: #2563eb;
  text-decoration: none;
}

.terms-caption a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Hero Domain Search Component (Displayed When User Is Logged In)
   ========================================================================== */
.hero-domain-search-card {
  text-align: left;
}

.domain-user-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.domain-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #15803d;
}

.domain-user-badge .user-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.domain-logout-link {
  font-size: 0.82rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
}

.domain-logout-link:hover {
  color: #dc2626;
  text-decoration: underline;
}

.domain-search-headline {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}

.domain-search-subhead {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 1.15rem 0;
  line-height: 1.5;
}

.domain-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0.3rem 0.4rem 0.3rem 0.85rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.domain-search-input-wrap:focus-within {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.domain-search-icon {
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.65rem;
  flex-shrink: 0;
}

.domain-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  font-family: inherit;
  padding: 0.5rem 0;
  min-width: 0;
}

.domain-search-input::placeholder {
  color: #94a3b8;
}

.domain-clear-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 0.4rem;
  line-height: 1;
}

.domain-clear-btn:hover {
  color: #0f172a;
}

.domain-search-btn {
  padding: 0.65rem 1.15rem !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  white-space: nowrap !important;
  flex-shrink: 0;
}

/* Autocomplete suggestions */
.domain-suggestions-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
  z-index: 100;
  display: none;
  max-height: 250px;
  overflow-y: auto;
}

.domain-suggestions-box.active {
  display: block;
}

.domain-sugg-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #f8fafc;
  transition: background var(--transition-fast);
}

.domain-sugg-item:hover {
  background: #f0fdf4;
}

.domain-sugg-item:last-child {
  border-bottom: none;
}

.domain-sugg-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.domain-sugg-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.domain-sugg-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f172a;
  display: block;
}

.domain-sugg-url {
  font-size: 0.78rem;
  color: #64748b;
  display: block;
}

.domain-sugg-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

/* Popular Domain Chips */
.domain-quick-chips {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.quick-chips-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 0.2rem;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.domain-chip:hover {
  background: #ffffff;
  border-color: #16a34a;
  color: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(22, 163, 74, 0.12);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.chip-star {
  font-weight: 700;
  color: #15803d;
  font-size: 0.75rem;
}

/* Dynamic Domain Review Result Card */
.domain-result-card {
  margin-top: 1.15rem;
  background: linear-gradient(145deg, #ffffff, #f0fdf4);
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 1.15rem;
  animation: resultSlideIn 0.3s ease;
  box-shadow: 0 4px 15px -3px rgba(22, 163, 74, 0.08);
}

@keyframes resultSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.domain-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.domain-result-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.domain-result-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  flex-shrink: 0;
}

.domain-result-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.domain-result-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  line-height: 1.2;
}

.domain-result-domain {
  font-size: 0.8rem;
  color: #16a34a;
  font-weight: 600;
}

.domain-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.domain-result-rating-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.domain-result-stars {
  display: inline-flex;
  gap: 2px;
  color: #00b67a;
  font-size: 1.05rem;
}

.domain-result-score {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.domain-result-count {
  font-size: 0.8rem;
  color: #64748b;
}

.domain-result-actions {
  display: flex;
  gap: 0.6rem;
}

.domain-result-actions .btn {
  flex: 1;
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  text-align: center;
  justify-content: center;
}

/* ==========================================================================
   Partners / Platforms Continuous Infinite Sliding Marquee
   ========================================================================== */
.partners-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3.5rem;
  background: transparent;
}

/* Clean Gradient Fade Edges */
.partners-marquee-container::before,
.partners-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 5;
  pointer-events: none;
}

.partners-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #f8fafc 30%, rgba(248, 250, 252, 0));
}

.partners-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #f8fafc 30%, rgba(248, 250, 252, 0));
}

.partners-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 4rem;
  animation: partnersMarqueeScroll 26s linear infinite;
  will-change: transform;
}

.partners-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes partnersMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.95;
}

.partner-logo-item:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}

.partner-svg {
  display: block;
  flex-shrink: 0;
}

.partner-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1;
}

.partner-real-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.partner-logo-item:hover .partner-real-logo {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .partners-marquee-container {
    padding: 1.5rem 0;
    margin-bottom: 2.5rem;
  }
  .partners-marquee-container::before,
  .partners-marquee-container::after {
    width: 50px;
  }
  .partners-marquee-track {
    gap: 2.25rem;
    animation-duration: 20s;
  }
  .partner-name {
    font-size: 1.15rem;
  }
}

/* Top Categories Grid */
.categories-showcase {
  margin-bottom: 4rem;
}

.categories-showcase h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.2rem 1.75rem;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.cat-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.cat-title {
  font-weight: 700;
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
}

.cat-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 32, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.35rem;
  transition: all var(--transition-fast);
}

.btn-close-modal:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.modal-body {
  padding: 1.5rem;
  max-height: 75vh;
  overflow-y: auto;
}

.modal-form-group {
  margin-bottom: 1.25rem;
}

.modal-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.interactive-stars-picker {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.picker-star-btn {
  font-size: 1.8rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.picker-star-btn:hover {
  transform: scale(1.15);
}

.picker-star-btn.active {
  color: var(--primary-color);
}

.form-control-input, .form-control-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
}

.form-control-input:focus, .form-control-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 182, 122, 0.2);
}

.form-control-textarea {
  min-height: 110px;
  resize: vertical;
}

/* Image Upload Preview in Modal */
.upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  background: #f8fafc;
  transition: border-color var(--transition-fast);
}

.upload-dropzone:hover {
  border-color: var(--primary-color);
}

.image-preview-container {
  margin-top: 0.75rem;
  display: none;
  position: relative;
  max-width: 200px;
}

.image-preview-container img {
  border-radius: var(--radius-sm);
  max-height: 120px;
}

/* Lightbox Modal */
.lightbox-modal {
  max-width: 900px;
  background: transparent;
  box-shadow: none;
  border: none;
}

.lightbox-img-wrap {
  position: relative;
  text-align: center;
}

.lightbox-img-wrap img {
  max-height: 85vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #ffffff;
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xl);
  font-size: 0.92rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 400px;
  animation: toastSlideUp 0.3s ease;
}

@keyframes toastSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Footer */
.site-footer {
  background: var(--secondary-color);
  color: #94a3b8;
  padding: 4rem 1.5rem 2rem 1.5rem;
  border-top: 1px solid var(--secondary-light);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Mobile & Tablet Comprehensive Responsive Suite
   ========================================================================== */

/* Universal Mobile Safeguards */
html, body {
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Tablet & Smaller Devices (<= 980px) */
@media (max-width: 980px) {
  .main-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 4rem 2rem;
}
  
  .page-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .sidebar-widgets {
    margin-top: 1rem;
  }
}

/* Standard Mobile & Phablet Devices (<= 768px) */
@media (max-width: 768px) {
  /* Header & Navigation */
  .header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

  .brand-logo-wrap {
    gap: 0.5rem;
  }

  .brand-badge-icon,
  .brand-logo-img {
    width: 28px !important;
    height: 28px !important;
  }

  .brand-text {
    font-size: 1.25rem !important;
  }

  .header-nav {
    gap: 0.5rem !important;
  }

  .lang-selector {
    padding: 0.3rem 0.45rem !important;
    font-size: 0.8rem !important;
  }

  .header-nav .nav-link {
    font-size: 0.82rem !important;
    padding: 0.35rem 0.5rem !important;
  }

  .header-nav .btn-primary {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.82rem !important;
    border-radius: var(--radius-sm) !important;
    white-space: nowrap;
  }

  /* Breadcrumbs */
  .breadcrumbs-nav {
    padding: 0.4rem 0 !important;
    font-size: 0.8rem !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 1rem !important;
  }

  .breadcrumbs-nav::-webkit-scrollbar {
    display: none;
  }

  /* Company Header Card */
  .company-header-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1.25rem !important;
    gap: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }

  .company-identity {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .company-avatar-box {
    width: 68px !important;
    height: 68px !important;
    border-radius: 10px !important;
  }

  .company-details {
    flex: 1 !important;
    min-width: 0 !important;
    gap: 0.25rem !important;
  }

  .company-title-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
  }

  .company-name {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .rating-status-label {
    font-size: 0.85rem !important;
  }

  .stars-summary-row {
    flex-wrap: wrap !important;
    gap: 0.35rem 0.5rem !important;
    font-size: 0.85rem !important;
  }

  .verified-badge {
    font-size: 0.8rem !important;
    padding: 0.25rem 0.6rem !important;
  }

  .company-action-box {
    width: 100% !important;
  }

  .website-visit-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  /* Write Review Hero CTA */
  .write-review-cta-wrap {
    margin-bottom: 1.25rem !important;
  }

  .btn-write-review-hero {
    width: 100% !important;
    justify-content: center !important;
    font-size: 1rem !important;
    padding: 0.85rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  /* Rating Breakdown Card */
  .rating-breakdown-card {
    padding: 1.25rem !important;
    margin-bottom: 1.25rem !important;
  }

  .breakdown-title {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    margin-bottom: 1rem !important;
  }

  .breakdown-score-header {
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin-bottom: 1rem !important;
  }

  .breakdown-score-num {
    font-size: 1.75rem !important;
  }

  .rating-bar-row {
    padding: 0.35rem 0.2rem !important;
    gap: 0.6rem !important;
    font-size: 0.85rem !important;
  }

  .star-label {
    min-width: 58px !important;
    font-size: 0.82rem !important;
  }

  .bar-track {
    flex: 1 !important;
    min-width: 50px !important;
  }

  .count-label {
    min-width: 58px !important;
    font-size: 0.8rem !important;
    text-align: right !important;
  }

  .source-filter-wrap {
    padding-top: 0.85rem !important;
  }

  .source-options {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .source-option-label {
    padding: 0.4rem 0.65rem !important;
    font-size: 0.82rem !important;
  }

  /* Section Header & Control Bar */
  .reviews-section-header {
    margin-bottom: 1rem !important;
    padding-bottom: 0.6rem !important;
  }

  .section-main-heading {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
  }

  .reviews-control-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }

  .recent-reviews-title {
    font-size: 0.95rem !important;
  }

  .filter-actions-group {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }

  #reviewSearchInput {
    width: 100% !important;
    flex: 1 1 100% !important;
    font-size: 16px !important;
    padding: 0.6rem 0.85rem !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-sm) !important;
  }

  .sort-select {
    flex: 1 1 calc(50% - 0.25rem) !important;
    min-width: 130px !important;
    font-size: 0.85rem !important;
    padding: 0.5rem 0.65rem !important;
    border-radius: var(--radius-sm) !important;
  }

  .filter-chip-btn {
    flex: 1 1 calc(50% - 0.25rem) !important;
    min-width: 110px !important;
    justify-content: center !important;
    font-size: 0.82rem !important;
    padding: 0.5rem 0.65rem !important;
    border-radius: var(--radius-sm) !important;
  }

  /* Review Cards */
  .review-card {
    padding: 1.15rem !important;
    border-radius: var(--radius-md) !important;
  }

  .review-header {
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    margin-bottom: 0.75rem !important;
  }

  .reviewer-meta {
    gap: 0.65rem !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .user-avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
  }

  .reviewer-text {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .reviewer-name {
    font-size: 0.95rem !important;
    word-break: break-word !important;
  }

  .review-date {
    font-size: 0.78rem !important;
  }

  .review-source-badge {
    font-size: 0.7rem !important;
    padding: 0.2rem 0.45rem !important;
    flex-shrink: 0 !important;
  }

  .review-stars-row {
    margin-bottom: 0.5rem !important;
    gap: 0.35rem !important;
  }

  .review-stars-row .star-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .review-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.5rem !important;
    word-break: break-word !important;
  }

  .review-body {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.75rem !important;
    word-break: break-word !important;
  }

  .review-attachment-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.75rem 0 !important;
  }

  .review-attachment-wrap img {
    max-height: 180px !important;
  }

  .review-exp-date {
    font-size: 0.8rem !important;
    margin-bottom: 0.85rem !important;
  }

  .review-actions-footer {
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    padding-top: 0.75rem !important;
  }

  .action-pill-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
    min-height: 34px !important;
  }

  /* Sidebar Widgets */
  .widget-card {
    padding: 1.15rem !important;
    border-radius: var(--radius-md) !important;
  }

  .widget-title {
    font-size: 1rem !important;
    margin-bottom: 0.85rem !important;
  }

  .activity-item {
    font-size: 0.82rem !important;
    gap: 0.5rem !important;
  }

  .legitimacy-desc {
    font-size: 0.82rem !important;
  }

  .map-preview-wrap {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: block !important;
  }

  .map-preview-wrap img {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: cover !important;
  }

  .similar-companies-list {
    gap: 0.65rem !important;
  }

  .similar-company-item {
    padding: 0.55rem 0.65rem !important;
  }

  /* View 2: Hero Section */
  .hero-banner-section {
    padding: 2rem 1.15rem !important;
    border-radius: 12px !important;
  }

  .hero-content-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .hero-left h1 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
  }

  .hero-left p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-social-proof {
    flex-wrap: wrap !important;
    gap: 0.35rem 0.5rem !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 0.85rem !important;
  }

  .hero-form-card {
    padding: 1.5rem 1.15rem !important;
    border-radius: 12px !important;
  }

  .hero-form-title {
    font-size: 1.25rem !important;
    margin-bottom: 1.15rem !important;
  }

  .hero-input {
    font-size: 16px !important;
    padding: 0.75rem 0.85rem !important;
  }

  .partners-bar {
    gap: 1rem 1.5rem !important;
    padding: 1.5rem 0 !important;
    justify-content: center !important;
  }

  .partner-logo-item {
    font-size: 0.88rem !important;
  }

  .category-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  /* Modals */
  .modal-overlay {
    padding: 0.75rem !important;
  }

  .modal-window {
    width: 95vw !important;
    max-width: 500px !important;
    max-height: 88vh !important;
    border-radius: 14px !important;
    margin: 0 auto !important;
  }

  .modal-header {
    padding: 1rem 1.15rem !important;
  }

  .modal-header h3 {
    font-size: 1.1rem !important;
  }

  .modal-body {
    padding: 1.15rem !important;
    max-height: calc(88vh - 65px) !important;
  }

  .modal-body input,
  .modal-body textarea,
  .modal-body select {
    font-size: 16px !important;
  }

  .picker-stars {
    gap: 0.4rem !important;
    justify-content: center !important;
  }

  .picker-star-btn svg {
    width: 32px !important;
    height: 32px !important;
  }

  /* Toast Notification */
  .toast-container {
    bottom: 16px !important;
    right: 16px !important;
    left: 16px !important;
  }

  .toast {
    min-width: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.88rem !important;
    padding: 0.75rem 1rem !important;
  }

  /* Footer */
  .site-footer {
    padding: 2.75rem 1rem 1.5rem 1rem !important;
  }

  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    margin-bottom: 2rem !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
  }
}

/* Extra Small Phones (<= 400px) */
@media (max-width: 400px) {
  .header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

  .brand-text {
    font-size: 1.15rem !important;
  }

  .header-nav .nav-link {
    display: none !important;
  }

  .header-nav .lang-selector {
    padding: 0.25rem 0.35rem !important;
    font-size: 0.75rem !important;
  }

  .header-nav .btn-primary {
    padding: 0.4rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  .company-avatar-box {
    width: 56px !important;
    height: 56px !important;
    border-radius: 8px !important;
  }

  .company-name {
    font-size: 1.18rem !important;
  }

  .rating-bar-row {
    font-size: 0.78rem !important;
    gap: 0.4rem !important;
  }

  .star-label {
    min-width: 50px !important;
    font-size: 0.78rem !important;
  }

  .count-label {
    min-width: 50px !important;
    font-size: 0.75rem !important;
  }

  .sort-select, .filter-chip-btn {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .hero-left h1 {
    font-size: 1.6rem !important;
  }
}

/* ==========================================================================
   Authentication & Login System Styles
   ========================================================================== */
.btn-outline-nav {
  background: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  padding: 0.45rem 1.15rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.btn-primary-nav {
  background: #ffffff;
  border: 1.5px solid #ffffff;
  color: #000000;
  padding: 0.45rem 1.15rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-nav:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.user-profile-menu {
  position: relative;
}

.user-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.user-nav-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.user-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.user-nav-name {
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 240px;
  padding: 0.5rem 0;
  z-index: 1050;
  display: none;
  color: var(--text-main);
  animation: modalFadeIn 0.2s ease;
}

.user-dropdown-menu.active {
  display: block;
}

.user-dropdown-header {
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border-color);
  background: #f8fafc;
}

.dropdown-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.dropdown-user-email {
  font-size: 0.78rem;
  color: var(--text-muted);
  word-break: break-all;
  margin-top: 2px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-main);
  text-decoration: none;
  transition: background var(--transition-fast);
  cursor: pointer;
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.dropdown-item:hover {
  background: #f1f5f9;
  color: var(--primary-color);
}

.dropdown-item:hover svg {
  color: var(--primary-color);
}

.dropdown-item.text-danger {
  color: #ef4444;
}

.dropdown-item.text-danger svg {
  color: #ef4444;
}

.dropdown-item.text-danger:hover {
  background: #fef2f2;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.4rem 0;
}

.auth-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 0.6rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: calc(var(--radius-sm) - 2px);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.auth-tab-btn:hover {
  color: var(--text-main);
}

.auth-tab-btn.active {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

/* ==========================================================================
   Header Navigation Menu (Matching Trustindex: Widgets, Features, Pricing, FAQ, Resources)
   ========================================================================== */
.header-left-group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.header-menu-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-menu-link {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f1f5f9;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.nav-menu-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item {
  position: relative;
}

.nav-dropdown-item:hover .dropdown-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.nav-megamenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.6rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.28), 0 5px 15px rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1100;
  animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-megamenu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown-item:hover .nav-megamenu {
  display: flex;
}

.nav-megamenu-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.nav-megamenu-link:hover {
  background: #f8fafc;
}

.megamenu-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.megamenu-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.megamenu-text p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0.15rem 0 0 0;
}

/* FAQ Modal Accordion */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: #cbd5e1;
}

.faq-accordion-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(26, 151, 106, 0.08);
}

.faq-accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-arrow {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-accordion-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-accordion-content {
  display: none;
  padding: 0 1.25rem 1rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

.faq-accordion-item.active .faq-accordion-content {
  display: block;
}

/* Pricing Grid in Modal */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  box-shadow: 0 10px 25px -5px rgba(26, 151, 106, 0.15);
}

.pricing-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.pricing-badge-tier {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.pricing-card h4 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.pricing-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  min-height: 38px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #334155;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.4;
}


/* ==========================================================================
   Support Banner Card (Matches User Reference Image)
   ========================================================================== */
.support-banner-wrap {
  max-width: var(--max-width);
  margin: 3.5rem auto 4.5rem auto;
  padding: 0 2rem;
}

.support-banner-card {
  background: #fbf8f3;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  min-height: 440px;
  position: relative;
}

.support-card-content {
  flex: 1 1 54%;
  padding: 4.5rem 4rem 4rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
}

.support-tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 500;
  color: #00875a;
  margin-bottom: 0.85rem;
  display: block;
}

.support-heading {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: #0f172a;
  margin: 0 0 1.25rem 0;
  max-width: 540px;
}

.support-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1.75rem 0;
  max-width: 500px;
}

.support-sublink {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 2rem;
}

.support-sublink strong {
  color: #0f172a;
}

.btn-support-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  border: 1.5px solid #00875a;
  color: #00875a;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 135, 90, 0.08);
}

.btn-support-contact:hover {
  background: #00875a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 135, 90, 0.25);
}

.support-arrow {
  width: 17px;
  height: 17px;
  transition: transform var(--transition-fast);
}

.btn-support-contact:hover .support-arrow {
  transform: translateX(4px);
}

.support-card-visual {
  flex: 1 1 48%;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: #eae0cd;
}

.support-agent-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%);
}

@media (max-width: 992px) {
  .support-banner-card {
    flex-direction: column;
  }
  .support-card-content {
    padding: 3rem 2rem 2rem 2rem;
  }
  .support-heading {
    font-size: 2rem;
  }
  .support-card-visual {
    min-height: 360px;
  }
  .support-agent-photo {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
  }
}

/* Footer Top Feature Highlights Bar */
.footer-features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.75rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .footer-features-bar {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-feature-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.footer-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-feat-icon svg {
  width: 22px;
  height: 22px;
}

.footer-feat-icon.star-icon {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
}

.footer-feat-icon.grid-icon {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.footer-feat-icon.user-icon {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.footer-feat-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.footer-feat-text p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* Floating Live Chat Widget (Active on Homepage, hidden on review page) */
.floating-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #00b67a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 182, 122, 0.35);
  cursor: pointer;
  z-index: 999;
  transition: all var(--transition-fast);
}

/* Hide floating chat on review page as requested */
body.review-page .floating-chat-btn,
body:has(#companyProfileView.active-view) .floating-chat-btn {
  display: none !important;
}

.floating-chat-btn:hover {
  transform: scale(1.08) translateY(-2px);
  background: #009d69;
  box-shadow: 0 12px 28px rgba(0, 182, 122, 0.45);
}

.floating-chat-btn svg {
  width: 26px;
  height: 26px;
}

.chat-status-pulse {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  animation: pulse 2s infinite;
}


/* ==========================================================================
   Dedicated About Page Styles
   ========================================================================== */
.about-hero-section {
  background-color: #fafbfc;
  background-image: url('assets/hero_bg_waves.svg');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 5rem 2rem 4rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.about-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 182, 122, 0.1);
  color: #00875a;
  border: 1px solid rgba(0, 182, 122, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 0.35rem 0.95rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 1.25rem;
}

.about-hero-title span {
  color: var(--primary-color);
}

.about-hero-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0 auto 2.5rem auto;
  max-width: 720px;
}

/* About Impact Stats Bar */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: -2.5rem auto 4.5rem auto;
  padding: 0 2rem;
  position: relative;
  z-index: 5;
}

@media (max-width: 900px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
}

@media (max-width: 520px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}

.about-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-stat-num span {
  color: var(--primary-color);
}

.about-stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.4;
}

/* About Content Sections */
.about-content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 3rem 2rem;
}

.about-story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 5.5rem;
}

@media (max-width: 960px) {
  .about-story-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.about-story-text h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.about-story-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.25rem;
}

.about-story-visual {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.about-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 2rem;
}

.about-timeline-item:last-child {
  padding-bottom: 0;
}

.about-timeline-item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.about-timeline-item:last-child::before {
  display: none;
}

.about-timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 182, 122, 0.15);
  color: #00875a;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.about-timeline-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
}

.about-timeline-info p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Values Grid */
.about-values-section {
  text-align: center;
  margin-bottom: 5.5rem;
}

.about-values-heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.about-values-sub {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto 3rem auto;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

@media (max-width: 860px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

.about-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.about-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 182, 122, 0.12);
  color: #00875a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.about-value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.about-value-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}


/* What We Do Grid */
.what-we-do-section {
  margin-bottom: 5rem;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .what-we-do-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .what-we-do-grid {
    grid-template-columns: 1fr;
  }
}

.what-we-do-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.85rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.what-we-do-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.what-we-do-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 182, 122, 0.12);
  color: #00875a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
}

.what-we-do-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.55rem 0;
}

.what-we-do-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* Our Mission Card */
.mission-box-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 2px solid #bbf7d0;
  border-radius: 22px;
  padding: 3rem 3.5rem;
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .mission-box-card {
    padding: 2rem 1.75rem;
  }
}

.mission-box-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.mission-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: #00875a;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.mission-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #064e3b;
  margin: 0 0 1.15rem 0;
  line-height: 1.25;
}

.mission-desc {
  font-size: 1.2rem;
  line-height: 1.75;
  color: #065f46;
  margin: 0;
  font-weight: 500;
}

/* Our Commitment Box */
.commitment-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-left: 6px solid var(--primary-color);
  border-radius: 20px;
  padding: 3rem 3.5rem;
  margin-bottom: 5rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .commitment-card {
    padding: 2rem 1.75rem;
  }
}

.commitment-card h3 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.commitment-card p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 1.5rem 0;
}

.commitment-disclaimer {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.35rem 1.6rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
}

.commitment-disclaimer svg {
  width: 22px;
  height: 22px;
  color: #00875a;
  flex-shrink: 0;
  margin-top: 2px;
}
