/* About Page Specific Styles */

/* General Typography for About Page */
.about-content h1, .about-content h2, .about-content p {
  text-align: center; /* Center-align all content */
  margin-bottom: 20px; /* Space between elements */
}

.about-content h1 {
  font-size: 2.5em;
  font-weight: bold;
  color: #fff; /* Main title color */
}

.about-content h2 {
  font-size: 2em;
  color: #29ffd8; /* Subheading color */
}

.about-content p {
  font-size: 1.1em;
  color: #ccc; /* Paragraph color */
  line-height: 1.6;
}

/* Team Member Styles (About Page Specific) */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-member {
  flex: 1 1 100%; /* Adjusts the card size based on screen width */
  max-width: 80%; /* Allows the card to take up more space, but not too much */
  margin: 20px auto; /* Centers the card and adds space */
  background-color: #1e1e1e; /* Dark background to match the theme */
  padding: 20px; /* Adds space inside the card for better readability */
  border-radius: 10px; /* Slight rounding of the edges */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow for depth */
  transition: all 0.3s ease; /* Smooth hover effect */
}

.team-member:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

.team-member img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-top: 20px;
}

.team-member h3 {
  margin: 15px 0 5px;
  color: #fff;
  font-size: 1.4em;
  font-weight: bold;
}

.team-member p {
  color: #777;
  padding: 0 20px 20px;
  text-align: center;
  line-height: 1.6;
}

.team-member p strong {
  color: #ccc;
  display: block;
  margin-bottom: 5px;
}

/* Responsive Styles for About Page */
@media (max-width: 992px) {
  .team-member {
    flex: 1 1 calc(50% - 30px); /* Two columns on medium screens */
  }
}

@media (max-width: 768px) {
  .team-member {
    flex: 1 1 100%; /* Full width on small screens */
  }
}
