/* .matrimony-container {
    margin: 100px 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

.custom-card {
    position: relative;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    gap: 20px;
  }
  
  .card-img-top {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }
  
  .card-body {
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    text-align: center;
    color: white;
  }
  
  .card:hover .card-body {
    transform: translateY(0);
  }
  
  .hover-text {
    margin: 0;
    padding: 10px;
    font-size: 1rem;
  }
   */
 .matrimony-container {
  margin: 0 auto;
  padding-block: 50px;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.custom-card {
  position: relative;
  background-color: #ffebee;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card-img-top {
  width: 100%;
  aspect-ratio: 1;
  object-fit:contain;
} 

.card-body {
  padding: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  text-align: center;
  color: white;
  height: auto;
}

.card:hover .card-body {
  transform: translateY(0);
}

.hover-text {
  margin: 0;
  padding: 10px;
  font-size: 1rem;
}

@media (max-width: 1200px) {
  .matrimony-container {
    padding-block: 30px;
  }

  .custom-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .matrimony-container {
    padding-block: 20px;
  }

  .custom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .matrimony-container {
    padding-block: 15px;
  }

  .custom-grid {
    grid-template-columns: 1fr;
  }
} 
