  .logo-container {
    display: flex;
    align-items: center;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .logo-text .subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.6rem;
    /* adjust as needed */
  }


  .sitename {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    /* Adjust color as needed */
  }

  .subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: #333;
    /* Adjust color as needed */
    margin-left: 3px
  }

  /* Adjust image size if needed */
  .logo img {
    max-height: 60px;
    margin-right: 10px;
  }

  /* Loading Indicator Styles */
  .loading-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    /* Adjust based on your content height */
  }

  .loading-indicator-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  .loading-text {
    color: #555;
    font-size: 14px;
    font-weight: 500;
  }

  /* Error Message Styles */
  .error-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
  }

  .error-message {
    color: #d9534f;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
  }

  /* Animations */
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .search-results-transition {
    animation: fadeIn 0.3s ease-in;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .no-results-container {
    display: flex;
    justify-content: center;
    /* Horizontal centering */
    align-items: center;
    /* Vertical centering */
    min-height: 200px;
    /* Minimum height to center properly */
    width: 100%;
    /* Full width */
    text-align: center;
    /* Center text inside */
  }

  .no-results-message p {
    margin: 0;
    /* Remove default paragraph margins */
    color: #666;
    /* Gray text color */
    font-size: 16px;
    font-weight: 500;
  }


  /* View Toggle Styles */
  .view-toggle {
    text-align: right;
  }

  .view-toggle-btn {
    transition: all 0.3s ease;
  }

  /* GRID AND LIST VIEW TOGGLE */
  .view-toggle-btn.active {
    background-color: #0d6efd;
    color: white;
  }

  .view-content {
    display: none;
  }

  .view-content.active {
    display: block;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .view-toggle {
      text-align: center;
    }

    .property-row-item .col-lg-4 {
      margin-bottom: 1rem;
    }

    .property-row-content .col-lg-8,
    .property-row-content .col-lg-4 {
      width: 100%;
    }
  }


  /*=========================
	This Is my css for the grid items design
===========================*/
  .card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
  }

  .object-fit-cover {
    object-fit: fill;
  }

  .btn-primary:hover {
    background-color: #2563eb !important;
    transform: translateY(-1px);
  }

  .single-image {
    transition: all 0.4s ease;
  }

  .card:hover .single-image img {
    transform: scale(1.05);
  }

  .card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-5px) !important;
  }

  /* Style for excerpt fade-out */
  .fade-out {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
  }

  .card-title,
  .card-text {
    transition: opacity 0.3s ease-in-out;
  }

  .card-text {
    max-height: 75px;
    /* Adjust to limit text height */
    overflow: hidden;
  }

  .card-body:hover .card-text {
    max-height: none;
    /* Allow text to expand on hover (optional) */
  }




  /* updates */
  /* Card Hover Effects */
  .product-card-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .product-card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  /* Product Image Hover Effect */
  .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 0 0;
  }

  .product-image-main {
    transition: transform 0.3s ease;
  }

  .product-image:hover .product-image-main {
    transform: scale(1.1);
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .product-image:hover .overlay {
    opacity: 1;
  }

  .overlay .btn {
    font-size: 16px;
    padding: 12px 25px;
    background-color: #fff;
    color: #333;
    border-radius: 25px;
    transition: background-color 0.3s ease;
  }

  .overlay .btn:hover {
    background-color: #3b82f6;
    color: #fff;
  }

  /* Product Title */
  .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
  }

  .card-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
  }

  /* Product Categories */
  .product-categories .badge {
    font-size: 0.875rem;
    margin-right: 5px;
    margin-bottom: 5px;
  }

  /* Product Metadata (Date) */
  .product-meta {
    font-size: 0.75rem;
    color: #6c757d;
  }

  /* Carousel images On Details page start */


  /* Carousel images fixed height */
  #postImageCarousel .carousel-inner img {
    height: 500px;
    /* fixed height */
    width: 100%;
    object-fit: fill;
    /* cover ensures cropping to fill */
  }

  /* Thumbnails */
  .thumb-img {
    width: 80px;
    height: 60px;
    /* fixed height for thumbnails */
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    border: 2px solid transparent;
    transition: opacity 0.3s ease, border-color 0.3s ease;
  }

  .thumb-img:hover,
  .thumb-img.active-thumb {
    opacity: 1;
    border-color: #007bff;
  }

  /* Adjust height on small screens (e.g. phones) */
  @media (max-width: 576px) {
    #postImageCarousel .carousel-inner img {
      height: 250px;
      /* reduced height for mobile */
      object-fit: fill;
      /* Better fit for small screens */
    }
  }

  /* Carousel images On Details page end */

  .custom-carousel-btn {
    background-color: rgba(0, 0, 0, 1);
    /* semi-transparent black */
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    position: absolute;
    z-index: 2;
  }

  /* Move left button inward */
  .carousel-control-prev.custom-carousel-btn {
    left: 20px;
    /* Adjust this value for more/less spacing */
  }

  /* Move right button inward */
  .carousel-control-next.custom-carousel-btn {
    right: 20px;
    /* Adjust this value for more/less spacing */
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 60% 60%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .custom-carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
  }

  .carousel-item {
    position: relative;
  }

  .image-overlay-single {
    position: absolute;
    bottom: 60px;
    /* move it up from the very bottom */
    left: 50%;
    /* center horizontally */
    transform: translateX(-50%);
    /* center alignment correction */
    background: rgba(0, 0, 0, 0.5);
    /* semi-transparent black */
    width: 80%;
    padding: 10px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    /* optional: looks nicer */
  }


  .image-overlay-single .overlay-text {
    font-size: 14px;
    font-weight: 500;
  }



  .modal-title {
    margin: 50px 0 50px 10px;
  }

  .modal-thumb {
    opacity: 0.7;
    transition: all 0.2s ease;
  }

  .modal-thumb:hover {
    opacity: 1;
  }

  .modal-thumb.active {
    border: 2px solid #007bff;
    opacity: 1;
  }

  @media (max-width: 576px) {
    .modal-title {
      font-size: 12px;
      display: inline-block;
      max-width: 30ch;
      /* Limit width to 10 characters */
      white-space: normal;
      word-break: break-word;
    }
  }

  /* Flip submenu to left if it would overflow */
  .tv-submenu.flip-left {
    left: auto !important;
    right: 100% !important;
  }