/* Additional responsive styles to enhance mobile experience */

/* Base responsive adjustments */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  /* Adjust grid columns */
  .col-md-4 {
    width: 50%;
  }
  
  .col-md-6 {
    width: 100%;
  }
  
  /* Adjust featured properties layout */
  .featured-main-property {
    margin-bottom: 30px;
  }
  
  /* Adjust testimonial cards */
  .testimonial-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Header adjustments */
  .header-content {
    flex-direction: column;
    align-items: center;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  /* Navigation adjustments */
  .nav-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95); /* deep black with slight transparency */
  flex-direction: column;
  padding: 20px 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); /* optional shadow for luxury */
  backdrop-filter: blur(6px); /* optional blur effect */
}
  
  .nav-list.active {
    display: flex;
  }
  
  .nav-list li {
    margin: 10px 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hero section adjustments */
  .hero-content {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  /* Search form adjustments */
  .search-form {
    flex-direction: column;
  }
  
  .search-form .form-group {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .search-form .btn {
    width: 100%;
  }
  
  /* Property grid adjustments */
  .property-grid {
    grid-template-columns: 1fr;
  }
  
  /* Adjust columns */
  .col-md-4, .col-md-6, .col-md-8 {
    width: 100%;
  }
  
  /* Adjust featured showcase */
  .featured-showcase .row {
    flex-direction: column;
  }
  
  /* Adjust agent stats */
  .agent-stats {
    flex-wrap: wrap;
  }
  
  .stat-item {
    width: 50%;
    margin-bottom: 20px;
  }
  
  /* Adjust testimonial slider */
  .testimonial-slider {
    padding: 0 20px;
  }
  
  /* Adjust footer */
  .footer-content .row {
    flex-direction: column;
  }
  
  .footer-content .col {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  /* Further adjustments for very small screens */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Adjust property cards */
  .property-features span {
    margin-right: 8px;
    font-size: 0.8rem;
  }
  
  /* Adjust buttons */
  .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  /* Adjust stats boxes */
  .stats-container {
    flex-wrap: wrap;
  }
  
  .stat-box {
    width: 50%;
    margin-bottom: 20px;
  }
  
  /* Adjust filter tabs */
  .filter-tabs {
    flex-wrap: wrap;
  }
  
  .filter-tab {
    margin: 5px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  /* Adjust gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Adjust contact form */
  .form-group {
    margin-bottom: 15px;
  }
  
  /* Adjust neighborhood grid */
  .neighborhood-grid {
    grid-template-columns: 1fr;
  }
}
 @media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: center; /* Center the items */
    }
    .profile-pic {
        width: 120px; /* Slightly smaller for mobile */
        height: 120px;
        margin-bottom: 15px;
    }
    .profile-info {
        text-align: center; /* Center text for better mobile appearance */
    }
}