* {
  box-sizing: border-box;
}

.img-slider {
  width: 100%;
  height: 50vh;
  max-height: 500px;
  position: relative;
}

.slider-container {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1px;
  width: 100%;

}

.main-container {
  padding-top: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  background-color: #fcfcfc;
}

/* Slider images container */
.slider-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}


.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

/*.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}*/

/* Image styling */
img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Overlay containing tagline */
.overlay {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 1;

}

/* Tagline text style */
.tagline {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);

}

/* Pagination dots styling */
.dots-container {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
  z-index: 2;
}

/* Dot styling */
.dot {
  width: 8px;
  height: 8px;
  margin: 0 10px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Active dot */
.dot.active {
  background-color: #007bff;
  transform: scale(1.2);
}

.dot:hover {
  background-color: #007bff;
  transform: scale(1.2);
}

/* Mobile responsiveness for dots */
@media (max-width: 768px) {
  .dot {
    width: 10px;
    height: 10px;
  }

  .tagline {
    font-size: 1.5rem;
    /* Smaller font size on mobile */
  }
}

/* Style for property cards container */
.property-cards-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  justify-content: flex-start;
  align-items: center;
  scroll-snap-type: x mandatory;
  /* Smooth scrolling behavior */
}

/* Make sure each card doesn't shrink and they align properly */
.property-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 340px;

}

/* Arrow button styles */

.property-card-sec {
  position: relative;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  /* Hide the scrollbar */
}

/* Common arrow button styles */
.arrow-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  font-weight: bold;
  background-color: #f0f0f0;
  color: #333;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease;
  margin-left: -4%;
  margin-right: -2%;
  height: 30px;
  width: 30px;
}

.arrow-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  /* Slightly brighter on hover */
}

.left-arrow {
  left: 40px;
  display: none;
  font-weight: bold;
}

.right-arrow {
  right: 40px;
  display: none;
  font-weight: bold;
}

.image-container {
  position: relative;
}

.property-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.fav-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  height: 38px;
  width: 38px;
}

.fav-icon img {
  width: 24px;
  height: 24px;
}

.fav-icon.favourite img {
  filter: brightness(1.5);
}
.fav-heart-icon {
  transition: fill 0.3s, stroke 0.3s, transform 0.2s ease;
  cursor: pointer;
}

/* Visual feedback when liked */
.fav-heart-icon.liked {
  fill: red;
  stroke: red;
  transform: scale(1.2);
}

/* Revert to default */
.fav-heart-icon:not(.liked) {
  fill: rgba(255, 0, 0, 0.1);
  stroke: #ddd;
  transform: scale(1);
}


.property-details {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.property-price,
.property-type {
  display: inline-block;
  margin-right: 10px;
}

.property-price {
  font-size: 14px;
  font-weight: 800;
  color: #333;
}

.property-type {
  font-size: 18px;
  color: #333;
}

.property-address,
.property-area {
  font-size: 12px;
  color: #777;
  margin-top: 5px;
}

.property-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
  margin-top: 5px;
  align-items: center;
}

.prop-area-room {
  display: flex;
  justify-content: space-between;
}

.prop-rooms {
  display: flex;
  justify-content: space-between;
  width: 30%;
}

.spinner {
  border: 6px solid #f3f3f3;
  /* border-top: 6px solid #3498db; */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#property-section {
  scroll-margin-top: 40px;
  /* or whatever your header height is */
}


/* Style for the search bar container */

.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 25px;
}

.search-div {
  width: 65%;
  background: #fff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  gap: 16px;
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
}

.search-sec {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.responsive-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  flex: 1;
}

.search-bar svg {
  width: 20px;

  height: 20px;

  fill: #333;

}



.search-icon {
  width: 20px;
  height: 20px;
  fill: #333;
}

.search-input {
  flex: 1;
  min-width: 250px;
  border-radius: 6px;
  border: 1px solid #ccc;
  transition: border 0.3s ease;
  padding: 8px;
  font-size: 14px;
}

.search-input:focus {
  border-color: rgb(33 188 204);
}

.search-button {
  background: rgb(33 188 204);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 8px 16px;
  font-size: 14px;
}

.search-button:hover {
  background-color: #1ab3ba;
}


.prop-type-dropdown {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 10px;
  margin-left: 12px;
  border-radius: 20px;
}

#property-type {
  border: none;

}

#property-type {
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 38px;
  background-color: #fff;
}


