.head-1 {
  color: white;
  margin-top: 10px;
  font-weight: bold;
}

body {
  background-color: black;
  font-family: sans-serif;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 100vh;
  text-align: center;
}

.head-2 {
  color: #7674ef;
  font-weight: bold;
  margin-top: 50px;
}

.custom-card {
  background-color: black; /* Box ka color black */
  min-height: 350px;
  flex: 1 1 300px; /* Flexible width */
  max-width: 370px;
  border: 2px solid white; /* White border visible */
  border-radius: 20px;
  margin: 15px;
  text-align: center;
  color: white;
  transition: all 0.6s ease-in-out;
  padding: 15px;
}

.custom-card:hover {
  background-color: #1a1a1a;
  color: #00aaff;
  animation: rise 0.6s ease-out forwards;
  box-shadow: 0 8px 20px rgba(0, 170, 255, 0.4); /* Glow effect */
}

/* Rise animation */
@keyframes rise {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.custom-card-display {
  display: flex;
  flex-wrap: wrap; /* Wrap for smaller screens */
  justify-content: center;
}

/* 📱 Mobile */
@media (max-width: 576px) {
  .custom-card {
    flex: 1 1 100%;
    max-width: 90%; /* Full width with padding */
  }
}

/* 📲 Tablet */
@media (min-width: 577px) and (max-width: 991px) {
  .custom-card {
    flex: 1 1 45%; /* Two cards per row */
    max-width: 45%;
  }
}

/* 💻 Desktop */
@media (min-width: 992px) {
  .custom-card {
    flex: 1 1 30%; /* Three cards per row */
    max-width: 30%;
  }
}
