

/* === Index Banner === */
.index-banner {
  width: 100%;
  height: calc(100vh - 60px);
  background-image: url('/images/head_banners/IMG-20250328-WA0018.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: justify;
  padding: 0.8rem;
  margin-top: 4%;
}

.index-banner h2,
.index-banner h1 {
  color: #fff;
  text-shadow: 2px 2px 10px #1d1d1d;
  line-height: 1.2;
}

.index-banner h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.index-banner h1 {
  font-size: 1.5rem;
  font-weight: 100;
  font-style: italic;
}

@media (min-width: 768px) {
  .index-banner {
    height: calc(100vh - 85px);
    padding: 2rem;
    background-position: 8px -80px;
  }

  .index-banner h2 {
    font-size: 3.5rem;
    padding-top: 2rem;
  }

  .index-banner h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
}



@media (min-width: 1000px) {
  .wrapper {
    width: 1200px;
    margin: 0 auto;
  }

  .main-cases {
    padding-bottom: 50px;
    margin: 15px;
  }

  .index-banner {
    height: 450px;
  }

  .index-banner h1 {
    display: block;
    width: 560px;
    margin: 0 auto;
  }

  .index-links {
    overflow: hidden;
  }

  .index-links div {
    margin: 20px 10px 0;
    height: 230px;
    float: left;
  }

  .index-boxlink-square {
    width: calc(25% - 20px) !important;
  }

  .index-boxlink-rectangle {
    width: calc(50% - 20px) !important;
  }

  .index-links div h3 {
    line-height: 230px;
  }

}



@media (min-width: 1000px) {
  .wrapper {
    max-width: 100%;
  }

}


/* === Mobile & Small Screens === */
.hide-text {
  display: none;
}

@media (min-width: 1000px) {
  .hide-text {
    display: block;
    font-size: 20px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  main {
    align-items: flex-end;
  }

  main .main-intro {
    padding-bottom: 8vh;
  }

  main .main-intro h1 {
    font-size: 5rem;
    line-height: 1.25;
    text-align: center;
  }

  main p {
    text-align: center;
    padding: 0 20px;
    line-height: 1.75;
  }

  main a {
    margin: 30px auto;
  }

  main .main-quotes {
    display: none;
  }


}

.logos{
  
  flex-direction: column;
  border-radius: 12px;
  margin-bottom: 50px;
  margin: 20% 50% 20% 50%;
}
/*logo univ y hospi*/
.logos, .ima-uni{
  max-width: 300px;
  align-items: center;
  display: grid;
  margin-top: 2;
}
.logos, .ima-hos{
  margin-top: 30px;
  max-width: 300px;
  align-items: center;
  display: grid;
  margin-top: 0;
}

/*movimiento svg*/
.sine-wave {
  width: 100%;
  height: 60px;
  fill: none;
  stroke: #88def1;
  stroke-width: 4;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: dashFlow 4s linear infinite;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: 0;
  }
}


@media (max-width: 768px) {
    .form-inline-wrapper {
    flex-direction: column;
    align-items: center;
    }

    .form-text, .contact-form {
    width: 100%;
    text-align: center;
    }

    .form-text p {
    max-width: none;
    }
}



/*slider*/

:root {
    --scroll-speed: 100s;
}

.gallery-container {
    width: 100%;
    max-width: 1000px; /* You can adjust this */
    margin: 0 auto;
    overflow: hidden;
    padding: 1.1% 0 0 1.1%;
    position: relative;
}

.scroll-wrapper {
    display: flex;
    width: max-content; /* So it only takes up the width it needs */
    animation: slide var(--scroll-speed) linear infinite;
}

.scroll-wrapper img {
    height: 140px;
    margin: 0 5px;
    flex-shrink: 0;
    border-radius: 15px 0 15px 0;
}

@keyframes slide {
    from {
    transform: translateX(0%);
    }
    to {
    transform: translateX(-50%);
    }
}

.intro-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    background-color: #ffffff;
    text-align: center;
  }
  
  .section-title {
    font-size: 2.2rem;
    color: #2a3b4c;
    margin-bottom: 1.5rem;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 700;
  }
  
  .intro-text {
    font-size: 1.3rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-family: "Josefin Sans", sans-serif;
}

  /* Responsive */
