/* ============================================================
   LocalFix-PHP — Custom Stylesheet
   Dynamic theme colors are injected via PHP into :root variables
   ============================================================ */

/* ── CSS Custom Properties (overridden by PHP-generated inline style) ── */
:root {
  --primary:        #FF6B35;
  --primary-dark:   #e55a24;
  --primary-light:  #ff8c5a;
  --secondary:      #2C3E50;
  --secondary-dark: #1a252f;
  --accent:         #27AE60;
  --accent-dark:    #1e8449;
  --danger:         #E74C3C;
  --warning:        #F39C12;
  --info:           #3498DB;
  --light:          #F8F9FA;
  --dark:           #212529;
  --white:          #FFFFFF;
  --gray-100:       #f8f9fa;
  --gray-200:       #e9ecef;
  --gray-300:       #dee2e6;
  --gray-400:       #ced4da;
  --gray-500:       #adb5bd;
  --gray-600:       #6c757d;
  --gray-700:       #495057;
  --gray-800:       #343a40;
  --gray-900:       #212529;
  --font-primary:   'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --border-radius:  8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.16);
  --transition:     all 0.3s ease;
  --navbar-height:  70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.text-primary   { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent    { color: var(--accent) !important; }
.text-muted     { color: var(--gray-600) !important; }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ── Utility Classes ── */
.section-padding    { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.section-padding-lg { padding: 120px 0; }

.bg-primary-soft { background-color: rgba(255,107,53,0.08); }
.bg-secondary-soft { background-color: rgba(44,62,80,0.06); }
.bg-accent-soft { background-color: rgba(39,174,96,0.08); }
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}
.bg-gradient-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #34495e 50%, var(--secondary-dark) 100%);
}

.rounded-custom    { border-radius: var(--border-radius); }
.rounded-custom-lg { border-radius: var(--border-radius-lg); }
.rounded-custom-xl { border-radius: var(--border-radius-xl); }

.shadow-custom-sm { box-shadow: var(--shadow-sm); }
.shadow-custom-md { box-shadow: var(--shadow-md); }
.shadow-custom-lg { box-shadow: var(--shadow-lg); }

.overflow-hidden { overflow: hidden; }

/* ── Buttons ── */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  border-radius: var(--border-radius);
  padding: 10px 24px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44,62,80,0.35);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.btn-accent:hover,
.btn-accent:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39,174,96,0.35);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.25);
}

.btn-outline-secondary {
  background-color: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-white {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary);
}
.btn-white:hover,
.btn-white:focus {
  background-color: var(--gray-100);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--border-radius-lg);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.btn-icon-lg {
  width: 52px;
  height: 52px;
}

/* ── Navbar ── */
.navbar-custom {
  background-color: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  height: var(--navbar-height);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
}

.navbar-custom.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--secondary) !important;
}

.navbar-brand-custom img.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.navbar-brand-custom .brand-name {
  color: var(--primary);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--secondary) !important;
  padding: 8px 14px !important;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background-color: rgba(255,107,53,0.08);
}

