  body {
      padding-top: 70px;
      /* Adjust body padding for mobile */
  }

  /* Enhanced Project Card Styling */
  .projects-card,
  .coming-soon-card {
      position: relative;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
      background: white;
  }

  .projects-card:hover,
  .coming-soon-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  }

  .projects-image,
  .coming-soon-image {
      position: relative;
      overflow: hidden;
      height: 200px;
  }

  .projects-image img,
  .coming-soon-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
      filter: brightness(0.9) contrast(1.1);
  }

  .projects-image::before,
  .coming-soon-image::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
      z-index: 1;
  }

  .projects-card:hover .projects-image img,
  .coming-soon-card:hover .coming-soon-image img {
      transform: scale(1.1);
  }

  /* Image Overlay Styling */
  .image-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
      color: white;
      padding: 10px;
      padding-top: 10px;
      -webkit-backdrop-filter: blur(8px);
      z-index: 2;
  }

  .overlay-content {
      text-align: left;
  }

  .overlay-title {
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 6px;
      line-height: 1.2;
      color: #ffffff;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);

  }

  .overlay-location {
      font-size: 11px;
      margin-bottom: 6px;
      opacity: 1;
      line-height: 1.2;
      color: #f0f0f0;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.2);
      font-weight: 500;
  }

  .overlay-location i {
      margin-right: 3px;
      color: #0d6efd;
      text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  }

  .overlay-price {
      font-size: 15px;
      font-weight: 800;
      color: #ffffff;
      margin: 0;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
  }

  .overlay-area {
      margin-top: 8px;
  }

  .overlay-area span {
      background: rgba(255, 255, 255, 0.2);
      color: #ffffff;
      padding: 4px 8px;
      border-radius: 12px;
      font-size: 10px;
      font-weight: 500;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
  }

  .overlay-area span i {
      color: #0d6efd;
      margin-right: 3px;
  }

  /* Card Link Styling */
  .card-link {
      display: block;
      text-decoration: none;
      color: inherit;
      transition: all 0.3s ease;
  }

  .card-link:hover {
      text-decoration: none;
      color: inherit;
  }

  /* Property Tags */
  .property-tag {
      position: absolute;
      top: 10px;
      left: 10px;
      padding: 4px 10px;
      border-radius: 15px;
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      z-index: 3;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
  }

  .ready-tag {
      background: #fb501a;
      color: white;
  }

  .coming-soon-tag {
      background: rgba(255, 107, 53, 0.95);
      color: white;
  }

  .featured-tag {
      background: rgba(156, 39, 176, 0.95);
      color: white;
  }

  .count-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 3px 6px;
      border-radius: 10px;
      font-size: 10px;
      z-index: 3;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
  }

  /* Custom styles for the image modal */
  .image-modal-xl {
      max-width: 100%;
  }

  /* Image Navigation Tabs */
  .image-nav-tabs {
      display: flex;
      flex-wrap: wrap;
      padding-left: 0;
      margin-bottom: 0;
      list-style: none;
      border-bottom: 1px solid #dee2e6;
  }

  .image-nav-item {
      margin-bottom: -1px;
  }

  .image-nav-link {
      display: block;
      padding: 0.75rem 1rem;
      margin-right: 0.5rem;
      text-decoration: none;
      background: transparent;
      border: none;
      color: #6c757d;
      font-weight: 500;
      border-radius: 0;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.95rem;
  }

  .image-nav-link:hover {
      color: #007bff;
      background: rgba(0, 123, 255, 0.1);
      border-color: transparent;
  }

  .image-nav-link.image-nav-active,
  .image-nav-link:focus {
      color: #007bff;
      background: transparent;
      border-bottom: 2px solid #007bff;
      font-weight: 600;
      outline: none;
  }

  /* Image Tab Content */
  .image-tab-content {
      width: 100%;
  }

  .image-tab-pane {
      display: none;
  }

  .image-tab-pane.image-tab-active {
      display: block;
  }

  .image-tab-pane.image-tab-show {
      display: block;
  }

  .image-tab-fade {
      transition: opacity 0.15s linear;
  }

  .image-tab-fade:not(.image-tab-show) {
      opacity: 0;
  }

  /* Image Container */
  .image-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 500px;
      background-color: #f8f9fa;
      border-radius: 8px;
      overflow: hidden;
  }

  .image-main-img {
      max-height: 100%;
      height: auto !important;
      max-width: 100%;
      object-fit: contain !important;
      border-radius: 4px;
  }

  /* Image Carousel Controls */
  .image-carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      background: rgba(0, 0, 0, 0.5);
      border: none;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      z-index: 10;
  }

  .image-carousel-control:hover {
      background: rgba(0, 0, 0, 0.7);
      transform: translateY(-50%) scale(1.1);
  }

  .image-carousel-prev {
      left: 20px;
  }

  .image-carousel-next {
      right: 20px;
  }

  /* Image Thumbnails */
  .image-thumbnail-row {
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
      padding: 10px 0;
  }

  .image-thumbnail {
      width: 80px;
      height: 60px;
      object-fit: cover;
      cursor: pointer;
      border: 2px solid #dee2e6;
      border-radius: 6px;
      transition: all 0.3s ease;
      opacity: 0.7;
  }

  .image-thumbnail:hover {
      transform: scale(1.1);
      border-color: #007bff;
      opacity: 1;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .image-thumbnail.image-thumbnail-active {
      border-color: #007bff;
      opacity: 1;
      box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
  }

  /* Image Counter */
  .image-counter {
      background: #343a40;
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 500;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
      .image-modal-xl {
          max-width: 98%;
          margin: 0.5rem;
      }

      .image-nav-tabs {
          flex-wrap: wrap;
      }

      .image-nav-link {
          font-size: 0.85rem;
          padding: 0.5rem 0.75rem;
          margin-right: 0.25rem;
          margin-bottom: 0.25rem;
      }

      .image-thumbnail {
          width: 60px !important;
          height: 45px !important;
      }

      .image-container {
          height: 300px !important;
      }

      .image-carousel-control {
          width: 40px;
          height: 40px;
      }

      .image-carousel-prev {
          left: 10px;
      }

      .image-carousel-next {
          right: 10px;
      }
  }

  @media (max-width: 576px) {
      .image-nav-link {
          font-size: 0.8rem;
          padding: 0.4rem 0.6rem;
      }

      /* Video responsive adjustments for small screens */
      .video-container {
          padding: 10px 0;
      }

      .video-card {
          margin-bottom: 20px;
      }

      .video-header {
          padding: 15px;
      }

      .video-title {
          font-size: 1rem;
      }

      .no-video-placeholder {
          min-height: 150px;
      }

      .no-video-placeholder p {
          font-size: 1rem;
      }
  }

  .image-thumbnail.image-thumbnail-active {
      border: 2px solid #007bff;
      transform: scale(1.05);
      box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  }

  /* Layout Thumbnail Styles */
  .layout-image-thumbnail {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border: 2px solid #dee2e6;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      margin-right: 8px;
      margin-bottom: 8px;
      opacity: 0.7;
  }

  .layout-image-thumbnail:hover {
      opacity: 1;
      border-color: #007bff;
      transform: scale(1.05);
  }

  .layout-image-thumbnail.layout-thumbnail-active {
      border: 2px solid #007bff;
      transform: scale(1.05);
      box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
      opacity: 1;
  }

  /* Video Player Styles */
  .video-container {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      padding: 20px 0;
  }

  /* Video Card Styles */
  .video-card {
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: all 0.3s ease;
      border: 1px solid #e9ecef;
  }

  .video-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  }

  .video-header {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      padding: 20px;
      color: white;
  }

  .video-title {
      margin: 0;
      font-size: 1.1rem;
      font-weight: 600;
      display: flex;
      align-items: center;
  }

  .video-title i {
      font-size: 1.2rem;
  }

  .video-wrapper {
      position: relative;
      width: 100%;
      height: 0;
      padding-bottom: 56.25%;
      /* 16:9 aspect ratio */
      background: #000;
      overflow: hidden;
  }

  .video-iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
  }

  .no-video-placeholder {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 300px;
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      border: 2px dashed #dee2e6;
      border-radius: 16px;
      margin: 20px 0;
  }

  .no-video-placeholder p {
      font-size: 1.1rem;
      color: #6c757d;
      margin: 0;
  }

  /* Video Overlay and Badge Styles */
  .video-overlay {
      position: absolute;
      top: 15px;
      left: 15px;
      z-index: 10;
  }

  .video-badge {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 8px 16px;
      border-radius: 25px;
      font-size: 0.9rem;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .video-badge i {
      margin-right: 6px;
      font-size: 1rem;
  }

  /* Video responsive adjustments */
  .video-container {
      padding: 15px 0;
  }

  .video-wrapper {
      padding-bottom: 56.25%;
      /* Maintain 16:9 ratio on mobile */
  }

  .no-video-placeholder {
      min-height: 200px;
  }