@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Mission statement on landing page styling */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f9fafb;
  color: #1f2937;
}

/* Container */
.mission {
  background: #ffffff;
  width: 100%;
  padding: 4rem 1rem;
}

.mission .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Text */
.mission h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.mission .subheader {
  font-size: 1.125rem;
  font-weight: 400;
  color: #4b5563;
  max-width: 1050px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.mission-lower {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Each card */
.statement-div {
  background: #f3f4f6;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  padding: 2rem;
  flex: 1 1 280px; 
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statement-div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Top word on card */
.main-word {
  font-size: 1.5rem;
  font-weight: 600;
  color: #3B82F6;
  margin-bottom: 1rem;
}

/* Explanation below */
.explanation {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.5;
  flex: 1;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .mission h1 {
    font-size: 1.75rem;
  }

  .statement-div {
    background: #f3f4f6;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    padding: 1.5rem;
    padding-bottom: 1vh;
    flex: 1 1 280px; 
    max-width: 320px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mission .subheader {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

svg {
  height: 125px;
  width: 200px;
}
