/* Social Media Marketing Directory Styles */

:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --secondary: #8B5CF6;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --border: #E5E7EB;
  --bg-light: #F9FAFB;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Page Container */
.social-media-directory {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Hero Header */
.directory-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
 
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.hero-stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: var(--border);
}

/* Main Search */
.hero-search {
  max-width: 800px;
  margin: 2rem auto 0;
}

.search-form {
  width: 100%;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), 
                    linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.search-input-group:focus-within {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  width: 20px;
  height: 20px;
  color: var(--text-light);
  pointer-events: none;
}

.search-input {
  flex: 1;
  padding: 1.125rem 1rem 1.125rem 3.5rem;
  border: none;
  font-size: 1rem;
  outline: none;
  background: transparent;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-btn {
  padding: 1.125rem 2.5rem;
  background: transparent;
  color: var(--primary);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.search-btn:hover:not(:disabled) {
  background: var(--bg-light);
  color: var(--primary-dark);
}

.search-btn:disabled {
  background: #9ca3af;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Browse Layout */
.browse-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Filters Sidebar */
.filters-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filters-sidebar::-webkit-scrollbar {
  width: 6px;
}

.filters-sidebar::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
  transition: background 0.2s;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.125rem;
  border-bottom: 2px solid var(--border);
}

.filters-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.filters-title svg {
  color: var(--primary);
}

.filters-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.collapse-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-light);
}

.collapse-all-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.collapse-all-btn svg {
  transition: transform 0.2s;
}

