a {
  text-decoration: none;
}
/* ====== REKOMENDASI CARD BARU (MODERN) ====== */
.rec-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 370px;
  margin-right: 18px;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.25s, transform 0.18s, border-color 0.18s;
  text-decoration: none !important;
}
.rec-card:link,
.rec-card:visited,
.rec-card:hover,
.rec-card:active {
  text-decoration: none !important;
}
.rec-card-img {
  width: 100%;
  height: 170px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rec-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.rec-card-body {
  padding: 16px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rec-card-price {
  color: var(--blue-primary);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}
.rec-card-title {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-card-location {
  color: #7b8a9a;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.rec-card-info {
  display: flex;
  gap: 12px;
  color: #5a6a7a;
  font-size: 14px;
  border-top: 1px solid #e0e0e0;
  padding-top: 8px;
  margin-top: 4px;
}
.rec-card-info i {
  margin-right: 3px;
}
.rec-card:hover {
  box-shadow: 0 8px 32px rgba(255, 193, 7, 0.15),
    0 2px 12px rgba(25, 118, 210, 0.1);
  transform: translateY(-6px) scale(1.025);
  border-color: var(--yellow-accent);
  z-index: 99;
}
@media (max-width: 768px) {
  .rec-card {
    min-width: 90vw;
    max-width: 98vw;
  }
  .rec-card-img {
    height: 140px;
  }
}
/* =================================
   GLOBAL STYLES & VARIABLES
   ================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --blue-primary: #1976d2;
  --blue-dark: #1565c0;
  --blue-light: #e3f2fd;
  --yellow-accent: #ffc107;
  --yellow-light: #fff8e1;
  --grey-main: #bdbdbd;
  --grey-light: #f8f9fa;
  --grey-medium: #e0e0e0;
  --grey-dark: #6c757d;
  --grey-footer-text: #94a3b8;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --white: #ffffff;
  --green-primary: var(--blue-primary);
  --green-dark: var(--blue-dark);
  --shadow-soft: 0px 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0px 8px 25px rgba(0, 0, 0, 0.1);
  --radius: 14px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Inter", sans-serif;
}

/* =================================
         GENERAL SETUP
         ================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.7;
  scrollbar-width: none; /* For Firefox */
}

body::-webkit-scrollbar {
  display: none; /* For Chrome, Safari, and Opera */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

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

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}
.btn-primary:hover {
  background-color: var(--yellow-accent);
  color: var(--text-primary);
  border-color: var(--yellow-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(41, 84, 58, 0.13);
}

.btn-outline {
  background-color: var(--yellow-accent);
  color: var(--text-primary);
  /* border-color: var(--grey-medium); */
}
.btn-outline:hover {
  background-color: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.section-header,
.section-header-inline {
  margin-bottom: 40px;
}

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

.section-header h2,
.section-header-inline h2 {
  font-size: 32px;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--text-primary);
}

.section-header p,
.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.section-header-inline .section-subtitle {
  margin: 0;
}

/* =================================
         HEADER & NAVIGATION
         ================================= */

.header {
  background: rgba(25, 118, 210, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: none;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0.4rem;
}
.header.scrolled {
  background: var(--blue-primary);
  box-shadow: var(--shadow-soft);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo img {
  height: 70px;
  filter: brightness(0) invert(1);
  display: block;
}

.nav-main {
  display: flex;
  gap: 28px;
}

.nav-main a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.2px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-main a:hover {
  color: var(--yellow-accent);
  border-bottom-color: var(--yellow-accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-actions .btn-outline {
  color: var(--text-primary);
  background: #64B5F6;
  /* border-color: var(--white); */
}
.nav-actions .btn-outline:hover {
  background-color: var(--white);
  color: var(--blue-primary);
  border-color: #64B5F6;
}
.btn-account {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* =================================
         HERO SECTION
         ================================= */
.hero {
  position: relative;
  height: 480px;
  background: #e9ecef;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.hero-search-box {
  position: relative;
  z-index: 3;
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 40px;
}

.search-tabs {
  display: flex;
  background: var(--green-primary);
  justify-content: center;
  align-items: center;
}

.search-tabs .tab {
  flex: 1;
  text-align: center;
  background: none;
  border: none;
  padding: 16px 24px;
  font-size: 16px;
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}
.search-tabs .tab:hover {
  color: var(--grey-main);
}
.search-tabs .tab.active {
  color: #64B5F6;
  border-bottom-color: #64B5F6;
  transition: all 0.3s ease;
  /* background: var(--white); */
}
.search-bar {
  display: flex;
  align-items: center;
  padding: 8px 8px 8px 24px;
}

.search-bar .fa-magnifying-glass {
  color: var(--white);
  font-size: 18px;
}

.search-bar input {
  flex-grow: 1;
  border: none;
  font-size: 16px;
  background: transparent;
  color: var(--white);
  outline: none;
  padding: 12px;
  caret-color: var(--green-primary);
}
.search-bar input::placeholder {
  color: var(--grey-main);
}
/* =================================
         PROPERTY CARDS & CAROUSELS
      ================================= */

/* --- Populer Properti Card --- */
.popular-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.popular-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}
.popular-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: absolute;
  z-index: 1;
}
.popular-card:hover > img {
  transform: scale(1.05);
}
.popular-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(29, 58, 40, 0.9) 0%,
    transparent 100%
  );
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}

.dev-logo {
  height: 28px;
  width: auto;
  position: absolute;
  top: 24px;
  left: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.popular-card-overlay h3 {
  font-size: 22px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0;
  color: var(--white);
}

.popular-card-info {
  background: var(--white);
  padding: 20px 24px;
  border-top: 1px solid var(--grey-medium);
  z-index: 3;
  margin-top: auto;
}

.popular-card-info h4 {
  font-size: 20px;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-weight: 700;
}
.popular-card-info p {
  color: var(--text-secondary);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Carousel Wrapper & Navigation (Unified) --- */
.property-carousel-wrapper {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.property-carousel-wrapper::-webkit-scrollbar {
  display: none;
}
.property-carousel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 4px; /* For box-shadow visibility */
}
.carousel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.carousel-actions .arrow {
  background: var(--white);
  border: 1.5px solid var(--grey-medium);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.carousel-actions .arrow:hover {
  background-color: var(--yellow-accent);
  border-color: var(--yellow-accent);
  color: var(--green-primary);
}

/* --- Properti Baru & Rekomendasi Card (Unified Style) --- */
.virtual-tour-card {
  border: 1.5px solid var(--grey-medium);
  border-radius: 20px;
  overflow: hidden;
  min-width: 320px;
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  box-shadow: 0 4px 18px rgba(41, 84, 58, 0.08);
  transition: var(--transition);
}
.virtual-tour-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 36px rgba(41, 84, 58, 0.12);
  border-color: var(--green-primary);
}

.card-image {
  position: relative;
  height: 180px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.official-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--yellow-accent);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(41, 84, 58, 0.1);
}

.card-content {
  padding: 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 4px;
}
.card-content p {
  font-size: 14px;
  color: var(--grey-dark);
  margin-bottom: 12px;
}
.card-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.card-content .location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: auto;
}
.card-actions {
  display: flex;
  gap: 10px;
  padding: 0 18px 18px 18px;
}

.btn-icon {
  background: var(--grey-light);
  border: 1.5px solid var(--grey-medium);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-primary);
  transition: var(--transition);
  width: 48px;
  height: 44px;
}
.btn-icon:hover {
  background: var(--yellow-accent);
  color: var(--green-primary);
  border-color: var(--yellow-accent);
}

.btn-whatsapp {
  flex-grow: 1;
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  border: none;
}
.btn-whatsapp:hover {
  background: #1ebe58;
  transform: translateY(-2px);
}

/* =================================
         KENAPA URBANLINK
      ================================= */
#kenapa-urbanlink .section-header h2 {
  color: var(--blue-primary);
}
#kenapa-urbanlink .section-header p {
  max-width: 600px;
}
.kenapa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.kenapa-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
  border: 1.5px solid transparent;
  text-align: left;
}
.kenapa-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow-accent);
  box-shadow: var(--shadow-medium);
}
.kenapa-icon {
  background-color: var(--green-primary);
  color: var(--yellow-accent);
  border-radius: 14px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(41, 84, 58, 0.1);
  transition: var(--transition);
}
.kenapa-card:hover .kenapa-icon {
  transform: scale(1.1) rotate(5deg);
}
.kenapa-card h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.kenapa-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* =================================
         TOOLS SECTION (REVAMPED)
      ================================= */
