/* 
 * Gazole Property Bazaar - Design System & Modern Stylesheet
 * Responsive, Clean, Fast-loading UI for Gazole & Malda Real Estate
 */

:root {
  --primary: #047857; /* Emerald Green */
  --primary-hover: #065f46;
  --primary-light: #ecfdf5;
  --primary-border: #a7f3d0;
  
  --secondary: #0f172a; /* Slate 900 */
  --secondary-light: #1e293b;
  --accent: #d97706; /* Warm Amber */
  --accent-light: #fef3c7;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-card: #e5e7eb;
  
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Notification Bar */
.top-bar {
  background: var(--secondary);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #334155;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  color: #cbd5e1;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), #059669);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(4, 120, 87, 0.3);
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.brand-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: color 0.2s;
  padding: 0.3rem 0;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 4px rgba(4, 120, 87, 0.2);
}

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

.btn-outline {
  border-color: var(--border-light);
  background: white;
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-whatsapp-sm {
  background: var(--whatsapp);
  color: white;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}

.btn-whatsapp-sm:hover {
  background: var(--whatsapp-hover);
}

.btn-whatsapp-lg {
  background: var(--whatsapp);
  color: white;
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.btn-whatsapp-lg:hover {
  background: var(--whatsapp-hover);
}

.btn-call-lg {
  background: var(--secondary);
  color: white;
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.btn-call-lg:hover {
  background: var(--secondary-light);
}

.btn-outline-sm {
  border: 1px solid var(--border-light);
  background: white;
  color: var(--text-main);
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-outline-sm:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.fav-btn-header {
  position: relative;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.fav-btn-header.active {
  background: #fee2e2;
  border-color: #f87171;
  color: #dc2626;
}

.badge-counter {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #0f172a 100%);
  color: white;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-title span {
  color: #34d399;
}

.hero-desc {
  font-size: 1.15rem;
  color: #d1fae5;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Search Bar Box */
.search-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
  margin-top: 1.5rem;
}

.search-input-group {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.search-input-group i {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

.search-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: var(--text-main);
}

.search-filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.filter-item label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  text-align: left;
}

.filter-item select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: white;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}

.filter-item select:focus {
  border-color: var(--primary);
  ring: 2px var(--primary-light);
}

/* Quick Category Filter Bar */
.category-filter-bar {
  background: white;
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-pill:hover {
  background: #e2e8f0;
}

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

/* Main Listings Layout */
.section-listings {
  padding: 3rem 0;
}

.listings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.results-meta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.results-meta p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.view-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sort-select-wrapper select {
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
}

.view-mode-buttons {
  display: inline-flex;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.btn-view-toggle {
  background: white;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--text-muted);
}

.btn-view-toggle.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* Properties Grid & Cards */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.card-image-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: #cbd5e1;
  overflow: hidden;
}

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

.property-card:hover .card-image-box img {
  transform: scale(1.04);
}

.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-featured {
  background: #ea580c;
  color: white;
}

.badge-verified {
  background: #059669;
  color: white;
}

.badge-deal {
  background: #2563eb;
  color: white;
}

.btn-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s;
  z-index: 3;
}

.btn-favorite:hover, .btn-favorite.active {
  color: #e11d48;
  background: white;
  transform: scale(1.1);
}

.card-price-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
  padding: 1.5rem 1rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
}

.price-value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.price-rate {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* Card Body */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: #f8fafc;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  border: 1px solid var(--border-light);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.spec-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #065f46;
  background: #d1fae5;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.seller-brief {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* List View variant */
.properties-list-view {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.properties-list-view .property-card {
  flex-direction: row;
}

.properties-list-view .card-image-box {
  width: 320px;
  height: auto;
  flex-shrink: 0;
}

/* Calculators & Guides Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin: 3.5rem 0;
}

.tool-card {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tool-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.tool-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.tool-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.tool-field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  outline: none;
}

.tool-field input:focus {
  border-color: var(--primary);
}

.emi-display {
  margin-top: 1.25rem;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.emi-display span {
  display: block;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.emi-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-hover);
}

/* Information / Why Gazole Section */
.info-section {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  margin: 3.5rem 0;
}

.info-section h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.info-box {
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.info-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.info-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.modal-open {
  display: flex !important;
}

.modal-dialog {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.25s ease-out;
}

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

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Detail Modal Specifics */
.detail-header-section {
  display: flex;
  flex-direction: column;
}

.detail-image-box {
  position: relative;
  height: 340px;
  background: #1e293b;
}

.detail-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-tag-cluster {
  position: absolute;
  bottom: 12px;
  left: 16px;
  display: flex;
  gap: 0.5rem;
}

.detail-overview {
  padding: 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.detail-price-box {
  margin-bottom: 0.5rem;
}

.main-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.sub-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.detail-loc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.detail-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  background: #f8fafc;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}

.stat-box .label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.stat-box .val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
}

.detail-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.detail-body-tabs {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.detail-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.description-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

.amenities-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #334155;
}

.verification-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.v-item {
  font-size: 0.85rem;
  color: #166534;
}

.seller-card-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.seller-avatar {
  width: 50px;
  height: 50px;
  background: #e2e8f0;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #475569;
}

.seller-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.seller-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.seller-info .direct-contact {
  color: var(--primary);
  margin-top: 0.2rem;
}

/* Post Property Modal */
.modal-form-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-form-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
}

.modal-form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-form-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--secondary);
  color: white;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  animation: toastIn 0.25s ease-out;
}

.toast-success {
  background: #065f46;
  border-left: 4px solid #34d399;
}

.toast-fade-out {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
}

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

/* Footer */
.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-brand h3 {
  font-size: 1.35rem;
  color: white;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand h3 span {
  color: #34d399;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-light);
  max-width: 500px;
  margin: 0 auto;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

/* Responsive queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .detail-stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  .verification-card {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .properties-list-view .property-card {
    flex-direction: column;
  }
  .properties-list-view .card-image-box {
    width: 100%;
    height: 200px;
  }
}

/* =========================================================
 * TOOLS & CALCULATORS SHOWCASE HUB STYLES - ENHANCED
 * ========================================================= */
.tools-hero-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 45%, #f8fafc 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px -10px rgba(4, 120, 87, 0.12);
  margin-bottom: 2.5rem;
}

.tools-hero-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tools-hero-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tools-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
  margin: 2rem 0 3.5rem 0;
}

@media (max-width: 768px) {
  .tools-hero-card {
    padding: 2rem 1.25rem 1.75rem;
  }
  .tools-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.tool-showcase-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  user-select: none;
}

.tool-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px -10px rgba(0, 0, 0, 0.12);
  border-color: #86efac;
}

.tool-showcase-card:hover .btn-open-tool {
  background: #047857;
  color: white;
  box-shadow: 0 4px 14px rgba(4, 120, 87, 0.35);
}

.tool-showcase-card:hover .btn-open-tool .arrow {
  transform: translateX(4px);
}

.tool-showcase-top {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.tool-icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tool-icon-circle.theme-green {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857;
  border-color: #a7f3d0;
}

.tool-icon-circle.theme-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.tool-icon-circle.theme-amber {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #b45309;
  border-color: #fde68a;
}

.tool-icon-circle.theme-orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
  border-color: #fed7aa;
}

.tool-icon-circle.theme-purple {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  color: #7e22ce;
  border-color: #e9d5ff;
}

.tool-icon-circle.theme-teal {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  color: #0f766e;
  border-color: #99f6e4;
}

.tool-icon-circle.theme-indigo {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  color: #4338ca;
  border-color: #c7d2fe;
}

.tool-card-titles {
  flex: 1;
}

.tool-tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.35rem;
}

.tool-tag-pill.tag-green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.tool-tag-pill.tag-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.tool-tag-pill.tag-amber { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.tool-tag-pill.tag-orange { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.tool-tag-pill.tag-purple { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.tool-tag-pill.tag-teal { background: #f0fdfa; color: #0f766e; border: 1px solid #99f6e4; }
.tool-tag-pill.tag-indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }

.tool-card-titles h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.tool-card-titles p {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.tool-showcase-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.15rem;
  flex: 1;
}

.tool-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tool-features-list li {
  font-size: 0.86rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.tool-features-list li::before {
  content: "✓";
  color: #059669;
  font-weight: 800;
  font-size: 0.95rem;
}

.btn-open-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: white;
  border: none;
  font-weight: 750;
  font-size: 0.96rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  transition: all 0.25s ease;
  text-decoration: none;
  margin-top: auto;
  box-shadow: 0 3px 10px rgba(4, 120, 87, 0.2);
}

.btn-open-tool:hover {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(4, 120, 87, 0.35);
}

.btn-open-tool span.arrow {
  transition: transform 0.2s ease;
}

.btn-open-tool:hover span.arrow {
  transform: translateX(4px);
}

/* Quick Tools Navigation Strip */
.tools-quick-nav {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.05);
}

.tools-quick-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.tools-quick-nav-header h3 {
  font-size: 1.05rem;
  font-weight: 750;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tools-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}

.tool-jump-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.tool-jump-pill:hover {
  background: #f0fdf4;
  color: #047857;
  border-color: #a7f3d0;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(4, 120, 87, 0.1);
}

/* Reference Table Container */
.tools-reference-box {
  margin-top: 3.5rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
}

.tools-reference-box h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tools-ref-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
  margin-top: 1.25rem;
}

.tools-ref-table thead tr {
  background: #f8fafc;
  border-bottom: 2px solid #cbd5e1;
}

.tools-ref-table th {
  padding: 0.85rem 1.15rem;
  font-weight: 700;
  color: #1e293b;
}

.tools-ref-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.15s ease;
}

.tools-ref-table tbody tr:hover {
  background: #f0fdf4;
}

.tools-ref-table td {
  padding: 0.85rem 1.15rem;
  color: #334155;
}

/* Free Consultation / Help Banner */
.tools-consult-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #0f766e 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px -5px rgba(6, 95, 70, 0.35);
}

.tools-consult-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.tools-consult-banner h3 {
  font-size: 1.85rem;
  font-weight: 850;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.tools-consult-banner p {
  max-width: 680px;
  margin: 0 auto 1.75rem auto;
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.6;
}

.tools-consult-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-consult-whatsapp {
  background: #25d366;
  color: white;
  font-weight: 800;
  border: none;
  padding: 0.95rem 2rem;
  font-size: 1rem;
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-consult-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

.btn-consult-phone {
  background: white;
  color: #065f46;
  font-weight: 800;
  border: none;
  padding: 0.95rem 2rem;
  font-size: 1rem;
  border-radius: 9999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-consult-phone:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22);
}

/* Standalone Page Header & Breadcrumb */
.standalone-nav-bar {
  background: white;
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  font-size: 0.88rem;
}

.standalone-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-trail a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-trail a:hover {
  text-decoration: underline;
}

.faq-card-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.faq-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.tools-hub-section {
  padding: 4rem 0 2rem 0;
}

.section-badge-center {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--primary-border);
  margin-bottom: 0.75rem;
}

.tools-hub-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

.tools-hub-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.tools-hub-header h2 span {
  color: var(--primary);
}

.tools-hub-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.calc-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background: #f1f5f9;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

.calc-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  padding: 0.7rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-tab-btn:hover {
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.6);
}

