/* Base Styles for All Screens */
.screen {
  align-items: flex-start;
  background-color: var(--wild-sand);
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}

.header {
  position: relative;
  width: 100%;
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 12px 125px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.nav.scrolled {
  background-color: #575757af;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  flex-direction: column;
  padding: 0 16px 0 0;
}

.logo {
  background-image: url(../img/logo.png);
  background-position: 50% 50%;
  background-size: cover;
  height: 40px;
  width: 40px;
}

.nav-center {
  display: flex;
  justify-content: center;
  flex: 1;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-menu-container {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-menu .logo {
  display: none;
}

.nav-menu-container li:last-child,
.nav-menu-container li:nth-last-child(2) {
  display: none;
}

.menu-icon {
  display: none;
  height: 36px;
  width: 36px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

.nav-menu li {
  margin-left: 16px;
  position: relative;
}

.nav-link,
.nav-button,
.language-button,
.login-link {
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m);
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  padding: 8px;
}

.nav-button,
.language-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link.active {
  font-weight: 700;
}

.login-link {
  display: flex;
  align-items: center;
}

.login-link .icon {
  height: 20px;
  width: 20px;
  margin-right: 8px;
}

/* Add Property Button Styling */
.add-property-btn {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #F5A623;
  border: #F5A623 2px solid;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m, 16px);
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.add-property-btn .add-icon {
  content: '+';
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  border: #F5A623 2px solid;
  color: #F5A623;
  border-radius: 50%;
  margin-right: 8px;
  font-size: 14px;
  font-weight: 700;
}

.add-property-btn:hover {
  background-color: #e69520;
  color: #fff;
  border: #F5A623 2px solid;
  transition: background-color 0.3s ease;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background: #00000080;
  padding: 12px 0;
  border-radius: 12px;
  min-width: 220px;
  backdrop-filter: blur(8px);
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}


/* Close button styling */
.close-button {
  display: none; /* Hidden in desktop view */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 36px;
  height: 36px;
}

.close-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Login Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 380px;
  /*height: 680px;*/
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
}

.modal-content h1 {
  text-align: left;
  font-family: var(--font-family-manrope);
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}


.close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  border-radius: 50%;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.6);
  transition: filter 0.2s;
}

.close:hover img,
.close:focus img {
  filter: none;
}

.hr{
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

.login-text {
  margin-top: 50px;
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 38px; 
  margin-left: 12px;
} 

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-family-manrope);
  font-size: 16px;
  box-sizing: border-box;
}

.forgotton-password{
  display: block;
  text-align: right;
  font-size: 0.95em;
  color: #F5A623;
  text-decoration: none;
  font-family: var(--font-family-manrope);
  transition: color 0.2s;
  margin-top: -10px;
}

.forgot-password-link:hover {
  color: #e69520;
  text-decoration: underline;
}

.continue-btn {
  width: 100%;
  padding: 12px;
  background-color: #F5A623;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-family-manrope);
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 10px;
}

.login-modal-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #F5A623;
  margin: 12px 0 0 0;
  font-family: var(--font-family-manrope);
}

.login-modal-link a {
  color: #F5A623;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.login-modal-link a:hover {
  color: #e69520;
  text-decoration: underline;
}

.signup-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #333;
  margin: 12px 0 0 0;
  font-family: var(--font-family-manrope);
}

.signup-link a {
  color: #F5A623;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.signup-link a:hover {
  color: #e69520;
  text-decoration: underline;
}

.or-text {
  text-align: center;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  color: #666;
  margin: 10px 0;
}

.google-btn {
  width: 100%;
  padding: 12px;
  background-color: #fff;
  color: #666;
  border: 1px solid #282525;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-family-manrope);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.google-btn img {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

p {
  font-family: var(--font-family-manrope);
  font-size: 12px;
  color: #666;
  margin: 0;
}

p a {
  color: #F5A623;
  text-decoration: none;
}

.register-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 380px;
  height: 620px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
}

.register-modal-content h1 {
  text-align: left;
  font-family: var(--font-family-manrope);
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}


/* ================================
   MODAL BACKDROP
================================ */
.pro-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

/* ================================
   MODAL CONTAINER
================================ */
.pro-modal-content {
  background: #fff;
  margin: auto;
  padding: 30px 35px;
  border-radius: 14px;
  width: 92%;
  max-width: 1050px;
  position: relative;
  animation: proFadeIn 0.25s ease-in-out;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

@keyframes proFadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to   {opacity: 1; transform: scale(1);}
}

/* ================================
   CLOSE BUTTON
================================ */
.pro-close-btn {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #eee;
  border: none;
  padding: 5px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-close-btn img {
  width: 16px;
  height: 16px;
}

/* ================================
   TITLE + DIVIDER
================================ */
.pro-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 600;
}

.pro-divider {
  width: 70px;
  height: 3px;
  margin: 5px auto 20px;
  background: #F5A623;
  border-radius: 4px;
}

/* ================================
   GRID STRUCTURE (IMPROVED)
================================ */
.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 35px;
  grid-auto-rows: minmax(min-content, auto);
  align-items: start;
}

.pro-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ================================
   INPUT GROUP STYLING
================================ */
.pro-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pro-group label {
  font-weight: 600;
  font-size: 14px;
}

.pro-group input,
.pro-group select,
.pro-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

.pro-group input:focus,
.pro-group select:focus,
.pro-textarea:focus {
  border-color: #F5A623;
  box-shadow: 0 0 0 2px rgba(245,166,35,0.25);
}

.pro-textarea {
  height: 140px;
  resize: vertical;
  margin-top: 5px;
}

/* ================================
   DROPZONE
================================ */
.pro-dropzone {
  border: 2px dashed #d1d1d1;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  background: #fafafa;
}

.pro-dropzone:hover {
  border-color: #F5A623;
  background: #fff8e6;
}

/* ================================
   GALLERY + PREVIEW
================================ */
.pro-preview img {
  width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 8px;
}

.pro-gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.pro-gallery-preview img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

/* ================================
   FACILITIES BOX
================================ */
.pro-box-scroll {
  max-height: 180px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid #ddd;
  background: #fafafa;
  border-radius: 8px;
}

.pro-box-scroll::-webkit-scrollbar {
  width: 6px;
}

.pro-box-scroll::-webkit-scrollbar-thumb {
  background: #F5A623;
  border-radius: 4px;
}

/* ================================
   FOOTER BUTTON
================================ */
.pro-footer {
  text-align: center;
  margin-top: 20px;
}

.pro-submit-btn {
  background: #F5A623;
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.25s;
}

.pro-submit-btn img {
  width: 18px;
}

.pro-submit-btn:hover {
  background: #d98f19;
}

/* ================================
   LOADER
================================ */
.pro-loader-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85);
  z-index: 20;
  border-radius: 14px;
  text-align: center;
  padding-top: 120px;
}

.pro-spinner {
  width: 45px;
  height: 45px;
  border: 4px solid #ddd;
  border-top-color: #F5A623;
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================================
   FULL WIDTH
================================ */
.full {
  grid-column: 1 / -1;
}

/* ================================
   RESPONSIVE
================================ */
@media(max-width: 780px) {
  .pro-modal-content {
    padding: 22px;
  }

  .pro-grid {
    grid-template-columns: 1fr;
  }
}

/* Filter Modal Styles */
.filter-modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 380px;
  height: 450px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
}

.filter-modal-content h1 {
  text-align: left;
  font-family: var(--font-family-manrope);
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  border-radius: 50%;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.6);
  transition: filter 0.2s;
}

.close:hover img,
.close:focus img {
  filter: none;
}

.filter-modal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.filter-modal-row {
  display: flex;
  gap: 24px;
  margin-bottom: 0;
}

.filter-modal-row .filter-section {
  flex: 1;
  margin-bottom: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-modal-row .filter-section label {
  font-family: var(--font-family-manrope);
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.filter-modal-row .filter-section select,
.filter-modal-row .filter-section input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  background: #fff;
  margin-bottom: 0;
}

.filter-modal-row .facility-checkboxes,
.filter-modal-row .posted-since-checkboxes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-modal-row .facility-checkboxes label,
.filter-modal-row .posted-since-checkboxes label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
}

.filter-modal-row .facility-checkboxes input[type="checkbox"],
.filter-modal-row .posted-since-checkboxes input[type="checkbox"] {
  margin-right: 6px;
}

.multi-select-dropdown {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.selected-items {
  border: 1px solid #ccc;
  min-height: 38px;
  padding: 6px 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.selected-facility {
  background: #e0e0e0;
  border-radius: 12px;
  padding: 2px 10px;
  margin-right: 4px;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
}
.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid #ccc;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 8px 0;
}
.dropdown-list label {
  display: block;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 15px;
}
.dropdown-list label:hover {
  background: #f5f5f5;
}
.placeholder {
  color: #888;
  font-size: 15px;
}

.filter-modal-row.budget-row {
  gap: 16px;
}

.filter-modal-row.budget-row .filter-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-modal-row.budget-row input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
}

.filter-modal-row.posted-since-row {
  gap: 16px;
}

.filter-modal-row.posted-since-row .filter-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.filter-modal-form hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1px 0;
}

.filter-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.clear-filters-btn,
.apply-filters-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  font-family: var(--font-family-manrope);
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.clear-filters-btn {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
}

.apply-filters-btn {
  background: #F5A623;
  color: #fff;
  border: 1px solid #F5A623;
}

