@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/* ===== About page styles (mobile-first) ===== */
.about_section {
  width: 100%;
  min-height: 100vh;
  padding: 110px 1rem 4rem; /* leave space for fixed header */
  background: linear-gradient(180deg, #0b0b10 0%, #09090b 100%);
  color: #e9e9ee;
  font-family: 'Outfit', sans-serif;
}

.about_container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Title */
.about_title {
  text-transform: uppercase;
  font-size: 48px;
  letter-spacing: 0.8rem;
  color: #a5a5ff;
  margin-bottom: 1rem;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

/* Company bio */
.company_bio {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid rgba(165, 165, 255, 0.25);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.company_bio p {
  color: #d7d7e3;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 0.8rem;
}

/* Section subtitle */
.section_subtitle {
  color: #dfe0ff;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 1.6rem 0;
}

/* Scientist grid */
.scientist_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.scientist_card {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(165, 165, 255, 0.14);
  padding: 12px;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.scientist_card:focus,
.scientist_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  outline: none;
}
.s_thumb {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}
.s_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s_info h3 {
  font-size: 18px;
  margin-bottom: 4px;
  color: #fff;
}
.s_info .role {
  color: #cfcff3;
  font-size: 13px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.modal.active {
  display: flex;
}

.modal_inner {
  width: 100%;
  max-width: 920px;
  background: #09090b;
  border-radius: 10px;
  padding: 1rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}
.modal_close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.modal_body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal_thumb {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 140px;
}
.modal_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal_text h3 {
  margin: 0 0 6px;
  color: #fff;
}
.modal_text .modal_role {
  color: #cfcff3;
  margin-bottom: 8px;
}
.modal_text .modal_bio {
  color: #d7d7e3;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 8px;
}
.modal_text .modal_skills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.modal_text .modal_skills li {
  background: rgba(165, 165, 255, 0.08);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #e9e9ee;
}

/* Map + address layout */
.map_row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.map_card {
  width: 100%;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.map_card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.address_card {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: 8px;
}
.address_card h3 {
  margin-bottom: 6px;
  color: #fff;
}
.address_card address {
  font-style: normal;
  color: #d7d7e3;
  line-height: 1.6;
}

/* Achievements */
.achievements_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.achievement_card {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-left: 4px solid rgba(165, 165, 255, 0.2);
  border-radius: 8px;
}
.achievement_card h4 {
  color: #fff;
  margin-bottom: 6px;
  font-size: 16px;
}
.achievement_card p {
  color: #d7d7e3;
  font-size: 14px;
}

/* ===== Larger screens ===== */
@media (min-width: 720px) {
  .scientist_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .map_row {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
  .modal_body {
    flex-direction: row;
    gap: 18px;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .about_title {
    font-size: 60px;
    letter-spacing: 1.2rem;
  }
  .scientist_grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .achievements_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .company_bio {
    font-size: 15px;
    padding: 1.5rem;
  }
}
