/* About Page Specific Styles */
.page-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0 4rem;
  color: #fff;
  text-align: center;
  position: relative;
  margin-top: 70px; /* Account for fixed header */
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* About Story Section */
.about-story {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0;
}

.story-content {
  flex: 1;
}

.story-content h2 {
  font-size: 2.2rem;
  color: var(--nav);
  margin-bottom: 1.5rem;
}

.story-content p {
  margin-bottom: 2.5rem;
  font-size: 1.3rem;
  line-height: 1.8;
  text-align: justify;
}

.story-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  animation: bounce 5s infinite ease-in-out;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* @keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-20px);
  }

  60% {
    transform: translateY(-10px);
  }
} */
.story-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.story-image:hover img {
  transform: scale(1.03);
}

/* About Story 2 Section */
.about-story2 {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0rem;
  flex-direction: row-reverse;
}

.story-content2 {
  flex: 1;
}

.story-content2 h2 {
  font-size: 2.2rem;
  color: var(--nav);
  margin-bottom: 1.5rem;
}

.story-content2 p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

.story-image2 {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  animation: bounce 5s infinite ease-in-out;
}

.story-image2 img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.story-image2:hover img {
  transform: scale(1.03);
}


/* Team Section */
.about-team {
  padding: 5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background-color: transparent;
  padding: 2rem;
  border-radius: var(--border-radius);
  /* box-shadow: var(--box-shadow); */
  transition: var(--transition);
}
.team-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 0rem;
}
.story-image3 {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  animation: bounce 5s infinite ease-in-out;
  /* box-shadow: var(--box-shadow); */
}

.story-image3 img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.story-image3:hover img {
  transform: scale(1.03);
}
.team-member2 {
  text-align: center;
  background-color: transparent;
  padding: 0rem;
  border-radius: var(--border-radius);
  /* box-shadow: var(--box-shadow); */
  transition: var(--transition);
  width: 100%;
  object-fit: cover;
  
}
.team-member2 img {
  width: 450px;
  height: 470px;
  border-radius: 4px;
  object-fit: fill;
  margin: 0 auto 1.5rem;
  box-shadow: var(--box-shadow);

  /* padding: 0rem 2rem; */
  /* border: 5px solid var(--primary-color); */
  /* border: 3px solid var(--primary-color); */
}

.hhhr{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3rem;
}
.hhr{
  text-align: justify;
  width: 70%;
}
.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 350px;
  height: 350px;
  border-radius: 4px;
  object-fit: fill;
  margin: 0 auto 1.5rem;
  box-shadow: var(--box-shadow);

  /* padding: 0rem 2rem; */
  /* border: 5px solid var(--primary-color); */
  /* border: 3px solid var(--primary-color); */
}

.team-member h3 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}
.team-member h4 {
  color: #000;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: lighter;
  line-height: 1.8rem;
}

.team-member p {
  color: var(--text-light);
  font-size: 1rem;
}

.sided {
  display: flex;
  gap: 4px;
}

.sided h3 {
  font-size: small;
  font-style: italic;
  font-weight: 300;
}

.border {
  border-top: 1px solid #3ba4d8;
  width: 5rem;
  margin-top: 0.6rem;
}

/* Founder Page Styling */
.founder-header {
  background-color: white;
  color: white;
}

.founder-section {
  background-color: #f7f9fb; 
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 0rem;
  margin-top: 30px;
}

.founder-card {
  display: flex;
  gap: 2rem;
  max-width: 1100px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-5px);
}

.founder-photo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  
}

.founder-photo img {
  width: 100%;
  height: 100%;
  max-width: 400px;
  border-radius: 0px;
  object-fit: cover;
  margin: 2rem;
  background-color: transparent;
}

.founder-text {
  flex: 2;
  padding: 2rem;
}

.founder-text h1 {
  color: #3ba4d8;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.founder-text h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #555;
}

.founder-text p {
  margin-bottom: 1.2rem;
  color: #444;
  line-height: 1.7;
  text-align: justify;
}

.split{
  display: flex;
  background-color: #3ba4d8;
  height: 10px;
  max-width: 2560px;
  z-index: 5;
  position: relative;
  width: 100vw;
  /* takes the entire viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  /* pull it out of container limits */
  margin-right: -50vw;
  background: #3BA4D8;
  text-align: center;
  padding: 15px 0;
}
.child{
  /* display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: red;
  width: 80%;
  padding: 5rem;
  height: auto; */
  display: flex;
    align-items: center;
    gap: 4rem;
    padding: 5rem 0;
}
.child-photo{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  height: 50vh;
  object-fit: cover;
}
.child-photo img{
  width: 100%;
  object-fit: cover;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
  .about-story {
    flex-direction: column;
  }
  .about-story2 {
    flex-direction: column;
  }
  
  .story-content,
  .story-image {
    width: 100%;
  }
  .story-content2,
  .story-image2 {
    width: 100%;
  }
  
  .story-image {
    order: -1;
    margin-bottom: 2rem;
  }
  .story-image2 {
    order: -1;
    margin-bottom: 2rem;
  }
  .story-image3 {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.2rem;
  }
  
  .page-hero p {
    font-size: 1rem;
  }
  
  .story-content h2 {
    font-size: 1.8rem;
  }
  
  .values-grid,
  .team-grid,
  .location-cards {
    grid-template-columns: 1fr;
  }

    /* 🔹 Founder Page */
    .founder-card {
      flex-direction: column;
      text-align: center;
      padding: 5rem;
      margin: 0rem;
      background-color: #f7f9fb;
    }
    .founder-photo {
      flex: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: transparent;
      

    }

    .founder-photo img {
      width: 100%;
      height: 100%;
      max-width: 780px;
      border-radius: 10px;
      object-fit: cover;
      margin: 2rem;
      background-color: transparent;
      box-shadow: var(--box-shadow);
    }
  
    .founder-text {
      padding: 1rem;
    }
  
    .founder-text h1 {
      font-size: 1.4rem;
    }
  
    .founder-text h2 {
      font-size: 1rem;
    }
  
    .founder-text p {
      font-size: 0.9rem;
      line-height: 1.5;
    }
}

@media (max-width: 576px) {
  .page-hero {
    padding: 6rem 0 3rem;
  }
  
  .page-hero h1 {
    font-size: 1.8rem;
  }
  
  .about-story,
  .about-values,
  .about-team,
  .about-locations {
    padding: 3rem 0;
  }
}
@media (max-width: 425px) {
  .founder-section {
      background-color: #f7f9fb;
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0rem;
      margin-top:5rem;
      width: 100%;
    }
  
    .founder-card {
      width: 100%;
      padding: 1rem;
    }
  
    .founder-photo {
      flex: 0;
      background-color: transparent;
      width: 100%;
      padding: 0rem;
      margin: 0rem;
    }
  
    .founder-photo img {
      width: 100%;
      height: 100%;
      max-width: 500px;
      border-radius: 10px;
      object-fit: cover;
      margin: 2rem;
      background-color: transparent;
    }
  
    .founder-text {
      flex: 2;
      padding: 2rem;
    }
  
    .founder-text h1 {
      color: #3ba4d8;
      margin-bottom: 0.5rem;
      font-size: 2rem;
    }
  
    .founder-text h2 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
      color: #555;
    }
  
    .founder-text p {
      margin-bottom: 1.2rem;
      color: #444;
      line-height: 1.7;
      text-align: justify;
    }
}