.clear-filters-btn .button-icon,
.apply-filters-btn .button-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .filter-modal-row {
    flex-direction: column;
    gap: 12px;
  }
  .filter-modal-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* Hero Section */
.hero {
  align-items: center;
  background-image: url(../img/background-overlay-5.png);
  background-position: 50% 50%;
  background-size: cover;
  display: flex;
  flex-direction: column;
  height: 376px;
  width: 100%;
  padding: 200px 0 142px;
  position: relative;
  z-index: 1;
}

.overlay {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 0 12px;
  width: 100%;
  max-width: 1670px;
  margin-bottom: -14px;
}

.hero-title {
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-xxxxl);
  font-weight: 700;
  line-height: 48px;
  text-align: center;
  width: 100%;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: visible;
  z-index: 1;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: flex;
  position: relative; /* Added to position the overlay */
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: 1; /* Overlay above the image but below other content */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0; /* Ensure image is below the overlay */
}

.slider-btn {
  position: absolute;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease;
  padding: 0;
}

.slider-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slider-btn:hover {
  background-color: #f0f0f0;
}

.slider-btn.prev {
  top: calc(50% - 48px);
}

.slider-btn.next {
  top: calc(50% + 8px);
}

/* Search Bar Styles */
.slider-search {
  position: absolute;
  bottom: -70px; /* Adjusted to show the full search bar on desktop */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
}

.search-tabs {
  display: flex;
  gap: 0;
}

.search-tabs .tab {
  background-color: #fff;
  border: none;
  padding: 15px 25px;
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-tabs .tab:first-child {
  border-top-left-radius: 8px;
}

.search-tabs .tab:last-child {
  border-top-right-radius: 8px;
}

.search-tabs .tab.active {
  background-color: #F5A623;
  color: var(--white-2);
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--white-2);
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
}

.search-input {
  flex: 1;
  border: none;
  padding: 11px 45px;
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m);
  outline: none;
  background-image: url('../img/search-icon.png');
  background-repeat: no-repeat;
  background-position: left;
}

.search-option-btn {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: none;
  border-left: 1px solid #e0e0e0;
  padding: 12px 16px;
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m);
  color: #666;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-option-btn:hover {
  background-color: #f5f5f5;
}

.search-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.search-btn {
  background-color: #F5A623;
  color: var(--white-2);
  border: none;
  padding: 12px 24px;
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.search-btn:hover {
  background-color: #e69520;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.content-section {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 50px 0;
  width: 100%;
  max-width: 1918px;
}

/* Discover Our Featured Listings Section */
.featured-listings {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px;
  margin-top: 100px;
}

.featured-listings .section-header{
  margin-bottom: 40px;
}

.featured-listings-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.listings-container {
  position: relative;
}

/* Add margin-bottom to create space for the scrollbar above the cards */
.listings-grid {
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
  gap: 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding: 0 12px;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #F5A623 #fff; /* Orange thumb, white track for Firefox */
  margin-bottom: 16px; /* Space for scrollbar above the cards */
}

.listings-grid::-webkit-scrollbar {
  height: 8px;
}

.listings-grid::-webkit-scrollbar-track {
  background: #fff;
}

.listings-grid::-webkit-scrollbar-thumb {
  background: #F5A623;
  border-radius: 4px;
  box-shadow: 0 0 8px 2px #F5A623, 0 0 4px 1px #fff inset;
}

/* .listings-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
} */

.listing-card {
  background-color: var(--white-2);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  flex: 0 0 350px; /* Increased width */
  max-width: 380px;
  scroll-snap-align: start;
  display: block;
  height: 440px; /* Increased height for bigger card */
}

.listing-card:hover {
  transform: translateY(-5px);
}

.listing-image {
  position: relative;
  width: 100%;
  height: 280px; /* Increased height for bigger card */
  background-size: cover;
  background-position: center;
}

.featured-label,
.feature-label,
.shortlet-label,
.under-construction-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #F5A623;
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
}

.shortlet-label,
.under-construction-label {
  left: 80px;
}

.location-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
}

.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.favorite-icon {
  width: 16px;
  height: 16px;
}

.listing-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.listing-type {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f5a623;
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.type-icon {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

.listing-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-location {
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 12px 0;
}

.listing-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.spec {
  display: flex;
  align-items: center;
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 400;
}

.spec-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

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

.sell-label,
.rent-label {
  background-color: #E6F0FA;
  color: #1E90FF;
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
}

.listing-price {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 16px;
  font-weight: 600;
}

/* Pagination Dots for Featured Listings */
.featured-listings .pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.featured-listings .pagination-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 1.5px solid #F5A623;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.featured-listings .pagination-dots .dot.active {
  background-color: #F5A623;
  border-color: #F5A623;
}

.featured-listings .see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.featured-listings .see-all-text {
  color: #333;
  font-weight: 600;
  position: relative;
  font-size: large;
  transition: color 0.3s ease;
}

/* underline animation */
.featured-listings .see-all-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #FFA900;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.featured-listings .see-all-icon img {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}

/* On hover */
.featured-listings .see-all-link:hover .see-all-text {
  color: #FFA900;
}

.featured-listings .see-all-link:hover .see-all-text::after {
  transform: scaleX(1);
}

.featured-listings .see-all-link:hover .see-all-icon img {
  transform: translateX(5px);
}

.featured-listings .see-all-link:hover .see-all-text {
  background: linear-gradient(to right, #FFA900, #FFCC33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.key-image {
  width: 33px !important;
  height: 33px !important;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.4);
}

.see-all-link:hover .key-image {
  transform: rotate(-10deg) translateX(4px) scale(1.1);
  filter: brightness(1) drop-shadow(0 0 4px #ffa900aa);
}

/* Explore Apartment Types Section */
.explore-apartment-types {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px;
  margin-top: 50px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.explore-apartment-types .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  margin-top: 20px;
  width: 100%;
  flex-wrap: nowrap;
}

.explore-apartment-types .explore-apartment-types-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  flex-grow: 1;
}

/* Style the see-all-link for explore-service-types */
.explore-apartment-types .see-all-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  flex-shrink: 0;
  margin-left: 24px;
  margin-right: 0;
  min-width: max-content;
}

.explore-apartment-types .see-all-link .see-all-text {
  margin-right: 8px;
}

.explore-apartment-types .see-all-link .see-all-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.explore-apartment-types .see-all-link .see-all-icon img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

/* Ensure view-all-categories is visible on larger screens */
.explore-apartment-types .view-all-categories {
  display: flex;
  align-items: center;
  background-color: #F5A623;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-left: 20px;
}

.explore-apartment-types .view-all-categories .magnifying-glass-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  background-size: cover;
  background-position: center;
}

.explore-apartment-types .view-all-categories:hover {
  background-color: #e69520;
}

/* Hide see-all-link on larger screens */
.explore-apartment-types .see-all-link {
  display: none;
}

.explore-apartment-types .listings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for new layout */
  gap: 20px;
  padding: 0;
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px; /* Space for pagination dots */
}

/* Large cards (first and last) placement for 4-column layout */
.explore-apartment-types .service-type-card:nth-child(1) {
  grid-column: 1 / 3; /* Span columns 1 and 2 */
  height: 200px;
}
.explore-apartment-types .service-type-card:nth-child(6) {
  grid-column: 3 / 5; /* Span columns 3 and 4 */
  height: 200px;
}

.explore-apartment-types .service-type-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
  height: 200px;
}

.explore-apartment-types .service-type-card:hover {
  transform: translateY(-5px);
}

.explore-apartment-types .service-type-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.explore-apartment-types .service-type-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.885), transparent);
}

.explore-apartment-types .service-type-details {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-family: var(--font-family-manrope);
}

.explore-apartment-types .service-type-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.explore-apartment-types .service-type-count {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

/* Smaller cards (fill remaining columns) */
.explore-apartment-types .service-type-card:nth-child(2),
.explore-apartment-types .service-type-card:nth-child(3),
.explore-apartment-types .service-type-card:nth-child(4),
.explore-apartment-types .service-type-card:nth-child(5) {
  grid-column: auto;
  height: 200px;
}

/* Secondary Slider Styles */
/* .secondary-slider {
  width: 100%;
  max-width: 1670px;
  padding: 0 32px;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.secondary-slider .slider-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.secondary-slider .slides {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.secondary-slider .slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.secondary-slider .slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.secondary-slider .slider-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.secondary-slider .slider-dots .dot.active {
  background-color: #F5A623;
} */

/* Most Viewed Properties Section */
.most-viewed-properties {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px; 
  margin-top: 50px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  width: 100%; 
}

.most-viewed-title,
.upcoming-projects-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.most-viewed-properties .see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.most-viewed-properties .see-all-text {
  color: #333;
  font-weight: 600;
  position: relative;
  font-size: large;
  transition: color 0.3s ease;
}

/* underline animation */
.most-viewed-properties .see-all-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #FFA900;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.most-viewed-properties .see-all-icon img {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}

/* On hover */
.most-viewed-properties .see-all-link:hover .see-all-text {
  color: #FFA900;
}

.most-viewed-properties .see-all-link:hover .see-all-text::after {
  transform: scaleX(1);
}

.most-viewed-properties .see-all-link:hover .see-all-icon img {
  transform: translateX(5px);
}

.most-viewed-properties .see-all-link:hover .see-all-text {
  background: linear-gradient(to right, #FFA900, #FFCC33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.key-image {
  width: 33px !important;
  height: 33px !important;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.4);
}

.see-all-link:hover .key-image {
  transform: rotate(-10deg) translateX(4px) scale(1.1);
  filter: brightness(1) drop-shadow(0 0 4px #ffa900aa);
}

/* Pagination Dots for Featured Listings */
.most-viewed-properties .pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.most-viewed-properties .pagination-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 1.5px solid #F5A623;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.most-viewed-properties .pagination-dots .dot.active {
  background-color: #F5A623;
  border-color: #F5A623;
}


/* Browse By Agents Section */
.browse-by-agents {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px;
  margin-top: 50px;
  background-color: #fff; /* Set section background to white */
  display: flex;
  flex-direction: column;
}

.browse-by-agents .section-header {
  display: none; /* Hidden by default, shown on smaller screens */
}

.browse-by-agents .listings-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 30px 10px;
  margin: 0;
  scrollbar-width: none;
}

