/* ===================================
   SERVICES PAGE STYLES
   =================================== */

/* CSS Variables */
:root {
  --primary-color: #1a8917;
  --primary-dark: #146812;
  --primary-light: #22a31f;
  --secondary-color: #667eea;
  --accent-yellow: #e6c855;
  --success-green: #10b981;
  --warning-orange: #f59e0b;
  --danger-red: #ef4444;
  
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  
  --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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  --transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
.services-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1e1e1e;
}

/* Hero Background */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0.7) 0%, 
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image-fallback {
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?w=1920&h=1080&fit=crop') center/cover;
  filter: brightness(0.4);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 0;
}

.hero-title {
  color: var(--white);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease;
}

.title-line-1 {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.title-line-2 {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: var(--font-secondary);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Search */
.hero-search-container {
  max-width: 650px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.hero-search-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.hero-search-input {
  flex: 1;
  padding: 1.25rem 2rem;
  border: none;
  outline: none;
  font-size: 1.125rem;
  color: var(--gray-900);
  background: transparent;
}

.hero-search-input::placeholder {
  color: var(--gray-500);
}

.hero-search-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 1.25rem 2rem;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-search-btn:hover {
  background: var(--primary-dark);
}

/* Popular Services Tags */
.popular-services-tags {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tag-label {
  color: var(--white);
  font-weight: 500;
  opacity: 0.9;
}

.service-tag {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.service-tag:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.service-tag i {
  font-size: 0.9rem;
}

/* Trust Badges */
.trust-badges {
  margin-top: 3rem;
  color: var(--white);
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.trust-text {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.9rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item::before {
  content: '✓';
  color: var(--success-green);
  font-weight: bold;
}

/* ===================================
   SERVICE CATEGORIES FILTER BAR
   Modern horizontal scrollable pills
   =================================== */
.service-categories-bar {
  padding: 1.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

/* Category Pills Container */
.category-pills-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.category-pills-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.25rem 0;
  scroll-behavior: smooth;
}

.category-pills-container::-webkit-scrollbar {
  display: none;
}

/* Individual Category Pill */
.category-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  scroll-snap-align: start;
  white-space: nowrap;
}

.category-pill i {
  font-size: 0.85rem;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.category-pill:hover {
  border-color: var(--primary-color);
  background: rgba(26, 137, 23, 0.05);
  color: var(--primary-color);
}

.category-pill:hover i {
  color: var(--primary-color);
}

.category-pill.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(26, 137, 23, 0.3);
}

.category-pill.active i {
  color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator:hover {
  background: var(--gray-50);
  border-color: var(--primary-color);
}

.scroll-indicator.scroll-right {
  right: 0;
}

.scroll-indicator.scroll-left {
  left: 0;
}

.scroll-indicator.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-indicator i {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* Secondary Filters Row */
.secondary-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-dropdowns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-dropdown {
  position: relative;
}

.filter-dropdown select {
  appearance: none;
  padding: 0.5rem 2.5rem 0.5rem 2rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 140px;
}

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

.filter-dropdown select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 137, 23, 0.1);
}

.filter-dropdown i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--gray-400);
  pointer-events: none;
}

.filter-dropdown::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: var(--gray-400);
  pointer-events: none;
}

/* Filter Actions */
.filter-actions {
  display: flex;
  gap: 0.5rem;
}

.filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-toggle-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-toggle-btn i {
  font-size: 0.8rem;
}

/* Active Filters Display */
.active-filters {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.active-filters.has-filters {
  display: flex;
}

.active-filters-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.active-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(26, 137, 23, 0.1);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.active-filter-pill .remove-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: none;
  background: none;
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  padding: 0;
}

.active-filter-pill .remove-filter:hover {
  background: var(--primary-color);
  color: var(--white);
}

.clear-filters-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border: none;
  background: none;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.clear-filters-btn:hover {
  color: var(--danger-red);
}

.clear-filters-btn i {
  font-size: 0.7rem;
}

/* Visually Hidden (for accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Section Header - keep for professionals section */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* ===================================
   FEATURED PROFESSIONALS
   =================================== */
.featured-professionals {
  padding: 5rem 0;
  background: var(--white);
}

.section-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  background: var(--gray-200);
}

.filter-pill.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.view-all-btn {
  background: transparent;
  color: var(--primary-color);
  border: none;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.view-all-btn:hover {
  gap: 0.75rem;
}

/* Professionals Grid */
.professionals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Professional Card */
.professional-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  animation: fadeInUp 0.5s ease backwards;
}

.professional-card:nth-child(1) { animation-delay: 0.1s; }
.professional-card:nth-child(2) { animation-delay: 0.2s; }
.professional-card:nth-child(3) { animation-delay: 0.3s; }

.professional-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

/* Clickable card overlay link */
.pro-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Ensure buttons are clickable above the overlay */
.professional-card .pro-actions {
  position: relative;
  z-index: 2;
}

/* Pro Badge */
.pro-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--success-green);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Pro Header */
.pro-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pro-avatar {
  position: relative;
  flex-shrink: 0;
}

.pro-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-100);
}