.calc-tab-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  border: 1px solid var(--border-card);
}

.calc-tab-panel {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.calc-tab-panel.active {
  display: block;
}

.calc-card-container {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 3rem;
}

.calc-card-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background: #fafaf9;
}

.calc-card-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calc-card-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.calc-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 2rem;
}

@media (max-width: 900px) {
  .calc-grid-layout {
    grid-template-columns: 1fr;
  }
}

.calc-form-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-result-column {
  display: flex;
  flex-direction: column;
}

.calc-result-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.calc-result-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.calc-hero-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-hover);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.calc-hero-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--primary-border);
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

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

.calc-breakdown-value {
  font-weight: 700;
  color: var(--secondary);
}

.calc-note-box {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Shape switcher for Area calculator */
.shape-switcher {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.shape-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.shape-btn.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

/* =========================================================
 * SERVICE DIRECTORY STYLES (স্থানীয় সার্ভিস ডিরেক্টরি) - ENHANCED
 * ========================================================= */
.services-hero-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 45%, #f8fafc 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px -10px rgba(4, 120, 87, 0.12);
  margin-bottom: 2.5rem;
}

.services-hero-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.services-hero-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #bbf7d0;
  color: #047857;
  padding: 0.35rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.08);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDotAnim 2s infinite;
}

