/* Page Header - Consistent across pages */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: var(--surface-color);
  margin-top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.page-header::before {
  display: none; /* Remove old underline */
}

.page-header h1 {
  font-size: 3rem;
  background: var(--header-bg);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Group Container */
.group-container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* Section Styles */
.section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.2rem;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.subsection-title {
  font-size: 1.8rem;
  color: var(--primary-text-color);
  margin: 2.5rem 0 1.5rem;
  text-align: center;
  font-weight: 600;
  position: relative;
}

.subsection-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-color-dark);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Alumni Section */
.alumni-section {
  margin-top: 2rem;
}

/* Members List - 2 column grid for current members */
.members-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.member-item {
  background: var(--surface-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}

.member-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-bottom-color: var(--accent-color);
}

.member-image {
  width: 180px;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.member-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-text-color);
  margin-bottom: 0.5rem;
}

.member-details {
  font-size: 1rem;
  color: var(--secondary-text-color);
  line-height: 1.6;
}

.member-details p {
  margin: 0.25rem 0;
}

.member-details strong {
  color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .members-list {
    grid-template-columns: 1fr;
  }
  .member-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .member-image {
    width: 150px;
    height: 180px;
  }
  .member-name {
    font-size: 1.2rem;
  }
  .member-details {
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .subsection-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  .subsection-title {
    font-size: 1.3rem;
  }
  .member-image {
    width: 130px;
    height: 160px;
  }
  .member-name {
    font-size: 1.1rem;
  }
  .member-details {
    font-size: 0.85rem;
  }
}