.availability-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.availability-status.online {
  background: var(--success-green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
}

.pro-info {
  flex: 1;
}

.pro-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.pro-title {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.pro-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--gray-500);
  font-size: 0.85rem;
}

.pro-location i {
  color: var(--primary-color);
}

/* Pro Stats */
.pro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 1rem;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* Pro Skills */
.pro-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.skill-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Pro Description */
.pro-description {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pro-description p {
  margin: 0;
}

/* Pro Pricing */
.pro-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.price-label {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Pro Actions */
.pro-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-contact,
.btn-book {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  border: none;
}

.btn-contact {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-contact:hover {
  background: var(--gray-200);
}

.btn-book {
  background: var(--primary-color);
  color: var(--white);
}

.btn-book:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 137, 23, 0.3);
}

/* ===================================
   HOW IT WORKS
   =================================== */
.how-it-works {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e9 100%);
}

.section-header.center {
  text-align: center;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  align-items: start;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.step-number {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 3;
}

.step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step:hover .step-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.step-connector {
  position: absolute;
  top: 40px;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--gray-300) 0,
    var(--gray-300) 5px,
    transparent 5px,
    transparent 10px
  );
  z-index: 1;
}

/* ===================================
   CTA SECTION
   =================================== */
.services-cta {
  padding: 5rem 0;
  background: var(--gray-900);
  color: var(--white);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.benefit i {
  color: var(--success-green);
  font-size: 1.25rem;
}

.cta-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-btn:hover {
  background: var(--primary-light);
  transform: translateX(5px);
}

.cta-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

/* ===================================
   FOOTER
   =================================== */
.services-footer {
  background: var(--gray-100);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--gray-600);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .professionals-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .title-line-1,
  .title-line-2 {
    font-size: 2.5rem;
  }
  
  .hero-search-container {
    padding: 0 1rem;
  }
  
  .popular-services-tags {
    padding: 0 1rem;
  }
  
  .service-tag {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
  
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .section-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .filter-pills {
    justify-content: center;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .step-connector {
    display: none;
  }
  
  .pro-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .title-line-1,
  .title-line-2 {
    font-size: 2rem;
  }
  
  .hero-search-input {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
  
  .hero-search-btn {
    padding: 1rem 1.5rem;
  }
  
  .trust-logos {
    gap: 1rem;
    font-size: 0.8rem;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .professionals-grid {
    grid-template-columns: 1fr;
  }
  
  .pro-stats {
    gap: 0.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading States */
.professional-card.loading {
  pointer-events: none;
  opacity: 0.6;
}

.professional-card.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid var(--gray-300);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.skill-bubble {
  display: inline-block;
  background-color: var(--gray-100);
  color: var(--gray-700);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  transition: var(--transition);
}

.skill-bubble:hover {
  background-color: var(--gray-200);
  color: var(--gray-800);
}