@keyframes pulseDotAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.services-hero-title {
  font-size: 2.45rem;
  font-weight: 850;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.gradient-title-accent {
  background: linear-gradient(135deg, #047857 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.services-hero-desc {
  max-width: 820px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
}

.trust-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid #d1fae5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.stats-counter-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(4, 120, 87, 0.15);
}

.stats-counter-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.85rem 0.5rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}

.stats-counter-card:hover {
  transform: translateY(-2px);
  border-color: #a7f3d0;
}

.stats-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: #047857;
  line-height: 1.1;
}

.stats-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Quick Category Shortcut Grid */
.popular-cat-strip {
  margin-bottom: 2rem;
}

.popular-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.popular-cat-header h3 {
  font-size: 1.15rem;
  font-weight: 750;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.popular-cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.75rem;
}

@media (max-width: 1024px) {
  .popular-cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .popular-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

.popular-cat-card,
a.popular-cat-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 125px;
  text-decoration: none;
  color: inherit;
}

.popular-cat-card:hover,
a.popular-cat-card:hover {
  transform: translateY(-3px);
  border-color: #10b981;
  background: #f0fdf4;
  box-shadow: 0 6px 15px -3px rgba(16, 185, 129, 0.15);
}

.popular-cat-card.active,
a.popular-cat-card.active {
  background: #ecfdf5;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.popular-cat-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.popular-cat-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popular-cat-sub {
  font-size: 0.7rem;
  color: #64748b;
}

