.slider .slide:nth-child(1) {
    background-image: url('img/Property\ 1=about.png'); /* Cambia por la ruta de tu imagen */
}

.dot.active {
    background-color: #f0f8ff;
}
.history-section {
   
    padding: 40px;
  }
  
  .history-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
  }
  
  .history-image {
    flex: 0 0 40%; /* 40% del ancho */
  }
  
  .history-image img {
    width: 100%;
    border-radius: 10px;
  
  }
  
  .history-content {
    flex: 0 0 60%; /* 60% del ancho */
  }
  
  h2.history-title {
    
    color: #165BDF; /* Azul oscuro */
    

  }
  
  .history-text {
    font-size: 16px;
    color: #333; /* Texto en color oscuro */
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  /* Responsividad */
  @media (max-width: 768px) {
    .history-container {
      flex-direction: column;
      text-align: center;
    }
  
    .history-image {
      margin-bottom: 20px;
    }
  
    .history-content {
      max-width: 100%;
    }
  }

  .purpose-section {
    background-color: #162349; /* Azul oscuro de fondo */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
    text-align: center;
    position: relative;
    color: white;
    height: 50vh;
    font-weight: 800;
    
  }
  
  /* Estilo para la etiqueta flotante "PROPÓSITO" */
  .purpose-label {
    display: inline-block;
    color: #eef7ff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    position: relative;
  }
  .purpose-label::after {
	  content: '';
	  width: 60px;
	  height:48px;
	  background: #007bff;
	  border-radius: 6px;
	  position: absolute;
	  top: 50%;
	  left:0;
	  transform: translate(-50%,-50%);
	  z-index: -1;
  }
  
  /* Texto principal */
  h2.purpose-text{
    
    font-weight: bold;
    max-width: 1000px;
    color: rgb(255, 255, 255);
    margin: 0 auto;
    line-height: 1.5;
    font-size: 2rem;
  }
  .mission-vision-section {
    background-color: #eef7ff; /* Fondo azul claro */
    padding: 40px;
  }
  
  .mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .mission {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .mission-title {
    font-size: 24px;
    color: #165BDF; /* Azul oscuro */
    font-weight: 800;
    margin-bottom: 20px;
  }
  
  .mission-text {
    font-size: 16px;
    color: #333; /* Texto en color oscuro */
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .mission-image img {
    max-width: 100%;
    border-radius: 10px;
   
  }
  
  .vision {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
  }
  
  .vision-title {
    font-size: 24px;
    color: #165BDF; /* Azul oscuro */
    font-weight: 800;
    margin-bottom: 20px;
  }
  
  .vision-text {
    font-size: 16px;
    color: #333; /* Texto en color oscuro */
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .vision-image img {
    max-width: 100%;
    border-radius: 10px;
    
  }
  
  @media (max-width: 1024px) {
    .mission-vision-container {
      grid-template-columns: 1fr; /* En pantallas medianas y más pequeñas, cambiar a una sola columna */
    }
  
    .mission, .vision {
      text-align: center;
    }
    
    .vision {
      text-align: center;
    }
  }
  
  @media (max-width: 768px) {
    .mission-vision-container {
      padding: 20px; /* Reducir el espacio de relleno en pantallas más pequeñas */
    }
  
    .mission-title, .vision-title {
      font-size: 22px; /* Reducir tamaño de fuente para pantallas pequeñas */
    }
  
    .mission-text, .vision-text {
      font-size: 14px; /* Reducir tamaño de fuente para mejorar legibilidad */
    }
  
    .mission-image img, .vision-image img {
      max-width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .mission-title, .vision-title {
      font-size: 20px; /* Ajustar el tamaño del título para pantallas muy pequeñas */
    }
  
    .mission-text, .vision-text {
      font-size: 14px; /* Mantener un buen tamaño de fuente para pantallas pequeñas */
    }
  
    .mission-vision-container {
      gap: 20px; /* Reducir el espacio entre los elementos */
    }
  }

  .values-section {
    background-color: #ffffff; /* Fondo claro */
    padding: 80px 10px;
    text-align: center;
  }
  
  .values-title {
    font-size: 36px;
    color: #152956; /* Azul oscuro */
    font-weight: 800;
    margin-bottom: 40px;
  }
  
  .values-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .value-item {
    text-align: left;
  }
  
  .value-title {
    font-size: 20px;
    color: #152956;
    font-weight: 800;
    margin-bottom: 10px;
  }
  
  .value-description {
    font-size: 16px;
    
    color: #152956; /* Texto oscuro */
    line-height: 1.6;
    font-weight: 600;
  }
  
  /* Responsividad */
  @media (max-width: 768px) {
    .values-container {
      grid-template-columns: 1fr; /* Cambiar a una columna en pantallas pequeñas */
    }
  
    .value-item {
      text-align: center;
    }
  }
  .section-salud{
    background-color: #eef7ff;
    max-width: 100%;
    padding: 5rem;
  }

  /* Sección de Equipo */
.team-section {
    background-color: #f0f8ff;
    padding: 40px;
    text-align: center;
  }
  
  .team-title {
    font-size: 32px;
    color: #1e3a8a;
    margin-bottom: 40px;
  }
  
  /* Contenedor del equipo */
  .team-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 3rem;
  }
  
  .team-card {
    width: 500px; /* Tarjetas más anchas */
    height: 600px; /* Tarjetas más altas */
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s ease;
  }
  
  /* Parte frontal de la card (imagen y nombres) */
  .team-card-front {
    background-color: #007bff;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: 0.6s ease;
  }
  
  .team-image {
    width: 100%;
    height: 70%; /* Mantener imagen grande */
    object-fit: cover;
  }
  
  .team-card-info {
    padding: 10px;
    color: white;
    position: relative;
    top: 2rem;
}
  
  .doctor-name {
    font-size: 20px; /* Ajuste del tamaño de la fuente */
    font-weight: 800;
  }
  
  .doctor-specialty {
    font-size: 18px; /* Ajuste del tamaño de la fuente */
  }
  
  /* Parte trasera de la card (información completa) */
  .team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #1e3a8a;
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.6s ease;
    text-align: center;
  }
  
  .team-card-back h3 {
    font-size: 20px; /* Ajuste del tamaño de la fuente */
    margin-bottom: 10px;
  }
  
  .team-card-back p {
    font-size: 16px; /* Ajuste del tamaño de la fuente */
  }
  
  /* Hover efecto para mostrar la card trasera */
  .team-card:hover .team-card-front {
    transform: translateY(-100%);
  }
  
  .team-card:hover .team-card-back {
    transform: translateY(0%);
  }
  .doctor-info{
    text-align: left;
  }
  .doctor-info p{
    font-size: 11px;
    
  }
  .acomode{
    padding: 0px 2rem;
    font-size: 11px;
  }







@media (max-width: 768px) {
    .team-container {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-bottom: 3rem;
        flex-direction: column;
    }
    .team-card {
        width: 100%;
        height: 1000px;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.6s ease;
    }
    .team-image {
      width: 100%;
      height: 77%;
      object-fit: cover;
  }
  
  }