.browse-by-agents .listings-grid::-webkit-scrollbar {
  display: none;
}

.browse-by-agents .agent-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background-color: #F5F7FA;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
    position: relative; /* Needed for overlay positioning */
}

/* Header card styling */
.browse-by-agents .agent-card.header-card {
  padding: 25px;
  justify-content: flex-start;
  box-shadow: none;
}

/* Disable transform effect on header card */
.browse-by-agents .agent-card.header-card:hover {
  transform: none;
}

/* Overlay base (invisible initially) */
.browse-by-agents .agent-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #FFA900;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
  border-radius: 8px;
}

/* On hover: show the golden overlay */
.browse-by-agents .agent-card:hover::after {
  opacity: 100%; /* Adjust for more or less intensity */
}

/* Keep card content above overlay */
.browse-by-agents .agent-card > * {
  position: relative;
  z-index: 2;
}

.browse-by-agents .header-card .browse-by-agents-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 35px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  margin: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 20px;
}

.browse-by-agents .header-card .browse-by-agents-title img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  object-fit: contain;
}

.browse-by-agents .header-card .view-all-agents {
  color: #fff;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background-color: #1a202c;
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 15px; /* Space between title and button */
  width: fit-content;
}

.browse-by-agents .header-card .view-all-agents img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  object-fit: contain;
}

.browse-by-agents .agent-card:hover {
  transform: translateY(-5px);
}

.browse-by-agents .agent-image {
  width: 80px;
  height: 80px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 4px solid #ffffff;
}

.browse-by-agents  .agent-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.browse-by-agents .agent-name {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.browse-by-agents .agent-property-count {
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  margin: 0;
  background-color: #fff;
  padding: 12px;
}

/* Pagination Dots for Featured Listings */
.browse-by-agents  .pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.browse-by-agents  .pagination-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 1.5px solid #F5A623;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.browse-by-agents  .pagination-dots .dot.active {
  background-color: #F5A623;
  border-color: #F5A623;
}

/* Upcoming Projects Section */
.upcoming-projects {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px;
  margin-top: 50px;
  background-color: #2A2F3A;
  position: relative;
}

.upcoming-projects .section-header {
  margin-top: 30px;
  margin-bottom: 40px;
}

.upcoming-projects .upcoming-projects-title {
  color: var(--white-2);
}

.upcoming-projects .see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.upcoming-projects .see-all-text {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  font-size: large;
  transition: color 0.3s ease;
}

/* underline animation */
.upcoming-projects .see-all-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #FFA900;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.upcoming-projects .see-all-icon img {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}

/* On hover */
.upcoming-projects .see-all-link:hover .see-all-text {
  color: #FFA900;
}

.upcoming-projects .see-all-link:hover .see-all-text::after {
  transform: scaleX(1);
}

.upcoming-projects .see-all-link:hover .see-all-icon img {
  transform: translateX(5px);
}

.upcoming-projects .see-all-link:hover .see-all-text {
  background: linear-gradient(to right, #FFA900, #FFCC33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.key-image {
  width: 33px !important;
  height: 33px !important;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.4);
}

.see-all-link:hover .key-image {
  transform: rotate(-10deg) translateX(4px) scale(1.1);
  filter: brightness(1) drop-shadow(0 0 4px #ffffffaa);
}

.upcoming-projects .listings-grid {
  gap: 20px;
}

.upcoming-projects .listing-card {
  flex: 0 0 350px;
  display: flex;
  flex-direction: column;
  height: 300px; /* Increased height for bigger card */
}

.upcoming-projects .listing-image {
  width: 100%;
  height: 200px;
  border-radius: 8px 8px 0 0;
}

.upcoming-projects .listing-details {
  width: 100%;
  padding: 16px;
  background-color: var(--white-2);
  border-radius: 0 0 8px 8px;
}

.upcoming-projects .listing-type {
  margin-bottom: 8px;
}

.upcoming-projects .listing-title {
  font-size: 16px; 
  margin-bottom: 4px;
}

.upcoming-projects .listing-location {
  font-size: 12px; 
}

/* Label Container with Icon and Text */
.upcoming-projects .label-container {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
}

.upcoming-projects .label-icon {
  width: 16px;
  height: 16px;
}

.upcoming-projects .shortlet-label,
.upcoming-projects .under-construction-label {
  position: static; 
  background-color: #F5A623;
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Pagination Dots for Upcoming Projects */
.upcoming-projects .pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 100px;
}

.upcoming-projects .pagination-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.upcoming-projects .pagination-dots .dot.active {
  background-color: #ffffff;
}

/* Remove elements not needed for upcoming projects */
.upcoming-projects .listing-divider,
.upcoming-projects .listing-specs,
.upcoming-projects .listing-footer,
.upcoming-projects .location-tag,
.upcoming-projects .favorite-btn {
  display: none;
}

/* Subscribe Now Card Styles */
.subscribe-card {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F5A623;
  border-radius: 8px;
  padding: 40px 50px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  z-index: 10; 
}

.subscribe-title {
  color: #ffffff;
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0; 
}

.subscribe-btn {
  background-color: var(--white-2);
  color: #333;
  border: none;
  padding: 0px 40px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.subscribe-btn::after {
  content: '';
  width: 12px;
  height: 12px;
  background-size: cover;
}

.subscribe-btn:hover {
  background-color: #e0e0e0;
}

/* Discover Our Most Favourite Properties Section */
.most-favorite-properties {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px; 
  margin-top: 80px;
}

.most-favorite-properties .most-favorite-properties-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
}

.most-favorite-properties .see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.most-favorite-properties .see-all-text {
  color: #000000;
  font-weight: 600;
  position: relative;
  font-size: large;
  transition: color 0.3s ease;
}

/* underline animation */
.most-favorite-properties .see-all-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #FFA900;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.most-favorite-properties .see-all-icon img {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}

/* On hover */
.most-favorite-properties .see-all-link:hover .see-all-text {
  color: #FFA900;
}

.most-favorite-properties .see-all-link:hover .see-all-text::after {
  transform: scaleX(1);
}

.most-favorite-propertiess .see-all-link:hover .see-all-icon img {
  transform: translateX(5px);
}

.most-favorite-properties .see-all-link:hover .see-all-text {
  background: linear-gradient(to right, #FFA900, #FFCC33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.key-image {
  width: 33px !important;
  height: 33px !important;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.4);
}

.see-all-link:hover .key-image {
  transform: rotate(-10deg) translateX(4px) scale(1.1);
  filter: brightness(1) drop-shadow(0 0 4px #ffffffaa);
}

.most-favorite-properties .listings-grid {
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
  gap: 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding: 0 12px;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #ccc transparent; /* For Firefox */
}

.most-favorite-properties .listings-grid::-webkit-scrollbar {
  height: 8px;
}

.most-favorite-properties .listings-grid::-webkit-scrollbar-track {
  background: transparent;
}

.most-favorite-properties .listings-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.most-favorite-properties .listing-card {
  flex: 0 0 280px;
  scroll-snap-align: start; 
}

/* Pagination Dots for Featured Listings */
.most-favorite-properties  .pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.most-favorite-properties  .pagination-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 1.5px solid #F5A623;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.most-favorite-properties  .pagination-dots .dot.active {
  background-color: #F5A623;
  border-color: #F5A623;
}

/* Updated Properties Nearby Cities Section */
.properties-nearby-cities {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px; 
  margin-top: 50px; 
  position: relative; 
}

.properties-nearby-cities .section-header {
  margin-bottom: 40px;
}

.properties-nearby-cities .nearby-cities-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.properties-nearby-cities .see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.properties-nearby-cities .see-all-text {
  color: #000000;
  font-weight: 600;
  position: relative;
  font-size: large;
  transition: color 0.3s ease;
}

/* underline animation */
.properties-nearby-cities .see-all-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #FFA900;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.properties-nearby-cities .see-all-icon img {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}

/* On hover */
.properties-nearby-cities .see-all-link:hover .see-all-text {
  color: #FFA900;
}

.properties-nearby-cities .see-all-link:hover .see-all-text::after {
  transform: scaleX(1);
}

.properties-nearby-cities .see-all-link:hover .see-all-icon img {
  transform: translateX(5px);
}

.properties-nearby-cities .see-all-link:hover .see-all-text {
  background: linear-gradient(to right, #FFA900, #FFCC33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.key-image {
  width: 33px !important;
  height: 33px !important;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: brightness(0.4);
}

.see-all-link:hover .key-image {
  transform: rotate(-10deg) translateX(4px) scale(1.1);
  filter: brightness(1) drop-shadow(0 0 4px #ffffffaa);
}

.properties-nearby-cities .listings-container {
  position: relative;
}

.properties-nearby-cities .listings-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding: 0 12px;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for Edge */
}

.properties-nearby-cities .listings-grid::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome, Safari */
}

.properties-nearby-cities .city-card {
  flex: 0 0 280px; 
  scroll-snap-align: start; 
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}

.properties-nearby-cities .city-card:hover {
  transform: translateY(-5px);
}

.properties-nearby-cities .city-image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative; /* For the overlay */
}