/* Elevated Search Bar */
.modern-search-wrapper {
  max-width: 760px;
  margin: 0 auto 1.5rem auto;
}

.modern-search-box {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.07);
  transition: all 0.25s ease;
  gap: 0.75rem;
}

.modern-search-box:focus-within {
  border-color: #047857;
  box-shadow: 0 10px 28px -4px rgba(4, 120, 87, 0.2);
  background: #ffffff;
}

.modern-search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.98rem;
  background: transparent;
  color: #1e293b;
}

.modern-search-box input::placeholder {
  color: #94a3b8;
}

.modern-search-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 1.1rem;
  padding: 2px;
  display: none;
}

.modern-search-clear:hover {
  color: #ef4444;
}

/* Category Filter Pills */
.service-filter-pills {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.service-filter-pill {
  padding: 0.55rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  background: white;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-filter-pill:hover {
  background: #f8fafc;
  color: #047857;
  border-color: #a7f3d0;
  transform: translateY(-1px);
}

.service-filter-pill.active {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: white;
  border-color: #047857;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.28);
}

/* Homepage Service Preview Badges */
.service-preview-pill {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 650;
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-preview-pill:hover {
  background: #047857;
  color: #ffffff !important;
  border-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.25);
}

/* Services Grid & Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 768px) {
  .services-hero-card {
    padding: 2rem 1.25rem 1.75rem;
  }
  .services-hero-title {
    font-size: 1.85rem;
  }
  .stats-counter-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.1);
  border-color: #86efac;
}

.service-card-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  border: 1px solid #a7f3d0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.1);
}

.service-icon-box.has-photo {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.service-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-info-meta {
  flex: 1;
}

.service-category-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 750;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.3rem;
}

.service-provider-name {
  font-size: 1.18rem;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.3;
}

.service-business-title {
  font-size: 0.86rem;
  color: #475569;
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.service-rating-exp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #64748b;
}

.service-rating-exp .stars {
  color: #f59e0b;
  font-weight: 700;
}

.service-locality-pin {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.83rem;
  color: #334155;
  margin: 0.75rem 0;
  padding: 0.6rem 0.85rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.service-desc-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.service-specialties-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.specialty-chip {
  font-size: 0.75rem;
  background: #f0fdf4;
  color: #065f46;
  border: 1px solid #bbf7d0;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-weight: 600;
}

.service-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.btn-service-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-service-call:hover {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
  transform: translateY(-1px);
}

.btn-service-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #25d366;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
  text-decoration: none;
}

.btn-service-whatsapp:hover {
  background: #20bd5a;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* How It Works Section */
.how-it-works-box {
  margin-top: 4.5rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}

@media (max-width: 768px) {
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
}

.how-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease;
}

.how-step-card:hover {
  transform: translateY(-3px);
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.how-step-badge {
  width: 44px;
  height: 44px;
  background: #ecfdf5;
  border: 2px solid #10b981;
  color: #047857;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.how-step-card h4 {
  font-size: 1.05rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.how-step-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

/* Premium Registration Banner */
.service-register-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #0f766e 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px -5px rgba(6, 95, 70, 0.35);
}

.service-register-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.service-register-banner h3 {
  font-size: 1.85rem;
  font-weight: 850;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-register-banner p {
  max-width: 680px;
  margin: 0 auto 1.75rem auto;
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.6;
}

.btn-register-cta {
  background: white !important;
  color: #065f46 !important;
  font-weight: 800 !important;
  border: none !important;
  padding: 0.95rem 2.25rem !important;
  font-size: 1.05rem !important;
  border-radius: 9999px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-register-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.22) !important;
  background: #f0fdf4 !important;
}

/* Quick Tool Switcher Strip on Individual Calculator Pages */
.calc-switcher-strip {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.65rem 0;
  position: sticky;
  top: 72px;
  z-index: 90;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.calc-switcher-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 2px 0;
  scrollbar-width: thin;
}

.calc-switcher-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 0.25rem;
}

.tool-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: white;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tool-pill-link:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  color: #0284c7;
}

.tool-pill-link.active {
  background: var(--primary, #059669);
  color: white;
  border-color: var(--primary, #059669);
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}


