/* About Page Specific Styles */

/* Banner */
.about-banner {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 3rem;
  width: min(100%, 1100px);
}

.about-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* About Text */
.about-text {
  max-width: 1100px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Make body copy justified for a cleaner column look */
.about-text {
  text-align: justify;
  /* text-justify improves spacing in supported browsers */
  text-justify: inter-word;
}

.about-text p {
  margin-bottom: 1.5rem;
}

/* Members Section */
.team-section {
  text-align: center;
  margin-top: 3rem;
}

.team-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
  max-width: 240px;
}

.member-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.member-link:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.member:hover {
  transform: translateY(-6px);
}

.member-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.member-role {
  font-size: 0.85rem;
  color: #b5b5b5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Collaborators Section */
.collab-section {
  position: relative;
  margin-top: 5rem;
  padding: 4rem 0;
  background: radial-gradient(circle at 50% 10%, rgba(231, 39, 134, 0.07), rgba(255, 255, 255, 0) 70%);
  border-radius: var(--radius);
}

.collab-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.collab-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pink);
}

/* Add spacing between the collaborators title and the grid */
.collab-title {
  margin-bottom: 2rem;
}

.collab-sub {
  color: #b5b5b5;
  margin-bottom: 3rem;
  font-size: 1rem;
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.collab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  text-decoration: none;
  color: inherit;
  cursor: default;
}

.collab-card[href] {
  cursor: pointer;
}

.collab-card:hover {
  transform: translateY(-8px);
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(231, 39, 134, 0.15);
}

.collab-avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s;
}

.collab-card:hover .collab-avatar {
  border-color: var(--pink);
}

.collab-avatar--empty {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s;
}

.collab-card:hover .collab-avatar--empty {
  border-color: var(--pink);
}

@media (max-width: 768px) {
  .about-banner {
    width: 100%;
  }
}

.collab-name {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.collab-role {
  color: #b5b5b5;
  font-size: 0.9rem;
}

/* Partners Section */
.partners-section {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.partner-logo {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  transition: transform 0.3s;
  opacity: 1;
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo img {
  max-width: 120px;
  filter: none;
  transition: transform 0.2s;
}

.partner-logo:hover img {
  transform: scale(1.02);
}



