/* BizUP Directory Main Stylesheet */
:root {
  --primary: #f62b49;
  --primary-hover: #e01e3d;
  --dark: #2e384d;
  --text: #4a5568;
  --text-muted: #6e829f;
  --bg: #f8f9fa;
  --border: #ebf1fa;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 15px 35px rgba(246, 43, 73, 0.08);
  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-inter);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-outfit);
  color: var(--dark);
  font-weight: 700;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Navbar styling */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-outfit);
  color: var(--dark);
}

.logo i {
  background: linear-gradient(135deg, #ffcc00, #ff5e36, #f62b49);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.8rem;
}

.logo span {
  color: var(--primary);
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  transition: color 0.2s;
}

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

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

.btn-signin {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-signin:hover {
  color: var(--primary);
}

.btn-add {
  background-color: var(--primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(246, 43, 73, 0.2);
  transition: background 0.2s, transform 0.2s;
}

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

/* Page Header Banner */
.page-head {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-head-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-head-breadcrumbs {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-head-breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.page-head-breadcrumbs a:hover {
  color: var(--primary);
}

/* Hero Slider Section */
.hero-slider-section {
  position: relative;
  height: 620px;
  /* Taller slider */
  width: 100%;
  overflow: hidden;
  background-color: #0f172a;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  /* No dark filter to prevent blurriness and keep original crisp colors */
}

/* Side navigation buttons */
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  outline: none;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(246, 43, 73, 0.4);
}

.hero-slider-prev {
  left: 24px;
}

.hero-slider-next {
  right: 24px;
}

/* Dots navigation */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #ffffff;
  transform: scale(1.2);
  border-color: var(--primary);
}

/* Search Box Below Slider - Premium White Background */
.hero-search-section {
  background: #ffffff;
  padding: 60px 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  z-index: 5;
}

.hero-search-content {
  max-width: 1050px;
  /* Slightly wider layout as requested */
  margin: 0 auto;
}

.hero-search-content .hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  /* Dark text color */
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-search-content .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text);
  /* Muted slate text color */
  margin-bottom: 35px;
  font-weight: 400;
}

.hero-search-section .search-console {
  border: 1px solid #cbd5e1;
  /* Clearly visible rounded border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero-search-section .badge-tag {
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--dark);
}

.hero-search-section .badge-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Custom Select Dropdown UI */
.custom-select {
  position: relative;
  width: 100%;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

.select-trigger i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.custom-select.active .select-trigger i {
  transform: rotate(180deg);
}

.select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  margin-top: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
}

.custom-select.active .select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-option {
  padding: 12px 20px;
  font-size: 0.95rem;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.select-option:hover {
  background-color: #f1f5f9;
  color: var(--primary);
}

.select-option.selected {
  background-color: var(--primary);
  color: #ffffff;
}

/* Search Console */
.search-console {
  background: #ffffff;
  border-radius: 50px;
  padding: 0 0 0 8px;
  /* Flat end padding, button occupies the rest */
  display: flex;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
  height: 70px;
  /* Consistent height for alignment */
  width: 100%;
  border: 1px solid #cbd5e1;
  /* Clearly visible rounded border */
  overflow: hidden;
  /* Clips children to the rounded borders */
}

.search-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
}

.search-console .search-group:nth-child(3) {
  flex: 1.35;
  /* Give category select extra horizontal room */
}

.select-trigger span {
  white-space: nowrap;
  /* Prevent Choose Categories text wrapping */
}

.search-group:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  height: 30px;
  width: 1px;
  background-color: var(--border);
}

.search-group i {
  color: var(--text-muted);
  margin-right: 12px;
  font-size: 1.1rem;
}

.search-group input,
.search-group select {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: var(--dark);
  font-family: inherit;
  background: transparent;
}

.search-group select {
  cursor: pointer;
}

.btn-search {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  outline: none;
  height: 100%;
  /* Spans full height of console */
  padding: 0 40px;
  border-radius: 0 50px 50px 0;
  /* Aligned and rounded with search bar end */
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-search:hover {
  background-color: var(--primary-hover);
}

/* Quick Badges */
.quick-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-tag {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.badge-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* Section Headings */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
}

/* Trending Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 18px;
  color: #ffffff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.category-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}

.category-card:hover .category-card-bg {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0.05) 100%);
  z-index: 2;
}

.category-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 3;
}

.category-card-info {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.category-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.category-btn {
  background: rgba(255, 255, 255, 0.2);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.75rem;
  transition: background 0.2s, transform 0.2s;
}

.category-card:hover .category-btn {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(45deg);
}

/* Carousel Slider Wrapper & Left/Right Arrows */
.slider-container-relative {
  position: relative;
  width: 100%;
}

.slider-scroll-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 24px 8px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.slider-scroll-track::-webkit-scrollbar {
  display: none;
}

.slider-scroll-track .category-card {
  min-width: 210px;
  width: 210px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-scroll-track .listing-card-wrapper {
  min-width: 330px;
  width: 330px;
  flex-shrink: 0;
}

.slider-scroll-track .category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(246, 43, 73, 0.12);
}

.slider-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.slider-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: scale(1.08);
}

/* Listings Grid & Cards */
.listings-grid,
.listings-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Custom keyframe animations for premium cards */
@keyframes floatHeaderText {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* 10px float vertical displacement */
  }
  100% {
    transform: translateY(0);
  }
}

