
 :root {
  --primary:       #4e73df;
  --primary-mid:   #3c5fd1;
  --primary-light: #6f8ef0;

  --secondary:     #1cc88a;
  --secondary-mid: #17a673;
  --secondary-light:#36d399;

  --gradient-main: linear-gradient(135deg, #4e73df, #1cc88a);

  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --gray:        #6B7280;
  --light-gray:  #F3F4F6;
  --dark:        #1A1A2E;
}

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'DM Sans', sans-serif;
      color: var(--dark);
      background: var(--white);
    }

    h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

    /* ── NAVBAR ──────────────────────────────────────── */
    .navbar {
      background: var(--white);
      box-shadow: 0 2px 12px rgba(0,0,0,0.08);
      padding: 12px 0;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .navbar-brand img { height: 52px; }
    .nav-link {
      color: var(--dark) !important;
      font-weight: 500;
      font-size: 15px;
      padding: 6px 14px !important;
    }
    .nav-link:hover {   color: var(--primary-mid) !important; }
    .btn-nav-login {
      border: 2px solid var(--primary-mid);
      color: var(--primary-mid);
      border-radius: 25px;
      padding: 6px 20px;
      font-weight: 600;
      font-size: 14px;
    }
    .btn-nav-login:hover {
      background: var(--primary-mid);
      color: var(--white);
    }
    .btn-nav-signup {
      background: var(--gradient-main);
      color: var(--white);
      border-radius: 25px;
      padding: 6px 20px;
      font-weight: 600;
      font-size: 14px;
      border: none;
    }
    .btn-nav-signup:hover { opacity: 0.9; color: var(--white); }

    /* ── HERO SLIDER ─────────────────────────────────── */
    .hero-section {
       background: var(--gradient-main);
      /* min-height: 520px; */
      padding: 100px 0px;
      position: relative;
      overflow: hidden;
    }
    .hero-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1400&q=80') center/cover;
      opacity: 0.12;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      padding: 80px 0 60px;
          display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    }
    .hero-content h1 {
      font-size: clamp(2rem, 4vw, 3.2rem);
      color: var(--white);
      line-height: 1.25;
      margin-bottom: 16px;
    }
    .hero-content h1 span { color: #C8E6C9; }
    .hero-content p {
      color: rgba(255,255,255,0.85);
      font-size: 17px;
      margin-bottom: 32px;
      max-width: 500px;
    }
    .search-box {
      background: var(--white);
      border-radius: 50px;
      padding: 6px 6px 6px 20px;
      display: flex;
      align-items: center;
      max-width: 540px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }
    .search-box input {
      border: none;
      outline: none;
      flex: 1;
      font-size: 15px;
      background: transparent;
      color: var(--dark);
    }
    .search-box button {
      background: var(--gradient-main);
      color: var(--white);
      border: none;
      border-radius: 50px;
      padding: 10px 24px;
      font-weight: 600;
      font-size: 14px;
      white-space: nowrap;
    }
    .hero-stats {
      display: flex;
      gap: 32px;
      margin-top: 40px;
      flex-wrap: wrap;
    }
    .stat-item { color: var(--white); }
    .stat-item .num {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      font-weight: 700;
      display: block;
    }
    .stat-item span:last-child { font-size: 13px; opacity: 0.8; }

    /* ── CATEGORY PILLS ──────────────────────────────── */
    .category-section {
      background: var(--off-white);
      padding: 56px 0;
    }
    .section-title {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      margin-bottom: 8px;
      color: var(--dark);
    }
    .section-sub {
      color: var(--gray);
      font-size: 15px;
      margin-bottom: 36px;
    }
    .section-sub span {
       color: var(--secondary-mid);
      font-weight: 600;
    }
    .category-card {
      background: var(--white);
      border-radius: 16px;
      padding: 24px 16px;
      text-align: center;
      border: 2px solid transparent;
      cursor: pointer;
      height: 100%;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    .category-card:hover {
     color: var(--secondary-mid);
      box-shadow: 0 8px 24px rgba(106,27,154,0.12);
    }
    .cat-icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
      font-size: 22px;
    }
    .category-card h6 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
    .category-card small { color: var(--gray); font-size: 12px; }

    /* ── HOW IT WORKS ────────────────────────────────── */
    .how-section { padding: 70px 0; background: var(--white); }
    .step-card {
      text-align: center;
      padding: 32px 20px;
      position: relative;
    }
    .step-num {
      width: 52px;
      height: 52px;
      background: var(--gradient-main);
      color: var(--white);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      font-weight: 700;
      margin: 0 auto 16px;
    }
    .step-card h5 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
    .step-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }
    .step-connector {
      position: absolute;
      top: 58px;
      right: -30px;
      color: var(--primary-light);
      font-size: 20px;
      z-index: 1;
    }

    /* ── FEATURED PROVIDERS ──────────────────────────── */
    .providers-section { background: var(--off-white); padding: 70px 0; }
    .provider-card {
      background: var(--white);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07);
      height: 100%;
    }
    .provider-card:hover { box-shadow: 0 10px 30px rgba(106,27,154,0.14); }
    .provider-img {
      width: 100%;
      height: 190px;
      object-fit: cover;
    }
    .provider-body { padding: 18px; }
    .provider-tag {
    background: var(--gradient-main);
      color: var(--white);
      font-size: 11px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .provider-body h5 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
    .provider-body .loc { color: var(--gray); font-size: 13px; margin-bottom: 8px; }
    .provider-body .loc i { color: var(--secondary-mid); margin-right: 4px; }
    .stars { color: #F59E0B; font-size: 13px; }
    .stars span { color: var(--dark); font-weight: 600; font-size: 13px; margin-left: 4px; }
    .stars .review-count { color: var(--gray); font-weight: 400; }
    .provider-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid var(--light-gray);
    }
    .badge-verified {
      background: #E8F5E9;
      color: var(--secondary);
      font-size: 11px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 20px;
    }
    .btn-hire {
      background: var(--gradient-main);
      color: var(--white);
      border: none;
      border-radius: 20px;
      padding: 6px 16px;
      font-size: 13px;
      font-weight: 600;
    }
    .btn-hire:hover { opacity: 0.88; color: var(--white); }

    /* ── PROMO BANNER ────────────────────────────────── */
    .promo-section {
     background:linear-gradient(135deg, #4e73df, #1cc88a);
      padding: 70px 0;
      position: relative;
      overflow: hidden;
    }
    .promo-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1200&q=60') center/cover;
      opacity: 0.08;
    }
    .promo-section .container { position: relative; z-index: 2; }
    .promo-section h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
    .promo-section p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 28px; }
    .btn-promo {
      background: var(--white);
      color: var(--secondary-mid);
      font-weight: 700;
      border-radius: 30px;
      padding: 12px 32px;
      font-size: 15px;
      border: none;
      margin-right: 12px;
      margin-bottom: 10px;
    }
    .btn-promo:hover { background: #EDE7F6; color: var(--secondary-mid); }
    .btn-promo-outline {
      background: transparent;
      color: var(--white);
      border: 2px solid var(--white);
      font-weight: 600;
      border-radius: 30px;
      padding: 10px 28px;
      font-size: 15px;
      margin-bottom: 10px;
    }
    .btn-promo-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }

    /* ── TESTIMONIALS ────────────────────────────────── */
    .testimonial-section { padding: 70px 0; background: var(--white); }
    .testimonial-card {
      background: var(--off-white);
      border-radius: 18px;
      padding: 28px 24px;
      height: 100%;
      border-left: 4px solid var(--secondary-mid);
      position: relative;
    }
    .testimonial-card .quote-icon {
      font-size: 32px;
      color: var(--secondary-light);
      opacity: 0.3;
      position: absolute;
      top: 16px;
      right: 20px;
    }
    .testimonial-card p {
      color: #374151;
      font-size: 14px;
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .reviewer { display: flex; align-items: center; gap: 12px; }
    .reviewer img {
      width: 44px; height: 44px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--primary-light);
    }
    .reviewer-name { font-weight: 700; font-size: 14px; }
    .reviewer-role { font-size: 12px; color: var(--gray); }

    /* Carousel dots override */
    .carousel-indicators [data-bs-target] {
      background-color: var(--secondary-mid);
      width: 10px; height: 10px;
      border-radius: 50%;
      border: none;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      filter: invert(30%) sepia(80%) saturate(500%) hue-rotate(260deg);
    }

    /* ── WHY COMMIXO ─────────────────────────────────── */
    .why-section { background: var(--off-white); padding: 70px 0; }
    .why-card {
      background: var(--white);
      border-radius: 16px;
      padding: 28px 22px;
      text-align: center;
      height: 100%;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .why-icon {
      width: 60px; height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin: 0 auto 16px;
    }
    .why-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
    .why-card p { color: var(--gray); font-size: 13px; line-height: 1.6; }

    /* ── SERVICE SLIDER (carousel) ───────────────────── */
    .service-slider-section { background: var(--white); padding: 70px 0; }
    .service-slide-card {
      border-radius: 18px;
      overflow: hidden;
      position: relative;
      height: 280px;
    }
    .service-slide-card img {
      width: 100%; height: 100%;
      object-fit: cover;
    }
    .service-slide-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
    to top,
    rgba(78, 115, 223, 0.9),   /* #4e73df */
    rgba(28, 200, 138, 0.6),   /* #1cc88a */
    transparent
  );
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 24px;
    }
    .service-slide-overlay h4 { color: var(--white); font-size: 18px; margin-bottom: 4px; }
    .service-slide-overlay p { color: rgba(255,255,255,0.8); font-size: 13px; margin-bottom: 10px; }
    .service-slide-overlay a {
      color: #C8E6C9;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
    }

    /* ── FOOTER ──────────────────────────────────────── */
    .footer {
      background: var(--dark);
      color: rgba(255,255,255,0.8);
      padding: 60px 0 0;
    }
    .footer-brand img { height: 48px; margin-bottom: 16px; }
    .footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 280px; }
    .footer h6 {
      color: var(--white);
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.5px;
      margin-bottom: 16px;
    }
    .footer ul { list-style: none; padding: 0; }
    .footer ul li { margin-bottom: 10px; }
    .footer ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; }
    .footer ul li a:hover { color: var(--primary-light); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding: 20px 0;
      margin-top: 40px;
      font-size: 13px;
      color: rgba(255,255,255,0.4);
    }
    .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px; height: 36px;
      border-radius: 50%;
      background: rgba(255,255,255,0.08);
      color: rgba(255,255,255,0.7);
      margin-right: 8px;
      font-size: 15px;
      text-decoration: none;
    }
    .social-links a:hover {
      background: var(--secondary-mid);
      color: var(--white);
    }
    .gradient-text {
       background: linear-gradient(90deg, #4e73df, #1cc88a);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .divider-line {
      height: 4px;
      width: 50px;
  background: linear-gradient(90deg, #4e73df, #1cc88a);
      border-radius: 10px;
      margin: 12px 0 28px;
    }
    .divider-line.center { margin: 12px auto 28px; }
  
  .cat-icon {
      padding: 15px;
      border-radius: 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
  }

  /* Nail */
  .cat-nail {
      background-color: #e8f5e9;
  }
  .cat-nail i {
      color: #2e7d32;
  }
  /* Tutor */
.cat-tutor { background: #ede7f6; }
.cat-tutor i { color: #6a1b9a; }

/* Makeup */
.cat-makeup { background: #fce4ec; }
.cat-makeup i { color: #ad1457; }

/* Pest */
.cat-pest { background: #e8f5e9; }
.cat-pest i { color: #2e7d32; }

/* Movers */
.cat-movers { background: #e3f2fd; }
.cat-movers i { color: #1565c0; }

/* Tailor */
.cat-tailor { background: #fff3e0; }
.cat-tailor i { color: #ef6c00; }

/* Car Detailing */
.cat-car { background: #eceff1; }
.cat-car i { color: #37474f; }

/* Cleaning */
.cat-cleaning { background: #e0f7fa; }
.cat-cleaning i { color: #00838f; }

/* Electrician */
.cat-electric { background: #fffde7; }
.cat-electric i { color: #f9a825; }

/* Plumbing */
.cat-plumbing { background: #e1f5fe; }
.cat-plumbing i { color: #0277bd; }

/* Beauty */
.cat-beauty { background: #fce4ec; }
.cat-beauty i { color: #c2185b; }

#suggestions {
    position: absolute;
    z-index: 1000;
    width: 100%;
}

#suggestions li {
    cursor: pointer;
}
.card {
    border-radius: 20px;
}

.form-control {
    border-radius: 10px;
    padding: 10px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}

#suggestions {
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.provider-card {
    border-radius: 15px;
    transition: 0.3s;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.provider-card img {
    border: 3px solid #f1f1f1;
}
.custom-dropdown {
    position: absolute;
    width: 100%;
    z-index: 1000;
    border-radius: 10px;
    overflow: hidden;
    max-height: 220px;
    overflow-y: auto;
}

.custom-dropdown li {
    padding: 10px;
    border: none;
    transition: 0.2s;
}

.custom-dropdown li:hover {
    background: #f5f5f5;
    cursor: pointer;
}
.card-header:first-child {
    background: var(--gradient-main);
}
#map {
    margin-top: 10px;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
 .category-card {
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }
        .category-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(78, 115, 223, 0.2) !important;
        }
        .category-icon {
            width: 70px;
            height: 70px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            margin: 0 auto 15px;
        }
        .search-box {
            border: 2px solid #E5E7EB;
            border-radius: 12px;
            padding: 12px 16px;
            transition: all 0.3s ease;
        }
        .search-box:focus {
            outline: none;
            border-color: #4e73df;
            box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.1);
        }
        .filter-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }
        .filter-badge.active {
            background-color: #4e73df;
            color: white;
        }
        .filter-badge.inactive {
            background-color: #F3F4F6;
            color: #6B7280;
        }
        .provider-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4e73df, #1cc88a);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        .rating-stars {
            color: #FDB022;
        }
        .subcategory-link {
            color: #6B7280;
            text-decoration: none;
            padding: 8px 0;
            display: block;
            transition: all 0.2s ease;
        }
        .subcategory-link:hover {
            color: #4e73df;
            padding-left: 8px;
        }
        .category-card {
    border-radius: 16px;
    overflow: hidden;
    /* min-height: 420px;  */
    transition: 0.3s;
}

.card.category-card.w-100 {
    border: 2px solid #1cc88a;
}
.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
/* Header */
.category-header {
    padding: 10px;
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: auto;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    color: #fff;
    font-size: 22px;
}

/* Description limit */
.description {
    min-height: 40px;
    max-height: 40px;
    overflow: hidden;
}

/* Sections */
.section-box {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}

/* Subcategory links */
.subcategory-link {
    display: block;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    margin-bottom: 4px;
}

.subcategory-link:hover {
    color: #4e73df;
}

/* Providers */
.provider-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.provider-avatar {
    width: 30px;
    height: 30px;
    background: #4e73df;
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination {
    gap: 8px;
}

.page-link {
    border-radius: 10px !important;
    border: none;
    padding: 10px 16px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    color: #fff;
}

.page-link:hover {
    background: #f1f1f1;
}
.footer-pill-links .pill {
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s;
}

.footer-pill-links .pill:hover {
  background: #C17A3A;
  color: #fff;
}
    .service-card {
    cursor: pointer;
}

.service-box {
    transition: 0.3s ease;
    border: 2px solid #eee;
}

.service-card input:checked + .service-box {
    border-color: #0d6efd;
    background: #eef4ff;
    transform: scale(1.03);
}

.service-box:hover {
    border-color: #0d6efd;
}
    .service-card {
    cursor: pointer;
}
#suggestionsBox,
#locationSuggestions {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
