/*==================================================
CITY V2
Rents In Nepal
==================================================*/

:root {
  --primary: #2f6b3d;
  --primary-dark: #245530;

  --dark: #111827;
  --text: #374151;
  --muted: #6b7280;

  --border: #e5e7eb;

  --bg: #ffffff;
  --bg-light: #f8fafc;

  --radius: 18px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);

  --shadow: 0 15px 40px rgba(15, 23, 42, 0.08);

  --shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.12);
}

/*==================================================
RESET
==================================================*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, sans-serif;

  color: var(--text);

  background: #fff;

  line-height: 1.7;
}

img {
  max-width: 100%;

  display: block;
}

a {
  text-decoration: none;

  color: inherit;
}

.container {
  width: min(1180px, 92%);

  margin: auto;
}

/*==================================================
TYPOGRAPHY
==================================================*/

h1,
h2,
h3,
h4 {
  color: var(--dark);

  line-height: 1.2;

  font-weight: 700;
}

p {
  color: var(--muted);
}

/*==================================================
BUTTONS
==================================================*/

.btn-primary,
.btn-outline {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 15px 28px;

  border-radius: 999px;

  font-weight: 600;

  transition: 0.3s;
}

.btn-primary {
  background: var(--primary);

  color: #fff;
}

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

  transform: translateY(-3px);

  box-shadow: var(--shadow);
}

.btn-outline {
  border: 1px solid var(--border);

  background: #fff;

  color: var(--dark);
}

.btn-outline:hover {
  background: var(--bg-light);

  transform: translateY(-3px);
}

/*==================================================
HERO
==================================================*/

.city-v2-hero {
  padding: 90px 0 70px;

  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.08),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(59, 130, 246, 0.05),
      transparent 35%
    ),
    #fff;
}

.hero-content {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 60px;

  align-items: center;
}

.city-label {
  display: inline-block;

  padding: 8px 16px;

  background: #eff6ff;

  color: var(--primary);

  border-radius: 999px;

  font-size: 14px;

  font-weight: 600;

  margin-bottom: 24px;
}

.hero-left h1 {
  font-size: 58px;

  line-height: 1.05;

  margin-bottom: 24px;
}

.hero-left h1 span {
  color: var(--primary);
}

.hero-left p {
  font-size: 19px;

  max-width: 640px;

  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;
}

/*==================================================
BREADCRUMB
==================================================*/

.breadcrumb {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 50px;

  font-size: 14px;
}

.breadcrumb a {
  color: var(--muted);

  transition: 0.2s;
}

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

.breadcrumb .active {
  color: var(--dark);

  font-weight: 600;
}

/*==================================================
STATISTICS
==================================================*/

.stats-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 22px;
}

.stat-card {
  background: #fff;

  border: 1px solid var(--border);

  border-radius: 22px;

  padding: 32px;

  text-align: center;

  box-shadow: var(--shadow-sm);

  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow);
}

.stat-card h2 {
  font-size: 44px;

  color: var(--primary);

  margin-bottom: 10px;
}

.stat-card p {
  font-size: 15px;

  color: var(--muted);
}

/*==================================================
SECTION SPACING
==================================================*/

section {
  position: relative;
}

.section-title {
  font-size: 42px;

  margin-bottom: 20px;
}

.section-description {
  max-width: 700px;

  margin-bottom: 40px;
}

/*==================================================
SCROLLBAR
==================================================*/

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;

  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/*==================================================
SEARCH
==================================================*/

.city-search {
  background: #fff;
  padding: 35px 0;
  position: relative;
  z-index: 20;
}

.search-wrapper {
  max-width: 760px;
  margin: auto;

  display: flex;
  align-items: center;
  gap: 15px;

  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 16px;

  padding: 18px 24px;

  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.06);

  transition: 0.3s;
}