.section-head-text {
  text-align: left;
  animation: floatHeaderText 3s ease-in-out infinite; /* Sped up and synced with cards */
}

@keyframes floatCard {
  0% {
    transform: translateY(0) rotate(0deg);
    box-shadow: var(--shadow);
  }

  50% {
    transform: translateY(-8px) rotate(0.6deg);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
  }

  100% {
    transform: translateY(0) rotate(0deg);
    box-shadow: var(--shadow);
  }
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

/* Card wrapper to handle the idle animation and pause state independently */
.listing-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: floatCard 3s ease-in-out infinite; /* Sped up as requested */
}

/* Stagger animation of adjacent cards to make the movement organic */
.listing-card-wrapper:nth-child(2n) {
  animation-delay: -0.75s;
}

.listing-card-wrapper:nth-child(3n) {
  animation-delay: -1.5s;
}

.listing-card-wrapper:nth-child(4n) {
  animation-delay: -2.25s;
}

/* Pause floating animation when the user interacts with the card */
.listing-card-wrapper:hover {
  animation-play-state: paused;
}

.listing-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Shine overlay effect container */
.listing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  z-index: 3;
  pointer-events: none;
  transition: none;
}

/* Hover behaviors triggered via the wrapper hover */
.listing-card-wrapper:hover .listing-card {
  transform: translateY(-14px) scale(1.03);
  box-shadow: 0 22px 44px rgba(246, 43, 73, 0.15);
  border-color: rgba(246, 43, 73, 0.25);
}

.listing-card-wrapper:hover .listing-card::before {
  animation: shine 0.75s ease-in-out;
}

