* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Figtree', sans-serif;
  background-color: #f2f2f2;
}

.navbar {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-logo {
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  color: black;
}

.nav-logo:visited {
  color: black;
}

.nav-logo:hover {
  text-decoration: none;
  color: black;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: black;
  font-size: 16px;
  font-weight: 400;
}

.nav-links li a:hover {
  font-weight: bold;
}

.hero-banner {
  background-image: url("images/mainpage.jpg");
  background-size: cover;
  background-position: center;
  height: 90vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: white;
  text-align: center;
  z-index: 2;
}

.section-content {
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
  padding: 40px 20px;
  line-height: 1.6;
}

.section-content h2 {
  color: #000000;
  margin-bottom: 8px;
  font-size: 30px;
  margin-bottom: 20px;
}

.section-content p {
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.team-member:hover img {
  border-color: #2980b9;
}

.logo:hover img {
  border-color: #2980b9;
}

.team-member h3 {
  color: #000000;
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 600;
}

.team-member p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.team-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-link {
  display: inline-block;
  padding: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  border-radius: 6px;
}

.team-link:hover {
  transform: scale(1.2);
  background-color: rgba(52, 152, 219, 0.1);
}

.logo {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.logo img {
  object-fit: contain;
  margin-bottom: 8px;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.logo-hcii {
  height: 50px;
}

.logo-cmu {
  max-height: 70px;
  height: auto;
  width: auto;
  margin-top: 12px;
}

.footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 45px 32px;
  font-size: 0.9rem;
  text-align: left;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
}

.footer-info {
  font-size: 12px;
  opacity: 0.7;
}

.footer-copy {
  font-size: 12px;
}

.footer-logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 16px auto 0 auto;
}

.footer-logos img {
  height: 40px;
  object-fit: contain;
  display: flex;
  justify-content: center;
}

.footer-x {
  color: white;
  font-size: 24px;
}

.content-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  justify-content: center;
}

.info-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: 1px solid #eee;
  width: 280px;
  align-self: flex-start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  z-index: 2;
  position: relative;
  color: #1a1a1a;
}

.card-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 0;
}

.info-card.expanded .card-detail {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
}

.info-card.expanded {
  background-color: #6a85f1;
  color: white;
}

.info-card.expanded h3 {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }

  .team-member {
    padding: 20px;
  }

  .team-member img {
    width: 100px;
    height: 100px;
  }

  .team-member h3 {
    font-size: 1.1rem;
  }

  .team-member p {
    font-size: 0.85rem;
  }

  .card-grid {
    flex-direction: column;
    align-items: center;
  }

  .info-card {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .team-member {
    padding: 15px;
  }

  .team-member img {
    width: 80px;
    height: 80px;
  }
}

.process-section {
  background: #f7f8fa; /* Initial Challenge와 통일 */
  padding: 80px 20px;
  text-align: center;
}

.process-section h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.instruction {
  font-size: 16px;
  color: #555;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  justify-content: center;
}