.vertical-line {
  width: 1px;
  /* height: 100px;        */
  background-color: #ccc;
  margin: 0 20px;
  height: 32px;
}

.icon-group {
  display: flex;
  gap: 10px;
}

.filter-icon,
.voice-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ddd;
  border-radius: 50%;
  /* padding: 10px;
  width: 40px;
  height: 40px; */
  width: 32px;
  height: 32px;
  padding: 6px;
}

.filter-icon svg,
.voice-icon svg {
  /* width: 20px;
  height: 20px; */
  width: 16px;
  height: 16px;
  fill: rgb(33 188 204);
}

/* Make responsive row stack vertically on small screens */
.responsive-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Top option section */
.option-sec {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.option {
  /* font-size: 16px; */
  cursor: pointer;
  position: relative;
  /* padding-bottom: 4px; */
  font-size: 14px;
  padding-bottom: 2px;
}

.option::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: rgb(33 188 204);
  transition: width 0.3s ease;
}

.option:hover::after {
  width: 100%;
}

.explore-home-btn {
  display: flex;
  width: 95%;
  justify-content: center;
  align-items: center;
  margin-top: 2%;
}

#explore-home {
  padding: 14px 26px;
  background-color: #fff;
  color: #333;
  font-size: 18px;
  font-weight: 400;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background-color: #88ca0e;

}

/*============Personalized-search,finacial-tool,expert-guidance============*/

.finsense {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
  width: 100%;
  padding: 20px;
}

.prsnl-search,
.fncl-tool,
.exprt-gdnce {
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35vw;
  width: 380px;
  flex-direction: column;
  background-color: rgba(255, 255, 255);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 15px;
  border: 1px solid rgb(205, 205, 211);

}

.finsense-img-sec {
  display: flex;
  justify-content: center;
  height: 12vw;
  align-items: center;
  width: 95%;

}

.finsense-img-sec img {
  width: 10vw;
  height: 10vw;

}

