/* =========================================
   Local Service Marketplace - Main Stylesheet
   Easy editable structure
   Author-ready reusable CSS
========================================= */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --secondary: #198754;
  --accent: #fd7e14;
  --danger: #dc3545;
  --dark: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: all 0.25s ease;
  --max-width: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--text);
  background: #f5f7fb;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

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


.ad-slot {
  min-height: 90px;
  background: #f8f9fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo {
    background: transparent !important;
}


.container-custom {
  width: min(100% - 24px, var(--max-width));
  margin-inline: auto;
}

.section-padding {
  padding: 80px 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 42px;
}

.section-kicker {
  display: inline-block;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--dark);
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

/* =========================
   Utility
========================= */
.bg-white {
  background: var(--white);
}

.bg-primary-soft {
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted);
}

.shadow-card {
  box-shadow: var(--shadow-sm);
}

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

.btn-main,
.btn-outline-main,
.btn-accent,
.btn-dark-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-main:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-main {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-main:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-accent:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.btn-dark-soft {
  background: #e2e8f0;
  color: var(--dark);
}

.btn-dark-soft:hover {
  background: #cbd5e1;
}

/* =========================
   Topbar + Navbar
========================= */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 14px;
  padding: 10px 0;
}

.topbar .topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-info,
.topbar-action {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

.brand-text h5 {
  margin: 0;
  font-size: 20px;
  color: var(--dark);
  font-weight: 700;
}

.brand-text span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 50px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  border: 0;
  background: #eff6ff;
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 20px;
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 14px 0 18px;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at top right, rgba(13,110,253,0.12), transparent 28%),
    radial-gradient(circle at left bottom, rgba(25,135,84,0.10), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #e8f1ff;
  color: var(--primary);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(25px, 4.5vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 18px;
}

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

.hero-text {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta-item h4 {
  margin: 0;
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
}

.hero-meta-item span {
  font-size: 14px;
  color: var(--muted);
}

.hero-card {
  background: var(--white);
  padding: 22px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid #eef2f7;
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hero-search-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.hero-search-box .form-control,
.hero-search-box .form-select {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.hero-list-item {
  padding: 14px 16px;
  border-radius: 14px;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-list-item .service-name {
  font-weight: 600;
  color: var(--dark);
}

.hero-list-item .service-tag {
  font-size: 12px;
  background: #e2e8f0;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text);
}

/* =========================
   Service slider/cards
========================= */
.service-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.service-scroll::-webkit-scrollbar {
  height: 8px;
}

.service-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 20px;
}

.service-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  min-height: 200px;
}

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

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 18px;
}

.service-card h4 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* =========================
   Why choose us / feature blocks
========================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-box {
  background: var(--white);
  padding: 26px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box .icon-wrap {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 22px;
  margin-bottom: 16px;
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);
}

.feature-box h5 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--dark);
}

.feature-box p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* =========================
   Profile card
========================= */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.profile-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.profile-cover {
  height: 170px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  position: relative;
}

.profile-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 999px;
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  position: absolute;
  left: 18px;
  bottom: -44px;
  background: #fff;
}

.profile-body {
  padding: 56px 18px 20px;
}

.profile-name {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--dark);
  font-weight: 700;
}

