html,
body {
  margin: 0;
  padding: 0;
}

.founder-wrapper {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  background-color: transparent; /* removed grey bg */
  z-index: 1;
}

.wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: 0; /* waves stay behind everything */
  pointer-events: none;
}

.wave-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  transform: scale(1.2);
}

.wave-background svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave1 {
  opacity: 0.35;
  animation: waveMove1 3s ease-in-out infinite alternate;
  fill: #2e7d32;
}

.wave2 {
  opacity: 0.3;
  animation: waveMove2 4s ease-in-out infinite alternate;
  fill: #66bb6a;
}

.wave3 {
  opacity: 0.25;
  animation: waveMove3 5s ease-in-out infinite alternate;
  fill: #a5d6a7;
}

@keyframes waveMove1 {
  0% {
    transform: scale(1.2) translateY(100%);
  }
  100% {
    transform: scale(1.2) translateY(-15%);
  }
}

@keyframes waveMove2 {
  0% {
    transform: scale(1.2) translateY(100%);
  }
  100% {
    transform: scale(1.2) translateY(-10%);
  }
}

@keyframes waveMove3 {
  0% {
    transform: scale(1.2) translateY(100%);
  }
  100% {
    transform: scale(1.2) translateY(-5%);
  }
}

.founder-section {
  position: relative;
  z-index: 4;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 2rem auto 4rem; /* halved top margin */
  padding: 2rem 2rem 4rem;
  box-sizing: border-box;
  border-radius: 60px / 40px;
}

@media (max-width: 767px) {
  .founder-section {
    margin-top: 0; /* remove top margin on mobile */
  }
}

.founder-heading h1 {
  font-size: 80px;
  color: #2e7d32;
  margin: 0;
  font-weight: 700;
  text-align: center;
  font-family: 'Londrina Sketch', cursive;
}

@media (max-width: 767px) {
  .founder-heading h1 {
    font-size: 50px;
  }
}

.founder-image-container {
  text-align: center;
  margin: 2rem 0;
}

.founder-text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1rem;
}

.founder-text p,
.highlight-title {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
  margin-bottom: 1rem;
  max-width: 600px;
  text-align: center;
}

.highlight-title {
  font-weight: bold;
  color: #e0b800;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.founder-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #2e7d32;
  margin-bottom: 0.5rem;
}

.founder-title {
  font-size: 30px;
  font-weight: bold;
  color: #000000;
  margin: 0;
}

.founder-role {
  font-size: 20px;
  color: #81c784;
  font-weight: bold !important;
  margin: 0;
}

@media (min-width: 768px) {
  .founder-section {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem 2rem;
  }

  .founder-left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2rem;
    text-align: center;
  }

  .founder-right-column {
    flex: 1;
    padding-right: 2rem;
    text-align: center;
  }

  .founder-image-container {
    margin-top: 0;
  }
}

/* Show/hide image based on screen size */
.founder-image-desktop {
  display: none;
}

@media (min-width: 768px) {
  .founder-image-mobile {
    display: none;
  }

  .founder-image-desktop {
    display: block;
  }
}