.properties-nearby-cities .city-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Cover only the bottom half */
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 0 0 8px 8px;
}

.properties-nearby-cities .city-details {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 16px;
  border-radius: 8px;
  width: 90%; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.properties-nearby-cities .city-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.properties-nearby-cities .city-title {
  color: #333; 
  font-family: var(--font-family-manrope);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.properties-nearby-cities .city-properties {
  color: #666; 
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 400;
  margin: 0;
}

.properties-nearby-cities .city-arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
}

/* Animate and change color on hover */
.properties-nearby-cities .arrow-icon {
  transition: fill 0.3s ease;
  fill: #515151; /* default white */
}

.properties-nearby-cities .city-card:hover .arrow-icon {
  fill: #FFA900; /* hover orange */
}

.city-card {
  position: relative;
  overflow: hidden;
}

.city-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.city-card:hover::after {
  opacity: 1;
}

.city-details {
  position: relative;
  z-index: 3;
}
.city-arrow {
  transition: all 0.3s ease;
}

.city-card:hover .city-arrow {

  fill: #FFA900;             /* if it's an inline SVG */
}

/* Pagination Dots for Featured Listings */
.properties-nearby-cities  .pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.properties-nearby-cities  .pagination-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 1.5px solid #F5A623;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.properties-nearby-cities  .pagination-dots .dot.active {
  background-color: #F5A623;
  border-color: #F5A623;
}

/* Our Articles Section */
.our-articles {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px; 
  margin-top: 50px;
}

.our-articles .section-header {
  margin-bottom: 40px;
}

.our-articles .articles-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.our-articles .listings-container {
  position: relative;
}

.our-articles .articles-grid {
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
  gap: 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  padding: 0 12px;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #ccc transparent; /* For Firefox */
}

.our-articles .articles-grid::-webkit-scrollbar {
  height: 8px;
}

.our-articles .articles-grid::-webkit-scrollbar-track {
  background: transparent;
}

/* .our-articles .articles-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
} */

.our-articles .article-card {
  background-color: var(--white-2);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  flex: 0 0 350px;
  scroll-snap-align: start; 
  display: flex;
  flex-direction: column;
}

.our-articles .article-card:hover {
  transform: translateY(-5px);
}

.our-articles .article-image {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.our-articles .article-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #F5A623;
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
}

.our-articles .article-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.our-articles .article-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.our-articles .article-description {
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
  flex-grow: 1; 
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
}

.our-articles .show-more {
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 12px;
}

.our-articles .show-more:hover {
  text-decoration: underline;
}

.our-articles .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family-manrope);
  font-size: 12px;
  color: #666;
}

.our-articles .article-author,
.our-articles .article-date {
  font-weight: 400;
}

/* Pagination Dots for Featured Listings */
.our-articles  .pagination-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.our-articles  .pagination-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 1.5px solid #F5A623;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.our-articles  .pagination-dots .dot.active {
  background-color: #F5A623;
  border-color: #F5A623;
}

/* All Properties Section */

/* Content Section Styles */
.content-section.filter-and-listings {
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  padding: 50px 125px;
}

.content-section.properties-nearby-cities-list {
  display: flex;
  flex-direction: row;
  padding: 0px 135px;
  width: 100%;
  max-width: 1918px;
}

.content-section.featured-properties-list {
  display: flex;
  flex-direction: row;
  padding: 0px 135px;
  width: 100%;
  max-width: 1918px;
}

.content-section.most-viewed-properties-list {
  display: flex;
  flex-direction: row;
  padding: 0px 135px;
  width: 100%;
  max-width: 1918px;
}

.content-section.most-favorite-properties-list {
  display: flex;
  flex-direction: row;
  padding: 0px 135px;
  width: 100%;
  max-width: 1918px;
}

.content-section.our-articles-list {
  display: flex;
  flex-direction: row;
  padding: 0px 135px;
  width: 100%;
  max-width: 1918px;
}ß

/* Filter and Listings Section */
.filter-and-listings {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  background-color: #f5f5f5;
  width: 100%;
  max-width: 1918px;
}

/* Filter Sidebar Styles */
.filter-sidebar {
  width: 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.filter-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.clear-filter-btn {
  background: none;
  border: none;
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  cursor: pointer;
}

.filter-search-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}

.filter-search-tabs .tab {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  padding: 10px 20px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-search-tabs .tab.active {
  background-color: #F5A623;
  color: var(--white-2);
  border-color: #F5A623;
}

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

.filter-label {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
}

.range-sliders {
  display: flex;
  gap: 10px;
}

.range-slider {
  flex: 1;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 12px;
  margin-top: 8px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-label {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 14px;
}

.filter-search-btn {
  width: 100%;
  background-color: #F5A623;
  color: var(--white-2);
  border: none;
  padding: 12px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.filter-search-btn:hover {
  background-color: #e69520;
}

/* Property Listings Styles */
.property-listings {
  flex: 1;
  padding: 20px;
}

.property-listings .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 20px;
}

.property-listings .most-viewed-title {
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.property-listings .see-all-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.property-listings .see-all-icon {
  width: 20px;
  height: 20px;
  border: 1px solid #666;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-listings .see-all-icon img {
  width: 40px;
  height: 40px;
}

.property-listings .listings-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.property-listings .listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 100%;
  width: 100%;
}

.property-listings .listing-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  height: 440px; 
}


.property-listings .listing-card:hover {
  transform: translateY(-5px);
}

.property-listings .listing-image {
  position: relative;
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
}

.property-listings .favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.property-listings .favorite-icon {
  width: 16px;
  height: 16px;
}

.property-listings .listing-details {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-listings .listing-type {
  display: flex;
  align-items: center;
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.property-listings .type-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.property-listings .listing-title {
  font-family: var(--font-family-manrope);
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-listings .listing-location {
  font-family: var(--font-family-manrope);
  font-size: 12px;
  color: #666;
  margin: 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-listings .listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.property-listings .sell-label {
  background-color: #e6f0fa;
  color: #1e90ff;
  font-family: var(--font-family-manrope);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.property-listings .listing-price {
  font-family: var(--font-family-manrope);
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.load-more-button {
  width: 11%;
  background-color: #e0e0e053;
  color: #F5A623;
  border: 1px solid #F5A623;
  padding: 13px;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto; 
  margin-top: 20px;
}

.load-more-button:hover {
  background-color: rgba(224, 224, 224, 0.5);
}

/* Properties Nearby Cities List Section */
.properties-nearby-cities-list {
  width: 100%;
  max-width: 1670px;
  padding: 0 135px; 
  margin-top: 10px;
}

.properties-nearby-cities-list .city-card {
  flex: 0 0 280px;
  scroll-snap-align: start; 
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative; 
}

.properties-nearby-cities-list .city-card:hover {
  transform: translateY(-5px);
}

.properties-nearby-cities-list .city-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative; /* For the overlay */
}

.properties-nearby-cities-list .city-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Cover only the bottom half */
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0 0 8px 8px; /* Rounded bottom corners only */
}

.properties-nearby-cities-list .city-details {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9); 
  padding: 12px 16px;
  border-radius: 8px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.properties-nearby-cities-list .city-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.properties-nearby-cities-list .city-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 16px; 
  font-weight: 600;
  margin: 0 0 4px;
}

.properties-nearby-cities-list .city-properties {
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 400;
  margin: 0;
}

.properties-nearby-cities-list .city-arrow {
  width: 16px;
  height: 16px;
  background-image: url('../img/arrow.png'); /* Replace with your SVG icon path */
  background-size: cover;
  background-position: center;
}

.our-articles-list {
  flex: 1;
  padding: 20px;
}

.our-articles-list .section-header {
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.our-articles .articles-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.our-articles-list .listings-container {
  position: relative;
}

.our-articles-list .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 100%;
  width: 100%;
}

.our-articles-list .article-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  height: 440px; 
}

.our-articles-list .article-card:hover {
  transform: translateY(-5px);
}

.our-articles-list .article-image {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.our-articles-list .article-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #F5A623;
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
}

.our-articles-list .article-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.our-articles-list .article-title {
  color: #333;
  font-family: var(--font-family-manrope);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.our-articles-list .article-description {
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
  flex-grow: 1; 
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
}

.our-articles-list .show-more {
  color: #666;
  font-family: var(--font-family-manrope);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 12px;
}

.our-articles-list .show-more:hover {
  text-decoration: underline;
}

.our-articles-list .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family-manrope);
  font-size: 12px;
  color: #666;
}

.our-articles-list .article-author,
.our-articles-list .article-date {
  font-weight: 400;
}

/* Contact Page Specific Styles */
.contact-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    max-width: 1670px;
    margin: 0 auto;
}

.contact-container {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.contact-form, .contact-info {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form-title {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-form-subtitle {
    color: #F5A623;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background-color: #f5f5f5;
}

.form-textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #2A2F3A;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #1a202c;
}

.contact-info {
  background-color: #F5A623;
  color: #fff;
  padding: 30px;
  border-radius: 10px;
}

.contact-info-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 12px;
}

.contact-detail .icon {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  margin-right: 0;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-icon { background-image: url(../img/location-icon.png); }
.phone-icon { background-image: url(../img/telephone-icon.png); }
.email-icon { background-image: url(../img/email-icon.png); }

.contact-detail h3 {
  margin: 0 2px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  min-width: 100px;
  line-height: 1.2;
  display: inline-block;
  margin-top: 5px;
}

.contact-detail p {
  color: #fff;
  font-size: 16px;
  margin: 0;
  display: inline-block;
  margin-top: 5px;
}

.contact-detail a {
  color: #fff;
  text-decoration: none;
}

.contact-detail a:hover {
  color: #2A2F3A;
}

/* Footer */
.footer {
  align-items: center;
  background-color: var(--charade);
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 48px 0;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  max-width: 1670px;
  padding: 0 12px;
  gap: 0;
}

.footer-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 12px;
  min-width: 300px;
}

.footer-logo .logo {
  background-image: url(../img/logo.png);
  background-position: 50% 50%;
  background-size: cover;
  height: 40px;
  width: 40px;
  max-width: 200px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-item .icon {
  height: 18px;
  width: 18px;
}

.contact-item .label {
  color: var(--white);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-s);
  font-weight: 400;
  line-height: 21px;
  white-space: nowrap;
}

.contact-item a,
.contact-item p {
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m);
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}

.social-links {
  margin-top: 39px;
}

.social-links h3 {
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-xxl);
  font-weight: 500;
  line-height: 28.8px;
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons img {
  height: 28px;
  width: 28px;
}

.footer-column h3 {
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-xxxl);
  font-weight: 600;
  line-height: 39px;
  margin-bottom: 30px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column ul li a {
  color: var(--white);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m);
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}

