/*
Theme Name: tanahlotsabah
Theme URI: https://tanahlotsabah.com
Author: tanahlotsabah / shawnradam
Description: Premium real estate theme for selling land in Sabah. Cinematic, minimalist, map-first, mobile-first design, app updates with the new Api.
Version: 2.0.2
License: GPL-2.0+
Text Domain: tanahlotsabah
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --accent: #16a34a;
  --muted: #64748b;
  --slate: #0f172a;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   RESET & BASE (Mobile First)
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ============================================
   HEADER - 2-COLUMN LAYOUT
   ============================================
   LOCKED STRUCTURE - DO NOT MODIFY:
   - Left: Logo
   - Right: User Icon + Menu Toggle

   This layout is final and should not be changed.
   User icon permanently locked to right side.
   ============================================ */
header.site-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  /* Fix for iPhone Notch & Safe Areas */
  padding: calc(env(safe-area-inset-top) + 10px) 20px 10px 20px !important;
  background-color: #ffffff !important; /* Force white background */
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20000;
  height: auto !important;
  min-height: 70px;
  border-bottom: 1px solid #eeeeee;
}

header.site-header .container {
  max-width: 100%;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================
   2-COLUMN HEADER LAYOUT - LOCKED IN PLACE
   DO NOT MODIFY THIS STRUCTURE
   ============================================ */
.header-flex {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Left Column: Logo */
.logo-left {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
}

/* Right Column: User Icon + Menu Toggle (LOCKED - DO NOT MOVE) */
.header-right-group {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important; /* Space between user icon and menu */
}

/* Size Constraints */
.logo-left img {
  max-height: 45px !important;
  width: auto !important;
  object-fit: contain;
}

/* LOCKED: User Icon & Menu Toggle Positioning */
.header-login {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.menu-toggle,
.login-user,
.login-btn {
  position: relative !important;
  top: unset !important;
  left: unset !important;
  right: unset !important;
  bottom: unset !important;
  transform: none !important;
  margin: 0 !important;
  float: none !important;
}

/* LOGIN DROPDOWN - Right Aligned */
.login-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 31000;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.dropdown-header {
  padding: 12px 16px;
  font-weight: 600;
  color: var(--slate);
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 0.9rem;
}

.login-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.login-dropdown a:hover {
  background: #f8fafc;
  color: var(--accent);
}

.login-dropdown a svg {
  flex-shrink: 0;
}

.logout-link {
  border-top: 1px solid #f1f5f9;
  color: #dc2626 !important;
}

.logout-link:hover {
  background: #fee2e2 !important;
}

@media (max-width: 768px) {
  .menu-text {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 8px;
  }
}

/* Keep the User Icon Circular */
.login-user {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-user:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.login-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* MENU TOGGLE */
.menu-toggle {
  display: flex !important;
  align-items: center !important;
  background: none;
  border: none;
  padding: 8px !important;
  cursor: pointer;
  gap: 6px;
}

.menu-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--slate);
}

.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
}

.menu-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--slate);
  transition: all 0.3s ease;
}

.menu-toggle.active .menu-lines span:first-child {
  transform: rotate(45deg) translateY(6px);
}

.menu-toggle.active .menu-lines span:last-child {
  transform: rotate(-45deg) translateY(-6px);
}

/* NAVIGATION MENU - Base Styles */
nav.primary {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 30000;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0.2s;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Close Button inside Menu */
.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: none;
  border: none;
  color: var(--slate);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0;
  transform: rotate(-90deg);
}

nav.primary.active .menu-close {
  opacity: 1;
  transform: rotate(0deg);
  transition-delay: 0.4s;
}

.menu-close:hover {
  background: #f1f5f9;
  color: var(--accent);
  transform: rotate(90deg);
}

nav.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/linangkit.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25; /* 75% transparent as requested */
  z-index: -1;
  pointer-events: none;
}

nav.primary.active {
  transform: translateX(0);
  /* No delay when OPENING background */
  transition-delay: 0s;
}

.menu-container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 60px;
  position: relative;
  z-index: 1;
  transform: translateX(-100%);
  /* Content slides first when CLOSING */
  transition: transform 0.5s cubic-bezier(0.85, 0, 0.15, 1) 0s;
}

nav.primary.active .menu-container {
  transform: translateX(0);
  /* Slight delay for content when OPENING */
  transition-delay: 0.2s;
}

/* Top: Big Logo */
.menu-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease 0.3s;
}

nav.primary.active .menu-top {
  opacity: 1;
  transform: translateY(0);
}

.menu-big-logo {
  width: 250px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

/* Middle: Large Bold Links */
.menu-middle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.large-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.large-menu-list li {
  margin-bottom: 15px;
  overflow: hidden;
}

.large-menu-list a {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--slate);
  text-decoration: none;
  line-height: 1.1;
  text-transform: uppercase;
  transition: all 0.4s ease;
  transform: translateY(100%);
  opacity: 0;
  padding: 12px 20px;
  border-radius: 8px;
}

nav.primary.active .large-menu-list a {
  transform: translateY(0);
  opacity: 1;
}

nav.primary.active li:nth-child(1) a { transition-delay: 0.4s; }
nav.primary.active li:nth-child(2) a { transition-delay: 0.5s; }
nav.primary.active li:nth-child(3) a { transition-delay: 0.6s; }
nav.primary.active li:nth-child(4) a { transition-delay: 0.7s; }