.tools-section {
  background-color: var(--grey-light);
}
.tools-section .section-header h2,
.tools-section .section-header p {
  color: var(--text-primary);
}

.tool-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: var(--transition);
  border: 1.5px solid transparent;
}
.tool-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-8px);
  border-color: var(--green-primary);
}
.tool-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  background-color: var(--yellow-accent);
  color: var(--green-primary);
  transition: var(--transition);
}
.tool-card:hover .tool-card-icon {
  transform: scale(1.1);
}
.tool-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 700;
}
.tool-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 15px;
  flex-grow: 1;
}
.tool-card .btn {
  width: 100%;
}
/* =================================
         TESTIMONIALS
      ================================= */
.testimonial-card {
  background-color: #fff;
  padding: 38px 28px 32px 28px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1.5px solid var(--grey-medium);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
  border-color: var(--yellow-accent);
}
.avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 2px 12px rgba(41, 84, 58, 0.2);
}
.testimonial-card h4 {
  font-size: 19px;
  margin-bottom: 2px;
  color: var(--text-primary);
  font-weight: 700;
}
.role {
  display: block;
  color: var(--grey-dark);
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
}
.testimonial-card p {
  line-height: 1.7;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 16px;
}
.testimonial-card p::before {
  content: "“";
  margin-right: 4px;
}
.testimonial-card p::after {
  content: "”";
  margin-left: 4px;
}