.profile-role {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.profile-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.rating-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.rating-stars {
  color: #f59e0b;
  font-size: 14px;
}

.profile-actions {
  display: flex;
  gap: 10px;
}

/* =========================
   CTA Section
========================= */
.cta-box {
  background: linear-gradient(135deg, #0d6efd, #2563eb);
  color: var(--white);
  border-radius: 28px;
  padding: 42px 32px;
  box-shadow: var(--shadow-md);
}

.cta-box h3 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
}

.cta-box p {
  max-width: 760px;
  opacity: 0.92;
  margin-bottom: 22px;
}

/* =========================
   Page Header
========================= */
.page-header {
  padding: 30px 0;
  background: linear-gradient(180deg, #eef5ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--dark);
}

.page-header p {
  
  color: var(--muted);
  margin: 0;
}

/* =========================
   Forms
========================= */
.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-title {
  margin: 0 0 10px;
  color: var(--dark);
  font-weight: 700;
}

.form-subtitle {
  color: var(--muted);
  margin-bottom: 24px;
}

.form-label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control,
.form-select,
textarea.form-control {
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: none !important;
  padding-inline: 14px;
}

textarea.form-control {
  min-height: 140px;
  padding-top: 12px;
}

.form-control:focus,
.form-select:focus {
  border-color: #93c5fd;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.input-group-text {
  border-radius: 12px 0 0 12px;
}

.form-section-title {
  margin-bottom: 14px;
  font-size: 18px;
  color: var(--dark);
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

/* =========================
   Search page
========================= */
.search-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.filter-card,
.result-card {
  background: var(--white);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.result-list {
  display: grid;
  gap: 18px;
}

.search-profile {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 16px;
  transition: var(--transition);
}

.search-profile:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-sm);
}

.search-profile-img {
  width: 110px;
  height: 110px;
  border-radius: 18px;
  object-fit: cover;
}

.search-profile h5 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--dark);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.profile-tag {
  font-size: 12px;
  background: #eef2ff;
  color: #3730a3;
  padding: 6px 10px;
  border-radius: 999px;
}

/* =========================
   Dashboard
========================= */
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.dashboard-sidebar,
.dashboard-panel,
.stat-card,
.quick-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.dashboard-sidebar {
  padding: 20px;
  height: fit-content;
}

.owner-card {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 16px;
}

.owner-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 8px;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
  background: #eff6ff;
  color: var(--primary);
}

.dashboard-main {
  display: grid;
  gap: 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 20px;
}

.stat-card h6 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.stat-card h3 {
  margin: 0;
  font-size: 28px;
  color: var(--dark);
}

.dashboard-panel {
  padding: 22px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-card {
  padding: 22px;
}

.quick-card h5 {
  margin: 0 0 10px;
  color: var(--dark);
}

.quick-card p {
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   FAQ
========================= */
.faq-wrapper .accordion-item {
  border: 1px solid var(--border);
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 14px;
}

.faq-wrapper .accordion-button {
  font-weight: 700;
  color: var(--dark);
  box-shadow: none !important;
}

.faq-wrapper .accordion-button:not(.collapsed) {
  background: #eff6ff;
  color: var(--primary);
}

/* =========================
   Footer
========================= */
.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding-top: 70px;
}

.footer-brand h4 {
  margin: 0 0 12px;
  color: var(--white);
  font-weight: 700;
}

.footer p,
.footer li,
.footer a {
  color: #cbd5e1;
  font-size: 15px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--white);
  font-weight: 700;
}

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

.footer-links a:hover {
  color: #93c5fd;
}

.footer-bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.15);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 14px;
}



/*custom edits */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  padding: 14px;
  border-radius: 12px;

  background: #ffffff;
  border: 1px solid #e5e7eb;

  font-weight: 500;
  font-size: 14px;
  color: #111827;

  transition: all 0.2s ease;
}

.service-grid-item i {
  font-size: 20px;
  color: #0d6efd;
}

.service-grid-item:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}



/* =========================
   Responsive
========================= */
@media (max-width: 1199px) {
  .feature-grid,
  .profile-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
    .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .nav-links,
  .nav-actions .desktop-only {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .search-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .service-scroll {
    grid-auto-columns: minmax(240px, 1fr);
  }
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  .section-padding {
    padding: 20px 0;
  }
.desktop-only {
    display: none;
  }
  .feature-grid,
  .profile-grid,
  .stats-grid,
  .quick-actions {
    grid-template-columns: repeat(2,1fr);
  }

  .search-profile {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 17px 0 17px;
  }

  .hero-title {
      font-size: 26px;
    line-height: 1.3;
  }

.hero-text {
    font-size: 14px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 13px;
  }

  .btn-main,
  .btn-outline-main {
    font-size: 14px;
    padding: 10px 14px;
    min-height: 42px;
  }

  .service-grid-item {
    font-size: 13px;
    padding: 10px;
  }

  .page-header {
    padding: 17px 0;
  }

  .topbar .topbar-inner {
    justify-content: center;
  }
    .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
    .brand-text h5 {
    font-size: 16px;
  }

  .brand-text span {
    font-size: 10px;
  }

  .mobile-menu a {
    font-size: 14px;
  }
}