.large-menu-list a:hover {
  color: var(--accent);
  background: rgba(22, 163, 74, 0.1);
  transform: translateX(20px) scale(1.05);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

/* Bottom: Socials & Contact */
.menu-bottom {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transition: all 0.5s ease 0.8s;
}

nav.primary.active .menu-bottom {
  opacity: 1;
}

.menu-socials {
  display: flex;
  gap: 30px;
}

.social-icon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--primary);
}

.menu-wa-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--slate);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.menu-wa-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* MENU OVERLAY */
.menu-open-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 29000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.menu-active .menu-open-overlay {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .menu-container {
    padding: 80px 24px 40px;
  }

  .large-menu-list a {
    font-size: 1.8rem !important;
    padding: 8px 16px;
  }

  .menu-big-logo {
    width: 180px;
  }

  .site-logo img {
    width: 100px;
  }

  .menu-text {
    display: inline-block; /* Show MENU text on mobile as requested */
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

  header.site-header .container {
    padding: 0 8px; /* Tighter padding on mobile */
  }

  /* LOCKED: Mobile spacing for right group */
  .header-right-group {
    gap: 12px !important; /* Tighter gap on mobile */
  }
}

/* Desktop Header */
@media (min-width: 768px) {
  header.site-header {
    padding: 12px 0;
    min-height: 80px;
  }

  .site-logo img {
    width: 345px;
    max-height: 60px;
  }
}

/* ============================================
   HERO SECTION (Mobile First)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 16px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-media iframe,
.hero-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-media img.hero-bg-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  transform: translate(-50%, -50%);
}

.hero-media iframe + img.hero-poster-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(22, 163, 74, 0.3) 100%);
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* Search Card in Hero - Desktop Only */
@media (min-width: 1024px) {
  .hero .search-card-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 50px;
    border-radius: 16px;
  }
  
  .hero .basic-filters-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 24px;
  }
  
  .hero .basic-filters-row select,
  .hero .basic-filters-row input {
    padding: 24px 28px;
    font-size: 1rem;
    border-radius: 12px;
    height: 60px;
  }
  
  .hero .action-row-flex .btn-cari-primary {
    height: 60px;
    font-size: 1rem;
    padding: 0 40px;
    max-width: 250px;
    border-radius: 12px;
  }
  
  .hero .action-row-flex .btn-filter-secondary {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }
}

/* CATEGORY TABS */
.category-tabs {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90vw;
}

.cat-tab {
  padding: 10px 20px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.cat-tab:hover {
  background: rgba(255,255,255,0.3);
}

.cat-tab.active {
  background: var(--accent);
  color: var(--white);
}

/* DISTRICT TABS (MOBILE SCROLL) */
.district-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 16px;
  margin-top: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.district-tabs::-webkit-scrollbar {
  display: none;
}

.district-tab {
  padding: 10px 16px;
  white-space: nowrap;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  opacity: 0.8;
  transition: all 0.2s;
}

.district-tab:hover {
  opacity: 1;
}

.district-tab.active {
  border-bottom-color: var(--accent);
  opacity: 1;
  font-weight: 600;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* FLOATING SEARCH BUTTON */
.float-search-btn {
  display: none;
}

@media (max-width: 768px) {
  .float-search-btn {
    display: flex;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
    cursor: pointer;
    z-index: 1000;
    align-items: center;
    justify-content: center;
  }
}

/* SEARCH MODAL */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.search-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.search-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

.search-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-modal-header h2 {
  margin: 0;
}

.search-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  color: var(--muted);
}

.search-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advanced-search-form {
  gap: 20px;
}

.search-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.search-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-input,
.search-select {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
}

.search-input:focus,
.search-select:focus {
  outline: none;
  border-color: var(--accent);
}

.search-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.search-checkbox:hover {
  background: #e2e8f0;
}

.search-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent);
}

.search-checkbox span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.search-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.search-reset-btn {
  flex: 1;
  padding: 14px;
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-reset-btn:hover {
  background: #e2e8f0;
  color: var(--text);
  border-color: var(--muted);
}

.search-submit-btn {
  flex: 2;
  padding: 14px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-submit-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Mobile Responsive Search Form */
@media (max-width: 768px) {
  .search-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .search-actions {
    flex-direction: column;
  }

  .search-reset-btn,
  .search-submit-btn {
    flex: 1;
  }
}

/* ============================================
   CALCULATOR MODAL
   ============================================ */
.calc-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.calc-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.calc-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  padding: 0;
  width: 95%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--slate);
  color: var(--white);
}

.calc-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.calc-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.calc-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.calc-modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

/* Floating Calculator Button */
.floating-calc-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 24px;
}

.floating-calc-btn::before {
  content: "\1F4CA";
  font-size: 28px;
}

.floating-calc-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.5);
  background: #15803d;
}

