/* SECCION HOME */



.hero {
  height: 100vh;
  position: relative;
}

.carousel-item img {
  object-fit: cover;
  height: 100vh;
}

.carousel-caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
  padding-bottom: 5%; 
}

.carousel-caption h1 {
  font-size: 3rem;
}

.carousel-caption p {
  font-size: 1.25rem;
}


#servicios .card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

#servicios .card-img-top {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: block;
  width: 100%;
  height: auto;
}

.nav-link.active {
    color: #007bff !important;
    font-weight: bold;
}

.nav-link {
    transition: transform 0.2s ease, color 0.2s ease; 
  }

  .nav-link:hover {
    transform: translateY(-3px);
    color: #007bff;
  }

  .nav-link.active {
    color: #007bff !important;
    font-weight: bold;
  }

.card {
  border-radius: 1.25rem;
}
.card img {
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}

#medico {
  background-color: #f8f9fa; 
}

#medico img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none; 
}

#medico h2 {
  color: #011c61;
  margin-bottom: 20px;
}

#medico p {
  font-size: 1.1rem;
  color: #495057;
}

#contacto iframe {
  width: 100%;
  height: 300px;
}

#contacto .row {
  display: flex;
  align-items: center;
}

#contacto {
    background-color: #011c61;
    padding: 60px 0;
}

#contacto h3,
#contacto p,
#contacto i {

     color: #ffffff !important;
}

#contacto p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

#contacto i {
    font-size: 1.3rem;
    margin-right: 10px;
}

.map-container {
  width: 100%;
  max-width: 500px; 
  aspect-ratio: 1 / 1; 
  margin: 0 auto; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 20;
}

#contacto .col-md-6 {
  display: flex;
  align-items: center;
}

.contact-info {
     display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}


.carrusel-marcas {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.carrusel-marcas img {
  flex: 1 1 auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 993px) {
  .carrusel-marcas img {
    flex: 0 0 calc(33.333% - 20px); 
    max-width: calc(33.333% - 20px);
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .carrusel-marcas img {
    flex: 0 0 calc(50% - 15px); 
    max-width: calc(50% - 15px);
  }
}


@media (max-width: 768px) {
  .carrusel-marcas {
    flex-direction: column;
    align-items: center;
  }

  .carrusel-marcas img {
    flex: 0 0 auto;
    max-width: 80%; 
    margin-bottom: 10px;
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1a59b6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: '';
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 8px;
}

.carousel-control-prev-icon::after {
  transform: rotate(135deg);
}

.carousel-control-next-icon::after {
  transform: rotate(-45deg);
}

footer {
  background-color: #ffffff; 
  color: #495057;           
  text-align: center;
  padding: 20px 0;
  width: 100%;
  margin: 0;
  border-radius: 0;
  font-size: 0.9rem;
}

footer a {
  color: #495057;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}





/* SECCION NOSOTROS ----------------------------------------*/





#nosotros, #contacto {
  scroll-margin-top: 80px;
  padding-top: 80px;      
}

#banner {
  background: url('media/Banner1.png') center/contain no-repeat;
  background-color: #000; 
}

.titulos-imagenes {
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;         
  gap: 1.5rem;            
}

.titulos-imagenes img {
  max-width: 250px; 
  width: 100%;    
  height: auto;
}





/* SECCION CONTACTO ----------------------------------------*/





  .video-marco {
    border: 4px solid #011c61;
    border-radius: 12px;
    padding: 5px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .contenedorHorarios{
    background-color: #011c61;
    padding: 20px;
    border-radius: 15px;
    color: #FFFFFF;
    margin-bottom: 30px;
  }




  /* SECCION PRODUCTOS --------------------------------------*/





  .marca-item img {
    max-height: 200px;
    object-fit: contain;
  }
  .marca-item h6 {
    color: #007bff;
  }

#carouselMarcas .carousel-control-prev,
#carouselMarcas .carousel-control-next {
  width: 8%;
}

#carouselMarcas .carousel-control-prev {
  left: -40px;
}

#carouselMarcas .carousel-control-next {
  right: -40px;
}


#carouselMarcasNinos .carousel-control-prev,
#carouselMarcasNinos .carousel-control-next {
  width: 8%;
}

#carouselMarcasNinos .carousel-control-prev {
  left: -40px;
}

#carouselMarcasNinos .carousel-control-next {
  right: -40px;
}

.marca-img {
  max-width: 500px;
}

.comercial-img {
  width: 100%;
  max-width: 900px;
  height: auto; 
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.banner-custom {
  width: 95%;
  margin: 0 auto;
  display: block;
}

.video-converse {
  width: 90%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.comercial-karl {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  max-width: 250px;
}


@media (min-width: 768px) {
  .comercial-karl {
    max-width: 350px;
  }
}





