.header-section {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  background-color: var(--color-bg);
  margin-top: var(--header-height);
}

.header-section h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.main {
  padding: var(--spacing-xl) var(--spacing-md);
  display: grid;
  gap: var(--spacing-xl);
}

.about-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.about-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-card .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-lg);
}

.about-card .content h3 {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-secondary);
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .about-card {
    flex-direction: row;
    height: 400px;
  }

  .about-card.reversed {
    flex-direction: row-reverse;
  }

  .about-card>* {
    width: 50%;
  }

  .about-card img {
    height: 100%;
  }
}