
  /* Popup Styles - Responsive */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 15px;
    /* Add padding for mobile */
  }

  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .popup-card {
    background-color: white;
    border-radius: 8px;
    width: 100%;
    /* Changed from 90% to 100% for better mobile use */
    max-width: 716px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    max-height: 90vh;
    /* Limit height on mobile */
    overflow-y: auto;
    /* Add scroll if content is too long */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
  }

  .popup-header {
    padding: 15px 20px;
    /* Reduced padding for mobile */
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* For close button positioning */
  }

  .popup-logo {
    height: 40px;
    /* Reduced size for mobile */
    margin-bottom: 10px;
    /* Reduced margin for mobile */
    max-width: 80%;
    /* Ensure logo doesn't overflow */
  }

  .popup-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    /* Reduced font size for mobile */
    line-height: 1.3;
    padding: 0 10px;
    /* Add padding to prevent text touching edges */
  }

  .popup-close {
    position: absolute;
    top: 10px;
    /* Adjusted position for mobile */
    right: 10px;
    /* Adjusted position for mobile */
    background: none;
    border: none;
    font-size: 20px;
    /* Reduced size for mobile */
    cursor: pointer;
    color: #666;
    padding: 5px;
    /* Larger tap target */
  }

  .popup-body {
    padding: 15px 20px;
    /* Reduced padding for mobile */
  }

  .popup-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    /* Reduced gap for mobile */
    margin-top: 15px;
    /* Reduced margin for mobile */
    flex-wrap: wrap;
    /* Allow buttons to wrap on very small screens */
  }

  .popup-btn {
    padding: 10px 15px;
    /* Reduced padding for mobile */
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    flex: 1;
    /* Allow buttons to grow/shrink */
    min-width: 120px;
    /* Minimum width for buttons */
  }

  .btn-buy {
    background-color: #28a745;
    color: white;
    border: 2px solid #28a745;
  }

  .btn-buy:hover {
    background-color: #218838;
    border-color: #1e7e34;
  }

  .btn-sell {
    background-color: #dc3545;
    color: white;
    border: 2px solid #dc3545;
  }

  .btn-sell:hover {
    background-color: #c82333;
    border-color: #bd2130;
  }

  .popup-footer {
    padding: 8px 15px;
    /* Reduced padding for mobile */
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    font-size: 12px;
    /* Reduced font size for mobile */
  }

  /* Mobile-specific adjustments */
  @media (max-width: 480px) {
    .popup-card {
      max-width: 95%;
      /* Slightly more margin on very small screens */
    }

    .popup-header {
      padding: 12px 15px;
    }

    .popup-logo {
      height: 35px;
    }

    .popup-header h3 {
      font-size: 16px;
    }

    .popup-buttons {
      flex-direction: column;
      /* Stack buttons vertically on small screens */
      gap: 8px;
    }

    .popup-btn {
      width: 100%;
      /* Full width buttons on mobile */
      padding: 12px;
      /* Taller buttons for easier tapping */
    }

    .popup-body {
      padding: 12px 15px;
    }
  }

  /* Tablet adjustments */
  @media (min-width: 481px) and (max-width: 768px) {
    .popup-card {
      max-width: 85%;
    }

    .popup-header h3 {
      font-size: 20px;
    }
  }


  /* property-categories */

  .property-categories {
    background-color: #f8f9fa;
  }

  .property-categories h2 {
    font-weight: 700;
    color: #2c3e50;
    font-size: 2rem;
  }

  .property-categories .lead {
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Card Styles */
  .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    margin: 0 10px;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .card-img-top {
    height: 180px;
    object-fit: cover;
    width: 100%;
  }

  .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
  }

  .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .card-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  /* Swiper Custom Styles */
  .propertySwiper {
    padding: 20px 0 40px;
  }

  .swiper-slide {
    height: auto;
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: #2c3e50;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: #fff;
    transform: scale(1.1);
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1.2rem;
  }

  .swiper-pagination-bullet {
    background: #2c3e50;
    opacity: 0.3;
    width: 10px;
    height: 10px;
  }

  .swiper-pagination-bullet-active {
    opacity: 1;
    background: #2c3e50;
  }

  @media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
      display: none;
    }
  }



  /* Base Styles */
  .property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #005555;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .custom-property-item {
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* Icon Styles */
  .custom-icon-bed,
  .custom-icon-bath,
  .custom-icon-area {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-right: 5px;
    filter: brightness(0.8);
  }

  .custom-icon-bed {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237f8c8d'%3E%3Cpath d='M7 14c1.66 0 3-1.34 3-3S8.66 8 7 8s-3 1.34-3 3 1.34 3 3 3zm0-4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12-3h-8v8H3V5H1v15h2v-3h18v3h2v-9c0-2.21-1.79-4-4-4zm2 8h-8V9h6c1.1 0 2 .9 2 2v4z'/%3E%3C/svg%3E");
  }

  .custom-icon-bath {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237f8c8d'%3E%3Cpath d='M21 10H7V7c0-1.1.9-2 2-2s2 .9 2 2h2c0-2.21-1.79-4-4-4S5 4.79 5 7v3H3v11h18V10zm-10 7H8v-2h3v2zm0-3H8v-2h3v2zm0-3H8V9h3v2zm5 6h-3v-2h3v2zm0-3h-3v-2h3v2zm0-3h-3V9h3v2z'/%3E%3C/svg%3E");
  }

  .custom-icon-area {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237f8c8d'%3E%3Cpath d='M3 3v18h18V3H3zm16 16H5V5h14v14z'/%3E%3Cpath d='M7 12h2v5h5v2H7z'/%3E%3C/svg%3E");
  }

  /* Section Styles */
  .custom-property-section {
    margin: 60px 0;
    padding: 20px 0;
    background-color: #f9f9f9;
  }

  .custom-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Header Styles */
  .custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .custom-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    position: relative;
    padding-bottom: 10px;
  }

  .custom-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #005555;
  }

  .custom-view-all {
    display: inline-block;
    padding: 12px 25px;
    background-color: #005555;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 85, 85, 0.1);
  }

  .custom-view-all:hover {
    background-color: #004444;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 85, 85, 0.15);
  }

  /* Card Styles */
  .custom-swiper-container {
    padding: 15px 10px 40px;
  }

  .swiper-slide {
    height: auto;
    padding: 5px;
  }

  .custom-property-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .custom-property-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  }

  .custom-property-image {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .custom-property-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  .custom-property-item:hover .custom-property-image img {
    transform: scale(1.05);
  }

  .custom-property-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .custom-price {
    position: relative;
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #005555;
    margin-bottom: 10px;
  }

  .custom-price::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #005555;
  }

  .custom-address {
    display: block;
    color: #7f8c8d;
    margin: 10px 0 5px;
    font-size: 14px;
    line-height: 1.4;
  }

  .custom-city {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
  }

  .custom-features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .custom-feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #7f8c8d;
    font-size: 14px;
  }

  .custom-details-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #005555;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    align-self: flex-start;
    border: 1px solid #005555;
  }

  .custom-details-btn:hover {
    background-color: white;
    color: #005555;
    transform: translateY(-2px);
  }

  /* Swiper Navigation */
  .custom-swiper-button-next,
  .custom-swiper-button-prev {
    position: static;
    margin-top: 20px;
    width: auto;
    height: auto;
    padding: 10px 25px;
    border-radius: 4px;
    border: none;
    background: #005555;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
  }

  .custom-swiper-button-next:hover,
  .custom-swiper-button-prev:hover {
    background: #004444;
    transform: translateY(-2px);
  }

  .custom-swiper-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 9999;
    margin-top: 30px;
  }

  .swiper-pagination {
    position: relative !important;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* Swiper Pagination */
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 85, 85, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
  }

  .swiper-pagination-bullet-active {
    background: #005555;
    width: 30px;
    border-radius: 5px;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .custom-header {
      flex-direction: column;
      align-items: flex-start;
    }

    .custom-title {
      font-size: 28px;
    }

    .custom-property-image img {
      height: 180px;
    }
  }

  /* Add a subtle gradient overlay on images */
  .custom-property-image:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.03) 100%);
    pointer-events: none;
  }




    #testimonials-section {
      background-color: #ffffff;
      padding: 80px 20px;
      border-radius: 12px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    }

    #testimonials-container {
      width: 100%;
      max-width: 1140px;
      margin: 0 auto;
    }

    #testimonials-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 50px;
      flex-wrap: wrap;
    }

    #testimonials-heading {
      font-size: 2.5rem;
      font-weight: 700;
      color: #003B2E;
    }

    #testimonials-nav {
      display: flex;
      gap: 15px;
    }

    #testimonials-prev,
    #testimonials-next {
      background: linear-gradient(135deg, #005555 0%, #003333 100%);
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    #testimonials-prev:hover,
    #testimonials-next:hover {
      background: linear-gradient(135deg, #005555 0%, #003322 100%);
      transform: translateY(-2px);
    }

    #testimonials-slider-wrapper {
      position: relative;
      overflow: hidden;
      margin: 0 -15px;
    }

    #testimonials-slider {
      display: flex;
      transition: transform 0.5s ease;
    }

    .testimonial-item {
      flex: 0 0 calc(33.333% - 30px);
      margin: 0 15px;
      background: #f9fafc;
      border-radius: 12px;
      padding: 40px 30px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.3s ease;
    }

    .testimonial-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .testimonial-image {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      margin: 0 auto 20px;
      border: 5px solid #e6f0ff;
    }

    .testimonial-rating {
      margin-bottom: 20px;
    }

    .rating-star {
      color: #ffc107;
      font-size: 1.2rem;
      margin: 0 2px;
    }

    .testimonial-name {
      font-size: 1.5rem;
      font-weight: 700;
      color: #003C3C;
      margin-bottom: 15px;
    }

    .testimonial-quote {
      font-style: italic;
      color: #555;
      margin-bottom: 20px;
      line-height: 1.7;
      position: relative;
      padding: 0 20px;
    }

    .testimonial-quote:before {
      content: '"';
      font-size: 4rem;
      color: #e6f0ff;
      position: absolute;
      left: -10px;
      top: -20px;
      font-family: Georgia, serif;
      z-index: 1;
    }

    .testimonial-designation {
      color: #666;
      font-weight: 500;
      font-size: 1.1rem;
    }

    @media (max-width: 992px) {
      .testimonial-item {
        flex: 0 0 calc(50% - 30px);
      }
    }

    @media (max-width: 768px) {
      #testimonials-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
      }

      .testimonial-item {
        flex: 0 0 calc(100% - 30px);
      }

      #testimonials-heading {
        font-size: 2rem;
      }
    }
  