.finsense-hd-sec {
  width: 95%;
  font-size: 26px;
  font-weight: 900;
  color: #000;
  text-align: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.finsense-des-sec {
  width: 90%;
  display: flex;
  justify-content: center;
  font-size: 16px;
  align-items: center;
  text-align: center;

}

.finsense-btn-sec {
  display: flex;
  width: 95%;
  justify-content: center;
  align-items: center;

}

.finsense-btn {
  padding: 12px 24px;
  background-color: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid rgb(33 188 204);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.finsense-btn:hover {
  background-color: #b5d1f1;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);

}

.finsense-btn:active {
  background-color: #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);

}

@media (min-width: 1700px) and (max-width: 2010px) {

  .prsnl-search,
  .fncl-tool,
  .exprt-gdnce {

    height: 30vw;
    width: 480px;


  }
}

@media (min-width: 1400px) and (max-width: 1700px) {

  .prsnl-search,
  .fncl-tool,
  .exprt-gdnce {

    height: 30vw;
    width: 400px;


  }
}

/*======================CONNECT WITH AGENT SECTION======================*/

.cnct-with-agent-sec {
  display: flex;
  flex-direction: row;
  width: 80%;
  background-color: #008491;
  border-radius: 1%;
  margin-bottom: 1%;
}

.cwagnt-picture-sec {
  display: block;
  justify-content: center;
  align-items: center;
  width: 35%;
}

.cwagnt-picture-sec img {
  height: 100%;

}

.cwagnt-details-sec {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 65%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.cwagnt-details-hd {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  font-family: 'Times New Roman', Times, serif;
}

.cwagnt-details-desc {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #ccc;
  text-align: center;
}

.cwagent-form-sec {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  flex-direction: column;
}

.cwagent-terms-condn {
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: 20px;
}

#term-privacy-policy {
  text-decoration: underline;
}

.cwagent-submit-btn-sec {
  margin-top: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cwagent-form-sec lable {
  color: #000;
  font-weight: 900;
}

#cwagent-form-submit {
  border-radius: 50px;
  background-color: #88ca0e;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#cwagent-form-submit:hover {
  background-color: #ffcc66;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);

}

#cwagent-form-submit:active {
  background-color: #e6b800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/*=======================REAL ESTATE OPTIONS===========================================*/
.real-estate-options-sec {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 45px;
}

.real-estate-options-hd {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #008491;
  font-weight: 600;
  font-size: 20px;

}

.options-slide-show-container {
  width: 80%;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.options-card-container {
  display: flex;
  transition: transform 1s ease-in-out;
}

.options-slideshow-buttons {
  position: absolute;
  top: 45%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.options-prev,
.options-next {
  background-color: #f0f0f0;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
  border: none;
}

.options-prev:hover,
.options-next:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.real-estate-options-card {
  background-color: white;
  margin: 10px;
  border-radius: 4px;
  flex: 1 0 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.options-card-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.options-card-img img {
  width: 100%;
  height: 10vw;
}

.options-card-name {
  margin-top: 12px;
  font-size: 16px;
  color: #333;
  padding: 0;

}

.loc-property-hd {
  display: flex;
  align-items: center;
  font-family: serif;
  font-weight: 500;
  font-size: 40px;
  margin-top: 4%;
  color: #777;
}

#show-prop-text-hd {
  display: flex;
  align-items: center;
  font-family: serif;
  font-weight: 500;
  font-size: 40px;
  margin-top: 4%;
  color: #777;
}

.loc-search-container {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}

#location-search {
  font-size: 16px;
  padding: 10px 45px 10px 45px;
  /* extra space for both icons */
  margin-left: 10px;
  border: 2px solid #ccc;
  border-radius: 25px;
  outline: none;
  width: 350px;
  background-color: #fff;
  color: #000;
}

/* Location Icon (Left) */
#loc-icon {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  background-color: #87ceeb;
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#loc-icon svg {
  fill: #007bff;
  width: 20px;
  height: 20px;
}

/* Search Icon (Right) */
.search-icon {
  position: absolute;
  right: 20px;
  /* Adjust as needed */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  /* Fixed width */
  height: 34px;
  /* Fixed height */
  background-color: #87ceeb;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* pointer-events: none; */
}

.search-icon svg {
  fill: #007bff;
  width: 18px;
  height: 18px;
}


/* Focus Style */
#location-search:focus {
  border-color: #0056b3;
}

.custom-dropdown {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5em;
  /* Space for the arrow */
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16"%3E%3Cpath fill="none" d="M0 0h24v24H0z"%3E%3C/path%3E%3Cpath d="M7 10l5 5 5-5z"%3E%3C/path%3E%3C/svg%3E') no-repeat right center;
  background-size: 16px;
  cursor: pointer;
  border: none;
}

.custom-dropdown:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* To rotate the arrow when the dropdown is open */
.custom-dropdown:focus {
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16"%3E%3Cpath fill="none" d="M0 0h24v24H0z"%3E%3C/path%3E%3Cpath d="M17 14l-5-5-5 5z"%3E%3C/path%3E%3C/svg%3E') no-repeat right center;
}

/* Modal Styles */
.common-msg-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

.msg-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.msg-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.msg-modal-close:hover,
.msg-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Highlight the selected option */
.selected {
  background-color: #007bff;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

/* Add hover effect for clickable items */
.option:hover {
  background-color: #e0e0e0;
  cursor: pointer;
}

.selected:hover {
  background-color: #0056b3;
}



/* Dropdown Content - hidden by default */
.filter-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: auto;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 100;
  color: #222;
  border-radius: 12px;
}

/* ============ RESPONSIVENESS ============ */
@media (min-width: 1600px) and (max-width: 2010px) {
  .search-div {
    width: 54%;
    background: #fff;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    /* tighter padding inside the box */
    gap: 16px;
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
  }
}

/* Responsive for tablets and below */
@media (max-width: 1024px) {
  .diff-screen-btn {
    width: 100%;
    padding: 0 20px;
  }

  #cwagent-form-submit {
    width: 60%;
    font-size: 15px;
  }

  .finsense {
    flex-direction: column;
    padding: 10px;
  }

  .prsnl-search,
  .fncl-tool,
  .exprt-gdnce {
    width: 90%;
    height: auto;
    margin-bottom: 20px;
  }

  .finsense-img-sec img {
    width: 80px;
    height: 80px;
  }

  .finsense-hd-sec {
    font-size: 20px;
  }

  .finsense-des-sec {
    font-size: 14px;
  }

  .finsense-btn-sec {
    margin-bottom: 10px;
  }

  .property-cards-container {
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
  }

  .arrow-button {
    display: none;
  }

  .property-card {
    width: 300px;
  }

  .cnct-with-agent-sec {
    flex-direction: column;
    width: 95%;
  }

  .cwagnt-picture-sec,
  .cwagnt-details-sec {
    width: 100%;
    text-align: center;
  }

  .cwagent-details-hd {
    font-size: 20px;
  }

  .cwagent-details-desc {
    font-size: 16px;
  }

  .explore-home-btn {
    margin-top: 20px;
  }

  .options-slide-show-container {
    width: 100%;
  }

  .real-estate-options-card {
    flex: 1 0 150px;
  }

  .options-card-img img {
    height: 25vw;
    
  }

  .loc-property-hd {
    font-size: 28px;
    flex-direction: column;
    text-align: center;
  }

  #show-prop-text-hd {
    font-size: 28px;
    flex-direction: column;
    text-align: center;
  }

  #location-search {
    width: 80%;
  }
}

