* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: lato, sans-serif;
}
html,
body {
  overflow-x: hidden !important;
}
body[data-aos-easing] {
  overflow: hidden;
}
.container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.row > * {
  padding: 0 15px;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  display: inline-block;
  color: black;
}
a:hover {
  color: #543ad7;
}
/* ----------header section------------ */
header {
  padding: 16px 9px;
  background: url("../img/aboutus-images/hero-img.png") no-repeat center/cover;
  /* margin: 17px 30px; */
  border-radius: 30px;
  min-height: 462px;
}
.nav-container {
  max-width: 1359px;
  min-height: 67px;
  background-color: white;
  border-radius: 50px;
  margin: 0 auto;
}
header > div > div > div {
  justify-content: space-between;
  align-items: center;
}
/* .desktop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
} */

.nav {
  position: fixed;
  top: 0;
  right: -200%;
  width: 100vw;
  /* height: 100vh; */
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  /* border-radius: 20px; */
}

.nav.active {
  right: 0;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13px;
  /* margin-top: 2rem; */
}

.nav ul li {
  /* border-bottom: 1px solid #eee; */
  padding-bottom: 0.5rem;
}

.nav ul li a {
  text-decoration: none;
  color: #333;
  /* font-size: 1.1rem; */
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}
.close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

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

.active {
  display: flex !important;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-item > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  font-size: 16px;
  font-weight: 700;
}
.nav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-block: 30px;
  font-size: 16px;
  font-weight: 700;
}
.nav-logo {
  max-width: 170px;
  /* min-height: 55px; */
  margin-bottom: 20px;
}
.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.login {
  padding: 7px 22px;
  text-transform: uppercase;
  color: white;
  border-radius: 90px;
  background-color: #543ad7;
}
.logins {
  padding: 7px 22px !important;
  text-transform: uppercase;
  color: white !important;
  border-radius: 90px;
  background-color: #543ad7;
}
.login:hover {
  color: white !important;
  box-shadow: 2px 2px 2px 2px rgb(245, 244, 244);
}

/* -----------------modals---------------------- */

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  /* width: 400px; */
  max-width: 100vw;
  transform: scale(0.9);
  transition: transform 0.3s;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal {
  /* transform: scale(1); */
}

