/* ============================================
   About Page - Specific Styles Only
   Shared styles are in All.css
   ============================================ */

/* .section / headings: All.css */

#about-us .info {
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
}

#history .info {
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
}

#mission .info {
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
}

#vision .info {
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
}

/* Team & Events Section */
#team-events{
  justify-items: center;
}

#team-events .team-p{
  font-size: 20px;
}

#team-events .team-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.team-item {
  background: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 436px;
  height: 548px;
  cursor: pointer;
  transition: transform 0.2s;
}

.team-item:hover {
  transform: scale(1.1);
}

.team-item .team-photo {
  display: flex;
  height: 220px;
  position: relative;
  left: 46px;
}

.team-item .team-photo img {
  width: 56%;
  border-radius: 16px;
  position: relative;
  left: 40px;
  height: 117%;
  bottom: 21px;
  padding: 10px;
}

.team-item h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 10px 0 10px 0;
}

.team-item p {
  font-size: 1rem;
  color: var(--text-color);
  margin: 10px 0 10px 0;
}

/*Objective Statement*/
#objective-statement{
  justify-items: center;

}

#objective-statement li{
  font-size: 20px;
}

#objective-statement p{
  font-size: 20px;
}

/* Achievements List */
#achievements ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
}

#achievements li {
  background: var(--bg-light);
  margin: 0.5rem 0;
  padding: 1rem;
  border-radius: 5px;
}

/* FAQ Section */
#faq details {
  margin: 1rem auto;
  max-width: 600px;
}

#faq summary {
  font-weight: bold;
  cursor: pointer;
}

#faq p {
  margin: 0.5rem 0;
}


/*Card overlays*/
.team-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.7);
  inset: 0;
  padding: 20px;
  z-index: 9999;
  overflow-y: auto;
}

.team-overlay.active {
  display: flex;
}

.team-overlay-card {
  background: #fff;
  text-align: center;
  position: relative;
  width: min(700px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 24px;
  scrollbar-width: thin;
}

.team-overlay-card img {
  width: 40%;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}