.footer-column p {
  color: var(--white);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-s);
  font-weight: 400;
  line-height: 21px;
  margin-top: 0;
}

.app-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.app-links a {
  background-position: 50% 50%;
  background-size: cover;
  height: 78px;
  width: 100%;
}

.app-links a:first-child {
  background-image: url(..img/play.png);
}

.app-links a:last-child {
  background-image: url(..img/app.png);
}

.footer-bottom {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1670px;
  padding: 0 12px;
}

.separator {
  border-color: var(--white-2);
  border-top-style: solid;
  border-top-width: 1px;
  height: 1px;
  opacity: 0.25;
  width: 100%;
  margin: 16px 0;
}

.footer-bottom p {
  color: var(--white-2);
  font-family: var(--font-family-manrope);
  font-size: var(--font-size-m);
  font-weight: 500;
  line-height: 19.2px;
  text-align: center;
  padding: 19px 20px 28px;
}

/* Responsive Design */
/* 1440px and below */
@media screen and (max-width: 1440px) {
  .explore-apartment-types {
    max-width: 1440px;
    padding: 0 24px;
  }

  .explore-apartment-types .listings-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
  }

  .explore-apartment-types .service-type-card:nth-child(1) {
    grid-column: 1 / 2; /* Single column for large card */
  }
  .explore-apartment-types .service-type-card:nth-child(6) {
    grid-column: 3 / 4; /* Single column for large card */
  }

  .browse-by-agents {
    max-width: 1440px;
    padding: 0 24px;
  }

  .browse-by-agents .agent-card {
    flex: 0 0 260px;
  }
}

@media screen and (max-width: 1024px) {
    .explore-apartment-types {
    max-width: 960px;
    padding: 0 20px;
  }

  .explore-apartment-types .section-header {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }

  .explore-apartment-types .explore-apartment-types-title {
    font-size: 24px !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    margin-left: 16px !important;
    max-width: 75% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    white-space: pre-wrap !important;
  }

  .explore-apartment-types .view-all-categories {
    display: none !important; /* Hide the view-all-categories button */
  }

  .explore-apartment-types .see-all-link {
    display: flex !important;
    margin-left: 16px !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    min-width: 24px !important;
  }

  .explore-apartment-types .see-all-link .see-all-text {
    display: none !important; /* Hide the text */
  }

  .explore-apartment-types .see-all-link .see-all-icon {
    margin-right: 0 !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .explore-apartment-types .see-all-link .see-all-icon img {
    width: 12px !important;
    height: 12px !important;
    object-fit: contain !important;
  }

  .explore-apartment-types .listings-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet screens */
    gap: 15px;
  }

  .explore-apartment-types .service-type-card:nth-child(1),
  .explore-apartment-types .service-type-card:nth-child(6) {
    grid-column: auto; /* Single column for all cards */
  }

  .explore-apartment-types .service-type-title {
    font-size: 16px;
  }

  .explore-apartment-types .service-type-count {
    font-size: 12px;
  }

    .browse-by-agents {
    max-width: 960px;
    padding: 0 20px;
  }

  .browse-by-agents .section-header {
    display: flex; /* Show the new header on smaller screens */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .browse-by-agents .section-header .browse-by-agents-title {
    font-size: 28px;
  }

  .browse-by-agents .agent-card.header-card {
    display: none; /* Hide the header card on smaller screens */
  }

  .browse-by-agents .agent-card {
    flex: 0 0 240px;
  }

  .browse-by-agents .listings-grid {
    padding: 0 8px;
  } 

  .filter-and-listings {
    flex-direction: column;
  }

  .filter-sidebar {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .property-listings {
    width: 100%;
  }

  .listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .load-more-button {
    width: 180px;
    padding: 10px;
    font-size: 13px;
  }
}

@media screen and (max-width: 768px) {
  .explore-apartment-types {
    max-width: 100%;
    padding: 0 16px;
  }

  .explore-apartment-types .section-header {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }

  .explore-apartment-types .explore-apartment-types-title {
    font-size: 20px !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    margin-right: 12px !important;
    max-width: 75% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    white-space: pre-wrap !important;
  }

  .explore-apartment-types .view-all-categories {
    display: none !important; /* Ensure the button remains hidden */
  }

  .explore-apartment-types .see-all-link {
    margin-left: 12px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 24px !important;
  }

  .explore-apartment-types .see-all-link .see-all-text {
    display: none !important;
  }

  .explore-apartment-types .see-all-link .see-all-icon {
    margin-right: 0 !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none;
  }

  .explore-apartment-types .see-all-link .see-all-icon img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
  }

  .explore-apartment-types .listings-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 15px;
  }

  .explore-apartment-types .service-type-image {
    height: 175px; /* Slightly reduced height for mobile */
  }

  .explore-apartment-types .service-type-title {
    font-size: 14px;
  }

  .explore-apartment-types .service-type-count {
    font-size: 11px;
  }

  .browse-by-agents {
    max-width: 100%;
    padding: 0 16px;
  }

  .browse-by-agents .section-header {
    margin-bottom: 15px;
  }

  .browse-by-agents .section-header .browse-by-agents-title {
    font-size: 20px;
  }

  .browse-by-agents .listings-grid {
    padding: 0;
  }

  .browse-by-agents .agent-card {
    flex: 0 0 300px;
  }

  .browse-by-agents .agent-card .agent-image {
    width: 80px;
    height: 80px;
  }

  .browse-by-agents .agent-name {
    font-size: 16px;
  }

  .browse-by-agents .agent-properties-count {
    font-size: 12px;
  }

  .browse-by-agents .pagination-dots .dot {
    width: 8px;
    height: 8px;
  }

  .filter-and-listings {
    padding: 10px;
  }

  .filter-sidebar {
    padding: 15px;
  }

  .listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .listing-card {
    border-radius: 6px;
  }

  .listing-image {
    height: 120px;
  }

  .listing-title {
    font-size: 14px;
  }

  .listing-location {
    font-size: 11px;
  }

  .listing-price {
    font-size: 14px;
  }

  .load-more-button {
    width: 160px;
    padding: 8px;
    font-size: 12px;
  }
}

