@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

html {
  scroll-behavior: smooth;
}

/* Hero Content */
.spage-header__content {
  position: absolute;
  bottom: 10%;
  /* moved slightly down */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  z-index: 2;
}

.spage-header__title {
  font-size: 4.5rem;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.challenge_section {
  background: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.challenge_content {
  max-width: 1000px;
  margin: 0 auto;
}

.challenge_section h2 {
  font-family: "EB Garamond", serif;
  font-size: 2.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #222;
}

.challenge_section p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.challenge_section img {
  width: 90%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.challenge_section img:hover {
  transform: scale(1.02);
}

.response_section {
  background-color: #f8f5ef;
  padding: 4rem 0;
  width: 100%;
  overflow: hidden;
}

.response_content {
  max-width: 1150px;
  margin: 0 auto;
}

.response_section h2 {
  font-family: "EB Garamond", serif;
  text-align: center;
  font-size: 2.875rem;
  font-weight: 400;
  color: #2a0a55;
  margin-bottom: 1.5rem;
}

.response_section p {
  text-align: center;
  font-size: 1.188rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.response_section hr {
  width: 1000px;
  height: 1px;
  background-color: #2a0a55;
  border: none;
  border-radius: 5px;
  margin: 0 auto 3rem;
  opacity: 0.8;
}

/* FLEX LAYOUT */
.response_columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}

.response_column {
  flex: 1 1 50%;
  position: relative;
}

/* IMAGE COLUMN */
.response_column img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
  transform: translateY(-7.5%);
}

.response_column img:hover {
  transform: scale(1.02);
}

/* TEXT COLUMN */

.text_column h3 {
  font-size: 2.178rem;
  color: #2a0a55;
  font-weight: 400;
  margin-bottom: 1rem;
}

.text_column p {
  text-align: left;
  font-size: 1.089rem;
  color: #444;
  line-height: 1.7;
}

/* TEXT COLUMN */
.text_column {
  flex: 1 1 45%;
  background-color: white;
  /* optional — can remove */
  padding: 3rem 2rem;
  /* equal top & bottom spacing */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  z-index: 2;
  /* ensures it stays above the image edge */
  position: relative;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .response_columns {
    flex-direction: column;
    gap: 2.5rem;
  }

  .response_column img {
    height: auto;
    transform: none;
  }

  .text_column {
    padding: 2rem 1.5rem;
    align-items: center;
  }

}

/* SECTION WRAPPER */
.social-enterprise-section {
  width: 100%;
  background-color: #f8f5ef;
  padding: 5rem 0;
  overflow: hidden;
}

/* FLEX CONTAINER */
.social-enterprise-columns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* IMAGE COLUMN */
.image-column {
  flex: 1 1 50%;
  position: relative;
}

.image-column img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  border-radius: 12px;
  transform: translateY(-6%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
  display: block;
}

.image-column img:hover {
  transform: translateY(-6%) scale(1.02);
}

/* TEXT COLUMN */
.text-column {
  flex: 1 1 45%;
  background-color: #fff;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  z-index: 2;
  position: relative;
}

/* TYPOGRAPHY */
.text-column h3 {
  font-size: 2.178rem;
  font-family: "EB Garamond", serif;
  color: #2a0a55;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.text-column p {
  font-size: 1.089rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .social-enterprise-columns {
    flex-direction: column;
    gap: 2.5rem;
  }

  .image-column img {
    height: auto;
    transform: none;
  }

  .text-column {
    padding: 2rem 1.5rem;
  }
}