.floating-calc-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Responsive Calculator Modal */
@media (max-width: 768px) {
  .calc-modal-content {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .calc-modal-header {
    padding: 16px 20px;
  }

  .calc-modal-header h2 {
    font-size: 1.25rem;
  }

  .calc-modal-body {
    padding: 20px;
    max-height: calc(100vh - 70px);
  }

  .floating-calc-btn {
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .floating-calc-btn::before {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .calc-modal-header {
    padding: 14px 16px;
  }

  .calc-modal-header h2 {
    font-size: 1.1rem;
  }

  .calc-modal-body {
    padding: 16px;
  }

  .floating-calc-btn {
    bottom: 85px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .floating-calc-btn::before {
    font-size: 22px;
  }
}

/* Responsive Search Modal Improvements */
@media (max-width: 768px) {
  .search-modal-content {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .float-search-btn {
    bottom: 90px;
  }
}

@media (max-width: 480px) {
  .search-modal-content {
    padding: 20px;
  }

  .search-modal-header h2 {
    font-size: 1.25rem;
  }

  .float-search-btn {
    bottom: 85px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* Sticky CTA Responsiveness Improvements */
.sticky-cta {
  transition: transform 0.3s ease;
}

.sticky-cta a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.sticky-cta .btn-whatsapp:hover {
  background: #0f172a;
  transform: translateY(-2px);
}

.sticky-cta .btn-call:hover {
  background: var(--slate);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .sticky-cta {
    padding: 10px 12px;
    gap: 8px;
  }

  .sticky-cta a {
    padding: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .sticky-cta {
    padding: 8px 10px;
    gap: 6px;
  }

  .sticky-cta a {
    padding: 10px;
    font-size: 0.85rem;
  }
}

/* Search Bar */
.hero-search {
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.search-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-grid select,
.search-grid input {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
}

.search-grid select:focus,
.search-grid input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-grid .btn {
  background: var(--slate);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}

.search-grid .btn:hover {
  opacity: 0.9;
}

/* ============================================
   MAP SECTION
   ============================================ */
.tls-map-section {
  width: 100%;
  position: relative;
  z-index: 1; /* Basic layering */
  margin: 20px 0;
}

.tls-map-section #tls-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 2; /* Content layer */
}

/* Ensure Leaflet controls stay within the map but under the site header */
.leaflet-control-container {
  z-index: 500 !important;
}

.leaflet-top, 
.leaflet-bottom {
  z-index: 500 !important;
}

.leaflet-pane {
  z-index: 400 !important;
}

/* Fullscreen Menu Overlay must be higher than map controls */
nav.primary {
  z-index: 15000 !important;
}
  width: 100%;
  height: 50vh;
  min-height: 300px;
}

.tls-marker {
  background: transparent;
}

.leaflet-control-zoom,
.leaflet-control-attribution {
  display: none !important;
}

/* ============================================
   LISTINGS SECTION
   ============================================ */
.listings-section {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Active Filters Display */
.active-filters {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  align-items: center;
}

.filter-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--white);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.clear-filters {
  display: inline-block;
  padding: 6px 14px;
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.clear-filters:hover {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}

/* No Results Box */
.no-results-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.no-results-box svg {
  width: 64px;
  height: 64px;
  stroke: var(--muted);
  margin: 0 auto 24px;
}

.no-results-box h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
}

.no-results-box p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1rem;
}

.no-results-box .btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}

.no-results-box .btn:hover {
  background: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Mobile Responsive for Filters */
@media (max-width: 768px) {
  .active-filters {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-tags {
    width: 100%;
  }
}

/* ============================================
   BLOG STYLES (Clean & Minimal)
   ============================================ */
.blog-header {
  text-align: center;
  padding: 40px 16px;
}

.blog-header .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-image-link {
  display: block;
}

.blog-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.blog-category {
  color: var(--accent);
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-title a {
  color: var(--text);
  text-decoration: none;
}

.blog-title a:hover {
  color: var(--accent);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.blog-read-more:hover {
  text-decoration: underline;
}

/* Blog Single Page */
.single-post .single-tanah-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.single-post .single-tanah-main {
  max-width: 800px;
}

.single-post .single-tanah-image {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}

.single-post .single-tanah-image img {
  width: 100%;
  height: auto;
}

.single-post .entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.single-post .entry-content p {
  margin-bottom: 20px;
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
  margin-top: 30px;
  margin-bottom: 16px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination .current {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.listings-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.view-btn.active,
.view-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.sort-select select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-size: 14px;
}

.listings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 16px;
}

/* Mobile 2-Column Grid */
@media (max-width: 480px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
  }
  
  .listing-card {
    margin-bottom: 0;
  }
  
  .listing-body {
    padding: 12px;
  }
  
  .listing-price {
    font-size: 1.1rem;
  }
  
  .listing-psf {
    font-size: 0.75rem;
  }
  
  .listing-meta {
    font-size: 0.75rem;
  }
  
  .btn-detail {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* List View */
.listings-grid.list-view {
  grid-template-columns: 1fr;
}

.listings-grid.list-view .listing-card {
  display: grid;
  grid-template-columns: 250px 1fr;
}

.listings-grid.list-view .listing-image {
  aspect-ratio: 4/3;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.listing-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-cl {
  background: var(--slate);
  color: var(--white);
}

.badge-nt {
  background: var(--accent);
  color: var(--white);
}

.badge-verified {
  background: #0ea5e9;
  color: var(--white);
}

.badge-p {
  background: #8b5cf6;
  color: var(--white);
}

.badge-fh {
  background: #f59e0b;
  color: var(--white);
}

.listing-property-id {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.listing-body {
  padding: 16px;
}

.listing-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.listing-psf {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.price-notice {
  background: #f3f4f6;
  color: #4b5563;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  border-left: 3px solid #d1d5db;
  text-align: center;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.listing-image-link {
  display: block;
}

.btn-detail {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--slate);
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.btn-whatsapp-card {
  display: block;
  width: 100%;
  text-align: center;
  background: #25D366;
  color: var(--white);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */
.calculator-section {
  padding: 40px 0;
  background: var(--white);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 50px 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
footer.site-footer {
  background: var(--slate);
  color: var(--white);
  padding: 40px 16px 20px;
  transition: min-height 0.5s ease-in-out;
}

/* Mobile Fullscreen Footer */
@media (max-width: 768px) {
  footer.site-footer {
    min-height: 300px;
  }
  
  footer.site-footer.is-at-bottom {
    min-height: 100vh;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 80px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand span {
  color: var(--accent);
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.95rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 99;
  gap: 12px;
}

.sticky-cta a {
  flex: 1;
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

.sticky-cta .btn-whatsapp {
  background: var(--slate);
  color: var(--white);
}

.sticky-cta .btn-call {
  border: 2px solid var(--slate);
  color: var(--slate);
  background: transparent;
}

footer.site-footer {
  padding-bottom: 90px;
}

/* Show sticky CTA only on mobile */
@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
  }
}

/* ============================================
   FLOATING CALCULATOR BUTTON
   ============================================ */
.ldc-sticky-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 50px;
  cursor: pointer;
  z-index: 98;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
  display: none;
  align-items: center;
  gap: 8px;
}

/* Show floating calculator only on tablet+ */
@media (min-width: 768px) {
  .ldc-sticky-btn {
    display: flex;
  }
}

@media (max-width: 767px) {
  .ldc-sticky-btn {
    display: none !important;
  }
}

/* ============================================
   SINGLE TANAH PAGE
   ============================================ */
.single-tanah-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 24px 16px;
}

@media (max-width: 768px) {
  .single-tanah-layout {
    padding-bottom: 120px !important;
  }
}

.single-tanah-main {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.single-tanah-image {
  position: relative;
  aspect-ratio: 16/9;
}

.single-tanah-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-tanah-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
}

.single-tanah-content {
  padding: 20px;
}

.single-tanah-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.single-tanah-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.single-tanah-meta .separator {
  display: none;
}

.single-tanah-desc {
  font-size: 1rem;
  line-height: 1.7;
}

.single-property-id {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.single-tanah-video,
.single-tanah-vtour {
  margin: 30px 0;
}

.single-tanah-video h3,
.single-tanah-vtour h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.video-container,
.vtour-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.vtour-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.verified-badge {
  color: #0ea5e9;
  font-weight: 600;
}

.single-tanah-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.single-tanah-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.single-tanah-psf {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.price-notice-block {
  background: #f3f4f6;
  color: #1a1a2e;
  padding: 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-left: 5px solid #d1d5db;
  text-align: center;
  line-height: 1.4;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.single-tanah-specs {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-bottom: 16px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-label {
  color: var(--muted);
}

.spec-value {
  font-weight: 600;
}

.single-tanah-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-tanah-actions .btn-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

.single-tanah-actions .btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.single-tanah-actions .btn-outline {
  border: 2px solid var(--slate);
  color: var(--slate);
  background: transparent;
}

.single-tanah-actions .btn-secondary {
  background: var(--accent);
  color: var(--white);
}

/* Action Label - Lawyer First */
.single-tanah-actions .action-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #16a34a;
}

/* Advertisement Partner Slot */
.ad-partner-slot {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.ad-partner-slot .ad-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ad-partner-slot .ad-content p {
  font-size: 0.9rem;
  color: #0f172a;
  margin: 0;
}

.ad-partner-slot .ad-content a {
  color: #16a34a;
  font-weight: 600;
  text-decoration: underline;
}

.back-link {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 12px;
}

/* Consolidated Header Login Styles Moved to Header Section */
/* ============================================
   RESPONSIVE - TABLET (min-width: 768px)
   ============================================ */
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
  
  .site-title {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 80px 24px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }
  
  .hero-search {
    padding: 24px;
  }
  
  .search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  
  .search-grid .btn {
    width: auto;
  }
  
  .tls-map-section #tls-map {
    height: 60vh;
  }
  
  .listings-section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
    padding: 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0;
  }
  
  .calculator-section {
    padding: 60px 0;
  }
  
  .cta-section {
    padding: 80px 24px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .single-tanah-layout {
    padding: 40px 24px;
    grid-template-columns: 1fr 350px;
    gap: 40px;
  }
  
  .single-tanah-content {
    padding: 32px;
  }
  
  .single-tanah-title {
    font-size: 2rem;
  }
  
  .single-tanah-meta {
    font-size: 1rem;
  }
  
  .single-tanah-card {
    padding: 24px;
  }
}

/* ============================================
   RESPONSIVE - DESKTOP (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  
  .single-tanah-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* ============================================
   RESPONSIVE - LARGE DESKTOP (min-width: 1280px)
   ============================================ */
@media (min-width: 1280px) {
  .container {
    padding: 0 32px;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .listings-section {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .calculator-section {
    padding: 80px 0;
  }

  .cta-section {
    padding: 100px 0;
  }

  .cta-content h2 {
    font-size: 2.5rem;
  }

  .single-tanah-layout {
    max-width: 1400px;
    margin: 0 auto;
  }
}

/* ============================================
   PROPERTY GALLERY SLIDER
   ============================================ */
.single-tanah-gallery-wrapper {
  position: relative;
}

.tls-gallery-slider {
  position: relative;
  width: 100%;
  background: var(--slate);
  border-radius: var(--radius);
  overflow: hidden;
}

.tls-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.tls-gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.tls-gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.tls-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation Buttons */
.tls-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
}

.tls-gallery-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.tls-gallery-prev {
  left: 16px;
}

.tls-gallery-next {
  right: 16px;
}

/* Counter */
.tls-gallery-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 10;
}

/* Thumbnails */
.tls-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  scrollbar-width: thin;
}

.tls-gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.tls-gallery-thumb:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.tls-gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.tls-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .tls-gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .tls-gallery-prev {
    left: 8px;
  }

  .tls-gallery-next {
    right: 8px;
  }

  .tls-gallery-counter {
    font-size: 12px;
    padding: 4px 10px;
  }

  .tls-gallery-thumb {
    width: 60px;
    height: 45px;
  }
}

/* ============================================
   FLOOR PLANS SECTION
   ============================================ */
.single-tanah-floor-plans {
  margin: 32px 0;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.single-tanah-floor-plans h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--slate);
}

.floor-plans-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.floor-plan-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: all 0.3s ease;
}

.floor-plan-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.floor-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
}

.floor-plan-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate);
  margin: 0;
}

.floor-plan-size {
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.floor-plan-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .floor-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .floor-plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   PROFESSIONAL FRONT PAGE STYLES
   ============================================ */

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.3);
  border-radius: 30px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  text-transform: uppercase;
  animation: fadeInDown 0.6s ease-out;
}

/* Hero Headings */
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 .highlight {
  color: var(--accent);
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Desktop Hero Text */
@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
    margin-bottom: 16px;
  }
}

/* Search Card in Hero - Desktop Only */
@media (min-width: 1024px) {
  .hero .search-card-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 30px;
    border-radius: 12px;
  }
  
  .hero .basic-filters-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 16px;
  }
  
  .hero .basic-filters-row select,
  .hero .basic-filters-row input {
    padding: 16px 20px;
    font-size: 0.9rem;
    height: 50px;
    border-radius: 8px;
  }
  
  .hero .action-row-flex .btn-cari-primary {
    height: 50px;
    font-size: 0.9rem;
    padding: 0 24px;
    max-width: 200px;
    border-radius: 8px;
  }
  
  .hero .action-row-flex .btn-filter-secondary {
    width: 50px;
    height: 50px;
    border-radius: 8px;
  }
}
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .hero-badge {
    font-size: 0.9rem;
    padding: 8px 20px;
    margin-bottom: 20px;
  }
}

.hero-content h1 .highlight {
  color: var(--accent);
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 1s ease-out;
}

/* Split Hero Layout */
.hero-split-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text-side {
  max-width: 500px;
}

.hero-search-side {
  max-width: 500px;
}

/* Social Proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.social-proof .stars {
  color: #fbbf24;
  font-size: 1.2rem;
}

.social-proof .proof-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Quick Links */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-link-chip {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.quick-link-chip:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Desktop Split Layout */
@media (min-width: 992px) {
  .hero-split-layout {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  
  .hero-text-side {
    flex: 1;
    max-width: 450px;
  }
  
  .hero-search-side {
    flex: 1;
    max-width: 500px;
  }
  
  .hero-media-right {
    width: 55%;
    right: 0;
    left: auto;
  }
  
  .hero-content-left {
    width: 45%;
    text-align: left;
    align-items: flex-start;
    padding-left: 5%;
  }
  
  .hero-content-left .hero-subtitle {
    margin: 0 0 30px 0;
  }
}

@media (max-width: 991px) {
  .hero-text-side {
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  
  .social-proof {
    justify-content: center;
  }
  
  .quick-links {
    justify-content: center;
  }
}

.modern-search-form {
  max-width: 900px;
  margin: 0 auto 40px;
  animation: fadeInUp 1.2s ease-out;
}

/* Search Card Wrapper */
.search-card-wrapper {
  max-width: 950px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.dropdown-full-width select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  color: #0f172a;
  background: #fff;
}

.dropdown-full-width select:focus {
  outline: none;
  border-color: #16a34a;
}

/* Basic Filters Row - 4 filters in a row */
.basic-filters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.basic-filters-row select,
.basic-filters-row input {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  color: #0f172a;
  background: #fff;
}

.basic-filters-row select:focus,
.basic-filters-row input:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Action Row Flex - Side by Side */
.action-row-flex {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* Cari Button - Not too long */
.btn-cari-primary {
  flex: 1;
  max-width: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  height: 54px;
  padding: 0 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 250px;
}
}

.btn-cari-primary:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Filter Secondary - Square & Compact */
.btn-filter-secondary {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: #f1f3f5;
  color: #1a1a2e;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-filter-secondary:hover {
  background: #e9ecef;
}

.btn-filter-secondary.active {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

/* Advanced Search Drawer */
.advanced-search-drawer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.advanced-filters-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .search-card-wrapper {
    padding: 16px;
  }
  
  .basic-filters-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .action-row-flex {
    gap: 10px;
  }
  
  .btn-cari-primary {
    font-size: 1rem;
    height: 50px;
  }
  
  .btn-filter-secondary {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }
  
  .advanced-filters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .basic-filters-row {
    grid-template-columns: 1fr;
  }
  
  .action-row-flex {
    flex-wrap: wrap;
  }
  
  .btn-cari-primary {
    flex: 1;
    min-width: calc(100% - 60px);
    max-width: none;
  }
  
  .btn-filter-secondary {
    width: 50px;
    height: 50px;
  }
  
  .advanced-filters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.filter-group.filter-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 20px;
}

.filter-group.filter-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  cursor: pointer;
}

.filter-group.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
}

/* Advanced Filters Box */
.advanced-filters-container {
  max-width: 900px;
  margin: 16px auto 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.advanced-filters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
  transition: all 0.3s ease;
}

.filter-group select:focus {
  outline: none;
  border-color: #16a34a;
}

/* Responsive */
@media (max-width: 768px) {
  .search-container {
    padding: 16px;
  }
  
  .btn-search-main {
    max-width: 150px;
    padding: 12px 16px;
  }
  
  .btn-filter-icon {
    width: 44px;
    height: 44px;
  }
  
  .advanced-filters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .search-action-buttons {
    flex-wrap: wrap;
  }
  
  .btn-search-main {
    flex: 1;
    max-width: none;
  }
  
  .btn-filter-icon {
    width: 44px;
    height: 44px;
  }
  
  .advanced-filters-grid {
    grid-template-columns: 1fr;
  }
}
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.filter-group.filter-checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 24px;
}

.filter-group.filter-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: none;
  cursor: pointer;
}

.filter-group.filter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
}

@media (max-width: 768px) {
  .advanced-filters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .advanced-filters-grid {
    grid-template-columns: 1fr;
  }
}

/* Checkbox label in search */

/* Checkbox label in search */
.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-direction: row !important;
  padding-top: 8px;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.checkbox-label span {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 1.4s ease-out;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* Modern Section Header */
.section-header-modern {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header-modern h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header-modern h2 .accent-text {
  color: var(--accent);
  position: relative;
}

.section-header-modern p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto;
  border-radius: 2px;
}

/* Modern CTA Section */
.cta-section-modern {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--slate) 0%, #1e3a3a 100%);
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(22, 163, 74, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(22, 163, 74, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.cta-content-modern {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 163, 74, 0.15);
  border-radius: 50%;
  color: var(--accent);
}

.cta-content-modern h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-content-modern > p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

.cta-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cta-feature svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Hero Section Mobile */
  .hero {
    min-height: auto;
    padding: 40px 16px 120px;
  }

  .hero-content {
    padding: 0 8px;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
    margin-bottom: 16px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .hero-content h1 br {
    display: none;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 28px;
  }

  .hero-subtitle br {
    display: none;
  }

  /* Search Form Mobile */
  .modern-search-form {
    margin-bottom: 28px;
  }

  .search-grid-modern {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .search-grid-modern .btn-search {
    grid-column: span 2;
  }

  .search-input-group label {
    font-size: 0.75rem;
  }

  .search-input-group select,
  .search-input-group input {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .btn-search {
    width: 100%;
    padding: 12px 24px;
    margin-top: 4px;
  }

  /* Hero Stats Mobile */
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
    margin-top: 28px;
  }

  .stat-item {
    width: 100%;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .stat-divider {
    width: 50px;
    height: 1px;
    align-self: center;
  }

  /* Category Tabs Mobile */
  .category-tabs {
    bottom: 60px;
    max-width: 95vw;
    gap: 6px;
  }

  .cat-tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* District Tabs Mobile */
  .district-tabs {
    margin-top: 12px;
    padding: 0 8px;
    gap: 0;
  }

  .district-tab {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Section Headers Mobile */
  .section-header-modern {
    margin-bottom: 32px;
    padding: 0 16px;
  }

  .section-label {
    font-size: 0.75rem;
    padding: 5px 14px;
  }

  .section-header-modern h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .section-header-modern p {
    font-size: 0.95rem;
  }

  /* CTA Section Mobile */
  .cta-section-modern {
    padding: 60px 20px;
  }

  .cta-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }

  .cta-icon svg {
    width: 48px;
    height: 48px;
  }

  .cta-content-modern h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .cta-content-modern > p {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-large {
    width: 100%;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
  }

  .cta-features {
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
  }

  .cta-feature {
    justify-content: center;
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
  .hero {
    padding: 30px 12px 100px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .search-grid-modern {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .search-grid-modern .btn-search {
    grid-column: span 1;
  }

  .category-tabs {
    bottom: 50px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .cat-tab {
    flex-shrink: 0;
  }
}

/* Landscape Mobile Fix */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 30px 16px 80px;
  }

  .hero-stats {
    flex-direction: row;
    margin-top: 20px;
    padding: 16px 20px;
  }

  .stat-divider {
    width: 1px;
    height: 30px;
  }

  .category-tabs {
    position: relative;
    bottom: auto;
    transform: none;
    left: auto;
    margin-top: 20px;
  }
}

/* Additional Mobile Refinements */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }

  .listings-section {
    padding: 32px 0;
  }

  .listings-toolbar {
    padding: 0 12px;
    margin-bottom: 16px;
  }

  .tls-map-section #tls-map {
    height: 50vh;
    min-height: 250px;
    position: relative;
  }

  /* 2-finger gesture hint overlay for mobile */
  .map-gesture-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10000;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }

  .listings-toolbar {
    padding: 0 8px;
  }
}

/* Stats & Filters Section */
.stats-filters-section {
  background: #fff;
  padding: 60px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.stat-card {
  background: var(--slate);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:nth-child(2) {
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.stat-card:nth-child(2):hover {
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

.stat-card:nth-child(3) {
  background: var(--muted);
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.15);
}

.stat-card:nth-child(3):hover {
  box-shadow: 0 8px 20px rgba(100, 116, 139, 0.25);
}

.stat-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  fill: none;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-btn {
  padding: 12px 28px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.filter-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

/* Stats & Filters Responsive */
@media (max-width: 768px) {
  .stats-filters-section {
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .stat-card {
    padding: 24px;
  }

  .stat-icon {
    width: 56px;
    height: 56px;
  }

  .stat-icon svg {
    width: 28px;
    height: 28px;
  }

  .stat-number {
    font-size: 40px;
  }

  .stat-label {
    font-size: 14px;
  }

  .category-filters {
    gap: 8px;
    padding: 0 16px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .stats-filters-section {
    padding: 32px 0;
  }

  .stats-grid {
    padding: 0 12px;
    margin-bottom: 32px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .stat-icon svg {
    width: 24px;
    height: 24px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 13px;
  }

  .category-filters {
    padding: 0 12px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}


/* ============================================
   FAB (FLOATING ACTION BUTTON) SYSTEM
   ============================================ */

/* FAB Container */
.tls-fab-container {
  position: fixed;
  z-index: 999;
}

/* Position Classes */
.tls-fab-container.fab-right {
  bottom: 24px;
  right: 24px;
}

.tls-fab-container.fab-left {
  bottom: 24px;
  left: 24px;
}

/* Main FAB Button */
.tls-fab-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.tls-fab-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.6);
  background: #15803d;
}

.tls-fab-button:active {
  transform: scale(0.95);
}

.tls-fab-button.active {
  transform: rotate(45deg);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.6);
}

.tls-fab-button .fab-icon-plus {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FAB Menu */
.tls-fab-menu {
  position: absolute;
  bottom: 75px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.fab-left .tls-fab-menu {
  right: auto;
  left: 0;
}

.tls-fab-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* FAB Menu Item */
.fab-menu-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-left .fab-menu-item {
  justify-content: flex-start;
  flex-direction: row-reverse;
}

.tls-fab-menu.active .fab-menu-item {
  opacity: 1;
  transform: translateY(0);
}

.tls-fab-menu.active .fab-menu-item:nth-child(1) {
  transition-delay: 0.05s;
}

.tls-fab-menu.active .fab-menu-item:nth-child(2) {
  transition-delay: 0.1s;
}

.tls-fab-menu.active .fab-menu-item:nth-child(3) {
  transition-delay: 0.15s;
}

.tls-fab-menu.active .fab-menu-item:nth-child(4) {
  transition-delay: 0.2s;
}

/* FAB Menu Label */
.fab-menu-label {
  background: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  pointer-events: none;
}

/* FAB Menu Button */
.fab-menu-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.fab-menu-button:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.fab-menu-button:active {
  transform: scale(1.05);
}

/* Sticky Footer */
.tls-sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  z-index: 998;
}

.sticky-footer-btn {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: white;
  text-decoration: none;
}

.sticky-footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sticky-footer-btn:active {
  transform: translateY(0);
}

.sticky-footer-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Sticky Footer Button Colors */
.btn-whatsapp {
  background: #25D366;
}

.btn-whatsapp:hover {
  background: #20b658;
}

.btn-call {
  background: var(--slate);
}

.btn-call:hover {
  background: #1e293b;
}

.btn-search {
  background: var(--slate);
}

.btn-search:hover {
  background: #1e293b;
}

.btn-calculator {
  background: var(--slate);
}

.btn-calculator:hover {
  background: #1e293b;
}

/* Type 2: Adjust FAB position when sticky footer is present */
.tls-fab-container[data-fab-type="type2"] .tls-fab-button {
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE: TABLET
   ============================================ */
@media (max-width: 1024px) {
  .tls-fab-container.fab-right {
    bottom: 20px;
    right: 20px;
  }

  .tls-fab-container.fab-left {
    bottom: 20px;
    left: 20px;
  }

  .tls-fab-button {
    width: 56px;
    height: 56px;
  }

  .fab-menu-button {
    width: 46px;
    height: 46px;
  }
}

/* ============================================
   RESPONSIVE: MOBILE
   ============================================ */
@media (max-width: 768px) {
  .tls-fab-container.fab-right {
    bottom: 16px;
    right: 16px;
  }

  .tls-fab-container.fab-left {
    bottom: 16px;
    left: 16px;
  }

  /* Adjust FAB position when sticky footer is present */
  .tls-fab-container[data-fab-type="type2"] .tls-fab-button,
  .tls-fab-container[data-fab-type="type2"] {
    bottom: 80px; /* Above sticky footer */
  }

  .tls-fab-container[data-fab-type="type2"] .tls-fab-menu {
    bottom: 75px;
  }

  .tls-fab-button {
    width: 52px;
    height: 52px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
  }

  .fab-menu-button {
    width: 44px;
    height: 44px;
  }

  .fab-menu-label {
    font-size: 13px;
    padding: 8px 14px;
  }

  .tls-sticky-footer {
    padding: 10px 12px;
  }

  .sticky-footer-btn {
    padding: 12px 12px;
    font-size: 14px;
  }

  .sticky-footer-btn span {
    display: none; /* Hide text on very small screens */
  }
}

@media (min-width: 480px) {
  .sticky-footer-btn span {
    display: inline; /* Show text on larger mobile */
  }
}

/* ============================================
   DISABLE FAB ON DESKTOP - MOBILE ONLY
   ============================================ */
@media (min-width: 769px) {
  .tls-fab-container {
    display: none !important;
  }

  .tls-sticky-footer {
    display: none !important;
  }
}

/* Hide old floating buttons when FAB is active */
.tls-fab-container ~ .float-search-btn,
.tls-fab-container ~ .float-calc-btn,
.tls-fab-container ~ .sticky-cta {
  display: none !important;
}

/* Mobile Sticky Bar - Hidden on Desktop */
.mobile-sticky-bar {
  display: none !important;
}

@media (max-width: 600px) {
  .mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 60px;
    display: flex !important;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom); /* iOS Home Indicator safety */
  }
  
  .mobile-sticky-bar .action-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    padding: 16px 10px; /* Increased padding for better target area */
  }
  
  .mobile-sticky-bar .wa {
    background: #25D366;
  }
  
  .mobile-sticky-bar .wa:hover {
    background: #128C7E;
  }
  
  .mobile-sticky-bar .call {
    background: #004a99;
  }
  
  .mobile-sticky-bar .call:hover {
    background: #003366;
  }
}

/* ============================================
   PROFESSIONAL LAND LISTING FEATURES
   ============================================ */

/* 1. PETA LOT BUTTON - Overlay on Gallery */
.peta-lot-button {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 10;
  background: rgba(26, 26, 46, 0.85);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.peta-lot-button:hover {
  background: rgba(40, 167, 69, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.peta-lot-button svg {
  width: 20px;
  height: 20px;
}

/* 2. CHECK ELIGIBILITY NT - Sidebar Widget */
.check-eligibility-box {
  background: #f8fafc;
  border: 2px solid #1a1a2e;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.check-eligibility-box h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #1a1a2e;
  margin-bottom: 12px;
  text-align: center;
}

.eligibility-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.eligibility-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid #1a1a2e;
  background: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1a1a2e;
}

.eligibility-btn:hover {
  background: #1a1a2e;
  color: #fff;
}

.eligibility-btn.active {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}

.eligibility-message {
  display: none;
  padding: 16px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.eligibility-message.show {
  display: block;
}

.eligibility-message a {
  color: #28a745;
  font-weight: 600;
  text-decoration: underline;
}

/* 3. SABAH LAND CALCULATOR - Expandable */
.calculator-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.calculator-header {
  background: #1a1a2e;
  color: #fff;
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.calculator-header:hover {
  background: #28a745;
}

.calculator-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.calculator-box.active .calculator-toggle {
  transform: rotate(180deg);
}

.calculator-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.calculator-box.active .calculator-content {
  max-height: 600px;
  padding: 20px;
}

.calc-input-group {
  margin-bottom: 20px;
}

.calc-input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.calc-input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.calc-results {
  background: #f8fafc;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.calc-row:last-child {
  border-bottom: none;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 2px solid #1a1a2e;
  font-weight: 700;
  font-size: 1.1rem;
  color: #28a745;
}

.calc-label {
  color: var(--text);
}

.calc-value {
  font-weight: 600;
  color: #1a1a2e;
}

/* Calculator Tabs */
.calc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.calc-tab {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.calc-tab:hover {
  color: #1a1a2e;
  background: #f8fafc;
}

.calc-tab.active {
  color: #28a745;
  border-bottom-color: #28a745;
}

.calc-tab-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn-full-calculator {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #28a745 100%);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-full-calculator:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* 4. DOCUMENT PREVIEW - Below Description */
.dokumen-section {
  margin: 40px 0;
  padding: 32px;
  background: #f8fafc;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.dokumen-section h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 24px;
  text-align: center;
}

.dokumen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.dokumen-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.dokumen-card:hover {
  border-color: #28a745;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dokumen-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
}

.dokumen-name {
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.dokumen-status {
  font-size: 0.75rem;
  color: #28a745;
  font-weight: 600;
}

.doc-view-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #1a1a2e;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.doc-view-link:hover {
  color: #28a745;
}

.doc-request-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  background: #2c5f2d;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.doc-request-btn:hover {
  background: #1e4620;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.doc-request-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-dokumen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #28a745;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  justify-content: center;
}

.btn-dokumen:hover {
  background: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .peta-lot-button {
    padding: 10px 16px;
    font-size: 0.85rem;
    bottom: 12px;
    left: 12px;
  }

  .peta-lot-button svg {
    width: 16px;
    height: 16px;
  }

  .check-eligibility-box {
    padding: 16px;
  }

  .eligibility-buttons {
    flex-direction: column;
  }

  .dokumen-section {
    padding: 20px;
  }

  .dokumen-grid {
    grid-template-columns: 1fr;
  }

  .calculator-box.active .calculator-content {
    max-height: 700px;
  }
}
