/* Founder Section */
.founder-section {
  width: 100%;
  position: relative;
  background: #fff;
}

.founder-heading {
  max-width: 1200px;
  margin: 0 auto 16px;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4.6vw, 44px);
  color: #111827;
}

.founder-container {
  max-width: 1020px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: min(420px, 42vw) 1fr;
  align-items: start;
}

.profile-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: visible;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  margin-inline: auto;
}

.profile-photo {
  width: 100%;
  height: 100%;
  background: url("/images/the-elizabeth-home-founder-image.jpeg") center/cover
    no-repeat;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.profile-image::before {
  content: "";
  position: absolute;
  left: 136px;
  top: -136px;
  width: clamp(220px, 60vw, 360px);
  height: clamp(160px, 44vw, 250px);
  background: radial-gradient(#9acd32 1.6px, transparent 1.6px) 0 0 / 12px 12px;
  opacity: 0.45;
  border-radius: 8px;
  z-index: 0;
  margin: 10px 0;
  pointer-events: none;
}

.profile-content {
  position: relative;
  top: 100px;
  right: 10px;
  position: relative;
  max-width: 840px;
  background: rgba(220, 240, 220, 0.55);
  border-radius: 20px;
  padding: 18px 24px;
  overflow: hidden;
}

.profile-content-description {
  max-width: 540px;
  height: 100%;
  margin-left: auto;
  margin-inline-start: auto;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.profile-name p {
  margin: 0;
}

.profile-text {
  margin: 0;
  color: #0f172a;
  line-height: 1.7;
  font-size: 16px;
}

.profile-text {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.003em;
}

.profile-name {
  position: relative;
  right: 240px;
  padding: 12px 20px;
  border-radius: 20px;
  background: #16a534;
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  text-align: end;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

@media (max-width: 1024px) {
  .founder-container {
    gap: clamp(24px, 5vw, 48px);
  }

  .profile-image::before {
    right: -20px;
    top: -20px;
    width: clamp(150px, 30vw, 220px);
    height: clamp(120px, 25vw, 200px);
  }
}

@media (max-width: 900px) {
  .founder-section {
    margin: 40px auto 30px;
  }

  .founder-heading {
    margin-bottom: 32px;
  }

  .founder-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .profile-image {
    justify-self: center;
    max-width: 320px;
    order: 1;
  }

  .profile-content {
    order: 2;
    justify-self: center;
    top: 0;
    right: 0;
  }

  .profile-content-description {
    text-align: center;
    align-items: center;
  }

  .profile-text {
    text-align: left;
    max-width: 100%;
  }

  .profile-content-description .profile-name {
    order: -1;
    right: 0;
    padding: 10px 50px;
  }

  .profile-image::before {
    right: -15px;
    top: -15px;
    width: clamp(120px, 25vw, 180px);
    height: clamp(100px, 20vw, 150px);
    background-size: 8px 8px;
  }
}

@media (max-width: 768px) {
  .founder-container {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 0;
  }

  .profile-content-description .profile-name {
    padding: 15px 70px;
  }
}

@media (max-width: 480px) {
  .profile-image {
    max-width: 280px;
  }

  .profile-image::before {
    right: -10px;
    top: -10px;
    width: 100px;
    height: 80px;
    background-size: 6px 6px;
  }

  .profile-name {
    padding: 12px 24px;
    font-size: 16px;
  }
}
