/* Main Section */
.gallery-card-section {
  padding: 40px 20px;
  background: #f8fafc;
  font-family: system-ui, sans-serif;
  color: #1e293b;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 5px;
}

.section-subtitle {
  text-align: center;
  color: #475569;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* Responsive Card Grid */
.card-gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, 1fr); /* Mobile */
}

/* Card Style */
.gallery-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 15px;
  transition: 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Card Image */
.gallery-card img {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Card Text */
.gallery-card h3 {
  font-size: 1.1rem;
  margin: 5px 0;
  color: #0f172a;
}

.gallery-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.4;
}

/* Responsive Breakpoints */
@media (min-width: 600px) {
  .card-gallery {
    grid-template-columns: repeat(2, 1fr); /* Tablet */
  }
}

@media (min-width: 900px) {
  .card-gallery {
    grid-template-columns: repeat(3, 1fr); /* Small Desktop */
  }
}

@media (min-width: 1200px) {
  .card-gallery {
    grid-template-columns: repeat(4, 1fr); /* Large Desktop */
  }
}
