/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
   
  .modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
  }
   
  .close {
    color: #aaa;
    float: left;
    margin-left: 90%;
    font-size: 28px;
    font-weight: bold;
  }
   
  .close:hover,
  .close:focus {
    color: black;
    cursor: pointer;
  }
   
  /* Form styling */
  form {
    display: flex;
    flex-direction: column;
  }
   
  label {
    margin-top: 10px;
    text-align: left;
  }
   
  input, textarea {
    margin-top: 5px;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
   
  button {
    margin-top: 15px;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
   
  button:hover {
    background-color: #218838;
  }
   
  /* Responsive adjustments */
  @media (max-width: 600px) {
    .modal-content {
      width: 95%;
    }
  }







  
 /* Call Icon On Mobile */
.call-icon {
  display: inline-block;
  animation: bounce 1s infinite;
  text-decoration: none;
  margin-left:-5%;
}

.call-icon img {
  width: 30px;
  height: 30px;
 
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-15px);
  }
  60% {
      transform: translateY(-8px);
  }
}
/* Hide the icon on screens larger than 768px */
@media (min-width: 768px) {
  .call-icon {
      display: none;
  }
}


/* Base styles — already defined */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-box {
  background: white;
  max-width: 900px;
  width: 90%;
  margin: 5% auto;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  position: relative;
  overflow: hidden;
}

.modal-banner-mobile {
  display: none;
  position: relative;
  width: 100%;
  height: 120px;
  /* rectangular, short banner */
  overflow: hidden;
}

.modal-banner-mobile .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-banner-mobile .banner-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 80px;
  height: auto;
  opacity: 0.8;
  /* transparent */
}

.modal-left {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.modal-left h2 {
  margin-bottom: 20px;
}

.modal-left input,
.modal-left textarea {

  margin-bottom: 15px;
  padding: 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.input-with-button {
  position: relative;
}

.input-with-button input {

  padding-right: 100px;
  /* space for button */
}

.input-with-button button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  padding: 6px 10px;
  font-size: 13px;
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  background: black;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#otp-section {
  margin-top: 110px;
}

.modal-right {
  width: 50%;
}

.modal-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  cursor: pointer;
  color: #744c4c;
}

.btn {
  padding: 10px;
  background-color: Gray;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: -3px;
  margin-left: 20px;
}

.phone-wrapper {
  display: flex;
  gap: 10px;
}

.country-code-wrapper {
  display: flex;
  gap: 8px;
  /* Adds spacing between select and input */
  align-items: center;
  max-width: 100%;
}

.country-code-select {
  max-height: 150px;
  overflow-y: auto;
  width: 100px;
  height: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 6px 8px;
  box-sizing: border-box;
  -webkit-transition: none !important;
  transition: none !important;
}

.country-code-select option {
  white-space: nowrap;
  /* Prevent wrapping */
}

.phone-input {
  width: 127%;

}

/* For Android Devices (commonly 360px wide, like Pixel phones) */
@media only screen and (max-width: 360px) {
  .phone-input {
      width: 120%;
  }

  .close {
      top: 120px;
      left: 93%;
  }

}

/* For iPhones with viewport width ~428px (like iPhone 12 Pro Max) */
@media only screen and (min-width: 361px) and (max-width: 428px) {
  .phone-input {
      width: 120%;
  }

 
}

/* Responsive - Mobile View */
@media (max-width: 767px) {


  .modal-box {
      flex-direction: column;
      width: 95%;
  }

  .modal-left {
      width: 100%;
      padding: 20px;
      text-align: center;
  }

  #otp-section {
      margin-top: 30px;
  }

  .modal-right {
      display: none;
  }

  .modal-banner-mobile {
      display: block;
  }

  .modal-left h2 {
      margin-top: 0;
  }

  .input-with-button {
      position: relative;
      display: flex;
      align-items: center;
      margin-bottom: 15px;
  }

  .btn {
      margin-left: -2px;
  }

  .input-with-button input {
      width: 100%;
      padding-right: 120px;
      height: 44px;
      font-size: 14px;
      border-radius: 6px;
      box-sizing: border-box;
  }

  .input-with-button button {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      padding: 8px 14px;
      /* Adjusted padding */
      font-size: 13px;
      background: #333;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      line-height: 1;
      height: 30px;
      /* Match vertical size better */
  }
}

/* Toast CSS */
.toast {
  visibility: hidden;
  min-width: 250px;
  max-width: 90%;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

/* Added custom-dropdown styles */
.custom-dropdown {
  position: relative;
  /* width: 280px;
  font-family: sans-serif;
  user-select: none;
   flex: 1; */

}

.custom-dropdown .selected {
  /* background: #fff;
border: 1px solid #ccc;
padding: 10px 0px;
cursor: pointer;
border-radius: 5px;
height: 50px;
width: 300px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; */
  flex: 0.6;
  background: #fff;
  border: 1px solid #ccc;
  padding: 0 10px;
  border-radius: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



.custom-dropdown .dropdown-list {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  /* Make it scrollable */
  overflow-y: auto;
  z-index: 999;
  border-radius: 5px;
  display: none;
  /* Hidden by default */
}

.custom-dropdown .dropdown-list li {
  padding: 10px 15px;
  cursor: pointer;
}

.custom-dropdown .dropdown-list li:hover {
  background: #f0f0f0;
}

.phone-flex-wrapper {
  display: flex;
  align-items: center;
}

.phone-flex-wrapper input {
  height: 50px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
  max-width: 300px;
  align-items: center;
}

/* Specific widths */
.country-code-input {
  cursor: pointer;
  background-color: #f9f9f9;
  height: 50px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  padding: 0 10px;
  box-sizing: border-box;
}


#name {
  width: 100%;
}

#email {
  width: 100%;
}

@keyframes blink {
  0% {
      opacity: 2;
  }

  50% {
      opacity: 0.6;
  }

  100% {
      opacity: 2;
  }
}

.blink-button {
  animation: blink 1s infinite;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .button-wrapper {
      width: 100%;
  }

  .enquire-btn {
      width: 80%;
      max-width: 300px;
      text-align: center;
  }
}

@media (max-width: 500px) {
  .button-wrapper {
      width: 100%;
  }

  .enquire-btn {
      width: 80%;
      max-width: 300px;
      text-align: center;
      margin-top: 30px;
  }
}

/* Optional blinking effect */
.enquire-btn {
  animation: blink 1.5s infinite;
  margin-left: 20px;
  /* Include other styles here if needed, like background, padding, etc. */
}

@keyframes blink {
  50% {
      opacity: 0.5;
  }
}

.commonPattern {
  pointer-events: none;
  z-index: 0;
}
.footerw1 {
/* background: #4E2801; */
padding: 20px 0px;
position: relative;

}
.disclaimer p {
text-align: center;
color: #000;
display: block;
margin: 0 auto;
font-size: 13px;
width: 80%;
line-height: 20px;
}


















.sale {
  background-image: url(../images/salebanner/2.webp);
  background-size: cover;
  padding: 8.2%;
}




.apartment-slider {
  width: 50%;
}

@media (max-width: 430px) {
  .sale {
    background-image: url(../images/salebanner/1.webp);
    background-size: cover;
    height: 145px;

  }

  .apartment-slider {
    width: 80%;
  }

  .banner_t op {
    display: none;
  }

}



@media (max-width: 395px) {
  .sale {
    background-image: url(../images/salebanner/1.webp);
    background-size: cover;
    height: 120px;

  }

  .apartment-slider {
    width: 80%;
  }

  .banner_top{
    display : none;
  }

}