.search-container-tablet {
  display: none;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.tablet-options {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.tablet-options-scroll {
  display: flex;
  gap: 1rem;
}

.tablet-option {
  padding: 0.5rem 1rem;
  background-color: #eaeaea;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
}

.tablet-option.selected {
  background-color: #007bff;
  color: white;
}

.tablet-search-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.tablet-dropdown,
.tablet-location-input {
  flex: 1 1 40%;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.tablet-icons {
  display: flex;
  gap: 0.5rem;
}

.tablet-icon-btn {
  padding: 0.75rem;
  font-size: 1.1rem;
  background-color: #f0f0f0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.tablet-search-button {
  flex: 1 1 100%;
  padding: 0.8rem;
  background-color: rgb(33 188 204);
  color: white;
  border: none;
  font-size: 1rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

/* Media queries */
@media (min-width: 768px) and (max-width: 1024px) {
  .search-container {
    display: none;
  }

  .search-container-mobile {
    display: none;
  }

  .search-container-tablet {
    display: block;
  }
}

.search-container-mobile {
  display: none;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
}

.mobile-options select,
.mobile-form-group select,
.mobile-search-bar input {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.mobile-icons {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.mobile-filter-icon,
.mobile-voice-icon,
.mobile-search-button {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  font-size: 1rem;
  background-color: rgb(33 188 204);
  color: white;
  border: none;
  border-radius: 6px;
}

.mobile-filter-icon,
.mobile-voice-icon {
  background-color: #f0f0f0;
  color: #333;
}

/* Show mobile container and hide desktop container below 768px */
@media (max-width: 768px) {
  .search-container {
    display: none;
  }

  .search-container-mobile {
    display: block;
  }
}

/* Responsive for mobile phones */
@media (max-width: 600px) {
  .main-container {
    padding: 10px;
  }

  .img-slider {
    height: 40vh;
  }

  .overlay {
    top: 25%;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .property-cards-container {
    flex-direction: row;
    overflow-x: scroll;
  }

  .property-card {
    width: 280px;
  }

  .finsense-img-sec img {
    width: 60px;
    height: 60px;
  }

  .real-estate-options-sec {
    margin-top: 25px;
  }

  .options-prev,
  .options-next {
    padding: 8px;
    font-size: 16px;
    height: 30px;
    width: 30px;
  }

  .cwagent-form-sec label {
    font-size: 14px;
  }

  .diff-screen-btn {
    width: 100%;
    padding: 0 15px;
  }

  #cwagent-form-submit {
    width: 100%;
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Make responsive row stack vertically on small screens */
.responsive-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;

}

/* For tablets and smaller */

@media screen and (max-width: 500px) {
  * {
    box-sizing: border-box;
  }

  .real-estate-options-sec {
    width: 100%;
  }

  .options-slide-show-container {
    position: relative;
    overflow: visible;
  }

  .options-card-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 10px;
  }

  .real-estate-options-card {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
  }

  /* Hide navigation arrows */
  .options-slideshow-buttons,
  .options-prev,
  .options-next {
    display: none !important;
  }
}
.property-card.skeleton {
  background: #f2f2f2;
  border-radius: 8px;
  padding: 1rem;
  animation: pulse 1.2s infinite ease-in-out;
}
.skeleton-img {
  width: 100%;
  height: 180px;
  background: #ddd;
  margin-bottom: 1rem;
}
.skeleton-text {
  height: 16px;
  background: #ccc;
  margin-bottom: 10px;
  border-radius: 4px;
}
.skeleton-text.short { width: 40%; }
.skeleton-text.long { width: 80%; }

@keyframes pulse {
  0% { background-color: #eee; }
  50% { background-color: #ddd; }
  100% { background-color: #eee; }
}
#loading-spinner-ids {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner-idx {
  width: 50px;
  height: 50px;
  border: 6px solid #ccc;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ==========================================================================
   Base Slide Styles (Enhanced + Whitish Overlay + Full Responsiveness)
   ========================================================================== */
.custom-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a1a;
}

/* Light blur overlay */
.slide-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px) brightness(1.05);
  background: rgba(255, 255, 255, 0.45); /* soft whitish blur */
  z-index: 1;
  transition: all 0.4s ease;
}

/* Main content container */
.slide-overlay-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: 100%;
  padding: 60px;
  gap: 60px;
  color: #0a0a0a;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Slide 1 – Agent Profile
   ========================================================================== */
   .agent-slide{
  display:flex;
  justify-content: space-evenlyssss;
  /* align-items: center; */
  height: 100%;
  padding: 40px;
  gap:70px;
  flex-direction: row;
}
.agent-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.overlay-left {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
}

.overlay-right {
  flex: 1 1 50%;
  color: #222;
}

.agent-image {
  max-height: 280px;
  width: auto;
  border-radius: 14px;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.agent-name {
  font-size: 2rem;
  font-weight: 700;
  color: #101820;
}

.agent-title {
  font-size: 1rem;
  opacity: 0.85;
}

.agent-company {
  font-weight: bold;
  font-size: 1.1rem;
  color: #0077b6;
  margin-bottom: 10px;
}

.agent-office .label {
  font-weight: 600;
}

.agent-divider {
  border: 1px solid #0077b6;
  width: 60px;
  margin: 10px 0;
}

.agent-services p,
.agent-contact-row p {
  margin: 4px 0;
}

/* ==========================================================================
   Slide 2 – About
   ========================================================================== */
.about-slide {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  color: #1a1a1a;
  padding: 40px;
  box-sizing: border-box;
}

.about-left {
  flex: 1 1 60%;
  padding-right: 20px;
}

.about-right {
  flex: 1 1 30%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.about-agent-image {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.about-title {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0;
}

.about-divider {
  border: 0;
  border-top: 2px solid #1ab3ba;
  margin: 10px 0 20px;
  width: 100px;
  opacity: 0.7;
}

.about-content {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 20px;
}

.spoken-language {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Slide 3 – Achievements
   ========================================================================== */
.achievements-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1a1a1a;
  height: 100%;
  padding: 40px;
}

.achievements-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.achievements-svg svg {
  width: 90px;
  height: auto;
}

.achievements-line {
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, #1ab3ba, #888);
  border-radius: 2px;
}

.achievements-photo {
  position: absolute;
  top: 60px;
  right: 60px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.awards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 80px;
  max-width: 1000px;
  width: 100%;
}

.awards-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.award-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.award-logo:hover {
  transform: scale(1.1);
  opacity: 1;
}

.award-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.award-year {
  font-size: 1rem;
  opacity: 0.8;
}

/* ==========================================================================
   Slider Navigation Dots (Always Inside Slide)
   ========================================================================== */
.dots-container {
  position: absolute;
  bottom: 25px; /* always inside slide */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;
  pointer-events: auto;
}

.dot {
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background-color: #aaa;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: #0077b6;
  transform: scale(1.2);
}

/* ==========================================================================
   Responsive Design – Multi-Breakpoint
   ========================================================================== */

/* Tablets and small laptops */
@media (max-width: 1024px) {
  .slide-overlay-content {
    padding: 40px;
    gap: 30px;
    flex-direction: column;
    text-align: center;
  }

  .overlay-left, .overlay-right {
    flex: unset;
    width: 100%;
  }

  .agent-image {
    max-height: 220px;
  }

  .about-slide {
    flex-direction: column;
    align-items: center;
  }

  .awards-container {
    gap: 40px;
  }

  .achievements-photo {
    position: static;
    margin: 20px 0;
  }
}

/* Large phones */
@media (max-width: 768px) {
  .slide-overlay-content {
    padding: 30px;
    gap: 20px;
  }

  .agent-name {
    font-size: 1.5rem;
  }

  .agent-company {
    font-size: 1rem;
  }

  .about-content {
    font-size: 0.95rem;
  }

  .award-logo {
    width: 80px;
    height: 80px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .slide-overlay-content {
    padding: 20px;
  }

  .agent-name {
    font-size: 1.3rem;
  }

  .agent-title,
  .award-year {
    font-size: 0.9rem;
  }

  .award-title {
    font-size: 1rem;
  }

  .award-logo {
    width: 70px;
    height: 70px;
  }

  .dots-container {
    bottom: 15px;
  }

  .slide-overlay-bg {
    backdrop-filter: blur(6px) brightness(1.1);
    background: rgba(255, 255, 255, 0.55);
  }
}

