/* =============================================
   LandCity Properties — New Design System
   Tailwind CDN + Custom Overrides
   ============================================= */

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }

/* --- Selection --- */
::selection { background: #166534; color: #fff; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
.dark ::-webkit-scrollbar-track { background: #1e293b; }
::-webkit-scrollbar-thumb { background: #166534; border-radius: 3px; }

/* --- Preloader --- */
#preloader {
  position: fixed; inset: 0; background: #fff; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.dark #preloader { background: #020617; }
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.lc-spinner {
  width: 44px; height: 44px;
  border: 3px solid #dcfce7; border-top-color: #166534;
  border-radius: 50%; animation: lcSpin 0.8s linear infinite;
}
.dark .lc-spinner { border-color: #14532d; border-top-color: #4ade80; }
@keyframes lcSpin { to { transform: rotate(360deg); } }

/* --- Navbar --- */
#lc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 0;
}
#lc-nav.transparent { background: transparent; }
#lc-nav.solid {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  backdrop-filter: blur(8px);
}
.dark #lc-nav.solid { background: rgba(2,6,23,0.97); }
#lc-nav.always-solid {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.dark #lc-nav.always-solid { background: rgba(2,6,23,0.97); }

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: #374151;
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
#lc-nav.transparent .nav-link { color: rgba(255,255,255,0.9); }
#lc-nav.transparent .nav-link:hover { color: #fff; }
.dark .nav-link { color: #d1d5db; }
.nav-link:hover, .nav-link.active { color: #166534; }
.dark .nav-link:hover, .dark .nav-link.active { color: #4ade80; }
.dark #lc-nav.transparent .nav-link { color: rgba(255,255,255,0.85); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: #374151;
  transition: color 0.2s; padding: 0; font-family: inherit;
}
#lc-nav.transparent .nav-dropdown-toggle { color: rgba(255,255,255,0.9); }
.dark .nav-dropdown-toggle { color: #d1d5db; }
.nav-dropdown-toggle:hover { color: #166534; }
.dark .nav-dropdown-toggle:hover { color: #4ade80; }
.nav-dropdown-toggle svg { transition: transform 0.25s; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  min-width: 190px; padding: 8px;
  opacity: 0; visibility: hidden;
  transition: all 0.25s ease; z-index: 200;
}
.dark .nav-dropdown-menu { background: #1e293b; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 8px;
  color: #374151; font-size: 13.5px; font-weight: 500;
  text-decoration: none; transition: all 0.15s;
}
.dark .nav-dropdown-menu a { color: #cbd5e1; }
.nav-dropdown-menu a:hover { background: #f0fdf4; color: #166534; }
.dark .nav-dropdown-menu a:hover { background: rgba(22,101,52,0.25); color: #4ade80; }
.nav-dropdown-menu a::before { content:''; width:6px; height:6px; border-radius:50%; background:#166534; opacity:0.4; flex-shrink:0; }
.nav-dropdown-menu a:hover::before { opacity:1; }

/* Mobile nav */
#mobile-menu {
  display: none; position: fixed; inset: 72px 0 0 0; z-index: 999;
  background: rgba(255,255,255,0.98); padding: 24px;
  overflow-y: auto; flex-direction: column; gap: 4px;
}
.dark #mobile-menu { background: rgba(2,6,23,0.98); }
#mobile-menu.open { display: flex; }
.mobile-link {
  display: block; padding: 13px 16px; border-radius: 10px;
  color: #374151; font-size: 15px; font-weight: 500;
  text-decoration: none; transition: all 0.15s;
}
.dark .mobile-link { color: #d1d5db; }
.mobile-link:hover, .mobile-link.active { background: #f0fdf4; color: #166534; }
.dark .mobile-link:hover, .dark .mobile-link.active { background: rgba(22,101,52,0.2); color: #4ade80; }
.mobile-sub { padding-left: 16px; border-left: 2px solid #dcfce7; margin: 4px 0 4px 16px; }
.dark .mobile-sub { border-left-color: #166534; }

/* --- Buttons --- */
.btn-lc {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; border-radius: 8px;
  padding: 11px 24px; text-decoration: none; transition: all 0.3s ease;
  border: none; cursor: pointer; font-family: inherit; white-space: nowrap;
}
.btn-lc-primary { background: #166534; color: #fff; }
.btn-lc-primary:hover { background: #14532d; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(22,101,52,0.3); }
.btn-lc-outline {
  background: transparent; color: #166534;
  border: 2px solid #166534;
}
.btn-lc-outline:hover { background: #166534; color: #fff; }
.dark .btn-lc-outline { color: #4ade80; border-color: #4ade80; }
.dark .btn-lc-outline:hover { background: #4ade80; color: #020617; }
.btn-lc-white { background: #fff; color: #166534; }
.btn-lc-white:hover { background: #f0fdf4; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,0.2); }
.btn-lc-sm { padding: 8px 18px; font-size: 13px; }
.btn-lc-lg { padding: 14px 32px; font-size: 15px; }

/* --- Section badge --- */
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #dcfce7; color: #166534;
  font-size: 11px; font-weight: 700; padding: 5px 13px;
  border-radius: 20px; letter-spacing: 0.08em; text-transform: uppercase;
}
.dark .section-badge { background: rgba(22,101,52,0.3); color: #4ade80; }

/* --- Section heading --- */
.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: #111827;
}
.dark .section-title { color: #f1f5f9; }
.section-title span { color: #166534; }
.dark .section-title span { color: #4ade80; }

/* --- Hero --- */
.hero-wrap { position: relative; height: 100vh; min-height: 640px; overflow: hidden; }
.hero-wrap .hero-swiper { position: absolute; inset: 0; }
.hero-wrap .hero-swiper .swiper-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-wrap .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.5) 100%);
}
.hero-wrap .hero-content { position: relative; z-index: 2; }

/* --- Stats strip --- */
.stat-card { position: relative; overflow: hidden; }
.stat-card::before {
  content: ''; position: absolute; bottom: 0; left: 24px; right: 24px;
  height: 2px; background: #166534; transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s ease;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-number { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 800; line-height: 1; }

/* --- Location card --- */
.loc-card { position: relative; border-radius: 18px; overflow: hidden; display: block; text-decoration: none; }
.loc-card img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  display: block;
}
.loc-card:hover img { transform: scale(1.06); }
.loc-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.loc-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }

/* --- Plot type card --- */
.plot-card { border-radius: 16px; overflow: hidden; background: #fff; transition: box-shadow 0.3s, transform 0.3s; }
.dark .plot-card { background: #1e293b; }
.plot-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.12); transform: translateY(-4px); }
.plot-card img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; display: block; }
.plot-card:hover img { transform: scale(1.04); }

/* --- Infrastructure / video card --- */
.infra-card {
  position: relative; border-radius: 16px; overflow: hidden;
  cursor: pointer; display: block; text-decoration: none;
}
.infra-card img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform 0.4s ease; display: block;
}
.infra-card:hover img { transform: scale(1.05); }
.infra-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.infra-card:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.play-btn svg { margin-left: 3px; }

/* --- Amenity card (per-location amenities swiper) --- */
.amenity-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dark .amenity-card { background: #1a2e22; border-color: rgba(255,255,255,0.07); }
.amenity-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,0.14); }
.amenity-card-img { overflow: hidden; }
.amenity-card-img img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.amenity-card:hover .amenity-card-img img { transform: scale(1.05); }
.amenity-card-body {
  padding: 14px 16px 16px; text-align: center;
}
.amenity-card-body h3 {
  font-size: 13.5px; font-weight: 700; line-height: 1.35;
  color: #166534;
}
.dark .amenity-card-body h3 { color: #4ade80; }

/* --- Gallery grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.gallery-item {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 1; cursor: pointer; display: block;
}
.gallery-item img, .gallery-item video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease; display: block;
}
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute; inset: 0; background: rgba(22,101,52,0.25);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* --- Masonry gallery — true masonry, horizontal order via Masonry.js --- */
.masonry-gallery { position: relative; }
.masonry-item {
  width: calc(25% - 7.5px);
  margin-bottom: 10px;
  border-radius: 12px; overflow: hidden;
  position: relative; display: block; cursor: pointer;
}
.masonry-item img, .masonry-item video {
  width: 100%; height: auto; display: block;
  transition: transform 0.4s ease;
}
.masonry-item video {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.masonry-item:hover img, .masonry-item:hover video { transform: scale(1.04); }
.masonry-item-overlay {
  position: absolute; inset: 0; background: rgba(22,101,52,0.28);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.masonry-item:hover .masonry-item-overlay { opacity: 1; }
@media (max-width: 1024px) { .masonry-item { width: calc(33.333% - 6.667px); } }
@media (max-width: 640px)  { .masonry-item { width: calc(50% - 5px); } }

/* --- Testimonial --- */
.testimonial-card {
  background: rgba(255,255,255,0.07); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 32px;
  height: 100%;
}
.testimonial-stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
.testimonial-quote { font-size: 48px; line-height: 1; color: rgba(255,255,255,0.25); font-family: Georgia, serif; }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid #e5e7eb; }
.dark .faq-item { border-bottom-color: #334155; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer; gap: 16px;
  font-size: 16px; font-weight: 600; color: #111827;
  transition: color 0.2s; list-style: none; width: 100%;
  background: none; border: none; text-align: left; font-family: inherit;
}
.dark .faq-question { color: #f1f5f9; }
.faq-question:hover { color: #166534; }
.dark .faq-question:hover { color: #4ade80; }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: #f0fdf4; display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.3s;
}
.dark .faq-icon { background: #1e3a2e; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: #166534; }
.faq-item.open .faq-icon svg { color: #fff; }
.faq-icon svg { color: #166534; transition: color 0.3s; }
.dark .faq-icon svg { color: #4ade80; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: #4b5563; font-size: 15px; line-height: 1.7;
}
.dark .faq-answer { color: #94a3b8; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }

/* --- Parallax bg --- */
.parallax-bg {
  background-attachment: fixed; background-size: cover; background-position: center;
  position: relative;
}
@media (max-width: 768px) { .parallax-bg { background-attachment: scroll; } }

/* --- Card --- */
.lc-card {
  background: #fff; border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  overflow: hidden; transition: box-shadow 0.3s, transform 0.3s;
}
.dark .lc-card { background: #1e293b; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.lc-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.12); transform: translateY(-3px); }
.dark .lc-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.4); }

/* --- Form fields --- */
.lc-input {
  width: 100%; padding: 13px 16px; border: 1.5px solid #e5e7eb;
  border-radius: 10px; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; background: #fff; color: #111827; font-family: inherit;
}
.dark .lc-input { background: #1e293b; border-color: #334155; color: #f1f5f9; }
.lc-input:focus { border-color: #166534; box-shadow: 0 0 0 3px rgba(22,101,52,0.12); }
.lc-input::placeholder { color: #9ca3af; }
.lc-input.error { border-color: #ef4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }
.lc-field-error { display: none; color: #ef4444; font-size: 11.5px; margin-top: 4px; padding-left: 2px; }
.lc-field-error.visible { display: block; }

/* --- Inner page hero --- */
.inner-hero {
  padding: 120px 0 64px;
  background: linear-gradient(135deg, #0d1f14 0%, #1a3a22 100%);
  position: relative; overflow: hidden;
}
.inner-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.inner-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.62); }
.inner-hero-content { position: relative; z-index: 2; }
.breadcrumb-lc { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb-lc a { color: rgba(255,255,255,0.65); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.breadcrumb-lc a:hover { color: #fff; }
.breadcrumb-lc span { color: rgba(255,255,255,0.4); font-size: 13px; }
.breadcrumb-lc .current { color: rgba(255,255,255,0.9); font-size: 13px; }

/* --- Location page hero — full-screen like homepage hero --- */
.loc-hero {
  position: relative; overflow: hidden;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center;
  background: #0d1f14;
}
.loc-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04); /* subtle zoom-out on load via animation */
  animation: locHeroZoom 8s ease-out forwards;
}
@keyframes locHeroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.loc-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.loc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.55) 100%
  );
}
.loc-hero-content {
  position: relative; z-index: 2; width: 100%;
  padding-top: 80px; /* clear fixed navbar */
}
@media (max-width: 768px) { .loc-hero { min-height: 520px; } }

/* --- FAB (Floating Action Buttons) --- */
.fab-stack {
  position: fixed; right: 20px; bottom: 80px; z-index: 998;
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.fab-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.fab-btn:hover { transform: scale(1.12); box-shadow: 0 6px 20px rgba(0,0,0,0.3); color:#fff; }
.fab-whatsapp { background: #25D366; }
.fab-call { background: #166534; }
.fab-facebook { background: #1877F2; }
.fab-instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.fab-youtube { background: #FF0000; }

/* --- Enquiry Modal --- */
.enquiry-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 10000; display: none; align-items: center; justify-content: center;
  padding: 20px; backdrop-filter: blur(4px);
}
.enquiry-overlay.open { display: flex; }
.enquiry-box {
  background: #fff; border-radius: 24px; padding: 40px;
  width: 100%; max-width: 460px; position: relative;
  animation: slideUp 0.35s cubic-bezier(0.16,1,0.3,1);
}
.dark .enquiry-box { background: #1e293b; }
@keyframes slideUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.enquiry-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border-radius: 50%; background: #f1f5f9; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  color: #6b7280; transition: background 0.2s, color 0.2s;
}
.dark .enquiry-close { background: #334155; color: #d1d5db; }
.enquiry-close:hover { background: #fee2e2; color: #dc2626; }

/* Success overlay */
.success-box { text-align: center; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #dcfce7;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}

/* --- Swiper custom --- */
.swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; width: 8px; height: 8px; }
.swiper-pagination-bullet-active { background: #22c55e; width: 24px; border-radius: 4px; }
.swiper-button-next, .swiper-button-prev { color: #fff; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 20px; }

/* location swiper navigation */
.loc-swiper .swiper-button-next,
.loc-swiper .swiper-button-prev {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #166534; box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.dark .loc-swiper .swiper-button-next,
.dark .loc-swiper .swiper-button-prev { background: #1e293b; color: #4ade80; }
.loc-swiper .swiper-button-next::after,
.loc-swiper .swiper-button-prev::after { font-size: 16px; font-weight: 700; }

/* --- Utilities --- */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  .section-pad-sm { padding: 40px 0; }
  .nav-inner { height: 64px; }
  #mobile-menu { inset: 64px 0 0 0; }
  .hero-wrap { min-height: 520px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}

/* --- AOS adjustments --- */
[data-aos] { pointer-events: auto !important; }

/* --- Footer --- */
.lc-footer { background: #020617; }
.dark .lc-footer { background: #010409; }
.footer-link { color: #94a3b8; font-size: 14px; text-decoration: none; transition: color 0.2s; display: block; margin-bottom: 8px; }
.footer-link:hover { color: #4ade80; }

/* --- Google map embed --- */
.map-wrap { border-radius: 20px; overflow: hidden; }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: none; }

/* Counter animation */
.counter-animate { display: inline-block; }

/* --- Why choose us cards --- */
.why-card {
  background: #fff; border-radius: 20px; padding: 36px 28px;
  border: 1px solid #f1f5f9; transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.dark .why-card { background: #1e293b; border-color: #1e293b; }
.why-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #166534, #22c55e);
  transform: scaleX(0); transition: transform 0.4s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { box-shadow: 0 12px 40px rgba(22,101,52,0.12); transform: translateY(-4px); }
.why-card-num { font-size: 48px; font-weight: 900; color: #f0fdf4; line-height: 1; margin-bottom: 16px; }
.dark .why-card-num { color: rgba(22,101,52,0.25); }

/* =============================================
   ENHANCED ANIMATIONS & MICRO-INTERACTIONS
   ============================================= */

/* 1. Scroll progress bar */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 10001;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #166534 0%, #22c55e 55%, #4ade80 100%);
  box-shadow: 0 0 10px rgba(74,222,128,0.55);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* 2. Button shimmer on primary */
.btn-lc { overflow: hidden; }
.btn-lc-primary { position: relative; }
.btn-lc-primary::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: skewX(-15deg);
  transition: left 0s;
  pointer-events: none;
}
.btn-lc-primary:hover::after {
  left: 170%;
  transition: left 0.5s ease;
}

/* 3. FAB WhatsApp pulse ring */
.fab-whatsapp { position: relative; }
.fab-whatsapp::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: rgba(37,211,102,0.35);
  animation: fabPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%   { transform: scale(1); opacity: 0.85; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* 4. Float animation */
@keyframes lcFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
.float-anim { animation: lcFloat 3.6s ease-in-out infinite; }

/* 5. Section title animated gradient text */
.section-title span {
  background: linear-gradient(90deg, #166534 0%, #22c55e 40%, #4ade80 65%, #166534 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 5s linear infinite;
}
.dark .section-title span {
  background: linear-gradient(90deg, #22c55e 0%, #4ade80 40%, #86efac 65%, #22c55e 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 5s linear infinite;
}
@keyframes gradientText {
  from { background-position: 0% center; }
  to   { background-position: 250% center; }
}

/* 6. Section badge periodic shimmer */
.section-badge { position: relative; overflow: hidden; }
.section-badge::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
  animation: badgeShimmer 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes badgeShimmer {
  0%   { left: -120%; }
  28%  { left: 170%; }
  100% { left: 170%; }
}

/* 7. Testimonial card hover lift */
.testimonial-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.28);
  border-color: rgba(74,222,128,0.3);
}

/* 8. Stat number glow pulse */
.stat-number {
  animation: statGlow 3.5s ease-in-out infinite alternate;
}
@keyframes statGlow {
  from { text-shadow: none; }
  to   { text-shadow: 0 0 22px rgba(34,197,94,0.28); }
}

/* 9. Typewriter cursor */
.typed-cursor {
  display: inline-block;
  width: 2px; height: 0.88em;
  background: rgba(255,255,255,0.75);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.7s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* --- Location page stat card --- */
.loc-stat-card {
  background: #fff; border-radius: 18px; padding: 28px 20px; text-align: center;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dark .loc-stat-card { background: #1a2e22; border-color: rgba(255,255,255,0.07); }
.loc-stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.loc-stat-num { display: block; font-size: 2.4rem; font-weight: 900; color: #166534; line-height: 1; margin-bottom: 8px; }
.dark .loc-stat-num { color: #4ade80; }
.loc-stat-label { font-size: 13px; color: #6b7280; font-weight: 500; line-height: 1.4; }
.dark .loc-stat-label { color: #94a3b8; }
.loc-stat-icon { width: 44px; height: 44px; border-radius: 12px; background: #dcfce7; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.dark .loc-stat-icon { background: rgba(74,222,128,0.12); }

/* --- Verified transaction thumb --- */
.tx-thumb { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.tx-thumb img { width: 100%; height: 120px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.tx-thumb:hover img { transform: scale(1.06); }

/* --- Location page testimonial (light section) --- */
.loc-test-card {
  background: #fff; border-radius: 20px; padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
}
.dark .loc-test-card { background: #1a2e22; border-color: rgba(255,255,255,0.08); }
.loc-test-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.12); border-color: rgba(74,222,128,0.25); }
.loc-test-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.loc-test-quote { font-size: 40px; line-height: 1; color: #dcfce7; font-family: Georgia, serif; margin-bottom: -8px; }
.dark .loc-test-quote { color: rgba(74,222,128,0.2); }
.loc-test-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #166534, #22c55e); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; }

/* "Trending" location badge */
.loc-trending {
  display: inline-flex; align-items: center;
  background: linear-gradient(90deg, #f97316, #ea580c);
  color: #fff; font-size: 9px; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
  letter-spacing: 0.06em; text-transform: uppercase;
  vertical-align: middle; margin-left: 5px;
  line-height: 1.4; white-space: nowrap;
  animation: trendingPulse 2.5s ease-in-out infinite;
}
@keyframes trendingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(249,115,22,0); }
}

/* 10. 3D tilt card (applied via JS) */
.tilt-card { will-change: transform; transform-style: preserve-3d; }

/* 11. Loc-card gradient overlay shift on hover */
.loc-card-overlay { transition: background 0.4s ease; }
.loc-card:hover .loc-card-overlay {
  background: linear-gradient(to top, rgba(13,31,20,0.92) 0%, rgba(22,101,52,0.28) 55%, transparent 100%);
}

/* 12. Inner-hero stagger text reveal */
.inner-hero-content > * {
  animation: innerHeroReveal 0.75s cubic-bezier(0.16,1,0.3,1) both;
}
.inner-hero-content > *:nth-child(1) { animation-delay: 0.08s; }
.inner-hero-content > *:nth-child(2) { animation-delay: 0.18s; }
.inner-hero-content > *:nth-child(3) { animation-delay: 0.28s; }
.inner-hero-content > *:nth-child(4) { animation-delay: 0.38s; }
@keyframes innerHeroReveal {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