@media (max-width: 768px) {
    .section-title {
    font-size: 1.8rem;
    }

.intro-text {
    font-size: 1.2rem;
    color: #272727;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-bottom: 8%;
    }
}

.especialidades-section {
    padding: 60px 20px;
    background: #88a2bb;
  }
  
  .especialidades-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    flex-wrap: wrap;
    background-image: url(/images/graphics/feet-x-ray.jpeg);
    border-radius: 6px;
  }
  
  .especialidades-text {
    flex: 1 1 55%;
  }
  
  .especialidades-text h2 {
    font-size: 3.2rem;
    color: #ffffff;
    margin-top: 2%;
    margin-bottom: 20px;
    margin-left: 5%;
    text-shadow: 2px 2px 4px rgb(18, 17, 17);
    text-decoration: underline;
  }
  
  .especialidades-list {
    padding-left: 20px;
    font-size: 1.8rem;
    line-height: 2.4;
    color: #2b2b2b;
    text-shadow: 4px 2px 1px rgb(234, 236, 232);
    list-style: circle;
  }
  
  .especialidades-images {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    font-family: sans-serif;
  }
  
  .especialidades-images img {
    width: 100%;
    max-width: 230px;
    height: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
  }
  
  .especialidades-images img.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /*upd zoom tho images deskpot*/
  .especialidades-images {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: 12%;
    margin-bottom: 4%;
  }
  
  .especialidades-images img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out, transform 0.5s ease;
  }
  
  .especialidades-images img.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .especialidades-images img:hover {
    transform: scale(2.05);
    z-index: 10;
    position: relative;
  }
  /*upd zoom tho images deskpot*/


  .image-content img {
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When image is in view */
.image-content img.show {
  opacity: 1;
  transform: translateY(0);
}


  
  /* Responsive */
  @media (max-width: 768px) {
    .especialidades-wrapper {
      flex-direction: column;
      align-items: center;
    }
  
    .especialidades-text, .especialidades-images {
      flex: 1 1 100%;
    }
  
    .especialidades-images {
      align-items: center;
    }
    .especialidades-list {
        list-style: circle;
        font-size: 1.1rem;
        line-height: 2;
        color: #333;
        text-shadow: none;
      }
      .especialidades-images img {
        width: 100%;
        max-width: 350px;
        height: auto;
      }
      .especialidades-images img:hover {
        transform: none;
        z-index: 0;
        position: relative;
      }
      .info-section{
        margin-top: 10%;
      }
  }

  .title-h3{
    color: rgb(27, 27, 161);
    font-size: 2rem;
  }
  
  /*video wraPPER*/
  .wrapper-video video {
    width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(1, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }

  .wrapper-video {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* space between videos */
    padding: 40px 20px;
    max-width: 92%;
    margin: 0 auto;
    flex-wrap: wrap; /* allows wrapping if needed on mid-sized screens */
    margin-bottom: 4%;
    margin-top: 4%;
    background-image: url(/images/graphics/Graphics_002.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
  }
  
  .wrapper-video video {
  width: 320px;
  height: 200px; /* or whatever fits your design */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

  .wrapper-video video {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .wrapper-video video:hover {
    transform: scale(1.03);
  }
  
  /* 🔒 Hide video section on small screens (mobile) */
  @media (max-width: 768px) {
    .wrapper-video {
      display: none;
    }
    .text-add{
      text-align: justify;
      
    }
  }
  
  .p-info-vid {
    font-size: 28px;
    text-shadow: 2px 2px 1px rgb(25, 24, 24);
    font-weight: 600;
    font-style: italic;
    text-align: center;
    color: #e7eaed;
    padding: 2px;
    border-radius: 15px 0;
    margin-top: 2%;
  }

/*images and text*/
  .info-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    gap: 14rem;
    flex-wrap: wrap; 
  }

  .text-add{
    margin-top: 5%;
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.4rem;
  }
  
  .text-content {
    flex: 1;
    min-width: 150px;
  }
  
  .image-content {
    flex: 1;
    min-width: 150px;
  }
  
  .image-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-width: 250px;
  }
  
  
  @media (max-width: 768px) {
    .info-section {
      flex-direction: column;
      text-align: center;
    }
  
    .text-content, .image-content {
      flex: none;
      width: 100%;
    }

    .info-section {
      gap: 2rem;
      flex-wrap: wrap;
    }
  }
  