@media screen and (max-width: 375px) {
  .explore-apartment-types {
    padding: 0 12px;
  }

  .explore-apartment-types .section-header {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }

  .explore-apartment-types .explore-apartment-types-title {
    font-size: 18px !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    margin-right: 8px !important;
    max-width: 75% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word !important;
    white-space: pre-wrap !important;
  }

  .explore-apartment-types .view-all-categories {
    display: none !important; /* Ensure the button remains hidden */
  }

  .explore-apartment-types .see-all-link {
    margin-left: 8px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    min-width: 24px !important;
  }

  .explore-apartment-types .see-all-link .see-all-text {
    display: none !important;
  }

  .explore-apartment-types .see-all-link .see-all-icon {
    margin-right: 0 !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .explore-apartment-types .see-all-link .see-all-icon img {
    width: 12px !important;
    height: 12px !important;
    object-fit: contain !important;
    border: none;
  }

  .explore-apartment-types .listings-grid {
    gap: 10px;
  }

  .explore-apartment-types .service-type-image {
    height: 180px; /* Further reduced height for smallest screens */
  }

  .explore-apartment-types .service-type-title {
    font-size: 12px;
  }

  .explore-apartment-types .service-type-count {
    font-size: 10px;
  }

  .browse-by-agents {
    padding: 0 12px;
  }

  .browse-by-agents .browse-by-agents-title {
    font-size: 20px;
  }

  .browse-by-agents .agent-card {
    flex: 0 0 280px;
  }

  .browse-by-agents .agent-logo {
    width: 60px;
    height: 60px;
  }

  .browse-by-agents .agent-name {
    font-size: 14px;
  }

  .browse-by-agents .agent-properties {
    font-size: 10px;
  }
  
  .filter-sidebar {
    padding: 10px;
  }

  .filter-title {
    font-size: 16px;
  }

  .clear-filter-btn {
    font-size: 12px;
  }

  .filter-label,
  .filter-select,
  .filter-input,
  .radio-label,
  .search-btn {
    font-size: 12px;
  }

  .listings-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .listing-image {
    height: 100px;
  }

  .listing-details {
    padding: 8px;
  }

  .listing-title {
    font-size: 13px;
  }

  .listing-location {
    font-size: 10px;
  }

  .listing-price {
    font-size: 13px;
  }

  .sell-label {
    font-size: 10px;
    padding: 1px 4px;
  }

  .load-more-button {
    width: 140px;
    padding: 6px;
    font-size: 11px;
  }
}

/* Media Queries for Responsiveness */

/* 1440px and below */
@media screen and (max-width: 1440px) {
  .nav {
    padding: 0 32px;
  }

  .hero {
    background-image: url(../img/background-overlay-3.png);
    height: 450px;
  }

  .overlay {
    max-width: 1440px;
  }

  .slider {
    height: 450px;
  }

  .slider-search {
    max-width: 800px;
    bottom: -44px; 
  }

  .content-section {
    max-width: 1440px;
  }

  .featured-listings {
    max-width: 1440px;
    padding: 0 24px;
  }

  .listings-grid {
    gap: 24px;
    padding: 0 10px;
  }

  .listing-card {
    flex: 0 0 350px;
  }

  .browse-by-agents {
    max-width: 1440px;
    padding: 0 24px;
  }

  .browse-by-agents .agent-card {
    flex: 0 0 260px;
  }

  .secondary-slider {
    max-width: 1440px;
    padding: 0 24px;
  }

  .secondary-slider .slider-container {
    height: 225px;
  }

  .secondary-slider .slider-dots .dot {
    width: 10px;
    height: 10px;
  }

  .most-viewed-properties,
  .upcoming-projects,
  .most-favorite-properties,
  .properties-nearby-cities,
  .our-articles {
    max-width: 1440px;
    padding: 0 24px;
  }

  .properties-nearby-cities .city-card,
  .our-articles .article-card {
    flex: 0 0 260px;
  }

  .properties-nearby-cities .city-details {
    width: 92%; 
  }

  .content-section.filter-and-listings {
    padding: 50px 24px;
  }

  .content-section.properties-nearby-cities-list,
  .content-section.featured-properties-list,
  .content-section.most-viewed-properties-list,
  .content-section.most-favorite-properties-list
  .content-section.our-articles-list {
    padding: 0 24px;
    max-width: 1440px;
  }

  .filter-and-listings {
    max-width: 1440px;
    padding: 15px;
  }

  .filter-sidebar {
    width: 280px;
  }

  .property-listings,
  .our-articles-list {
    padding: 15px;
  }

  .property-listings .listings-grid,
  .our-articles-list .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
  }

  .properties-nearby-cities-list,
  .our-articles-list {
    max-width: 1440px;
    padding: 0 24px;
  }

  .properties-nearby-cities-list .city-card
  .our-articles-list .article-card {
    flex: 0 0 260px;
  }

  .properties-nearby-cities-list .city-details 
  .our-articles-list .article-details {
    width: 92%;
  }

  .load-more-button {
    width: 180px;
    padding: 10px;
    font-size: 13px;
  }

  .footer-columns {
    max-width: 1440px;
  }

  .footer-bottom {
    max-width: 1440px;
  }
}

/* 1024px and below */
@media screen and (max-width: 1024px) {
  .nav {
    padding: 0 32px;
  }

  .hero {
    background-image: url(../img/background-overlay-10.png);
    height: 386px;
  }

  .overlay {
    max-width: 960px;
    margin-bottom: -4px;
  }

  .slider {
    height: 400px;
  }

  .slider-search {
    max-width: 700px;
    bottom: -44px; 
  }

  .content-section {
    max-width: 960px;
  }

  .featured-listings {
    max-width: 960px;
    padding: 0 20px;
  }

  .listings-grid {
    gap: 20px;
    padding: 0 8px;
  }

  .listing-card {
    flex: 0 0 240px; 
  }

  .browse-by-agents {
    max-width: 960px;
    padding: 0 20px;
  }

  .browse-by-agents .agent-card {
    flex: 0 0 240px;
  }

  .secondary-slider {
    max-width: 960px;
    padding: 0 20px;
  }

  .secondary-slider .slider-container {
    height: 200px;
  }

  .secondary-slider .slider-dots .dot {
    width: 10px;
    height: 10px;
  }

  .most-viewed-properties,
  .upcoming-projects,
  .most-favorite-properties,
  .properties-nearby-cities,
  .our-articles {
    max-width: 960px;
    padding: 0 20px;
  }

  .properties-nearby-cities .city-card,
  .our-articles .article-card {
    flex: 0 0 240px; 
  }

  .properties-nearby-cities .city-details {
    width: 92%; 
  }

  .content-section.filter-and-listings {
    flex-direction: column;
    padding: 40px 20px;
  }

  .content-section.properties-nearby-cities-list,
  .content-section.featured-properties-list,
  .content-section.most-viewed-properties-list,
  .content-section.most-favorite-properties-list 
  .content-section.our-articles-list{
    padding: 0 20px;
    max-width: 960px;
  }

  .filter-and-listings {
    flex-direction: column;
    max-width: 960px;
    padding: 10px;
  }

  .filter-sidebar {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .property-listings {
    padding: 10px;
  }

  .property-listings .listings-grid,
  .our-articles-list .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
  }

  .properties-nearby-cities-list
  .our-articles-list {
    max-width: 960px;
    padding: 0 20px;
  }

  .properties-nearby-cities-list .city-card,
  .our-articles-list .article-card {
    flex: 0 0 240px;
  }

  .properties-nearby-cities-list .city-details
  .our-articles-list .article-details {
    width: 92%;
  }

  .load-more-button {
    width: 180px;
    padding: 10px;
    font-size: 13px;
  }

  .footer-columns {
    max-width: 960px;
  }

  .footer-bottom {
    max-width: 960px;
  }
}