.listing-banner {
  position: relative;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

/* Separate background div to zoom image without affecting other elements */
.listing-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.listing-card-wrapper:hover .listing-banner-bg {
  transform: scale(1.1);
}

.listing-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.badge-open {
  background-color: #10b981;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-closed {
  background-color: #3b82f6;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-feat {
  background-color: var(--primary);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-like {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 4;
  /* Higher than the stretched link */
}

.btn-like:hover {
  background: #ffffff;
  color: var(--primary);
  transform: scale(1.1);
}

.listing-avatar {
  position: absolute;
  top: 160px;
  /* Positioned relative to listing-card (180px banner height minus 20px offset) to prevent clipping */
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  background-color: #f1f5f9;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.listing-card-wrapper:hover .listing-avatar {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(246, 43, 73, 0.4);
}

/* Stretched Link to make whole card clickable */
.listing-title a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  /* covers the listing-card */
}

/* Explore Arrow hover effect */
.listing-card .listing-footer a i {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.listing-card-wrapper:hover .listing-footer a i {
  transform: translateX(4px);
}

.listing-body {
  padding: 24px;
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.listing-cat {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.listing-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
}

.listing-title a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.listing-title i {
  color: #10b981;
  font-size: 1rem;
}

.listing-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.listing-meta div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.listing-meta i {
  width: 14px;
}

.listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.listing-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-badge {
  background-color: #10b981;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.rating-stars {
  color: #ffcc00;
  font-size: 0.8rem;
}

.listing-price-level {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Layout structure for Listings Search Page */
.layout-wrapper {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
}

.sidebar {
  width: 320px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-title i {
  color: var(--primary);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.filter-input-wrap {
  position: relative;
}

.filter-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-input-wrap input,
.filter-input-wrap select {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  color: var(--dark);
}

.filter-input-wrap select {
  appearance: none;
  cursor: pointer;
}

.btn-filter {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
  margin-bottom: 10px;
}

.btn-filter:hover {
  background-color: var(--primary-hover);
}

.btn-reset {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.btn-reset:hover {
  background: #f8fafc;
  color: var(--dark);
}

.content-area {
  flex: 1;
}

.results-bar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.results-count {
  font-size: 0.95rem;
  font-weight: 600;
}

.results-count span {
  color: var(--primary);
}

/* About Page specific CSS */
.about-hero {
  padding: 85px 0;
  background: #ffffff;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-hero-badge {
  display: inline-block;
  background: rgba(246, 43, 73, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.about-hero-title {
  font-size: 2.6rem;
  line-height: 1.25;
  margin-bottom: 24px;
  font-weight: 800;
}

.about-hero-title span {
  background: linear-gradient(135deg, var(--primary), #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero-p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-hero-image-wrapper {
  position: relative;
}

.about-hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.stats-section {
  background: #1e293b;
  color: #ffffff;
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card h3 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 800;
}

.stat-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.mv-section {
  padding: 85px 0;
  background: var(--bg);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mv-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(246, 43, 73, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.mv-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.mv-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.values-section {
  padding: 85px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.section-subtitle-badge {
  display: inline-block;
  background: rgba(246, 43, 73, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.values-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.value-card {
  text-align: center;
  padding: 10px;
}

.value-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s;
}

.value-card:hover .value-icon-wrapper {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-section {
  padding: 85px 0;
  background: var(--bg);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--border);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-block {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-block::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: #ffffff;
  border: 4px solid var(--primary);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.left-block {
  left: 0;
}

.right-block {
  left: 50%;
}

.right-block::after {
  left: -8px;
}

.timeline-content {
  padding: 24px 30px;
  background-color: #ffffff;
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.timeline-year {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-family: var(--font-outfit);
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Privacy Policy Page specific CSS */
.policy-content-wrapper {
  padding: 85px 0;
  background: #ffffff;
}

.policy-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
}

.policy-rich-text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
}

.policy-rich-text h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 800;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.policy-rich-text h3 {
  font-size: 1.3rem;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 700;
}

.policy-rich-text p {
  margin-bottom: 20px;
}

.policy-rich-text ul {
  margin-bottom: 20px;
  margin-left: 20px;
  list-style-type: square;
}

.policy-rich-text li {
  margin-bottom: 10px;
}

.policy-quicknav-card {
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.policy-quicknav-card h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.policy-quicknav-links {
  list-style: none;
  padding: 0;
}

.policy-quicknav-item {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.policy-quicknav-item a {
  color: var(--text-muted);
  transition: color 0.2s, padding-left 0.2s;
  font-weight: 500;
  display: inline-block;
}

.policy-quicknav-item a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* Listing Detail Page specific CSS */
.immersive-banner-slider-section {
  position: relative;
  height: 480px;
  width: 100%;
  overflow: hidden;
  background-color: #0f172a;
}

.immersive-banner-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
}

.immersive-banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.immersive-banner-slide.active {
  opacity: 1;
  z-index: 2;
}

.immersive-banner-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: transparent; /* Keep it bright and clear as requested! */
}

/* Side navigation buttons for detail slider */
.detail-slider-prev, .detail-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  outline: none;
}

.detail-slider-prev:hover, .detail-slider-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(246, 43, 73, 0.4);
}

.detail-slider-prev {
  left: 24px;
}

.detail-slider-next {
  right: 24px;
}

/* Dots navigation */
.detail-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.detail-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.detail-slider-dot.active {
  background: #ffffff;
  transform: scale(1.2);
  border-color: var(--primary);
}

.floating-summary-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin-top: -120px;
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 50px rgba(15, 23, 42, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.summary-left {
  display: flex;
  gap: 30px;
  align-items: center;
}

.summary-avatar {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  border: 5px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  background-color: #f1f5f9;
  flex-shrink: 0;
}

.summary-avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  border: 5px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background-color: var(--dark);
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-info h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.summary-info h1 i {
  color: #10b981;
  font-size: 2rem;
}

.summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.meta-tag {
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-tag.status-open {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.meta-tag.status-closed {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.summary-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.action-row {
  display: flex;
  gap: 10px;
}

.btn-action-outline {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-action-outline:hover {
  border-color: var(--dark);
  background-color: var(--bg);
}

.social-circle-row {
  display: flex;
  gap: 8px;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.social-circle:hover {
  color: #ffffff;
  border-color: transparent;
}

.social-circle.facebook:hover {
  background-color: #1877f2;
}

.social-circle.instagram:hover {
  background-color: #e1306c;
}

.social-circle.youtube:hover {
  background-color: #ff0000;
}

.social-circle.linkedin:hover {
  background-color: #0a66c2;
}

.social-circle.google:hover {
  background-color: #4285f4;
}

.detail-layout-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr;
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 100px;
}

.spacious-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.spacious-card-title {
  font-size: 1.6rem;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-family: var(--font-outfit);
}

.spacious-card-title i {
  color: var(--primary);
}

.readable-desc {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.9;
}

.cat-specific-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 30px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-specific-title i {
  color: var(--primary);
}

.specs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.specs-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.specs-stat-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s;
}

.specs-stat-box:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
}

.specs-stat-box i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.specs-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.specs-stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  font-family: var(--font-outfit);
}

.specs-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 6px;
  transition: all 0.2s;
}

.specs-badge-pill.active {
  background: rgba(246, 43, 73, 0.06);
  color: var(--primary);
  border-color: rgba(246, 43, 73, 0.12);
}

.specs-badge-pill i {
  color: var(--primary);
}

.specs-diet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid;
}

.specs-diet-badge.veg {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.specs-diet-badge.nonveg {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.specs-diet-badge.both {
  background-color: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.specs-pricing-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.specs-price-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  position: relative;
  overflow: hidden;
}

.specs-price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #10b981;
}

.specs-price-card.nonveg::before {
  background: #ef4444;
}

.specs-price-label {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.specs-price-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  font-family: var(--font-outfit);
}

.specs-price-value span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

.specs-alert-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.specs-alert-box.closed {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.specs-text-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
}

.specs-text-card strong {
  display: block;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.specs-text-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

.immersive-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.immersive-gallery-item {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  cursor: pointer;
}

.immersive-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.immersive-gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.immersive-gallery-item:hover img {
  transform: scale(1.06);
}

.immersive-gallery-item:hover::after {
  opacity: 1;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.sidebar-widget-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-family: var(--font-outfit);
}

.sidebar-widget-title i {
  color: var(--primary);
}

.sidebar-btn {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-btn.whatsapp-btn {
  background-color: #25d366;
  color: #ffffff;
  border: none;
}

.sidebar-btn.whatsapp-btn:hover {
  background-color: #20ba5a;
}

.sidebar-btn.email-btn {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
}

.sidebar-btn.email-btn:hover {
  background-color: var(--primary-hover);
}

.sidebar-btn.web-btn {
  background-color: #0f172a;
  color: #ffffff;
  border: none;
}

.sidebar-btn.web-btn:hover {
  background-color: #1e293b;
}

.sidebar-owner-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.sidebar-owner-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  font-family: var(--font-outfit);
}

.sidebar-owner-details h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.sidebar-owner-details span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sidebar-hours-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.sidebar-hours-item:last-child {
  border: none;
}

.sidebar-hours-item.active {
  color: #10b981;
  font-weight: 700;
}

.sidebar-amenity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
}

.sidebar-amenity-row i.active {
  color: #10b981;
  font-size: 1.15rem;
}

.sidebar-amenity-row i.inactive {
  color: var(--text-muted);
  font-size: 1.15rem;
}

.sidebar-map-frame iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 16px;
  margin-bottom: 15px;
}

/* Footer styling */
footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-about {
  max-width: 320px;
}

.footer-about p {
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.footer-socials a:hover {
  background: var(--primary);
  color: #ffffff;
}

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

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 0.92rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

/* Responsive & Mobile-Friendly Styling */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  padding: 5px;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu-wrapper {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 100;
  }

  .nav-menu-wrapper.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-link {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-signin,
  .btn-add {
    justify-content: center;
    width: 100%;
  }

  .layout-wrapper {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: relative;
    top: 0;
    margin-bottom: 30px;
  }

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

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

  .search-console {
    flex-direction: column;
    border-radius: 20px;
    padding: 15px;
    height: auto;
    /* Override fixed desktop height */
  }

  .search-group {
    width: 100%;
    padding: 12px 0;
  }

  .search-group::after {
    display: none !important;
  }

  .btn-search {
    width: 100%;
    border-radius: 30px;
    height: 50px;
    justify-content: center;
    margin-top: 10px;
  }

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

  .detail-layout-grid {
    grid-template-columns: 1fr;
  }

  .floating-summary-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .summary-right {
    align-items: flex-start;
    width: 100%;
    margin-top: 15px;
  }

  .summary-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Responsive Mobile Typography Scaling */
  h1,
  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
  }

  h2,
  .section-title,
  .about-hero-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }

  h3,
  .spacious-card-title,
  .sidebar-widget-title {
    font-size: 1.25rem !important;
  }

  .page-head-title {
    font-size: 1.75rem !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  .section {
    padding: 35px 0 !important;
  }

  /* Grid Stackings */
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .categories-grid,
  .listings-grid,
  .listings-list {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .values-grid,
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .immersive-gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .specs-grid-3,
  .specs-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .slider-scroll-track .listing-card {
    min-width: 270px;
    width: 270px;
  }

  .slider-scroll-track .category-card {
    min-width: 180px;
    width: 180px;
  }

  .slider-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
}