@charset "UTF-8";
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.header {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  z-index: 9999;
}
.header .logotipo {
  width: 200px;
}
.header .logotipo img {
  width: 100%;
  -webkit-filter: invert(1) brightness(5);
  filter: invert(1) brightness(5);
}

.header__menu {
  background: rgba(0, 0, 0, 0.473);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 80px;
  position: relative;
  z-index: 1000;
}
.header__menu .header__navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: 30px;
}
.header__menu .header__navigation nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.header__menu .header__navigation nav ul li {
  list-style: none;
  margin-right: 20px;
}
.header__menu .header__navigation nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

.hero {
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  place-items: center;
  top: -80px;
  position: relative;
  z-index: 1;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hero .swiper-slide {
  padding: 0;
}
.hero h1,
.hero p {
  margin: 5px;
  color: white;
}
.hero h1 {
  margin-top: 60px;
  font-weight: 400;
  font-size: 4rem;
}
.hero p {
  font-size: 1.2rem;
  width: 60%;
  text-align: center;
  margin-bottom: 20px;
}
.hero .hero__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  background: #18443b;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 20px auto;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
}
.hero .hero__button img {
  width: 20px;
  height: 20px;
  -webkit-filter: invert(1);
          filter: invert(1);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.hero .hero__button:hover {
  background: #16a085;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
.hero .hero__button:hover img {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}
.hero .button-features {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px 25px;
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin-top: 20px;
}
.hero .button-features:hover {
  background: rgba(255, 255, 255, 0.1);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.content-container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100vh;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.content-container .prhase {
  bottom: 0;
  right: 12px;
  position: absolute;
  font-size: 12px;
  font-weight: 500;
  color: white;
  text-align: right;
  margin-bottom: 20px;
  width: 400px;
}

.schedule {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  cursor: pointer;
  border-radius: 20px;
  border: none;
  padding: 8px 20px;
  color: black;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.schedule:hover {
  background: -webkit-gradient(linear, left top, right top, from(#1abc9c), to(#16a085));
  background: linear-gradient(90deg, #1abc9c, #16a085);
  border: 0;
  scale: 0.9;
}

.background {
  background-image: url("../assets/images/backgrounds/hero.png");
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.background2 {
  background-image: url("../assets/images/backgrounds/hero2.png");
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.background3 {
  background-image: url("../assets/images/backgrounds/hero3.png");
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.transition-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 600vw;
  height: 600vh;
  background: #208B68 !important;
  border-radius: 50%;
  -webkit-transform: translate(-50%, -50%) scale(0);
          transform: translate(-50%, -50%) scale(0);
  -webkit-transition: -webkit-transform 0.6s ease-in-out;
  transition: -webkit-transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out;
  transition: transform 0.6s ease-in-out, -webkit-transform 0.6s ease-in-out;
  z-index: 1;
  pointer-events: none;
  /* Prevent interaction */
}

.transition-overlay.active {
  -webkit-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
}

.transition-link {
  display: inline-block;
  color: inherit;
  /* Mantiene el color del texto original */
  text-decoration: none;
}

.specialties {
  background: rgba(0, 0, 0, 0.055);
  margin-top: -80px;
  padding: 50px 0 80px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  place-items: center;
}

.specialties__title {
  color: #5c5b5b;
}

.specialities__cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  width: 80%;
  margin: auto;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.specialities__cards img {
  width: 30px;
  height: 30px;
}

.specialities__card:nth-child(even) {
  background: #498873;
}

.specialities__card:nth-child(odd) {
  background: #36ad88;
}

.specialities__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  width: 100%;
  height: 50px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  /* Necesario para el efecto de brillo */
  /* Efecto de brillo */
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.05);
}
.specialities__card i {
  font-size: 25px;
  -webkit-filter: invert(1);
          filter: invert(1);
}
.specialities__card h3 {
  font-size: 0.8rem;
  margin: 0px 0;
  color: white;
  overflow-wrap: anywhere;
  width: 140px;
}
.specialities__card p {
  font-size: 1rem;
  text-align: center;
}
.specialities__card:before {
  content: "";
  position: absolute;
  top: -1%;
  left: -1%;
  right: -1%;
  bottom: -1%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  border-radius: inherit;
  /* Mantiene el borde redondeado */
  opacity: 0.6;
  /* Ajusta la opacidad del brillo */
  z-index: 0;
  /* Coloca el brillo detrás del contenido */
}
.specialities__card * {
  position: relative;
  z-index: 1;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in {
  opacity: 0;
  -webkit-animation: fadeIn 4s forwards;
          animation: fadeIn 4s forwards;
}

.fade-in-active {
  opacity: 1;
}

.about {
  padding: 50px 0;
  background: linear-gradient(135deg, #588073, #009162);
  color: white;
}
.about .about__title {
  margin: 0;
  font-size: 2rem;
  width: 50%;
  margin: auto;
  text-align: center;
}
.about .about__content {
  width: 80%;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  padding: 50px 0 0 0;
}
.about .about__text {
  width: 50%;
  font-weight: 500;
  line-height: 1.6;
}
.about .about__text p:nth-child(1) {
  margin-top: -22px;
}
.about .about__video {
  width: 50%;
}
.about .about__video video {
  width: 100%;
  border-radius: 20px;
}
.about .about__cta {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.6;
}

.testimonials {
  padding: 50px 20px;
  background: linear-gradient(135deg, #5FB89C, #009162);
  color: white;
  text-align: start;
  height: 454px;
}

.testimonials__title {
  font-size: 2em;
  margin-bottom: 20px;
}

.testimonials__content {
  width: 80%;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}

.testimonials__text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.testimonials__text img {
  width: 20px;
  margin-left: 5px;
  margin-right: 10px;
}

.testimonials__text p {
  margin-bottom: 20px;
  cursor: pointer;
}

.testimonials__text p:hover {
  color: #f1c40f;
}

.testimonials__video {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
}

.video-container {
  position: relative;
  width: 200px;
  height: 400px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  z-index: 2;
}

.testimonials__video {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.testimonials video {
  position: absolute;
  top: 31px;
  left: 27px;
  width: 225px;
  height: 400px;
  border-radius: 24px;
  z-index: 2;
}

.celBackground1 {
  position: absolute;
  top: 20px;
  left: 0;
  width: 280px;
  height: 423px;
  z-index: 1;
}

.featured-articles {
  padding: 50px 20px;
  background-color: #1b2a47;
  color: white;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.featured-articles__title {
  font-size: 2em;
  margin-bottom: 30px;
  margin-top: 0px;
}

.featured-articles__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
}

.article-card {
  background-color: #243b55;
  border-radius: 10px;
  padding: 20px;
  width: 22%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: left;
}

.article-card img {
  max-width: 100%;
  width: 400px;
  border-radius: 10px;
}

.article-card h3 {
  font-size: 1.2em;
  margin: 15px 0;
}

.article-card p {
  font-size: 0.9em;
  margin-bottom: 15px;
}

.article-card .read-more {
  color: #1abc9c;
  text-decoration: none;
  font-weight: bold;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.article-card .read-more:hover {
  color: #16a085;
}

.doctors {
  padding: 50px 20px;
  background-color: #e9f7f6;
  color: #333;
  text-align: start;
  position: relative;
  overflow-x: hidden;
}

.doctors__title {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #5c5b5b;
}

.swiper-container {
  width: 89%;
  padding: 20px 0;
  overflow: visible;
}

.swiper-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: -webkit-grab;
  cursor: grab;
}

.swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.doctor-card {
  width: 280px !important;
  height: 400px !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 20px;
  background: white;
  border-radius: 15px;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.doctor-card img {
  width: 200px;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.doctor-card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  text-align: center;
  color: #333;
}

.doctor-card p {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin: 5px 0;
}

.doctor-card .doctor-specialty {
  color: #1abc9c;
  text-decoration: none;
  font-weight: 500;
  margin: 10px 0;
}

.doctor-card .view-more {
  background: #1abc9c;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: auto;
  -webkit-transition: background 0.3s ease;
  transition: background 0.3s ease;
}

.doctor-card .view-more:hover {
  background: #16a085;
}

.swiper-button-next,
.swiper-button-prev {
  background-color: #0F976B;
  color: white;
  border-radius: 50%;
  width: 40px !important;
  height: 40px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.3s, -webkit-transform 0.3s;
  transition: background-color 0.3s, -webkit-transform 0.3s;
  transition: background-color 0.3s, transform 0.3s;
  transition: background-color 0.3s, transform 0.3s, -webkit-transform 0.3s;
  top: 60% !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #16a085;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 12px !important;
  color: white;
}

.statistics {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  padding: 50px 20px;
  background-color: #1b1b1b;
  color: white;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.stat-card {
  background-color: #2a2a2a;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 20px;
  width: calc(33.333% - 40px);
  /* Ajusta el ancho para que quepan 3 por fila con espacio */
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
}

.stat-card h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #ccc;
}

.stat-card .stat-value {
  margin: 0 0 10px;
  font-size: 2em;
  font-weight: bold;
  color: #1abc9c;
}

.stat-card.special {
  background-color: #3498db;
  color: #1b1b1b;
}

.stat-card.special h3,
.stat-card.special p {
  color: white;
}

@media (max-width: 768px) {
  .header {
    height: 100vh;
    width: 100vw;
    position: fixed;
  }
  .header__menu {
    padding: 0px 20px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .logotipo {
    width: 150px;
    margin: 0;
  }
  .hamburger-menu {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-left: auto;
  }
  .header__navigation {
    position: fixed;
    right: -100%;
    top: 0;
    width: 80%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    z-index: 1000;
  }
  .header__navigation.active {
    right: -6%;
    width: 100%;
  }
  .header__navigation nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .header__navigation nav ul li {
    margin: 20px 0;
  }
  .header__navigation nav ul li a {
    font-size: 1.2rem;
  }
  .schedule {
    margin-top: 20px;
  }
  .hero h1 {
    font-size: 2.5rem;
    text-align: center;
  }
  .hero p {
    width: 90%;
    font-size: 1rem;
  }
  .hero .prhase {
    width: 100%;
    text-align: center;
    right: 0;
  }
  .doctor-card {
    width: 220px !important;
    height: 350px !important;
  }
  .doctor-card img {
    width: 160px;
    height: 160px;
  }
  .article-card {
    width: 90%;
  }
  .featured-articles__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .contact {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .contact-form,
  .contact-map {
    width: 100%;
  }
  .contact-map iframe {
    width: 100%;
    height: 300px;
  }
  .hero .hero__button {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .hero .button-features {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
  .hero .hero__button img {
    width: 16px;
    height: 16px;
  }
  .about .about__content {
    width: auto;
  }
  .about .about__text {
    width: 90%;
  }
  .about .about__title {
    width: 90%;
  }
  .about .about__video {
    width: 90%;
  }
  .testimonials {
    height: auto;
  }
  .testimonials .testimonials__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .testimonials .testimonials__text {
    width: 90%;
  }
  .video-container {
    width: 278px;
  }
}
.contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  padding: 50px 20px;
  background-color: #f9f9f9;
  color: #333;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.contact-form,
.contact-map {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 300px;
  max-width: 600px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 20px;
}

.contact-form h2,
.contact-map h2 {
  margin-bottom: 20px;
  font-size: 1.5em;
  text-align: center;
  color: #1abc9c;
}

.contact-form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contact-form .button {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin-top: 20px;
  border-radius: 20px;
  padding: 10px 20px;
}

.contact-form video {
  height: 400px;
  border-radius: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 2px solid #ddd;
  border-radius: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #f5f5f5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #1abc9c;
  outline: none;
  background-color: #fff;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  background-color: #1abc9c;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #16a085;
}

.contact-map {
  position: relative;
}

.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 0 0 0;
  text-align: center;
  font-size: 0.9em;
}

.footer-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 250px;
}

.footer-section h2 {
  margin-bottom: 20px;
  font-size: 1.2em;
  color: #1abc9c;
  text-transform: uppercase;
}

.footer-section p,
.footer-section ul {
  line-height: 1.6;
  margin: 0;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #1abc9c;
}

.socials a {
  margin: 5px 10px;
  display: inline-block;
}

.socials img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  background-color: #111;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 5px 0;
}

.footer-bottom a {
  color: #1abc9c;
  text-decoration: none;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #16a085;
}

.button-features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  cursor: pointer;
  border-radius: 20px;
  border: none;
  padding: 8px 20px;
  color: black;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  max-width: -webkit-max-content;
  max-width: -moz-max-content;
  max-width: max-content;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  .doctor-card {
    width: 200px !important;
    height: 320px !important;
  }
  .doctor-card img {
    width: 140px;
    height: 140px;
  }
  .doctor-card h3 {
    font-size: 1rem;
  }
  .doctor-card p {
    font-size: 0.8rem;
  }
  .doctor-card .view-more {
    padding: 6px 15px;
    font-size: 0.8rem;
  }
  .statistics {
    padding: 30px 10px;
  }
  .stat-card {
    width: 100%;
  }
  .contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 20px;
    padding: 50px 20px;
    background-color: #f9f9f9;
    color: #333;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .contact-form,
  .contact-map {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 300px;
    max-width: 600px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 20px;
  }
  .contact-form h2,
  .contact-map h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    color: #1abc9c;
  }
  .contact-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .contact-form .button {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin-top: 20px;
    border-radius: 20px;
    padding: 10px 20px;
  }
  .contact-form video {
    height: 400px;
    border-radius: 20px;
  }
  .contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    background-color: #f5f5f5;
  }
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-bottom-color: #1abc9c;
    outline: none;
    background-color: #fff;
  }
  .contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #1abc9c;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
  }
  .contact-form button:hover {
    background-color: #16a085;
  }
  .contact-map {
    position: relative;
  }
  .footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0 0 0;
    text-align: center;
    font-size: 0.9em;
  }
  .footer-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
  }
  .footer-section {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 250px;
  }
  .footer-section h2 {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #1abc9c;
    text-transform: uppercase;
  }
  .footer-section p,
  .footer-section ul {
    line-height: 1.6;
    margin: 0;
  }
  .footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
  }
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  .footer-section ul li {
    margin-bottom: 10px;
  }
  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
  }
  .footer-section ul li a:hover {
    color: #1abc9c;
  }
  .socials a {
    margin: 5px 10px;
    display: inline-block;
  }
  .socials img {
    width: 24px;
    height: 24px;
  }
  .footer-bottom {
    background-color: #111;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
  }
  .footer-bottom p {
    margin: 5px 0;
  }
  .footer-bottom a {
    color: #1abc9c;
    text-decoration: none;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
  }
  .footer-bottom a:hover {
    color: #16a085;
  }
  .button-features {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    cursor: pointer;
    border-radius: 20px;
    border: none;
    padding: 8px 20px;
    color: black;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    margin-top: 20px;
  }
  /* Ajustes para el carrusel en dispositivos móviles */
  /* Ajustes para pantallas muy pequeñas */
  /* Estilos para el menú hamburguesa */
  /* Clases para la animación del menú hamburguesa */
  /* Media queries para la sección about */
  /* Añadir soporte para grid en Safari */
  /* Asegurarnos que las transiciones funcionan en Safari */
}
@media (max-width: 576px) and (max-width: 480px) {
  .swiper-container {
    padding: 10px 0;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
  }
  .doctor-card {
    width: 180px !important;
    height: 300px !important;
    padding: 10px;
  }
  .doctor-card img {
    width: 120px;
    height: 120px;
  }
  .hero .hero__button {
    font-size: 0.9rem;
    padding: 8px 16px;
    text-align: center;
    width: 80%;
  }
  .hero .button-features {
    font-size: 0.8rem;
    padding: 6px 16px;
  }
}
@media (max-width: 576px) and (max-width: 320px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .doctor-card {
    width: 160px !important;
    height: 280px !important;
  }
  .doctor-card img {
    width: 100px;
    height: 100px;
  }
}
@media (max-width: 576px) {
  .hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    height: 40px;
    width: 40px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    display: block;
  }
  .hamburger-menu.active .bar:nth-child(1) {
    -webkit-transform: rotate(-45deg) translate(-5px, 6px);
            transform: rotate(-45deg) translate(-5px, 6px);
  }
  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active .bar:nth-child(3) {
    -webkit-transform: rotate(45deg) translate(-5px, -6px);
            transform: rotate(45deg) translate(-5px, -6px);
  }
}
@media (max-width: 576px) and (max-width: 1024px) {
  .about {
    padding: 60px 20px;
  }
  .about__content {
    width: 90%;
    margin: 0 auto;
  }
  .about__text {
    padding-right: 20px;
  }
  .about__text h2 {
    font-size: 2rem;
  }
  .about__text p {
    font-size: 1rem;
    line-height: 1.6;
  }
}
@media (max-width: 576px) and (max-width: 768px) {
  .about {
    padding: 40px 15px;
  }
  .about__content {
    width: 95%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .about__image {
    width: 90%;
    margin: 0 auto 20px;
  }
  .about__text {
    width: 90%;
    padding-right: 0;
    text-align: center;
  }
  .about__text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  .about__text p {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
}
@media (max-width: 576px) and (max-width: 480px) {
  .about {
    padding: 30px 10px;
  }
  .about__content {
    width: 100%;
  }
  .about__image {
    width: 95%;
  }
  .about__text {
    width: 95%;
  }
  .about__text h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .about__text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .about__text .button-features {
    width: 100%;
    max-width: 250px;
    margin: 15px auto;
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}
@media (max-width: 576px) and (max-width: 320px) {
  .about__text h2 {
    font-size: 1.3rem;
  }
  .about__text p {
    font-size: 0.85rem;
  }
}
@media (max-width: 576px) {
  .symptoms-grid,
  .treatment-options {
    display: -ms-grid;
    display: grid;
    -webkit-grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .cta-button,
  .nav-menu a {
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}