  :root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
  }

  body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f5f7fa;
  }

  .property-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .property-gallery {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
  }

  .gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }

  .gallery-thumbs {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
  }

  .gallery-thumbs img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .gallery-thumbs img:hover,
  .gallery-thumbs img.active {
    border-color: var(--primary-color);
    transform: translateY(-3px);
  }

  .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-radius: 10px 10px 0 0 !important;
  }

  .highlight-item {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .highlight-item:hover {
    background-color: rgba(67, 97, 238, 0.05);
  }

  .highlight-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 1rem;
  }

  .price-badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
  }

  .price-compare {
    text-decoration: line-through;
    opacity: 0.7;
  }

  .amenities-badge {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    font-size: 0.85rem;
  }

  .agent-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: -50px auto 1rem;
  }

  .social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .social-btn:hover {
    transform: translateY(-3px);
  }

  .whatsapp-btn {
    background-color: #25D366;
    color: white;
  }

  .telegram-btn {
    background-color: #0088cc;
    color: white;
  }

  .call-btn {
    background-color: #ff3b30;
    color: white;
  }

  .email-btn {
    background-color: #34a853;
    color: white;
  }

  .property-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
  }

  .featured-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
  }

  .related-property img {
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }

  .containe {
    max-width: 1900px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-title {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
  }

  .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
  }

  #map-container {
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  .property-description {
    line-height: 1.8;
  }

  .container {
    max-width: 100%;
  }

  .property-description p {
    margin-bottom: 1.5rem;
  }

  @media (max-width: 768px) {
    .gallery-main img {
      height: 350px;
    }

    .agent-avatar {
      width: 80px;
      height: 80px;
      margin: -40px auto 1rem;
    }
  }

  /* Gallery Styles */
  .property-gallery {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .gallery-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
  }

  .slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
  }

  .slide {
    min-width: 100%;
    height: 100%;
    position: relative;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
  }

  .prev-arrow {
    left: 2rem;
  }

  .next-arrow {
    right: 2rem;
  }

  .slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
  }

  .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .indicator.active {
    background: white;
    transform: scale(1.2);
  }

  .gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
  }

  .gallery-thumbs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid transparent;
  }

  .thumb:hover {
    opacity: 1;
  }

  .thumb.active {
    opacity: 1;
    border-color: #4361ee;
  }

  .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .gallery-slider {
      height: 50vh;
      min-height: 350px;
    }

    .slider-arrow {
      width: 40px;
      height: 40px;
      font-size: 1rem;
    }
  }

  @media (max-width: 768px) {
    .gallery-slider {
      height: 40vh;
      min-height: 300px;
    }

    .thumb {
      width: 60px;
      height: 45px;
    }
  }

  /* Additional Styles for Title and Location */
  .slide {
    position: relative;
  }

  .slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
  }

  .slide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
  }

  .property-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .property-location {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
  }

  .property-location i {
    margin-right: 0.5rem;
    color: #4cc9f0;
  }

  /* Responsive Adjustments for Title */
  @media (max-width: 992px) {
    .property-title {
      font-size: 1.8rem;
    }

    .slide-overlay {
      padding: 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .property-title {
      font-size: 1.5rem;
    }

    .property-location {
      font-size: 1rem;
    }

    .slide-overlay {
      padding: 1rem;
    }
  }

  @media (max-width: 576px) {
    .property-title {
      font-size: 1.3rem;
    }

    .slide-overlay {
      padding: 0.75rem;
    }
  }