.hero-section {
  position: relative;
  color: #fff;
  padding: 200px 40px 80px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  justify-content: flex-start; /* Modificación aquí para alinear a la izquierda */
  padding-left: 20px; /* Ajusta según la posición deseada */
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  gap: 40px;
  z-index: 1;
}


.hero-text {
  flex: 1 1 500px;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.hero-text h1 .italic {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 4rem;
}

.hero-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 20px;
}

.hero-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}
.hero-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 400px; 
}

.hero-contact-btn {
  background-color: #fff;
  color: #004950;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: bold;
  border: 2px solid #004950;
  transition: background 0.3s ease;
}

.hero-contact-btn:hover {
  background-color: #d7fefc;
}
.services-section {
  background-color: #004950;
  padding: 50px 30px;
  text-align: center;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.section-title {
  font-family: 'Crimson Text', serif;
  font-size: 3rem;
  margin-bottom: 10px;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  font-family: 'Inter', sans-serif;
  background-color: #f1f1f1;
  color: #004950;
  padding: 30px 20px;
  border-radius: 15px;
  font-size: 1.2rem;
  line-height: 1.6;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.care-message {
  font-family: 'Crimson Text', serif;
  background-color: #f3f3f3; /* fondo gris claro */
  padding: 40px 20px;
  text-align: center;
  color: #0a5257; /* tono azul verdoso similar */
  font-size: 1.6rem;
  line-height: 1;
  border-top: 2px solid #0a5257; 
}

.serve-section {
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #000;
}

.image-container {
  flex: 1;
  min-width: 300px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-container {
  flex: 0.5;
  padding: 190px;
}

.text-container h2 {
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  font-style: italic;
  margin-bottom: 20px;
}

.text-container p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 40px;
}

.contact-home {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #004950;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: bold;
  border: 2px solid #004950;
  transition: background 0.3s ease;
  
}

.contact-home:hover {
  background-color: #ddd;
}
.testimonials-section {
  background-color: #014d52;
  color: #003;
  text-align: center;
  padding: 60px 20px;
}

.section-title {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 4rem;
  color: white;
  margin-bottom: 40px;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  font-family: 'Inter', sans-serif;
  background-color: white;
  border-radius: 12px;
  padding: 30px 20px;
  width: 280px;
  max-width: 90%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.yellow-border {
  border: 5px solid #fdd835;
}

.testimonial-card p {
  font-size: 1.2rem;
  color: #014d53;
}

.learn-more-btn {
  padding: 12px 25px;
  background-color: #00d2c8;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #00b8b0;
}
.mission-banner {
  font-family: 'Crimson Text', serif;
  background-color: #f3f3f3;
  padding: 40px 20px;
  text-align: center;
  color: #0a4d4c;
  font-size: 2rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .serve-section {
    flex-direction: column;
  }

  .image-container, .text-container {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
  }

  .image-container {
    padding: 0;
    margin: 0;
  }

  .image-container img {
    width: 100%;
    height: auto;
    display: block;
  }

  .text-container {
    padding: 40px 20px 60px 20px; /* Corrige el padding excesivo */
    margin: 0;
    text-align: center;
    box-sizing: border-box; /* Asegura que no se sobrepase el ancho */
  }

  .text-container h2 {
    font-size: 2.5rem;
  }

  .text-container p {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 30px;
  }

  .contact-home {
    margin-top: 300px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-images {
    margin-top: 40px;
  }

  .circle.small {
    position: absolute;
    bottom: -20px;
    left: 10px;
  }
}
/* Add styles here */
