/* ===================== ABOUT PAGE LAYOUT ===================== */

.about-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 3rem 0;
}

/* ===================== HERO SECTION ===================== */

.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.about-hero h1 {
  font-size: 3rem;
  color: var(--primary);
}

.about-hero p {
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Hero Image */
.about-hero img {
  width: 75%;
  max-width: 70rem;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}

/* ===================== CONTENT SECTIONS ===================== */

.about-section {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 1.2rem;
  margin-bottom: 3rem;
}

.about-section h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-section h3 {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--dark);
}

/* ===================== FOOTER FIX (NON-INTRUSIVE) ===================== */

.site-footer {
  margin-top: 4rem;
}

/* ===================== TABLET RESPONSIVE ===================== */

@media (max-width: 64em) {

  .about-container {
    max-width: 92%;
  }

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

  .about-section {
    padding: 2rem;
  }
}

/* ===================== MOBILE RESPONSIVE ===================== */

@media (max-width: 40em) {

  /* Container */
  .about-container {
    max-width: 95%;
    padding: 2rem 0;
  }

  /* Hero */
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .about-hero img {
    border-radius: 0.6rem;
  }

  /* Sections */
  .about-section {
    padding: 1.5rem;
  }

  .about-section h2 {
    font-size: 1.35rem;
  }

  .about-section h3 {
    font-size: 0.95rem;
  }
}