.navbar-nav .nav-link.active {
  font-weight: 600;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44,62,80,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.user-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ── Hero Section ── */
.hero-section {
  background: var(--bg-gradient-hero, linear-gradient(135deg, var(--secondary) 0%, #34495e 50%, var(--secondary-dark) 100%));
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(39,174,96,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255,107,53,0.15);
  color: var(--primary-light);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-search-box {
  background: var(--white);
  border-radius: var(--border-radius-xl);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 1rem;
  font-family: var(--font-primary);
  background: transparent;
  color: var(--dark);
}

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

.hero-search-box .search-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

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

.hero-stat .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper img {
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 3s ease-in-out infinite;
}

.hero-floating-card.card-1 {
  top: 20%;
  left: -30px;
  animation-delay: 0s;
}

.hero-floating-card.card-2 {
  bottom: 20%;
  right: -20px;
  animation-delay: 1.5s;
}

.hero-floating-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-floating-card .card-icon.green { background: rgba(39,174,96,0.15); color: var(--accent); }
.hero-floating-card .card-icon.orange { background: rgba(255,107,53,0.15); color: var(--primary); }

.hero-floating-card .card-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.hero-floating-card .card-text span {
  font-size: 0.75rem;
  color: var(--gray-600);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .section-badge {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.05rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── Category Cards ── */
.category-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.category-card .category-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  transition: var(--transition);
}

.category-card:hover .category-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.category-card .category-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  margin: 0;
}

.category-card .category-count {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

/* ── Service Cards ── */
.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-card .service-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.service-card .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card .service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-card .service-badge.featured {
  background: var(--warning);
}

.service-card .service-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: none;
  color: var(--gray-500);
}

.service-card .service-wishlist:hover,
.service-card .service-wishlist.active {
  color: var(--danger);
  transform: scale(1.1);
}

.service-card .service-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card .service-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.service-card .service-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.service-card .service-description {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card .service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.service-card .service-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--warning);
  font-weight: 600;
}

.service-card .service-rating span {
  color: var(--gray-600);
  font-weight: 400;
}

.service-card .service-duration {
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.service-card .service-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.service-card .service-price .original-price {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 4px;
}

.service-card .service-provider {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-600);
}

.service-card .service-provider img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Provider Cards ── */
.provider-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}

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

.provider-card .provider-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  margin: 0 auto 12px;
  display: block;
}

.provider-card .provider-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.provider-card .provider-specialty {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.provider-card .provider-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--warning);
  font-weight: 600;
  margin-bottom: 12px;
}

.provider-card .provider-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.provider-card .provider-stat {
  text-align: center;
}

.provider-card .provider-stat strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.provider-card .provider-stat small {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.provider-card .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(39,174,96,0.1);
  color: var(--accent);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ── Review / Testimonial Cards ── */
.review-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  height: 100%;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card .review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-card .reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card .reviewer-info .reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  margin: 0;
}

.review-card .reviewer-info .reviewer-location {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

.review-card .review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  color: var(--warning);
}

.review-card .review-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

.review-card .review-service {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ── How It Works ── */
.how-it-works-step {
  text-align: center;
  padding: 20px;
  position: relative;
}

.how-it-works-step .step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.how-it-works-step .step-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-lg);
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.how-it-works-step:hover .step-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.how-it-works-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-it-works-step p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0;
}

.step-connector {
  position: absolute;
  top: 40px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 0;
}

/* ── Features / Why Choose Us ── */
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.feature-item .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius);
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-item .feature-content h5 {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 1rem;
}

.feature-item .feature-content p {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin: 0;
}

/* ── Stats Section ── */
.stats-section {
  background: var(--bg-gradient-primary, linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%));
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.stat-item .stat-icon {
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .cta-title {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section .cta-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* ── App Download Section ── */
.app-download-section {
  background: var(--gray-100);
  padding: 80px 0;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 12px 20px;
  transition: var(--transition);
  text-decoration: none;
}

.app-badge:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.app-badge .app-badge-icon {
  font-size: 1.8rem;
}

.app-badge .app-badge-text small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-badge .app-badge-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

/* ── Footer ── */
.footer {
  background: var(--secondary-dark, #1a252f);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand .brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand .brand-name span {
  color: var(--primary);
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.65);
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-item .contact-icon {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 20px 0;
  margin-top: 50px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

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

/* ── Forms ── */
.form-control,
.form-select {
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  padding: 10px 16px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  background-color: var(--white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
  outline: none;
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-text {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.input-group-text {
  background: var(--gray-100);
  border: 2px solid var(--gray-300);
  color: var(--gray-600);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(255,107,53,0.15);
}

.invalid-feedback {
  font-size: 0.8rem;
  color: var(--danger);
}

.valid-feedback {
  font-size: 0.8rem;
  color: var(--accent);
}

/* ── Auth Pages ── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  padding: 40px 0;
}

.auth-card {
  background: var(--white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.auth-card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 32px;
  text-align: center;
}

.auth-card-header .auth-logo {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.auth-card-header h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0;
}

.auth-card-header p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 6px 0 0;
}

.auth-card-body {
  padding: 32px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}

.auth-divider span {
  font-size: 0.85rem;
  color: var(--gray-500);
  white-space: nowrap;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius);
  background