#who-we-are {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0f2461; /* Dark blue */
  color: white;
  padding: 60px 80px;
  gap: 40px;
  flex-wrap: wrap;
  min-height: 75vh;
  box-sizing: border-box;
  margin-left: -40px;
}

#who-we-are .content {
  max-width: 45%;
  min-width: 300px;
}

#who-we-are h2 {
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

#who-we-are p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #dce6f2;
}

.learn-more-btn {
  border: 1.5px solid #6C4193;
  background: transparent;
  color: #fdfdfd;
  padding: 15px 24px;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* or your preferred font */
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  letter-spacing: 0.5px;
  text-decoration: none; /* removes underline */
  display: inline-block; /* ensures proper padding */
}

#who-we-are p, .learn-more-btn, #who-we-are h2 {
  margin-left: 30px; /* space between button and text */
}

.learn-more-btn:hover {
  background-color: #6C4193;
  color: white;
}

/* Right side boxes */
.image-boxes {
  position: relative;
  width: 420px;
  height: 420px;
  min-width: 300px;
  min-height: 300px;
  margin-left: -60px; /* moves it inward (right) */
}

.box {
  position: absolute;
  width: 420px;   /* match the new container */
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.box1 {
  background-color: #d0d0d0;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #who-we-are {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    margin-left: 0;  /* reset margin-left */
    text-align: center;
  }

  #who-we-are .content {
    max-width: 100%;
    margin-bottom: 0; /* remove bottom margin to eliminate gap */
  }

  #who-we-are p {
    font-size: 1.2rem;
    margin-bottom: 0; /* remove paragraph bottom margin */
    margin-top: 30px;
  }

  .image-boxes {
    display: none !important;  /* hide the whole container */
    width: 180px;
    height: 180px;
    margin: 0 auto !important;  /* center horizontally and override inline styles */
    margin-left: 0 !important;  /* reset negative margin */
  }

  .box {
    width: 180px;
    height: 180px;
  }

  .box img {
    display: none;
  }

  #who-we-are h2 {
    font-size: 2rem;
  }

  .learn-more-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
   .learn-more-btn {
    margin-top: 50px; /* adjust value as needed */
  }
}

/* Remove margin-left on mobile */
@media (max-width: 768px) {
  #who-we-are p,
  .learn-more-btn,
  #who-we-are h2 {
    margin-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 820px) {
  #who-we-are {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    margin-left: 0;
    min-height: auto; /* optional, remove fixed height if needed */
  }

  #who-we-are .content {
    max-width: 100%;
    margin: 0 auto 30px auto; /* center content and add bottom spacing */
  }

  #who-we-are h2,
  #who-we-are p,
  .learn-more-btn {
    margin-left: 0;
  }

  .learn-more-btn {
    margin-top: 40px;
  }

  .image-boxes {
    margin-left: 0;
    width: 320px;  /* smaller width to fit iPad screen */
    height: 320px;
    position: relative;
    display: block;
    margin: 0 auto; /* center horizontally */
  }

  .box {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }

  .box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-out {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-out.hidden {
  opacity: 0;
  transform: translateY(30px);
}