* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f4f4;
    color: #333;
  }
  
  .header {
    background: linear-gradient(to right, #2196f3, #673ab7);
    color: white;
    padding: 20px;
    text-align: center;
  }
  
  .search-filter {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .search-input,
  .category-filter {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
  }
  
  .grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 40px;
  }
  
 .card {
  position: relative;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  width: 400px;
  height: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;

}

.contactContainer {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.contactInfo {
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  opacity: 0;
  top: 0px;
  top: -345px;
  position: absolute;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px black;
}

.contactContainer:hover .contactInfo {

  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

  .contactInfo h3{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 150px;
  }
  
  .contactInfo:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    background-color: #fff;
  }
  
  
  .card:hover {
    transform: translateY(-5px);
  }
  
  .item-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
  }
  
  .card-content {
    padding: 15px;
  }
  
  .card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .desc {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  
  .price {
    color: #2e7d32;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .location,
  .date,
  .category {
    font-size: 0.8rem;
    color: #666;
  }
  
  .site-footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
  }

  .classifiedsFilterButtonsContainer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }
  .classifiedsFilterButtonsContainer button {
    background: linear-gradient(150deg, #66ea6d, #11884c);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
  }
  
  .classifiedsFilterButtonsContainer button:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  .contactCard{
    border: none;
    background-color: black;
    color: white;
    height: 30px;
    width: 70px;
    border-radius: 5px;
    position: absolute;
    top: -385px;
    width: 70px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
   
  }
  .card:hover .contactCard {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition: all 0.3s ease;
  }
  .contactCard:hover{
    color: black;
    background-color: white;
    box-shadow: 0 0 10px black;
  }