/* =================================
         FOOTER
         ================================= */
.usaha-modal {
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s;
}
.usaha-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 95vw;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.18);
  position: relative;
  animation: usahaModalIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto !important;
}
@keyframes usahaModalIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.usaha-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  font-weight: 700;
  transition: color 0.2s;
  z-index: 2;
}
.usaha-modal-close:hover {
  color: var(--green-primary);
}
.usaha-modal h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--green-primary);
}
.usaha-modal p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 10px;
}
.usaha-modal img {
  box-shadow: 0 2px 10px rgba(41, 84, 58, 0.08);
  border: 1.5px solid var(--grey-medium);
  margin-bottom: 6px;
}
.usaha-card .btn {
  margin-top: 10px;
}
@media (max-width: 600px) {
  .search-bar input {
  flex-grow: none;
    max-width: 65%
}
.btn.btn-primary{
  flex-grow: 1;

}

  .usaha-modal {
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0;
  }
  .usaha-modal-content {
    padding: 12px 2vw 18px 2vw;
    max-width: 100vw;
    width: 100vw;
    min-height: 40vh;
    border-radius: 18px 18px 0 0;
    margin: 0;
    box-shadow: 0 -2px 24px rgba(41, 84, 58, 0.18);
  }
  .usaha-modal h2 {
    font-size: 17px;
  }
  .usaha-modal-close {
    top: 10px;
    right: 12px;
    font-size: 24px;
  }
}
.footer {
  background-color: var(--green-dark);
  color: var(--grey-footer-text);
  padding: 80px 0 40px;
  border-top: 6px solid var(--yellow-accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo {
  height: 70px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-col p {
  line-height: 1.7;
  padding-right: 16px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--grey-footer-text);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--yellow-accent);
}
.footer-bottom {
  border-top: 1px solid #3b4d44;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-contact-list {
  margin-bottom: 14px;
  padding-left: 0;
  list-style: none;
}
/* Setiap kontak di list, lebih rapi dan rata kiri */
.footer-contact-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 15px;
  padding-left: 0;
}
.footer-contact-list div:last-child {
  margin-bottom: 0;
}
.footer-contact-list i {
  color: var(--yellow-accent);
  font-size: 17px;
  min-width: 20px;
  display: inline-block;
  text-align: center;
}
.footer-contact-list a {
  color: var(--grey-footer-text);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
  letter-spacing: 0.1px;
  font-size: 15px;
}
.footer-contact-list a:hover {
  color: var(--yellow-accent);
  text-decoration: underline;
}
.footer-contact-nama {
  color: var(--grey-footer-text);
  line-height: 1.6;
  font-size: 14px;
  margin-top: 12px;
  padding-left: 2px;
}