/* 768px and below */
@media screen and (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }

  .nav-links-buttons {
    display: none;
  }

  .nav-logo .logo-link {
    order: 1;
  }

  .logo {
    height: 50px;
    width: 50px;
  }

  .menu-icon {
    display: block;
    order: 2;
    height: 36px;
    width: 36px;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    background-color: #FFFFFF;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    color: #333333;
  }

  .nav-menu.active {
    display: flex;
    left: 0;
  }

  .nav-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .nav-menu-header .logo {
    display: block;
    height: 80px;
    width: 80px;
    margin-bottom: 10px;
  }

  .close-button {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
  }

  .close-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0);
  }

  .nav-menu li {
    margin: 16px 0;
    width: 100%;
    border-bottom: 1px solid #CCCCCC;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu-container li:last-child,
  .nav-menu-container li:nth-last-child(2) {
    display: block;
  }

  /* Show nav-right items in mobile menu */
  .nav-menu .language-button,
  .nav-menu .login-link {
    display: flex !important;
  }

  .nav-link,
  .nav-button,
  .language-button,
  .login-link {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    padding: 10px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333333;
  }

  /* Disable hover dropdown on mobile */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  /* Show dropdown when parent has .active */
  .dropdown.active .dropdown-menu {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    position: static;
    background-color: #FFFFFF;
    box-shadow: none;
    margin-top: 10px;
    margin-left: 20px;
    width: calc(100% - 20px);
    padding: 0;
    border-radius: 0;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    padding: 10px;
    display: flex;
    gap: 8px;
    color: #333333;
  }

  .dropdown-icon {
    display: block;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
  }

  .dropdown-icon path {
    stroke: #333333 !important; /* Ensure visibility against white background */
  }

  .dropdown.active .dropdown-icon {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    background-color: #FFFFFF;
    display: block;
    text-decoration: none;
    color: #333333;
  }

  .dropdown-item:hover {
    background-color: #E0E0E0;
  }

  .dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid #CCCCCC; /* Consistent with nav-menu li */
  }

  .dropdown-menu hr {
    display: none; /* Ensure hr is hidden */
  }

  .login-link .icon {
    height: 20px;
    width: 20px;
    filter: brightness(0);
  }

  /* Login Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }

  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 340px;
    /*height: 580px;*/
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
  }

  .modal-content h1 {
    text-align: left;
    font-family: var(--font-family-manrope);
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
  }

  .close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
    transition: filter 0.2s;
  }

  .close:hover img,
  .close:focus img {
    filter: none;
  }

  .hr{
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
  }

  .login-text {
    margin-top: 50px;
    font-family: var(--font-family-manrope);
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 38px; 
    margin-left: 12px;
  } 

  .form-group {
    margin-bottom: 20px;
    text-align: left;
  }

  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: var(--font-family-manrope);
    font-size: 14px;
    color: #333;
  }

  .form-group input {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family-manrope);
    font-size: 16px;
    box-sizing: border-box;
  }

  .continue-btn {
    width: 100%;
    padding: 12px;
    background-color: #F5A623;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-family-manrope);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
  }

  .or-text {
    text-align: center;
    font-family: var(--font-family-manrope);
    font-size: 14px;
    color: #666;
    margin: 10px 0;
  }

  .google-btn {
    width: 100%;
    padding: 12px;
    background-color: #fff;
    color: #666;
    border: 1px solid #282525;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-family-manrope);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
  }

  .google-btn img {
    margin-right: 10px;
    width: 18px;
    height: 18px;
  }

  p {
    font-family: var(--font-family-manrope);
    font-size: 12px;
    color: #666;
    margin: 0;
  }

  p a {
    color: #F5A623;
    text-decoration: none;
  }

  /* Add Property Modal */
  .add-property-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 12px;
    border-radius: 8px;
    width: 98vw;
    max-width: 360px;
    height: auto;
    min-height: 520px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    overflow-y: auto;
  }

  .add-property-modal-content h1 {
    text-align: left;
    font-family: var(--font-family-manrope);
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
  }

  .form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
  }

  .form-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ffdd61;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 13px;
  }

  .image-upload {
    position: relative;
  }

  .upload-area {
    border: 2px dashed #f5c518;
    border-radius: 5px;
    padding: 6px;
    text-align: center;
    background-color: #fff9e6;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    font-size: 11px;
  }

  .upload-icon {
    font-size: 18px;
    color: #f5c518;
    margin-bottom: 2px;
  }

  .add-image-btn {
    background-color: #f5c518;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
  }

  .add-image-btn:hover {
    background-color: #e6b400;
  }

  .description-group textarea {
    height: 80px;
    resize: vertical;
    font-family: Arial, sans-serif;
    font-size: 13px;
  }

  .form-footer {
    text-align: center;
    margin-top: 10px;
  }

  .update-btn {
    background-color: #ffffff;
    color: #f5c518;
    border: none;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid #f5c518;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .update-btn:hover {
    background-color: #f5f5f55c;
  }

  .update-btn .upload-icon {
    font-size: 16px;
    margin-bottom: 0;
  }

  .update-btn .img {
    width: 18px;
    height: 18px;
    margin-right: 0;
    vertical-align: middle;
  }

  .two-column-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .full-width {
    width: 100%;
  }

  .facilities {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .facilities input[type="checkbox"] {
    margin-right: 4px;
  }

  .facilities label {
    margin: 0;
    font-size: 12px;
  }

  .facility-select {
    position: relative;
    width: 100%;
  }

  .selected-option {
    width: 100%;
    padding: 7px;
    border: 2px solid #ffdd61;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 13px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 40px;
  }

  .selected-option-text {
    flex-grow: 1;
    color: #999;
    font-size: 12px;
  }

  .selected-option-text.active {
    display: none;
  }

  .expand-icon {
    width: 20px;
    height: 20px;
    background-color: #f5c518;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 13px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 2px solid #ffdd61;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    padding: 4px;
    font-size: 12px;
  }

  .options.show {
    display: block;
  }

  .options label {
    display: flex;
    align-items: center;
    padding: 4px;
    cursor: pointer;
    font-size: 12px;
  }

  .options input[type="checkbox"] {
    margin-left: 6px;
    width: 14px;
    height: 14px;
    cursor: pointer;
  }

  .options input[type="checkbox"]:checked + span {
    color: #f5c518;
    font-weight: bold;
  }

  .selected-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 2px;
  }

  .selected-option-item {
    background-color: #fff9e6;
    border: 1px solid #f5c518;
    border-radius: 5px;
    padding: 3px 6px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .remove-option {
    cursor: pointer;
    color: #f5c518;
    font-weight: bold;
    font-size: 12px;
  }

  /* Filter Modal Section */
  .filter-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 340px;
    height: 580px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
  }

  .filter-modal-content h1 {
    text-align: left;
    font-family: var(--font-family-manrope);
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
  }

  .close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    background: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .close img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
    transition: filter 0.2s;
  }

  .close:hover img,
  .close:focus img {
    filter: none;
  }

  .filter-modal-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .filter-modal-row {
    display: flex;
    gap: 5px;
    margin-bottom: 0;
  }

  .filter-modal-row .filter-section {
    flex: 1;
    margin-bottom: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .filter-modal-row .filter-section label {
    font-family: var(--font-family-manrope);
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
  }

  .filter-modal-row .filter-section select,
  .filter-modal-row .filter-section input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family-manrope);
    font-size: 14px;
    background: #fff;
    margin-bottom: 0;
  }

  .filter-modal-row .facility-checkboxes,
  .filter-modal-row .posted-since-checkboxes {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .filter-modal-row .facility-checkboxes label,
  .filter-modal-row .posted-since-checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family-manrope);
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
  }

  .filter-modal-row .facility-checkboxes input[type="checkbox"],
  .filter-modal-row .posted-since-checkboxes input[type="checkbox"] {
    margin-right: 6px;
  }

  .multi-select-dropdown {
    position: relative;
    width: 100%;
    max-width: 300px;
  }
  .selected-items {
    border: 1px solid #ccc;
    min-height: 38px;
    padding: 6px 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }
  .selected-facility {
    background: #e0e0e0;
    border-radius: 12px;
    padding: 2px 10px;
    margin-right: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
  }
  .dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 8px 0;
  }
  .dropdown-list label {
    display: block;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 15px;
  }
  .dropdown-list label:hover {
    background: #f5f5f5;
  }
  .placeholder {
    color: #888;
    font-size: 15px;
  }

  .filter-modal-row.budget-row {
    gap: 16px;
  }

  .filter-modal-row.budget-row .filter-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .filter-modal-row.budget-row input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family-manrope);
    font-size: 14px;
  }

  .filter-modal-row.posted-since-row {
    gap: 16px;
  }

  .filter-modal-row.posted-since-row .filter-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .filter-modal-form hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 1px 0;
  }

  .filter-modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
  }

  .clear-filters-btn,
  .apply-filters-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    font-family: var(--font-family-manrope);
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
  }

  .clear-filters-btn {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
  }

  .apply-filters-btn {
    background: #F5A623;
    color: #fff;
    border: 1px solid #F5A623;
  }

  .clear-filters-btn .button-icon,
  .apply-filters-btn .button-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .hero {
    height: 350px;
  }

  .slider {
    height: 350px;
  }

  .slider-search {
    max-width: 90%;
    bottom: -70px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .search-tabs {
    flex-direction: row;
    width: 100%;
  }

  .search-bar {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 15px;
    width: 100%;
  }

  .search-input {
    width: 100px;
    min-width: 0;
    font-size: 12px;
    padding: 14px 24px;
    margin-bottom: 0;
    flex: 1 1 60px;
  }

  .search-option-btn,
  .search-btn {
    flex-shrink: 1 !important;
    flex: none;
    font-size: 12px;
    padding: 14px 2px;
    text-align: center;
    margin-bottom: 0;
    min-width: 60px;

  }

  .see-all-text {
    display: none;
  }

  .see-all-icon {
    margin-right: 0; /
  }

  .subscribe-card {
    max-width: 90%; 
    padding: 20px 30px;
  }

  .subscribe-title {
    font-size: 14px;
  }

  .subscribe-btn {
    padding: 0px 20px;
    font-size: 12px;
    line-height: normal; 
  }

  .content-section {
    max-width: 100%;
    padding: 20px 0;
  }

  .featured-listings {
    max-width: 100%;
    padding: 0 16px;
  }

  .featured-listings-title {
    font-size: 20px;
  }

  .listings-grid {
    gap: 16px;
    padding: 0 16px;
  }

  .listing-card {
    flex: 0 0 300px; 
  }

  .browse-by-agents {
    max-width: 100%;
    padding: 12px 16px;
  }

  .browse-by-agents-title {
    font-family: var(--font-family-manrope);
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
  }

  .browse-by-agents .see-all-icon {
    margin-right: 0; 
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .browse-by-agents .see-all-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  .browse-by-agents .agent-card {
    flex: 0 0 300px;
  }

  .browse-by-agents .agent-card .agent-image {
    width: 80px;
    height: 80px;
  }

  .browse-by-agents .agent-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
  }

  .browse-by-agents .agent-properties-count {
    font-size: 12px;
    color: #666;
  }

  .browse-by-agents .pagination-dots .dot {
    width: 8px;
    height: 8px;
  }

  .secondary-slider {
    max-width: 100%;
    padding: 0 16px;
  }

  .secondary-slider .slider-container {
    height: 180px;
  }

  .most-viewed-properties,
  .upcoming-projects,
  .most-favorite-properties,
  .properties-nearby-cities,
  .our-articles {
    max-width: 100%;
    padding: 0 16px;
  }

  .most-viewed-title,
  .upcoming-projects-title,
  .most-favorite-properties .most-favorite-properties-title,
  .properties-nearby-cities .nearby-cities-title,
  .our-articles .articles-title {
    font-size: 20px;
  }

  .properties-nearby-cities .city-card,
  .our-articles .article-card {
    flex: 0 0 300px; /* Wider cards on mobile for better readability */
  }

  .properties-nearby-cities .city-title,
  .our-articles .article-title {
    font-size: 14px;
  }

  .properties-nearby-cities .city-properties,
  .our-articles .article-description {
    font-size: 10px;
  }

  .properties-nearby-cities .city-details {
    width: 90%; /* Adjust for mobile */
  }

  .our-articles .article-description {
    -webkit-line-clamp: 1; /* Limit to 1 line on smaller screens */
  }

  .our-articles .show-more,
  .our-articles .article-meta {
    font-size: 12px;
  }

  .secondary-slider .slider-dots .dot {
    width: 8px;
    height: 8px;
  }

  .content-section.filter-and-listings {
    padding: 30px 16px;
  }

  .content-section.properties-nearby-cities-list,
  .content-section.featured-properties-list,
  .content-section.most-viewed-properties-list,
  .content-section.most-favorite-properties-list,
  .content-section.our-articles-list {
    padding: 0 16px;
    max-width: 100%;
  }

  .filter-and-listings {
    padding: 10px;
  }

  .filter-sidebar {
    padding: 15px;
  }

  .filter-title {
    font-size: 16px;
  }

  .clear-filter-btn {
    font-size: 12px;
  }

  .filter-search-tabs .tab {
    padding: 8px 15px;
    font-size: 13px;
  }

  .filter-label,
  .filter-select,
  .filter-input,
  .radio-label,
  .filter-search-btn {
    font-size: 13px;
  }

  .property-listings {
    padding: 10px;
  }

  .property-listings .most-viewed-title {
    font-size: 16px;
  }

  .property-listings .listings-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .listing-card {
    border-radius: 6px;
  }

  .listing-image {
    height: 260px;
  }

  .listing-title {
    font-size: 14px;
  }

  .listing-location {
    font-size: 11px;
  }

  .listing-price {
    font-size: 14px;
  }

  .sell-label {
    font-size: 10px;
  }

  .properties-nearby-cities-list {
    padding: 0 16px;
  }

  .properties-nearby-cities-list .city-card {
    flex: 0 0 300px;
  }

  .properties-nearby-cities-list .city-title {
    font-size: 14px;
  }

  .properties-nearby-cities-list .city-properties {
    font-size: 10px;
  }

  .properties-nearby-cities-list .city-details {
    width: 90%;
  }

  .load-more-button {
    width: 160px;
    padding: 8px;
    font-size: 12px;
  }

  .footer-columns {
    max-width: 720px;
  }

  .footer-bottom {
    max-width: 720px;
  }

  .social-links h3 {
    font-size: 22.7px;
    line-height: 27.2px;
  }

  .contact-container {
        flex-direction: column;
    }

    .contact-form, .contact-info {
        width: 100%;
    }

    .contact-hero .hero-title {
        font-size: 32px;
    }

    .contact-section {
        padding: 20px 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* 375px and below */
/*@media screen and (max-width: 375px) {*/
/*  .nav {*/
/*    padding: 0 12px;*/
/*  }*/

/*  .nav-menu {*/
/*    top: 76px;*/
/*    left: 0;*/
/*    right: 0;*/
/*    width: 100vw;*/
/*    padding: 12px 16px;*/
/*  }*/

/*  .hero {*/
/*    background-image: url(../img/background-overlay-4@2x.png);*/
/*    height: auto;*/
/*    padding: 168px 0;*/
/*  }*/

/*  .overlay {*/
/*    max-width: 100%;*/
/*  }*/

/*  .hero-title {*/
/*    font-size: var(--font-size-l);*/
/*    line-height: 21.6px;*/
/*  }*/

/*  .slider {*/
/*    height: 300px;*/
/*  }*/

/*  .slider-btn {*/
/*    width: 32px;*/
/*    height: 32px;*/
/*    right: 5px;*/
/*  }*/

/*  .slider-btn.prev {*/
/*    top: calc(50% - 40px);*/
/*  }*/

/*  .slider-btn.next {*/
/*    top: calc(50% + 8px);*/
/*  }*/

/*  .slider-search {*/
/*    max-width: 90%;*/
/*    bottom: -105px; */
/*  }*/

/*  .search-tabs .tab {*/
/*    padding: 6px 12px;*/
/*    font-size: var(--font-size-xs);*/
/*  }*/

/*  .search-bar {*/
/*    padding: 10px;*/
/*    gap: 8px;*/
/*  }*/

/*  .search-input {*/
/*    padding: 8px 35px;*/
/*    font-size: var(--font-size-xs);*/
/*    background-position: 8px center;*/
/*    background-size: 14px;*/
/*  }*/

/*  .search-option-btn {*/
/*    padding: 8px 10px;*/
/*    font-size: var(--font-size-xs);*/
/*  }*/

/*  .search-icon {*/
/*    width: 14px;*/
/*    height: 14px;*/
/*    margin-right: 6px;*/
/*  }*/

/*  .search-btn {*/
/*    padding: 8px 16px;*/
/*    font-size: var(--font-size-xs);*/
/*  }*/

/*  .content-section {*/
/*    width: 100%;*/
/*    padding: 50px 12px;*/
/*  }*/

/*  .featured-listings {*/
/*    max-width: 100%;*/
/*    padding: 0 12px; */
/*  }*/

/*  .listings-grid {*/
/*    gap: 12px;*/
/*    padding: 0 8px;*/
/*  }*/

/*  .listing-card {*/
/*    flex: 0 0 280px;*/
/*  }*/

/*  .secondary-slider {*/
/*    max-width: 100%;*/
/*    padding: 0 12px; */
/*  }*/

/*  .secondary-slider .slider-container {*/
/*    height: 150px;*/
/*  }*/

/*  .secondary-slider .slider-dots .dot {*/
/*    width: 6px;*/
/*    height: 6px;*/
/*  }*/

/*  .properties-nearby-cities .city-card,*/
/*  .our-articles .article-card {*/
/*    flex: 0 0 280px; */
/*  }*/

/*  .properties-nearby-cities .city-title,*/
/*  .our-articles .article-title {*/
/*    font-size: 12px;*/
/*  }*/

/*  .properties-nearby-cities .city-properties,*/
/*  .our-articles .article-description {*/
/*    font-size: 10px;*/
/*  }*/

/*  .properties-nearby-cities .city-details {*/
/*    width: 90%; */
/*  }*/

/*  .our-articles .article-description {*/
    -webkit-line-clamp: 1; /* Limit to 1 line on smaller screens */
/*  }*/

/*  .our-articles .show-more,*/
/*  .our-articles .article-meta {*/
/*    font-size: 10px;*/
/*  }*/

/*  .content-section.filter-and-listings {*/
/*    padding: 20px 12px;*/
/*  }*/

/*  .content-section.properties-nearby-cities-list,*/
/*  .content-section.featured-properties-list,*/
/*  .content-section.most-viewed-properties-list,*/
/*  .content-section.most-favorite-properties-list {*/
/*    padding: 0 12px;*/
/*    max-width: 100%;*/
/*  }*/

/*  .filter-and-listings {*/
/*    padding: 8px;*/
/*  }*/

/*  .filter-sidebar {*/
/*    padding: 10px;*/
/*  }*/

/*  .filter-title {*/
/*    font-size: 14px;*/
/*  }*/

/*  .clear-filter-btn {*/
/*    font-size: 11px;*/
/*  }*/

/*  .filter-search-tabs .tab {*/
/*    padding: 6px 12px;*/
/*    font-size: 12px;*/
/*  }*/

/*  .filter-label,*/
/*  .filter-select,*/
/*  .filter-input,*/
/*  .radio-label,*/
/*  .filter-search-btn {*/
/*    font-size: 12px;*/
/*  }*/

/*  .property-listings {*/
/*    padding: 8px;*/
/*  }*/

/*  .property-listings .most-viewed-title {*/
/*    font-size: 14px;*/
/*  }*/

/*  .property-listings .listings-grid {*/
/*    grid-template-columns: 1fr;*/
/*    gap: 10px;*/
/*  }*/

/*  .listing-card {*/
/*    border-radius: 6px;*/
/*  }*/

/*  .listing-image {*/
/*    height: 100px;*/
/*  }*/

/*  .listing-details {*/
/*    padding: 8px;*/
/*  }*/

/*  .listing-title {*/
/*    font-size: 13px;*/
/*  }*/

/*  .listing-location {*/
/*    font-size: 10px;*/
/*  }*/

/*  .listing-price {*/
/*    font-size: 13px;*/
/*  }*/

/*  .sell-label {*/
/*    font-size: 9px;*/
/*    padding: 1px 4px;*/
/*  }*/

/*  .properties-nearby-cities-list {*/
/*    padding: 0 12px;*/
/*  }*/

/*  .properties-nearby-cities-list .city-card {*/
/*    flex: 0 0 280px;*/
/*  }*/

/*  .properties-nearby-cities-list .city-title {*/
/*    font-size: 12px;*/
/*  }*/

/*  .properties-nearby-cities-list .city-properties {*/
/*    font-size: 10px;*/
/*  }*/

/*  .properties-nearby-cities-list .city-details {*/
/*    width: 90%;*/
/*  }*/

/*  .footer-columns {*/
/*    max-width: 100%;*/
/*  }*/

/*  .footer-column {*/
/*    padding: 0 12px;*/
/*    min-width: 100%;*/
/*  }*/

/*  .social-links h3 {*/
/*    font-size: var(--font-size-xl);*/
/*    line-height: 25.9px;*/
/*  }*/

/*  .footer-bottom {*/
/*    max-width: 100%;*/
/*  }*/

/*  .footer-bottom p {*/
/*    padding: 19.09px 20px 28px;*/
/*  }*/
/*}*/