.search-wrapper:hover {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.search-wrapper:focus-within {
  border-color: #2f6b3d;

  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.search-icon {
  width: 22px;

  height: 22px;

  stroke: #64748b;

  stroke-width: 2;

  fill: none;

  flex-shrink: 0;
}

.search-wrapper input {
  width: 100%;

  border: none;

  outline: none;

  background: none;

  font-size: 16px;

  color: #111827;
}

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

/*==================================================
CATEGORY NAVIGATION
==================================================*/

.category-navigation {
  position: sticky;

  top: 72px;

  z-index: 80;

  background: #ffffffee;

  backdrop-filter: blur(18px);

  border-top: 1px solid #edf2f7;

  border-bottom: 1px solid #edf2f7;

  padding: 18px 0;
}

.category-scroll {
  display: flex;

  gap: 14px;

  overflow-x: auto;

  scrollbar-width: none;

  -ms-overflow-style: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  white-space: nowrap;

  padding: 12px 22px;

  border-radius: 999px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  color: #374151;

  font-weight: 600;

  text-decoration: none;

  transition: 0.25s;
}

.category-pill:hover {
  background: #2f6b3d;

  color: #fff;

  border-color: #2f6b3d;

  transform: translateY(-2px);
}

.category-pill.active {
  background: #2f6b3d;

  color: #fff;

  border-color: #2f6b3d;
}

.category-pill .icon {
  font-size: 18px;
}

/*==================================================
DIRECTORY SECTION
==================================================*/

.city-directory {
  padding: 70px 0;

  background: #fafafa;
}

.directory-category {
  margin-bottom: 70px;
}

.directory-category:last-child {
  margin-bottom: 0;
}

/*==================================================
CATEGORY HEADER
==================================================*/

.category-header {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  gap: 30px;

  margin-bottom: 35px;
}

.category-title-wrapper {
  display: flex;

  gap: 22px;

  align-items: flex-start;
}

.category-icon {
  width: 72px;

  height: 72px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 20px;

  background: #eff6ff;

  color: #2f6b3d;

  font-size: 32px;

  flex-shrink: 0;
}

.category-title-wrapper h2 {
  font-size: 34px;

  margin-bottom: 10px;

  color: #111827;
}

.category-title-wrapper p {
  color: #6b7280;

  line-height: 1.8;

  max-width: 700px;
}

.category-count {
  min-width: 120px;

  text-align: center;

  padding: 18px;

  border-radius: 18px;

  background: #fff;

  border: 1px solid #e5e7eb;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);

  font-size: 32px;

  font-weight: 700;

  color: #2f6b3d;
}

.category-count span {
  display: block;

  margin-top: 8px;

  font-size: 14px;

  color: #6b7280;

  font-weight: 500;
}

/*==================================================
PROVIDER GRID
==================================================*/

.provider-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));

  gap: 28px;

  align-items: stretch;
}

.provider-grid > * {
  min-width: 0;
}

/*==================================================
EMPTY STATE
==================================================*/

.empty-state {
  text-align: center;

  padding: 120px 20px;
}

.empty-state h2 {
  font-size: 34px;

  margin-bottom: 18px;

  color: #111827;
}

.empty-state p {
  color: #6b7280;

  font-size: 18px;

  max-width: 550px;

  margin: auto;
}

/*==================================================
PROVIDER CARD
==================================================*/

.provider-card {
  background: #fff;

  border: 1px solid var(--border);

  border-radius: 24px;

  padding: 28px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  transition: 0.35s ease;

  box-shadow: var(--shadow-sm);

  opacity: 0;

  transform: translateY(30px);
}

.provider-card.visible {
  opacity: 1;

  transform: translateY(0);
}

.provider-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-lg);

  border-color: #dbeafe;
}

/*==================================================
TOP
==================================================*/

.provider-top {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-bottom: 25px;
}

.provider-top h3 {
  font-size: 24px;

  color: var(--dark);

  margin-bottom: 8px;
}

.provider-category {
  display: inline-flex;

  align-items: center;

  padding: 6px 14px;

  background: #eff6ff;

  color: var(--primary);

  border-radius: 999px;

  font-size: 13px;

  font-weight: 600;
}

/*==================================================
INFO
==================================================*/

.provider-info {
  display: flex;

  flex-direction: column;

  gap: 16px;

  margin-bottom: 24px;
}

.info-row {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  color: var(--text);

  line-height: 1.6;
}

.info-icon {
  width: 22px;

  flex-shrink: 0;

  text-align: center;

  font-size: 18px;

  color: var(--primary);
}

.info-row a {
  color: var(--primary);

  word-break: break-word;

  transition: 0.2s;
}

.info-row a:hover {
  color: var(--primary-dark);

  text-decoration: underline;
}

/*==================================================
FEATURE CHIPS
==================================================*/

.provider-features {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 28px;
}

.feature-chip {
  display: inline-flex;

  align-items: center;

  padding: 8px 14px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 600;

  color: #475569;

  transition: 0.25s;
}

.feature-chip:hover {
  background: #eff6ff;

  color: var(--primary);

  border-color: #bfdbfe;
}

/*==================================================
BUTTONS
==================================================*/

.provider-actions {
  margin-top: auto;
}

