#header-placeholder {
  position: relative;
  z-index: 1000;
}
.legacy-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f0f0f0;
  overflow: hidden;
  font-family: 'Gotham', sans-serif;
  height: 480px;
}

.legacy-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.92) 30%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

.legacy-content {
  position: absolute;
  left: 400px;
  z-index: 2;
  color: #165534;
}

.legacy-content h1 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 10px;
}

.legacy-content p {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 500;
}

.legacy-button {
  display: inline-block;
  background-color: #DFEFE9;
  color: #165534;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #165534;
  transition: 0.3s;
}

.legacy-button:hover {
  background-color: #165534;
  color: #fff;
}

.legacy-image {
  flex: 1;
  height: 100%;
}

.legacy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.our-story {
  position: relative;
  background: url('/img/23.png') no-repeat center center;
  background-size: cover;
  padding: 80px 20px;
  font-family: 'Gotham', sans-serif;
  color: #fff;
  text-align: center;
}

.story-overlay {
  max-width: 900px;
  margin: 0 auto;
  background: #000000;
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 10px;
}

.story-content h2 {
  font-size: 50px;
  color: #fff;
  margin-bottom: 20px;
}

.story-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #f1f1f1;
  margin-bottom: 20px;
}
.mission-trust-section {
  background-color: #f9f7f2;
  padding: 60px 30px;
  font-family: 'Gotham', sans-serif;
  color: #165534;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.grid-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.grid-text h2 {
  font-size: 50px;
  margin-bottom: 16px;
  color: #2F5D50;
}

.grid-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.grid-text.alt {
  text-align: left;
}
.team-section {
  text-align: center;
  padding: 60px 30px;
  font-family: 'Gotham', sans-serif;
  background-color: #fff;
  color: #333;
}

.team-section h2 {
  color: #2F5D50;
  font-size: 50px;
  margin-bottom: 16px;
}

.team-section p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.team-box {
  background-color: #fefefe;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 18px 20px;
  width: 280px;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-size: 18px;
}
.values-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  font-family: 'Gotham', sans-serif;
  background-color: #fff;
  color: #333;
  flex-wrap: wrap;
}

.values-image {
  flex: 0.6; 
  max-width: 700px; 
}

.values-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.values-content {
  flex: 1;
  background-color: #2F5D50;
  color: #fff;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.values-content h2 {
  font-size: 50px;
  margin-bottom: 15px;
  text-align: center;
}

.values-content p {
  font-size: 22px;
  margin-bottom: 30px;
  text-align: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-box {
  background-color: #fff;
  color: #333;
  border-radius: 8px;
  padding: 16px;
  font-size: 18px;
  line-height: 1.6;
}
.quote-section {
  display: flex;
  align-items: stretch; /* Asegura que ambas columnas tengan misma altura */
  font-family: 'Gotham', sans-serif;
  flex-wrap: wrap;
  min-height: 400px; /* Puedes ajustar esta altura base */
}

.quote-text {
  flex: 1;
  background-color: #3a3a3a;
  color: #fff;
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center; 
}

.quote-text p {
  font-size: 30px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.quote-button {
  background-color: #fff;
  color: #2F5D50;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.quote-button:hover {
  background-color: #2F5D50;
  color: #fff;
}



.quote-image {
  flex: 1;
  min-width: 300px;
}

.quote-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  /* LEGACY HERO SECTION */
  .legacy-hero {
    flex-direction: column;
    height: auto;
  }

  .legacy-overlay {
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95) 60%, rgba(255,255,255,0) 100%);
  }

  .legacy-content {
    position: static;
    padding: 40px 20px;
    text-align: center;
  }

  .legacy-content h1 {
    font-size: 28px;
  }

  .legacy-content p {
    font-size: 16px;
  }

  .legacy-button {
    font-size: 14px;
    padding: 10px 18px;
  }

  .legacy-image {
    width: 100%;
    height: auto;
  }

  .legacy-image img {
    height: 280px;
    object-fit: cover;
  }

  /* OUR STORY SECTION */
  .our-story {
    padding: 60px 15px;
  }

  .story-overlay {
    padding: 24px 16px;
  }

  .story-content h2 {
    font-size: 22px;
  }

  .story-content p {
    font-size: 14px;
  }
  .grid-container {
    grid-template-columns: 1fr;
  }

  .grid-text {
    text-align: center;
  }

  .grid-text.alt {
    text-align: center;
  }

  .grid-text h2 {
    font-size: 22px;
  }

  .grid-text p {
    font-size: 15px;
  }

  .mission-trust-section {
    padding: 40px 20px;
  }
  .team-section h2 {
    font-size: 24px;
  }

  .team-section p {
    font-size: 15px;
  }

  .team-box {
    width: 100%;
    max-width: 90%;
    font-size: 14px;
  }
  .values-section {
    flex-direction: column;
  }

  .values-image img {
    height: 250px;
    object-fit: cover;
  }

  .values-content {
    padding: 40px 20px;
    text-align: center;
  }

  .values-content h2 {
    font-size: 24px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-box {
    font-size: 13px;
  }
  .quote-section {
    flex-direction: column;
  }

  .quote-text {
    padding: 40px 20px;
  }

  .quote-text p {
    font-size: 16px;
  }

  .quote-button {
    font-size: 14px;
    padding: 10px 18px;
  }

  .quote-image img {
    height: 250px;
    object-fit: cover;
  }
}