.clear-filters-btn {
  font-size: 0.875rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.clear-filters-btn:hover {
  color: var(--white);
  background: var(--primary);
}

.filter-group {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.filter-group-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.filter-group-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9375rem;
}

.toggle-icon {
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.filter-group-toggle.active .toggle-icon {
  transform: rotate(180deg);
}

.filter-group-content {
  display: block;
  max-height: 1000px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.filter-group-toggle .toggle-icon {
  transition: transform 0.3s ease;
}

.filter-group.expanded .filter-group-content {
  display: block;
  max-height: 1000px;
  opacity: 1;
}

.filter-group:not(.expanded) .filter-group-content {
  max-height: 0;
  opacity: 0;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.filter-options::-webkit-scrollbar {
  width: 4px;
}

.filter-options::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.filter-options label:hover {
  background: var(--bg-light);
}

.filter-options input[type="checkbox"],
.filter-options input[type="radio"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.filter-select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

.filter-select:focus {
  border-color: var(--primary);
}

/* Results Header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.results-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.results-count {
  font-size: 1rem;
  color: var(--text-dark);
}

.results-count strong {
  font-weight: 700;
  color: var(--primary);
}

.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sort-controls label {
  font-size: 0.9375rem;
  color: var(--text-dark);
  font-weight: 600;
}

.sort-select {
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
  background: var(--white);
  transition: border-color 0.2s;
}

.sort-select:focus {
  border-color: var(--primary);
}

/* Agencies Grid */
.agencies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.agency-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.agency-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-logo {
  height: 140px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

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

.card-logo-placeholder {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.card-logo-placeholder span {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.875rem;
}

.card-location svg {
  flex-shrink: 0;
}

.card-description {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.service-tag {
  padding: 0.375rem 0.875rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-tag-more {
  padding: 0.375rem 0.875rem;
  background: var(--bg-light);
  color: var(--text-light);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.rating-star {
  font-size: 1rem;
}

.rating-value {
  font-weight: 700;
  color: var(--text-dark);
}

.rating-count {
  color: var(--text-light);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* No Results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.no-results svg {
  margin: 0 auto 1.5rem;
  color: var(--text-light);
}

.no-results h3 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.no-results p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  padding: 0.875rem 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  font-size: 0.9375rem;
}

.pagination-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
}

.pagination-number {
  padding: 0.75rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 600;
  min-width: 44px;
  text-align: center;
}

.pagination-number:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination-number.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .browse-layout {
    grid-template-columns: 1fr;
  }
  
  .filters-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 1024px) {
  .filters-sidebar {
    top: 80px;
    max-height: calc(100vh - 100px);
  }
}

@media (max-width: 768px) {
  .page-container {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .stat-divider {
    display: none;
  }
  
  .browse-layout {
    grid-template-columns: 1fr;
  }
  
  .filters-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    max-height: 100vh;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  }
  
  .filters-sidebar.show {
    transform: translateX(0);
  }
  
  .mobile-filter-toggle {
    display: flex;
  }
  
  .agencies-grid {
    grid-template-columns: 1fr;
  }
  
  .results-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .results-info {
    justify-content: space-between;
  }
  
  .sort-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  .sort-select {
    flex: 1;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
  
  .pagination-numbers {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  
  .collapse-all-btn {
    width: 30px;
    height: 30px;
  }
  
  .clear-filters-btn {
    font-size: 0.8125rem;
    padding: 0.375rem 0.625rem;
  }
}

/* ============================================ */
/*              AGENCY PROFILE PAGE             */
/* ============================================ */

.profile-page {
  min-height: 100vh;
  background: #FAFAFA;
  padding: 0;
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Breadcrumb Navigation */
.simple-header {
  background: var(--white);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--text-light);
}

/* Company Overview Card - BigLeap Style */
.company-overview-card {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.overview-left {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.company-logo-big {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.75rem;
  flex-shrink: 0;
  background: var(--white);
}

.company-logo-placeholder-big {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: 800;
  flex-shrink: 0;
}

.company-info {
  flex: 1;
}

.company-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.company-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.meta-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.meta-item strong {
  font-weight: 700;
  font-size: 1.125rem;
}

.meta-item span {
  color: var(--text-light);
}

.company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.company-tags .tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
}

.overview-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 200px;
}

.btn-primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-secondary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary-action:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.social-links-compact {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.75rem;
}

.social-link-small {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.social-link-small:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Profile Header */
.profile-header {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.profile-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.profile-header-left {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.profile-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.5rem;
  flex-shrink: 0;
}

.profile-logo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

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

.profile-name {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.profile-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-stars {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.rating-count {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.profile-location-badge,
.profile-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.profile-location-badge svg,
.profile-meta-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.profile-header-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-visit-website,
.btn-call-now {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-visit-website {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-visit-website:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.btn-call-now {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-call-now:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* Social Links */
.profile-social-links {
  display: flex;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Profile Grid */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  padding: 2rem;
  background: #FAFAFA;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Profile Cards */
.profile-card {
  background: white;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: none;
}

/* Description with Read More */
.description-wrapper {
  position: relative;
}

.description-content {
  max-height: 150px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.description-content.expanded {
  max-height: 2000px;
}

.description-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Markdown Content Styling */
.description-text h1,
.description-text h2,
.description-text h3,
.description-text h4,
.description-text h5,
.description-text h6 {
  color: var(--text-dark);
  margin: 1.5rem 0 0.75rem 0;
  font-weight: 600;
}

.description-text h1:first-child,
.description-text h2:first-child,
.description-text h3:first-child,
.description-text h4:first-child,
.description-text h5:first-child,
.description-text h6:first-child {
  margin-top: 0;
}

.description-text p {
  margin: 0 0 1rem 0;
  line-height: 1.7;
}

.description-text ul,
.description-text ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

.description-text li {
  margin: 0.25rem 0;
  line-height: 1.6;
}

.description-text strong {
  font-weight: 600;
  color: var(--text-dark);
}

.description-text em {
  font-style: italic;
}

.description-text a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.description-text a:hover {
  border-bottom-color: var(--primary);
}

.description-text blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: var(--text-light);
}

.description-text code {
  background: var(--bg-light);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
  color: var(--primary);
}

.description-text pre {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

.description-text pre code {
  background: none;
  padding: 0;
  color: var(--text-dark);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.read-more-btn svg {
  transition: transform 0.3s ease;
}

/* Info Cards Grid */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.info-card-content {
  flex: 1;
}

.info-card-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.375rem;
}

.info-card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Services Tags */
.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.service-tag svg {
  color: #10B981;
  flex-shrink: 0;
}

.service-tag:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.industry-badge {
  padding: 0.875rem 1rem;
  background: var(--bg-light);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.industry-badge:hover {
  background: rgba(99, 102, 241, 0.05);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Reviews Section - Professional Style */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--bg-light);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.reviews-average {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.average-score {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1F2937;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.reviews-stars-large {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.reviews-stars-large .star {
  color: #D1D5DB;
  font-size: 1.25rem;
}

.reviews-stars-large .star.filled {
  color: #FBBF24;
}

.reviews-count {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.review-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1.5rem;
}

.reviewer-info {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  flex: 1;
}

.reviewer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.reviewer-details {
  flex: 1;
  padding-top: 0.25rem;
}

.reviewer-name {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-dark);
  margin-bottom: 0.375rem;
}

.reviewer-title {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 0.375rem;
}

.review-date-small {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.review-date-small svg {
  color: var(--text-light);
  opacity: 0.6;
}

.review-rating-display {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
  flex-shrink: 0;
}

.review-rating-stars {
  display: flex;
  gap: 0.25rem;
}

.review-rating-stars .star {
  color: #D1D5DB;
  font-size: 1.125rem;
}

.review-rating-stars .star.filled {
  color: #FBBF24;
}

.rating-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.review-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.review-content {
  margin-bottom: 1.25rem;
}

.review-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #4B5563;
}

.review-helpful {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.helpful-text {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.helpful-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.helpful-btn:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.helpful-btn svg {
  color: currentColor;
}

.reviews-load-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--bg-light);
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-load-more:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.btn-load-more svg {
  transition: transform 0.3s ease;
}

.hidden-review {
  display: none;
}

/* Team Section - Simple Text-Based */
.team-members-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-member {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
}

.member-name-simple {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.member-title-simple {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.member-bio-simple {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4B5563;
}

/* Portfolio Section - Clean List */
.portfolio-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-list-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.portfolio-list-item:last-child {
  border-bottom: none;
}

.portfolio-list-item strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.portfolio-list-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4B5563;
  margin: 0;
}

/* Notable Clients - Grid Boxes like Big Leap */
.clients-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.client-list-item {
  padding: 0;
}

.client-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #FAFBFC;
  border: 2px solid #6DB4F2;
  border-radius: 12px;
  color: #0084FF;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  min-height: 120px;
}

.client-link:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Sidebar */
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.sidebar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-light);
}

.sidebar-item {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.sidebar-item:last-child {
  margin-bottom: 0;
}

.sidebar-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.sidebar-item-text {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.sidebar-item-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.sidebar-item-text a:hover {
  text-decoration: underline;
}

.fact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.fact-item:last-child {
  border-bottom: none;
}

.fact-label {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.fact-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.location-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Similar Agencies Section */
.similar-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border);
}

.similar-section .section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.similar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.similar-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.similar-card img {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.similar-logo-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.similar-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.similar-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.similar-card h3 a:hover {
  color: var(--primary);
}

.similar-rating {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.view-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.2s ease;
}

.view-profile-link:hover {
  gap: 0.75rem;
}

/* Responsive Design for Profile Page */
@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-header-content {
    flex-direction: column;
  }
  
  .profile-header-actions {
    width: 100%;
  }
  
  .btn-visit-website,
  .btn-call-now {
    flex: 1;
    justify-content: center;
  }
  
  .info-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Clients list for tablets */
  .clients-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* Company Overview responsive */
  .company-overview-card {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  
  .overview-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  .company-logo-big,
  .company-logo-placeholder-big {
    width: 100px;
    height: 100px;
  }
  
  .company-logo-placeholder-big {
    font-size: 2.5rem;
  }
  
  .company-name {
    font-size: 1.75rem;
  }
  
  .company-meta {
    justify-content: center;
    gap: 1rem;
  }
  
  .company-tags {
    justify-content: center;
  }
  
  .overview-right {
    width: 100%;
  }
  
  .simple-header {
    padding: 1rem 1.5rem;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .profile-card {
    padding: 1.5rem;
  }
  
  .info-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
  }
  
  .similar-grid {
    grid-template-columns: 1fr;
  }
  
  /* Reviews responsive */
  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .reviews-average {
    width: 100%;
    padding: 1.5rem 1rem;
  }
  
  .review-item {
    padding: 1.25rem;
  }
  
  .review-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .reviewer-info {
    width: 100%;
  }
  
  .reviewer-avatar {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .review-rating-display {
    align-items: flex-start;
  }
  
  .review-helpful {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .helpful-text {
    width: 100%;
  }
  
  .helpful-btn {
    flex: 1;
    justify-content: center;
    min-width: 120px;
  }
  
  /* Team section responsive */
  .team-member {
    border-left-width: 3px;
    padding-left: 1rem;
  }
  
  .member-name-simple {
    font-size: 1.125rem;
  }
  
  /* Clients list responsive */
  .clients-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .client-link {
    padding: 2rem 1rem;
    min-height: 100px;
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .clients-list {
    grid-template-columns: 1fr;
  }
  
  .client-link {
    padding: 1.75rem 1rem;
    min-height: 90px;
  }
}

/* ============================================
   AGENCY PROFILE PAGE - BIG LEAP STYLE
   ============================================ */

.agency-profile-page {
  background: #F5F7FA;
  min-height: 100vh;
  padding-bottom: 4rem;
}

/* Breadcrumb */
.breadcrumb-nav {
  background: white;
  border-bottom: 1px solid #E5E7EB;
  padding: 0.875rem 0;
  font-size: 0.75rem;
  color: #0084FF;
  font-weight: 600;
}

.breadcrumb-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-nav a {
  color: #0084FF;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-nav a:hover {
  opacity: 0.7;
}

.breadcrumb-nav span {
  color: #6B7280;
}

/* Header Section */
.agency-header {
  background: white;
  padding: 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  border-bottom: 1px solid #E5E7EB;
}

.header-left {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.agency-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 1rem;
  background: white;
}

.agency-logo-placeholder {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  font-size: 4rem;
  font-weight: 800;
  border-radius: 8px;
}

.header-info {
  flex: 1;
}

.agency-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0084FF;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.agency-tagline {
  font-size: 1.125rem;
  color: #4B5563;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.header-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: #4B5563;
}

.meta-row svg {
  color: #6B7280;
  flex-shrink: 0;
}

.meta-row a {
  color: #0084FF;
  text-decoration: none;
  transition: opacity 0.2s;
}

.meta-row a:hover {
  opacity: 0.7;
}

.header-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.review-box {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 220px;
}

.review-source {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4B5563;
  margin-bottom: 0.75rem;
}

.rating-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stars-rating {
  display: flex;
  gap: 0.25rem;
}

.stars-rating .star {
  font-size: 1.5rem;
  color: #D1D5DB;
}

.stars-rating .star.filled {
  color: #FFA500;
}

.rating-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.btn-visit-website,
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
}

.btn-visit-website {
  background: #00C48C;
  color: white;
}

.btn-visit-website:hover {
  background: #00B37E;
  transform: translateY(-1px);
}

.btn-contact {
  background: #0084FF;
  color: white;
}

.btn-contact:hover {
  background: #0070E0;
  transform: translateY(-1px);
}

/* Tab Navigation */
.agency-tabs {
  background: white;
  border-bottom: 2px solid #E5E7EB;
  padding: 0;
  margin-bottom: 2rem;
  position: relative;
  z-index: 50;
  transition: all 0.3s;
}

.agency-tabs.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.agency-tabs .container {
  display: flex;
  gap: 0;
  padding: 0;
}

.tab-link {
  padding: 1.125rem 1.75rem;
  color: #6B7280;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.tab-link:hover {
  color: #0084FF;
  background: #F9FAFB;
}

.tab-link.active {
  color: #0084FF;
  border-bottom-color: #0084FF;
  background: #F9FAFB;
}

/* Section Content */
.section-content {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 100px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #F3F4F6;
}

.subsection-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1F2937;
  margin: 2rem 0 1.5rem;
}

/* Info Stats Cards */
.info-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  transition: all 0.2s;
}

.stat-card:hover {
  border-color: #0084FF;
  box-shadow: 0 2px 8px rgba(0, 132, 255, 0.1);
}

.stat-card svg {
  color: #0084FF;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.stat-value {
  font-size: 1.125rem;
  color: #1F2937;
  font-weight: 700;
}

/* Overview Content */
.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.overview-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #4B5563;
}

.overview-description p {
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  border-radius: 50%;
  color: #0084FF;
  transition: all 0.2s;
}

.social-icon:hover {
  background: #0084FF;
  color: white;
  transform: translateY(-2px);
}

.overview-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.overview-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: #1F2937;
  font-weight: 500;
  transition: all 0.2s;
}

.service-item:hover {
  border-color: #0084FF;
  background: white;
}

.service-item svg {
  color: #00C48C;
  flex-shrink: 0;
}

/* Portfolio List */
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.portfolio-item {
  padding: 1.5rem;
  background: #F9FAFB;
  border-left: 4px solid #0084FF;
  border-radius: 8px;
}

.portfolio-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.625rem;
}

.portfolio-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4B5563;
}

/* Team List */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-member {
  padding: 1.5rem 0;
  border-bottom: 1px solid #E5E7EB;
}

.team-member:last-child {
  border-bottom: none;
}

.team-member h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.375rem;
}

.member-role {
  font-size: 1rem;
  color: #0084FF;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.member-bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4B5563;
}

/* Clients Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.client-box {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #FAFBFC;
  border: 2px solid #6DB4F2;
  border-radius: 12px;
  color: #0084FF;
  font-weight: 600;
  font-size: 1rem;
  min-height: 120px;
  transition: all 0.3s;
}

.client-box:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Awards Section */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.award-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.award-image {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  color: white;
}

.award-content {
  flex: 1;
}

.award-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.award-organization {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.award-year {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.award-description {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Pros & Cons Section */
.pros-cons-section {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.column-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pros-title {
  color: #059669;
}

.pros-title svg {
  color: #059669;
}

.cons-title {
  color: #DC2626;
}

.cons-title svg {
  color: #DC2626;
}

.pros-list,
.cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pros-list li {
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.6;
  color: #1F2937;
}

.pros-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
  font-size: 1.125rem;
}

.cons-list li {
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.6;
  color: #1F2937;
}

.cons-list li:before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #DC2626;
  font-weight: 700;
  font-size: 1.125rem;
}

/* Reviews */
.reviews-summary-box {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: #F9FAFB;
  border-radius: 12px;
}

.overall-rating {
  text-align: center;
}

.rating-score {
  font-size: 3.5rem;
  font-weight: 800;
  color: #0084FF;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.rating-stars {
  display: flex;
  gap: 0.375rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.rating-stars .star {
  font-size: 1.75rem;
  color: #D1D5DB;
}

.rating-stars .star.filled {
  color: #FFA500;
}

.rating-count {
  font-size: 1.125rem;
  color: #6B7280;
  font-weight: 600;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card {
  padding: 1.75rem;
  background: #FAFBFC;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  transition: all 0.2s;
}

.review-card:hover {
  border-color: #0084FF;
  box-shadow: 0 2px 8px rgba(0, 132, 255, 0.08);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.reviewer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.375rem;
  font-weight: 700;
  flex-shrink: 0;
  object-fit: cover;
}

.reviewer-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.25rem;
}

.reviewer-company {
  font-size: 0.875rem;
  color: #6B7280;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
}

.review-stars .star {
  font-size: 1.125rem;
  color: #D1D5DB;
}

.review-stars .star.filled {
  color: #FFA500;
}

.review-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 0.875rem;
}

.review-text p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4B5563;
}

.review-date {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;
  font-size: 0.875rem;
  color: #9CA3AF;
}

.hidden-review {
  display: none;
}

.load-more-reviews {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn-load-more {
  padding: 0.875rem 2.5rem;
  background: white;
  border: 2px solid #0084FF;
  border-radius: 8px;
  color: #0084FF;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-load-more:hover {
  background: #0084FF;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.2);
}

.no-data {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #9CA3AF;
  font-size: 1rem;
  font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
  .agency-header {
    flex-direction: column;
  }
  
  .header-right {
    width: 100%;
    align-items: stretch;
  }
  
  .header-actions {
    width: 100%;
  }
  
  .btn-visit-website,
  .btn-contact {
    flex: 1;
    justify-content: center;
  }
  
  .overview-content {
    grid-template-columns: 1fr;
  }
  
  .info-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .header-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .agency-title {
    font-size: 1.875rem;
  }
  
  .agency-logo,
  .agency-logo-placeholder {
    width: 140px;
    height: 140px;
  }
  
  .section-content {
    padding: 1.75rem 1.25rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .info-stats {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .agency-tabs .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-link {
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .header-actions {
    flex-direction: column;
  }
}

