* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1;
}

body {
  font-family: 'Audiowide', cursive;
  color: #00ffff;
  line-height: 1.4;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  filter: brightness(0.3);
  object-fit: cover;
  z-index: -2;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero {
  padding: 30px 0 10px;
  text-align: center;
}

/* --- LOGO FIX HERE --- */
.group-title {
  display: block;
  max-width: 300px; /* Adjust this value if you want the logo larger or smaller */
  width: 100%;
  height: auto;
  margin: 0 auto 12px auto; /* Centers the image and adds bottom spacing */
}

.course-info {
  font-size: 0.95rem;
  color: #38bdf8;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-desc {
  max-width: 1500px;
  margin: 0 auto;
  font-size: 1rem;
  color: #94a3b8;
}

.section-heading {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.member-card {
  width: calc(25% - 16px);
  min-width: 200px;
  border: 1px solid #00ffff;
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.member-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  background-color: #0f172a;
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background-color: rgba(15, 23, 42, 0.9);
  color: #38bdf8;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
}

.card-content {
  padding: 12px 10px;
  text-align: center;
  background-color: #1e293b;
}

.member-name {
  font-size: 0.95rem;
  color: #00ffff;
  font-weight: 600;
}

.footer {
  text-align: center;
  padding: 16px;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.75rem;
}

@media (max-width: 550px) {
  .member-card {
    width: 100%;
  }

  .group-title {
    max-width: 180px; /* Slightly smaller logo on mobile screens */
  }
}