/* about.css - New About page design based on Figma specs */

/* Hero Section: Frame 92 and Frame 85 side by side */
.about-hero {
  display: flex;
  width: 100%;
  margin-top: 0;
  /* Ensure no gap between nav and hero */
  min-height: 466px;
}

.hero-content {
  flex: 1;
  height: 466px;
  padding: 52px 134px 52px 72px;
  align-items: center;
  background: #00A5FF;
}

/* Frame 92: Blue background with text */
.hero-text {
  display: flex;
  width: 416px;
  height: 362px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

/* Logo lockup within Frame 121 */
.hero-title-wrapper {
  display: flex;
  width: 292.5px;
  height: 60px;
  padding-right: 0.125px;
  justify-content: center;
  align-items: center;
  gap: 22.875px;
  aspect-ratio: 292.50/60.00;
}

.hero-logomark {
  width: 52.5px;
  height: 52.5px;
  flex-shrink: 0;
}

.about-hero h1 {
  font-family: 'DM Sans';
  font-size: 31.04px;
  font-style: normal;
  font-weight: 600;
  line-height: 97%;
  /* 30.109px */
  letter-spacing: -0.31px;
  text-transform: capitalize;
  color: #000;
  margin: 0;
}

/* Frame 93 - Text boxes container within Frame 121 */
.hero-text-boxes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

.hero-subtitle {
  font-family: 'DM Sans';
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 33.6px */
  color: var(--haiti-blue);
  /* #002A9F */
  margin: 0;
  text-transform: none;
  width: 238px;
}

.hero-description {
  font-family: 'DM Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
  letter-spacing: -0.32px;
  color: #000;
  margin: 0;
}

/* Frame 85: Image section */
.hero-image {
  display: flex;
  width: 818px;
  height: 466px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
  /* No border radius on the edge */
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Mission/Purpose Section with Yellow Background */
.mission-section {
  background: var(--Secondary-Gold, #FBBB25);
  padding: 60px 183px;
}

.mission-row {
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.mission-row:last-child {
  margin-bottom: 0;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.mission-content h2 {
  font-family: 'DM Sans';
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  text-align: left;
  text-transform: none;
}

.mission-content p {
  font-family: 'DM Sans';
  font-size: 18px;
  line-height: 25.2px;
  color: #000000;
  margin: 0;
  text-align: left;
}

/* Manifesto principles (src/content/manifesto.json) */
.manifesto-principles {
  background: #ffffff;
  padding: 4rem 2rem;
}

.manifesto-principles-title {
  font-family: 'DM Sans';
  font-size: 2rem;
  font-weight: 700;
  color: var(--haiti-blue);
  text-align: center;
  margin: 0 0 2.5rem 0;
  text-transform: none;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.principle-card {
  background: #FFF8E6;
  border-left: 4px solid var(--Secondary-Gold, #FBBB25);
  padding: 1.75rem 2rem;
  border-radius: 4px;
}

.principle-card h3 {
  font-family: 'Source Serif Pro';
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--haiti-blue);
  margin: 0 0 0.75rem 0;
  text-transform: none;
}

.principle-card p {
  font-family: 'DM Sans';
  font-size: 18px;
  line-height: 25.2px;
  color: #000000;
  margin: 0;
}

/* How It Works Section */
.how-it-works {
  background: #ffffff;
  padding: 4rem 2rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-family: 'DM Sans';
  font-size: 2rem;
  font-weight: 700;
  color: var(--haiti-blue);
  text-align: center;
  margin: 0 0 1rem 0;
  text-transform: none;
}

.section-subtitle {
  font-family: 'DM Sans';
  font-size: 18px;
  line-height: 25.2px;
  color: #000000;
  text-align: center;
  margin: 0 0 3rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  background: #E6F2FF;
  /* Light blue background */
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-icon {
  text-align: center;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
}

.step-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.step-card h3 {
  font-family: 'Source Serif Pro';
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  text-transform: none;
}

.step-card p {
  font-family: 'DM Sans';
  font-size: 18px;
  line-height: 25.2px;
  color: #000000;
  margin: 0;
  text-align: left;
}

.step-card ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.5rem;
  font-family: 'DM Sans';
  font-size: 18px;
  line-height: 25.2px;
  color: #000000;
}

.step-card li {
  margin-bottom: 0.5rem;
}

/* Dates & Accuracy Section */
.dates-accuracy {
  background: var(--Neutral-Light-Grey, #EEE);
  padding: 50px 292px;
}

.dates-accuracy h2 {
  font-family: "DM Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  color: var(--haiti-blue);
  text-align: center;
  margin: 0 0 3rem 0;
  text-transform: none;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.column h3 {
  font-family: 'Source Serif Pro';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--haiti-blue);
  /* margin: 0 0 1rem 0; */
  text-transform: none;
}

.column p {
  font-family: 'DM Sans';
  font-size: 18px;
  line-height: 25.2px;
  color: #000000;
  margin: 0;
  text-align: left;
}

/* Contact Us Section */
.contact-section {
  background: #DAF5FF;
  /* Light blue background */
  padding: 4rem 2rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'DM Sans';
  font-size: 2rem;
  font-weight: 700;
  color: var(--haiti-blue);
  margin: 0 0 1.5rem 0;
  text-transform: none;
  text-align: left;
}

.contact-info p {
  font-family: 'DM Sans';
  font-size: 18px;
  line-height: 25.2px;
  color: #000000;
  margin: 0 0 1rem 0;
  text-align: left;
}

.contact-info a {
  color: var(--haiti-blue);
  text-decoration: underline;
}

.contact-form {
  /* background: #ffffff; */
  padding: 2rem;
  border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: 'DM Sans';
  font-size: 1rem;
  color: #000000;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--haiti-blue);
  color: var(--haiti-white);
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans';
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: var(--haiti-red);
}

/* Responsive Design */
@media (max-width: 900px) {
  /* Hero section: stack vertically on mobile */
  .about-hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    height: auto;
    padding: 2rem 1.5rem;
    flex: none;
  }

  .hero-text {
    width: 100%;
    height: auto;
  }

  .hero-image {
    width: 100%;
    height: auto;
    min-height: 300px;
    flex-shrink: 1;
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mission-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .about-hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-text {
    width: 100%;
  }

  .hero-title-wrapper {
    width: 100%;
    max-width: 292.5px;
  }

  .about-hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    width: 100%;
  }

  .hero-image {
    width: 100%;
    min-height: 250px;
  }

  .mission-section {
    padding: 2rem 1rem;
  }

  .mission-section {
    padding: 2rem 1rem;
  }

  .how-it-works,
  .dates-accuracy,
  .contact-section {
    padding: 2rem 1rem;
  }

  .dates-accuracy {
    padding: 2rem 1rem;
  }

  .step-card {
    padding: 1.5rem;
  }
}
