/* Info Card Section */
.info-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  padding: 24px;
  max-width: 1300px;
  margin: 40px auto;
}

.info-content h2 {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2d2d2d;
  text-align: center;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .info-content h1 {
    font-size: 36px;
  }
}

.info-content p {
  font-size: 16px;
  color: #555555;
  line-height: 1.7;
  text-align: center;
}

/* Grid Layout for Cards */
.cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 1rem;
  max-width: 1600px;
  margin: 0 auto;
}

@media (min-width: 601px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 501px) and (max-width: 600px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 301px) and (max-width: 500px) {
  .cards-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 601px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 734px) {
  .cards-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Neo Card Design */
.neo-card {
  --primary: #7c3aed;
  --secondary: #ec4899;
  --bg: #0f172a;
  --text: #f8fafc;
  --ease: cubic-bezier(0.68, -0.6, 0.32, 1.6);

  width: 100%;
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transform: scale(1);
  transition: transform 0.6s var(--ease), box-shadow 0.4s;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  height: auto; /* auto height */
}

.neo-card:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.25),
              0 0 0 2px var(--primary);
}

.neo-media {
  height: 230px;
  position: relative;
  overflow: hidden;
}

.neo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.2);
  transition: transform 1s var(--ease), filter 0.4s;
}

.neo-card:hover .neo-media img {
  transform: scale(1.08) rotate(1deg);
  filter: saturate(1.2) contrast(1);
}

.neo-content {
  padding: 1.5rem;
}

.neo-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.neo-title {
  font-size: 1.4rem;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  background: linear-gradient(45deg, var(--text), #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
}

.neo-description {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

/* Optional Arrow Head */
.neo-head {
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid var(--text);
  border-left: 0;
  border-bottom: 0;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.neo-action:hover .neo-head {
  transform: translateY(-50%) rotate(405deg);
}
