/* About page background is white by default */
body {
  background-color: white;
}

/* Hero styling with gradient */
.aboutHero {
  width: 100%;
  height: 30vh;
  padding-top: 10vh;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

/* Our Mission Section */
.topAbout {
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  margin-top: 5vh;
  background-color: white;
}

.aboutMission {
  height: 20vh;
  width: 100%;
  background-color: white;
}

.bottomAbout {
  text-align: center;
  display: flex;
  width: 52vw;
  margin: 0 auto;
  background-color: white;
}

/* About the founder Section */
.aboutFounder {
  width: 100%;
  padding: 5vh 0;
  background-color: white;
}

.aboutFounder .container {
  max-width: 960px;
  margin: 0 auto;
}

.aboutFounder .founder-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Image styling */
.aboutFounder .founder-image img {
  width: 200px;
  height: 200px;
  margin-left: 3vw;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Founder text */
.aboutFounder .founder-text h2 {
  font-size: 1rem;
  text-transform: uppercase;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

/* Name text */
.aboutFounder .founder-text h3 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  color: #1e40af;
}

/* Description text */
.aboutFounder .founder-text p {
  line-height: 1.6;
  color: #333;
  max-width: 600px;
}

.founder-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e40af;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .aboutHero {
    height: auto;
    padding: 10vh 1rem;
    text-align: center;
  }

  .aboutH1 {
    font-size: 1.75rem;
  }

  .topAbout {
    flex-direction: column;
    padding: 2rem 1rem;
    margin-bottom: -2vh;
    margin-top: -1vh;
  }

  .aboutMission {
    height: auto;
    padding: 1rem;
  }

  .bottomAbout {
    flex-direction: column;
    width: 90%;
    margin: 0.1rem auto;
  }

  .aboutFounder .founder-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .aboutFounder .founder-image img {
    margin: 0 auto;
    width: 150px;
    height: 150px;
  }

  .founder-name {
  font-size: 1.53rem;
  font-weight: 700;
  color: #1e40af;
}

  .aboutFounder .founder-text {
    text-align: center;
    padding: 0 1rem;
  }

  .aboutFounder .founder-text h3 {
    font-size: 1.25rem;
  }

  .aboutFounder .founder-text p {
    max-width: 100%;
  }
}

/* Very small device optimization */
@media (max-width: 480px) {
  .aboutHero {
    
    padding-bottom: 4vh;
  }

  .aboutFounder .founder-image img {
    width: 120px;
    height: 120px;
  }

  .aboutFounder .founder-text h2 {
    font-size: 0.9rem;
  }

  .aboutFounder .founder-text h3 {
    font-size: 1.1rem;
  }
}

/* Landscape mobile optimization */
@media screen and (max-width: 950px) and (orientation: landscape) {
  .aboutHero {
    width: 100%;
    height: 50vh;
    padding-top:20vh;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
  }

  .topAbout {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1rem 2vw;
  }

  .aboutMission {
    height: auto;
    padding: 1rem 2vw;
  }

  .bottomAbout {
    flex-direction: row;
    flex-wrap: wrap;
    width: 95%;
    justify-content: space-around;
  }

  .aboutFounder .founder-content {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .aboutFounder .founder-image img {
    width: 130px;
    height: 130px;
    margin-left: 0;
  }

  .aboutFounder .founder-text {
    padding: 0 2vw;
    text-align: center;
  }

  .aboutFounder .founder-text p {
    max-width: 90vw;
  }
}
