 @media (max-width: 575px) {
  h3.mobile-h3 {
    font-size: 20px; 
    text-align: center;
    width: 100%; 
    }

    p {
      font-size: 20px; 
      text-align: center;
      width: 100%; 
      }

      img.img-fluid
      {
        width: 100%;
        height: auto;
      }

      .center-img
      {
        justify-content: center;
        display: flex;
        align-items: center;

      }
  }




/* Modal Styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  position: relative;
  animation: fadeInModal 0.5s ease;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
}
.feature-box
{
    background: rgba(235, 187, 129, 0.5);
    width: 450px;
    border-radius: 10px;
}

@keyframes borderRotate {
    0% {
      border-color: #d29751;
    }
    25% {
      border-color: #33ff57;
    }
    50% {
      border-color: #d29751;
    }
    75% {
      border-color: #ff33a8;
    }
    100% {
      border-color: #d29751;
    }
  }
  
  .feature-box {
    border: 2px solid #fff; /* Initial color */
    animation: borderRotate 3s infinite linear; /* Infinite color rotation */
    border-radius: 5px; /* Keep border-radius as per your original design */
    padding: 8px 12px;
    transition: all 0.3s;
  }

  @keyframes borderRotate {
    0% {
      border-color: #d29751;
    }
    25% {
      border-color: #33ff57;
    }
    50% {
      border-color: #d29751;
    }
    75% {
      border-color: #ff33a8;
    }
    100% {
      border-color: #d29751;
    }
  }
  
  .responsive {
    border: 2px solid #fff; 
    animation: borderRotate 3s infinite linear; 
    border-radius: 5px; 
    padding: 8px 12px;
    transition: all 0.3s;
  }
  

.contact-form input.form-control {
    transition: all 0.3s ease;
  }
  
  .contact-form input.form-control:focus {
    border-color: #d29751;
    box-shadow: 0 0 5px rgba(210, 151, 81, 0.5);
  }
  
  .contact-form button.btn:hover {
    background-color: #b58340;
  }
  
  
  /* Adjust padding and spacing for mobile */
  @media (max-width: 575px) {
    .feature-box {
      padding: 15px;
      margin-top: 10%;
    }
  }
  

/* Modal Background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-out forwards; /* Fade-in animation */
}

/* Modal Content */
.modal-content {
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  opacity: 0;
  animation: slideIn 0.5s forwards; /* Slide-in animation */
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Form Fields */
.form-group label {
  font-weight: bold;
  color: #333;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px 12px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Button Styling */
.btn {
  background-color: #b36a11;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e6af6d;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Banner Section */
.banner-section {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }
  
  /* Overlay Styling */
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    z-index: 1;
  }
  
  /* Content Styling */
  .banner-content {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
    text-align: center;
  }
  
  .banner-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
  }
  
  .banner-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
  }
  
  .banner-content .btn {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    transition: background-color 0.3s;
  }
  
  .banner-content .btn:hover {
    background-color: #0056b3;
  }
  
  /* Floor plan */
  /* Custom Styles */
.living-spaces-section .section-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
  }
  
  .living-spaces-section .section-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 1.5rem;
  }
  
  .amenities-buttons .btn {
    width: 100%;
    font-weight: bold;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 1em;
  }
  
  .tabs .nav-tabs {
    border-bottom: none;
  }
  
  .tabs .nav-tabs .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.8rem 1rem;
    border: none;
  }
  
  .tabs .nav-tabs .nav-link.active {
    border-bottom: 2px solid #333;
    color: #333;
  }
  
  .image-container img {
    max-width: 100%;
    height: 60vh;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  