.modal h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal p {
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.form-rowss {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-groupss {
  flex: 1;
  margin-bottom: 1rem;
}

.form-groupss input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #f8f9fa;
  transition: border-color 0.3s;
}

.form-groupss input:focus {
  outline: none;
  border-color: #543ad7;
  background: white;
}

.form-groupss input::placeholder {
  color: #999;
}

.forgot-password {
  text-align: right;
  margin-bottom: 1.5rem;
}

.forgot-password a {
  color: #543ad7;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.forgot-password a:hover {
  text-decoration: underline;
}

.modal-btn {
  width: 100%;
  background: #543ad7;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-bottom: 1rem;
}

.modal-btn:hover {
  background: #4a32c7;
}

.switch-modal {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.switch-modal a {
  color: #543ad7;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.switch-modal a:hover {
  text-decoration: underline;
}

.terms-text {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-bottom: 1.5rem;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.close-modal:hover {
  background: #f0f0f0;
}

/* ------------------------------------ */

.hero-section {
  text-align: center;
}
.hero-section > h1 {
  color: white;
  text-transform: uppercase;
  font-size: 48px;
  font-weight: 600;
  margin-top: 76px;
  font-family: Montserrat, sans-serif;
  line-height: 66px;
}
.hero-section span {
  max-width: 657px;
  min-height: 70px;
  background-color: #543ad7;
  border-radius: 10px;
  padding-inline: 10px;
}
.hero-section p {
  color: white;
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 185px;
}
.hero-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
/* hamberger */
.hamberger {
  display: none;
  cursor: pointer;
}
.floating-range-hero {
  max-width: 970px;
  min-height: 155px;
  padding: 28px;
  border-radius: 15px;
  box-shadow: 4px 10px 16px 4px rgb(239 233 233);
  position: relative;
  /* bottom: -11%; */
  top: -110px;
  left: 50%;
  background-color: white;
  transform: translateX(-50%);
}
.floating-range-hero > div > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form-group.rent-select,
.form-group.USD-select {
  min-width: 120px;
}
select,
input {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  font-size: 14px;
  background: white;
  color: #495057;
  outline: none;
  transition: border-color 0.2s ease;
  /* width: 100%; */
}

select:focus,
input:focus {
  border-color: #6366f1;
}
.col12 {
  width: 100%;
  padding: 0 15px;
  flex-wrap: wrap;
}
.col6 {
  width: 50%;
  padding: 0 15px;
  flex-wrap: wrap;
}
.col4 {
  width: 33.33%;
  padding: 0 15px;
  flex-wrap: wrap;
}
.col3 {
  width: 25%;
  padding: 0 15px;
  flex-wrap: wrap;
}
.col2 {
  width: 16.66%;
  padding: 0 15px;
  flex-wrap: wrap !important;
}
.price-range {
  flex: 1;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}
.range-slider {
  position: relative;
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
}
.range-track {
  position: absolute;
  height: 6px;
  background: linear-gradient(90deg, #543ad7, #7c3aed);
  border-radius: 3px;
  left: 20%;
  right: 10%;
}

.range-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #4c63d2;
  border: 3px solid white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(76, 99, 210, 0.3);
  top: 50%;
  transform: translateY(-50%);
}
.range-thumb.left {
  left: 20%;
  transform: translate(-50%, -50%);
}

.range-thumb.right {
  right: 10%;
  transform: translate(50%, -50%);
}

.price-values {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.price-value {
  background: #4c63d2;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.rent {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.house {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
}
.search {
  text-align: center;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: white;
  background-color: #543ad7;
  border-radius: 50px;
}

/* -----------property-about-detail-info----------------------- */

/* .property-about-detail-info {
  padding-top: 75px;
} */
/* Sidebar Styles */
.mobile-filter-btn {
  display: none;
  /* position: fixed; */
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: #543ad7;
  color: white;
  border: none;
  padding: 8px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(84, 58, 215, 0.3);
  transition: all 0.2s;
  margin-left: 20px;
}
.mobile-filter-btn:hover {
  background: #5856eb;
  transform: translateY(-1px);
}
/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Mobile Close Button */
.mobile-close-btn {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.mobile-close-btn:hover {
  background: #f3f4f6;
}

.property-sidebar {
  width: 300px;
  background: white;
  padding: 24px;
  border-radius: 12px;
  margin: 20px;
  height: fit-content;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.property-filter-group {
  margin-bottom: 24px;
}

.property-filter-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #374151;
}

.property-select-wrapper {
  position: relative;
}

.property-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  font-size: 14px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.property-select:focus {
  outline: none;
  border-color: #6366f1;
}

.property-select.error {
  border-color: #ef4444;
}

.property-select-wrapper::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
}

.property-amenities-list {
  list-style: none;
}

.property-amenity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.property-amenity-item:last-child {
  border-bottom: none;
}

.property-amenity-item input[type="checkbox"] {
  margin-right: 8px;
}

.property-amenity-count {
  color: #6b7280;
  font-size: 12px;
}

.property-bedroom-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-bedroom-option {
  display: none;
}

.property-bedroom-label {
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.property-bedroom-option:checked + .property-bedroom-label {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
}

.property-range-slider {
  margin: 16px 0;
}

.property-range-input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
  /* -webkit-appearance: none; */
}

.property-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  cursor: pointer;
}

.property-range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  cursor: pointer;
  border: none;
}

.property-range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.property-range-value {
  background: #6366f1;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.property-apply-btn {
  width: 100%;
  background: #543ad7;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.property-apply-btn:hover {
  background: #5856eb;
}

.property-apply-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.property-error-message {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.property-error-message.show {
  display: block;
}

/* Main Content Styles */
.property-main-content {
  flex: 1;
  padding: 20px;
}

.property-listings-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.property-listing-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  display: flex;
  transition: transform 0.2s;
}

.property-listing-card2 {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  display: flex;
  flex-direction: row-reverse;
  transition: transform 0.2s;
}

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

.property-card-image {
  max-width: 294px;
  min-height: 200px;
  position: relative;
  flex-shrink: 0;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
}

.property-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.property-card-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card-type {
  color: #6366f1;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.property-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1f2937;
}

.property-card-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.property-card-location {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 16px;
}

.property-card-features {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 14px;
}

.property-feature-icon {
  max-width: 24px;
  min-height: 24px;
  object-fit: contain;
}

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

.property-card-price {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
}

.property-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.property-rating-stars {
  color: #543ad7;
  font-size: 14px;
}

.property-rating-score {
  color: #6b7280;
  font-size: 14px;
}

.property-detail-btn {
  background: #543ad7;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 60px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.property-detail-btn:hover {
  box-shadow: 2px 2px 2px 2px rgb(210, 210, 236);
  color: white;
}

.property-detail-btn:hover {
  background: #5856eb;
}

/* --------------newsletter------------------------ */

.newsletter {
  padding-top: 84px;
  padding-bottom: 75px;
}
.newsletter > div > div {
  justify-content: space-between;
  align-items: center;
}
.news-left {
  font-size: 32px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  /* max-width: 455px; */
}
.subscribe {
  cursor: pointer;
  transition: all 0.3s ease;
}
.news-right {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 15px;
}

/* form-email */

.form-container {
  width: 100%;
  max-width: 600px;
  /* background: white; */
  /* padding: 40px; */
  border-radius: 20px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.email-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}

.email-input {
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  border: 2px solid rgb(119, 118, 118);
  border-radius: 50px;
  background-color: #ffffff;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
  font-family: lato, sans-serif;
}

.email-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.email-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.email-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  color: #ef4444;
  font-size: 14px;
  margin-top: 8px;
  margin-left: 24px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.error-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* .subscribe{
  width: 100%;
  padding: 20px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
} */

.subscribe:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  /* box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); */
}

.subscribe:active {
  transform: translateY(0);
}

.success-message {
  color: #10b981;
  font-size: 14px;
  margin-top: 8px;
  margin-left: 24px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.success-message.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.form-container.shake {
  animation: shake 0.5s ease-in-out;
}

/* -------------------------footer------------------ */

.footer {
  padding-block: 33px;
}
.footer > div > div {
  justify-content: space-between;
  align-items: center;
}
.footer-content > p {
  max-width: 435px;
  color: #868686;
  margin-top: 26px;
  font-size: 20px;
}
.footer-social-link {
  margin-top: 27px;
  display: flex;
  gap: 23px;
}
.footer-link > h3,
.footer-property > h3 {
  font-size: 24px;
  font-weight: 600;
  font-family: Montserrat, sans-serif;
  color: #333333;
  margin-bottom: 21px;
}
.links a {
  color: #868686 !important;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.links a:hover {
  color: #543ad7 !important;
}
/* ----------------------------- */
.row1 > img,
.row2 > img {
  max-width: 95px;
  min-height: 64px;
  object-fit: contain;
}
.footer-property {
  display: flex;
  flex-direction: column;
  /* flex-wrap: wrap; */
}
.footer-content {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

/* -------------------------copyright------------ */

.copyright {
  padding-block: 23px;
}
.copyright > div > div {
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  color: #666666;
}
.copy-right {
  display: flex;
  gap: 27px;
}

/* ------------------------------------------media query */
@media screen and (max-width: 1200px) {
  .aboutus > div > div {
    flex-direction: column;
  }
  .about-right {
    margin-top: 10px;
  }
  .footer > div > div {
    justify-content: center;
    gap: 30px;
  }

  .real-estate-container {
    flex-direction: column;
  }

  .property-sidebar {
    width: auto;
    margin: 20px 20px 0 20px;
  }

  .property-listing-card,
  .property-listing-card2 {
    flex-direction: column;
    align-items: center;
  }

  .property-card-image {
    width: 100%;
    height: 240px;
  }
}
/* ---------------------------------------------- */
@media screen and (max-width: 992px) {
  .header-container {
    margin: 0;
    border-radius: 0;
  }
  header {
    border-radius: 0;
  }
  .floating-range-hero > div > div {
    flex-direction: column;
    align-items: stretch;
  }

  .form-group {
    width: 100%;
  }

  .floating-range-hero {
    max-width: 580px;
  }
  /* .nav-btn,
  .nav-item {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
  } */
  .hamberger {
    display: block;
    margin-top: 18px;
  }
  .fa-solid {
    font-size: 19px;
  }
  /* #hamberger:checked ~ .nav-item,
  #hamberger:checked ~ .nav-btn {
    display: flex !important;
  }
  .nav-item > ul,
  .nav-btn {
    flex-direction: column;
  } */

  header {
    position: relative;
  }

  .nav-btn,
  .nav-item {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 96px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    flex-basis: 100%;
  }
  .col2 {
    width: 25%;
  }
  .col6 {
    width: 100%;
  }
  .section-title {
    font-size: 32px;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
  }
  .other-service > div > div {
    flex-direction: column-reverse;
  }
  .other-service-left > .dash-about {
    margin-top: 10px;
  }
  .news-left {
    text-align: center;
    margin-bottom: 10px;
  }
  .news-right {
    justify-content: center;
  }
}

/* ---------------------------------------------- */
@media screen and (max-width: 768px) {
  .col2,
  .col3 {
    width: 33.33%;
  }
  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .property-image {
    height: 220px;
  }

  .property-content {
    padding: 20px;
  }

  .property-title {
    font-size: 18px;
  }
  .swiper-listed-properties {
    margin: 0;
    padding-top: 39px;
    margin-top: 20px;
    border-radius: 0;
  }
  .carousel-track {
    animation-duration: 15s;
  }
  .form-container {
    /* padding: 30px 20px; */
    margin: 10px;
    border-radius: 16px;
  }

  .email-input {
    padding: 18px 20px;
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .property-sidebar {
    margin: 10px;
    padding: 16px;
  }

  .property-main-content {
    padding: 10px;
  }

  .property-card-info {
    padding: 16px;
  }

  .property-card-features {
    gap: 16px;
  }

  .property-bedroom-options {
    gap: 6px;
  }

  .property-bedroom-label {
    padding: 6px 12px;
    font-size: 12px;
  }

  .modal-overlay {
    padding: 1rem;
    justify-content: center;
    align-items: center;
  }

  .modal {
    width: 100%;
  }
}

/* ------------------------------------------------- */

@media screen and (max-width: 645px) {
  .col2,
  .col3,
  .col4 {
    width: 50%;
  }
  .news-right {
    flex-direction: column;
    gap: 10px;
  }
  .footer {
    text-align: center;
  }
  .footer-social-link {
    justify-content: center;
    align-items: center;
  }
  .copyright > div > div {
    justify-content: center;
    font-size: 10px;
  }
}

/* -------------------------------------------------- */
@media screen and (max-width: 576px) {
  .col2,
  .col3,
  .col4 {
    width: 100%;
  }
  .section-title {
    font-size: 24px;
  }

  .section-subtitle {
    font-size: 14px;
    padding-left: 25px;
  }

  .section-subtitle::before {
    width: 15px;
  }

  .property-image {
    height: 200px;
  }

  .property-content {
    padding: 18px;
  }

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

  .all-listing-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
  .carousel-track {
    animation-duration: 12s;
  }
  .form-container {
    margin: 5px;
    border-radius: 12px;
  }

  .email-input {
    padding: 16px 18px;
  }
  .error-message,
  .success-message {
    margin-left: 18px;
    font-size: 13px;
  }

  /* -------------------------- */

  .nav-logo {
    margin-bottom: 0;
    width: 143px;
    margin-top: 4px;
  }
  .hero-section > h1 {
    font-size: 23px;
    margin-top: 89px;
    line-height: 34px;
  }
  .hero-section p {
    font-size: 14px;
    margin-top: 25px;
    margin-bottom: 165px;
  }
  .floating-range-hero {
    padding: 14px;
  }
  .floating-range-hero > div > div {
    gap: 15px;
  }
  .search {
    font-size: 15px;
    text-align: center;
  }
  .about-right > h2,
  .other-service-left > h2,
  .news-left > h3 {
    font-size: 26px;
    margin-top: 16px;
    text-align: center;
  }
  .dash-about,
  .other-service-left .dash-about {
    margin: 10px auto;
  }
  .about-right > p,
  .other-service-left > p {
    font-size: 15px;
    text-align: center;
  }
  .submit-property {
    margin: 24px auto;
  }
  .newsletter {
    padding-block: 20px;
  }
  .footer-content > p {
    font-size: 15px;
  }
  .footer-link > h3,
  .footer-property > h3 {
    font-size: 18px;
  }
  .links a {
    font-size: 15px;
  }
  .stats-card {
    justify-content: start;
    padding: 10px 20px;
  }

  /* ----------------- */

  .property-card-title {
    font-size: 20px;
  }

  .property-card-price {
    font-size: 20px;
  }

  .property-card-features {
    flex-direction: column;
    gap: 8px;
  }

  .property-card-footer {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 12px;
  }
  /* footer */
  .row1,
  .row2 {
    width: 198px;
  }

  /* ------------ */

  .mobile-filter-btn {
    display: flex;
  }

  .mobile-overlay.show {
    display: block;
  }

  .mobile-close-btn {
    display: block;
  }
  .property-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 90%;
    max-width: 350px;
    height: 100vh;
    z-index: 1000;
    margin: 0;
    border-radius: 0;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
  }

  .property-sidebar.mobile-open {
    left: 0;
  }

  .property-about-detail-info {
    margin-top: -45px;
  }
}
/* ------------------------------------------------ */
@media screen and (max-width: 320px) {
  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 22px;
  }

  .property-image {
    height: 180px;
  }

  .property-content {
    padding: 15px;
  }

  .property-title {
    font-size: 15px;
  }

  .property-location {
    font-size: 13px;
  }

  .detail-btn {
    padding: 6px 15px;
    font-size: 11px;
  }

  .all-listing-btn {
    padding: 8px 20px;
    font-size: 12px;
  }
  .carousel-track {
    animation-duration: 10s;
  }
  .form-container {
    /* padding: 20px 12px; */
    margin: 0;
    border-radius: 10px;
  }

  .email-input {
    padding: 14px 16px;
    font-size: 16px;
  }
  .error-message,
  .success-message {
    margin-left: 16px;
    font-size: 12px;
  }

  /* ------------- */

  .property-sidebar {
    margin: 5px;
    padding: 12px;
  }

  .property-main-content {
    padding: 5px;
  }

  .property-card-info {
    padding: 12px;
  }

  .property-filter-group {
    margin-bottom: 16px;
  }

  .property-bedroom-label {
    padding: 4px 8px;
    font-size: 11px;
  }
}