.btn-visit {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;

  width: 100%;

  padding: 15px 20px;

  border-radius: 14px;

  background: var(--primary);

  color: #fff;

  font-weight: 600;

  transition: 0.3s;
}

.btn-visit svg {
  transition: 0.3s;
}

.btn-visit:hover {
  background: var(--primary-dark);

  box-shadow: var(--shadow);
}

.btn-visit:hover svg {
  transform: translateX(5px);
}

/*==================================================
CARD BADGE
==================================================*/

.provider-card::before {
  content: "Verified";

  position: absolute;

  top: 18px;

  right: 18px;

  padding: 6px 12px;

  background: #dcfce7;

  color: #15803d;

  border-radius: 999px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.4px;
}

.provider-card {
  position: relative;
}

/*==================================================
HOVER EFFECT
==================================================*/

.provider-card::after {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 24px;

  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), transparent 60%);

  opacity: 0;

  transition: 0.35s;

  pointer-events: none;
}

.provider-card:hover::after {
  opacity: 1;
}

/*==================================================
LINK ANIMATION
==================================================*/

.provider-card a {
  transition: 0.25s;
}

.provider-card a:hover {
  opacity: 0.9;
}

/*==================================================
REVEAL ANIMATION
==================================================*/

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(35px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.provider-card.visible {
  animation: fadeUp 0.6s ease forwards;
}

/*==================================================
CATEGORY SPACING
==================================================*/

.directory-category + .directory-category {
  padding-top: 30px;

  border-top: 1px solid #edf2f7;
}

/*==================================================
CTA SECTION
==================================================*/

.city-cta {
  padding: 90px 0;

  background: #fff;
}

.cta-card {
  background: linear-gradient(135deg, #2f6b3d, #245530);

  color: #fff;

  border-radius: 32px;

  padding: 70px;

  overflow: hidden;

  position: relative;

  box-shadow: var(--shadow-lg);
}

.cta-card::before {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  top: -180px;
  right: -120px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);
}

.cta-card::after {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  left: -100px;
  bottom: -100px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.06);
}

.cta-content {
  position: relative;

  z-index: 2;

  max-width: 760px;
}

.cta-badge {
  display: inline-block;

  margin-bottom: 18px;

  padding: 8px 18px;

  background: rgba(255, 255, 255, 0.15);

  border-radius: 999px;

  font-size: 13px;

  font-weight: 600;

  color: #fff;
}

.cta-content h2 {
  color: #fff;

  font-size: 46px;

  margin-bottom: 20px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);

  font-size: 18px;

  margin-bottom: 35px;

  line-height: 1.8;
}

.cta-buttons {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;
}

.city-cta .btn-primary {
  background: #fff;

  color: var(--primary);
}

.city-cta .btn-primary:hover {
  background: #f8fafc;
}

.city-cta .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);

  background: transparent;

  color: #fff;
}

.city-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/*==================================================
UTILITIES
==================================================*/

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

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none !important;
}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-header {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .hero-left h1 {
    font-size: 46px;
  }

  .category-title-wrapper {
    flex-direction: column;
  }

  .category-icon {
    width: 60px;

    height: 60px;

    font-size: 28px;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 50px;
  }

  .cta-content h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .city-v2-hero {
    padding: 70px 0 50px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .search-wrapper {
    padding: 16px 18px;
  }

  .category-navigation {
    top: 65px;
  }

  .category-pill {
    padding: 10px 18px;
  }

  .provider-card {
    padding: 22px;
  }

  .provider-top h3 {
    font-size: 22px;
  }

  .cta-card {
    padding: 35px 28px;

    border-radius: 24px;
  }

  .cta-content h2 {
    font-size: 30px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: 94%;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .hero-left p {
    font-size: 16px;
  }

  .breadcrumb {
    flex-wrap: wrap;
  }

  .category-title-wrapper h2 {
    font-size: 28px;
  }

  .category-count {
    width: 100%;
  }

  .provider-card {
    border-radius: 18px;
  }

  .provider-features {
    gap: 8px;
  }

  .feature-chip {
    font-size: 12px;

    padding: 6px 10px;
  }

  .btn-primary,
  .btn-outline,
  .btn-visit {
    padding: 14px 18px;
  }
}

/*==================================================
PRINT
==================================================*/

@media print {
  .category-navigation,
  .city-search,
  .cta-buttons {
    display: none;
  }

  body {
    background: #fff;
  }

  .provider-card {
    box-shadow: none;

    border: 1px solid #ccc;

    break-inside: avoid;
  }
}

/*==================================================
END
==================================================*/
