/* About Page Enhancements */

.about-title {
  text-align: center;
  color: var(--cyan);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.about-lead {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  font-size: 1.2rem;
  color: var(--white);
  opacity: 0.95;
  line-height: 1.7;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin: 2rem auto 3.5rem auto;
  max-width: 1000px;
}

.about-card {
  background: var(--blue-mid);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1.5px solid transparent;
  position: relative;
}
.about-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.about-card-icon {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  display: block;
}
.about-card h3 {
  color: var(--cyan);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}
.about-card p, .about-card ul {
  color: var(--white);
  opacity: 0.92;
  font-size: 1.05rem;
  line-height: 1.7;
}
.about-values {
  list-style: disc inside;
  text-align: left;
  margin: 0 auto;
  max-width: 260px;
  padding-left: 0.5rem;
}

/* Team Section */
.about-team-section {
  margin: 4rem auto 2.5rem auto;
  max-width: 1100px;
}
.about-team-title {
  text-align: center;
  color: var(--cyan);
  font-size: 1.7rem;
  margin-bottom: 2.2rem;
  font-weight: 600;
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.2rem;
  justify-items: center;
}
.about-team-member {
  background: var(--blue-mid);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: center;
  transition: transform 0.22s, box-shadow 0.22s;
  border: 1.5px solid transparent;
  width: 100%;
  max-width: 240px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-team-member:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--cyan);
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}
.about-team-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.1rem;
  border: 2.5px solid var(--cyan);
  background: var(--blue-dark);
}
.about-team-info h4 {
  color: var(--cyan);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.about-team-info p {
  color: var(--white);
  opacity: 0.85;
  font-size: 1rem;
}

/* CTA */
.about-cta {
  margin: 3.5rem auto 0 auto;
  text-align: center;
}
.about-cta h3 {
  color: var(--cyan);
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

/* Team Modal Styles */
.team-modal {
  display: none;
  position: fixed;
  z-index: 1002;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(11, 15, 43, 0.85);
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.team-modal-content {
  background: var(--white);
  background-color: var(--blue-mid);
  color: #222;
  border-radius: 18px;
  max-width: 480px;
  width: 95vw;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  position: relative;
  text-align: left;
  animation: modalIn 0.3s cubic-bezier(.4,2,.6,1) 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@keyframes modalIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.team-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 2rem;
  color: var(--blue-mid);
  cursor: pointer;
  font-weight: 700;
  transition: color 0.2s;
  outline: none;
}
.team-modal-close:hover, .team-modal-close:focus {
  color: var(--cyan);
}
#team-modal .modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
#team-modal #modal-img {
  display: block;
  background-color: var(--white);
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
#team-modal #modal-name,
#team-modal #modal-title {
  text-align: center;
}
#team-modal #modal-name {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
#team-modal #modal-title {
  color: var(--cyan, #00caff);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
#team-modal #modal-bio {
  color: var(--white);
  text-align: left;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.team-modal-content p {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.team-modal-content a {
  color: var(--cyan);
  text-decoration: underline;
  word-break: break-all;
}

/* Card hover/click effect */
.team-card {
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  outline: none;
}
.team-card:focus, .team-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(0, 202, 255, 0.18);
  transform: translateY(-6px) scale(1.04);
}

@media (max-width: 900px) {
  .about-cards {
    grid-template-columns: 1fr;
  }
  .about-team-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .about-team-grid {
    grid-template-columns: 1fr;
  }
  .about-title {
    font-size: 2rem;
  }
  .about-lead {
    font-size: 1rem;
  }
}

.modal-social-icon {
  color: #fff !important;
  margin-right: 1rem;
}