.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  color: var(--grey-footer-text);
  font-size: 16px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  align-items: center;
  border-radius: 50%;
  transition: var(--transition);
  background-color: #3b4d44;
}
.socials a:hover {
  background-color: var(--yellow-accent);
  color: var(--green-primary);
}

/* =================================
         RESPONSIVE DESIGN
         ================================= */
@media (max-width: 1200px) {
  .kenapa-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .nav-main {
    display: none; /* Perlu JS untuk menu mobile */
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .kenapa-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  .section-header h2,
  .section-header-inline h2 {
    font-size: 28px;
  }
  .grid-3,
  .kenapa-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-search-box {
    width: 95%;
  }
  .section-header-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .virtual-tour-card {
    min-width: 280px;
    width: 280px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 420px;
  }
  .search-tabs .tab {
    font-size: 14px;
    padding: 14px 10px;
  }
  .nav-actions .btn-outline {
    display: none;
  }
}

/* =================================
         WHATSAPP FLOATING BUTTON
         ================================= */
.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 9999;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  font-size: 36px;
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.18s;
}
.floating-wa:hover {
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.25);
  transform: scale(1.08);
  color: #fff;
  background: #1ebe5d;
}
@media (max-width: 600px) {
  .floating-wa {
    right: 12px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

/* =================================
         AGENT CARD STYLES
         ================================= */
.agent-card {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: #fff;
  padding-bottom: 12px;
}
.agent-contact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: #fff;
  padding: 0;
  box-shadow: none;
  border-top: none;
  width: 100%;
  max-width: 100%;
}
.detail-sidebar {
  padding-bottom: 80px;
}
@media (max-width: 900px) {
  .agent-card {
    position: static;
  }
  .agent-contact-row {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: #f9f9f9;
    width: 100vw;
    max-width: 100vw;
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 0;
    padding: 10px 8px;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.07);
    border-top: 1.5px solid #e0e0e0;
  }
  .detail-sidebar {
    padding-bottom: 90px;
  }
}

/* ====================
pencaririan
==================== */
/* Tambahkan ini di style.css */
.search-results-section {
  padding: 120px 0 50px; /* beri padding atas agar tidak tertutup header */
}

.results-title {
  /* color: #fff; */
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.results-subtitle {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
/* =================================
         MOBILE SIDEBAR
   ================================= */

.hamburger {
  display: none; /* Sembunyikan di desktop */
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  background-color: var(--white);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--grey-medium);
}

.sidebar-logo img {
  height: 50px;
  /* Logo tidak di-invert di sidebar */
}

.close-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  flex-grow: 1;
}

.sidebar-nav a {
  color: var(--text-primary);
  padding: 14px 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.2s;
}

.sidebar-nav a:hover {
  background-color: var(--blue-light);
  color: var(--blue-primary);
}

.sidebar-actions {
  padding: 24px;
  border-top: 1px solid var(--grey-medium);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sidebar-actions .btn {
  width: 100%;
  padding: 14px 24px;
  justify-content: center;
}
.btn-account-sidebar {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}
.btn-account-sidebar:hover {
    background-color: var(--grey-light);
}
.btn-account-sidebar i {
    font-size: 20px;
    color: var(--blue-primary);
}
.btn-account-sidebar small {
    font-weight: 400;
    color: var(--text-secondary);
}


.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.sidebar-overlay.open {
  opacity: 1;
  visibility: visible;
}


/* Tampilkan hamburger dan sembunyikan navigasi utama di mobile */
@media (max-width: 992px) {
  .nav-main,
  .nav-actions {
    display: none;
  }
  .hamburger {
    display: block;
  }
}