/* Encabezado principal */
header {
  background-color: #41A730;/*Color Azul*/
  color: white;
  /*padding: 1rem 0;*/
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Estilos responsivos del header */
.header-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .header-info {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  header, .custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
  }
  .custom-navbar {
    top: 40px;
  }
  body {
      padding-top: 140px; /* Suma la altura de header + navbar para evitar que el contenido quede oculto */
  }
}

.empresa {
  font-size: 1rem;/*Tamaño de letra*/
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.contacto {
  font-size: 1rem;/*Tamaño de letra*/
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
  .contacto {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}





/* Menú */
.custom-navbar {
  background-color: #f8f9fa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Opcional, para darle sombra */
}

.navbar-nav .nav-item {
  position: relative;
  margin: 0 1rem; /* Espaciado horizontal entre ítems */
}

.navbar-nav .nav-link {
  font-size: 1.2rem;
  color: #000;
  padding: 0.75rem 1rem; /* Aumenta separación interna */
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #f99e26;/*Color Verde*/
}

/* Línea inferior al pasar el mouse */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #f99e26;/*Color Verde*/
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Línea vertical divisora entre ítems */
.navbar-nav .nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  height: 1.5rem;
  width: 1px;
  background-color: #ccc;
}

.nav-link:hover {
  color: #41A730;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #41A730;
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #f99e26 !important; /* Verde */
}

.nav-link.active::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #f99e26; /* Línea Verde */
}




/* Estilo del contenedor del botón y submenu */
.estilo-redes{
  color: #ffffff;
}

.estilo-redes:hover {
  background-color: #f99e26;
  color: #ffffff;
  transform: translateY(-4px);
}

/* Ocultar en móvil */
@media (max-width: 991.98px) {
  .ocultar-redes {
    display: none !important;
  }
}





.footer {
  background-color: #1c1c1c;
  color: white;
  font-family: Arial, sans-serif;
  padding: 2rem 1rem 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-col-redes {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-col-redes h4 {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-col h4 {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-col i {
  color: #f99e26;/*Color de los iconos*/
  margin-right: 10px;
}

.footer-col .licencia {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #ccc;
}

.footer-col .logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.footer-col .logos img {
  height: 50px;
  object-fit: contain;
}

.footer-copy {
  background-color: #323740;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: white;
  margin-top: 2rem;
}




/*Slider*/
.slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.slides {
  display: flex;
  transition: transform 1s ease;
}

.slides img {
  width: 100%;
  height: auto;
  object-fit: cover;
  flex: 0 0 100%;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3); /* fondo gris semitransparente */
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  z-index: 5;
  transition: background-color 0.3s ease;
}

.arrow:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

/* Puntos de navegación */
.slider-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #ffffff80;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #ffffff;
}






/*Imagen fija del card*/
.img-fija {
    height: 300px; /* o el alto que desees */
    object-fit: cover;
    width: 100%;
  }




/*Estilos de las tarjetas de ventajas*/
.ventaja-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(225, 94, 32, 0.4); /* sombra Verde */
}

.ventaja-card:hover {
  cursor: pointer;
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 24px rgba(4, 155, 53, 0.5); /* sombra verde */
}

.ventaja-title {
  font-weight: bold;
}

.card-title {
  font-weight: bold;
}

.ventaja-text {
  font-size: 0.95rem;
  text-align: justify;
}






/*Boton de inscribirse*/
.btn-inscribirse {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-inscribirse:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 16px rgba(13, 110, 253, 0.4);
}





/*Boton de ncursos*/
.btn-ncursos {
  position: fixed;
  bottom: 25px;
  left: 20px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-ncursos:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 16px rgba(13, 110, 253, 0.4);
}





/*Boton de whatsapp*/
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.5);
  box-shadow: 0 8px 16px rgba(4, 155, 53, 0.4);
}

/* Animación de entrada */
.animate-entry {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

/* Definición de la animación */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tooltip personalizado */
.tooltip-whatsapp {
  position: absolute;
  right: 110%;
  top: 50%;
  transform: translateY(-50%);
  background-color: #41A730;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Flecha del tooltip */
.tooltip-whatsapp::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #41A730;
}

/* Mostrar el tooltip al pasar el mouse */
.btn-whatsapp:hover .tooltip-whatsapp {
  opacity: 1;
  visibility: visible;
  right: 105%;
}





/*Animación curso*/
.hero {
    background-size: cover;
    background-position: center;
    height: 500px;
    color: white;
    text-shadow: 1px 1px 4px #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section-title {
    border-left: 5px solid #0d6efd;
    padding-left: 15px;
    margin-bottom: 1rem;
}

.section-titulo {
    border-left: 5px solid #f99e26;
    padding-left: 15px;
    margin-bottom: 1rem;
    font-weight: bold;
}

.icon-title {
    color: #0d6efd;
    margin-right: 8px;
}




/* Animación al hacer hover en secciones tipo tarjeta en cursos */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    padding: 20px;
}

.text-justify{
  text-align: justify;
}






/* Pulasasión boton nuestros cursos */
@keyframes pulse-animation {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse-animation 1.5s infinite;
  animation-timing-function: ease-in-out;
}




/*Para imagenes de talleres, vinculacion y graduados*/
.img-thumb {
  cursor: pointer;
  transition: transform 0.3s;
}

.img-thumb:hover {
  transform: scale(1.08);
}





/* Para números del sitio web */
.stat-card {
  flex: 0 0 calc(25% - 1rem); /* 4 cards por fila, menos el gap */
  max-width: calc(25% - 1rem); /* que no crezca más de eso */
  min-width: 140px;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

@media (max-width: 992px) {
    .stat-card {
        flex: 1 1 calc(50% - 1rem); /* 2 por fila en tablet */
    }
}

@media (max-width: 576px) {
    .stat-card {
        flex: 1 1 100%; /* 1 por fila en móvil */
    }
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card:hover .icon {
  color: #f99e26; /* Cambia color al hacer hover */
  transition: color 0.3s ease;
}

.count-up {
  /*font-family: 'Arial', sans-serif;*/
  font-size: 4rem;
  font-weight: bold;
  color: #F7C110; /* Oro=d4af37 */
}

.label {
  font-size: 1.5rem;
  font-weight: normal;
  color: #41A730; /* Azul */
}

.icon {
  font-size: 2rem;
  margin-right: 10px;
}




/* Fondo fijo  */
.hero-section {
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* 🔒 Esto fija la imagen */
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
}

.hero-section .overlay {
  background-color: rgba(0, 0, 0, 0.5); /* oscurece para contraste */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}




.grayscale {
    filter: grayscale(100%);
    transition: all 0.3s ease-in-out;
}

.grayscale:hover {
    filter: none;
    transform: scale(1.05);
}







/* Estilos para la nueva tarjeta de solo imagenes */
.text-inicia {
    color: #F7C107;
    font-weight: 700;
}

.card-curso {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease;
}

.card-curso img,
.card-curso .contenido {
    transition: transform 0.3s ease;
}

.card-curso .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 10, 53, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card-curso:hover .overlay {
    opacity: 1;
}

.card-curso:hover img,
.card-curso:hover .contenido {
    transform: scale(1.05);
}

.card-curso .contenido {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    color: #fff;
    z-index: 2;
}

.card-curso .btn {
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    transition: background-color 0.3s ease;
}

.card-curso .btn:hover {
    background-color: #F7C107; /* Naranja Bootstrap */
    color: white;
}





<!-- Carrusel de imagenes en Nuestro Equipo -->

.swiper {
  max-width: 1200px;
  margin: auto;
}
.swiper-slide {
  opacity: 0.5;
  transform: scale(0.85);
  transition: all 0.3s ease;
  cursor: grab;
  height: auto !important;
}
.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
  z-index: 10;
}
.card-equipo {
  height: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  background: white;
}
.card-equipo img {
  object-fit: cover;
  height: 400px;
  border-radius: 1rem 1rem 0 0;
}
/* Para celulares (pantallas pequeñas) */
@media (max-width: 767.98px) {
  .card-equipo img {
    height: 300px;
  }
}
.card-equipo-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin: 10px;
  text-align: justify;
}
.card-equipo-title {
  font-weight: 600;
}
.card-equipo-text {
  margin-top: 0.5rem;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.btn-vermas {
  margin-top: 15px;
  align-self: flex-start;
}
@media (max-width: 768px) {
  .swiper-slide {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
}




/* Card venta canes */
.dog-card {
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
  background: #fff;
}
.dog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.dog-card img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}
.dog-badge-left {
  position: absolute;
  top: 20px;
  left: -40px;
  background: linear-gradient(45deg, #ff416c, #ff4b2b);
  color: #fff;
  padding: 0.4rem 2.5rem;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-transform: uppercase;
}
.dog-badge-right {
  position: absolute;
  top: 20px;
  right: -40px;
  background: linear-gradient(-45deg, #1e90ff, #00c6ff);
  color: #fff;
  padding: 0.4rem 2.5rem;
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-transform: uppercase;
}
.dog-card .card-body {
  text-align: center;
  padding: 1.2rem;
}
.dog-card h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.dog-info {
  font-size: 0.9rem;
  color: #6c757d;
}
.dog-card .card-footer {
  background: #fff;
  border-top: none;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.btn-icon {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}








/* Efecto imagenes del menú */
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.image-card img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

/* Efecto de zoom al pasar el mouse */
.image-card:hover img {
  transform: scale(1.1);
}

/* Capa semitransparente con texto */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-text {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.image-card:hover .overlay {
  opacity: 1;
}

/* Responsividad automática (gracias a Bootstrap) */
@media (max-width: 768px) {
  .overlay-text {
    font-size: 1.2rem;
  }
}



/*Filtro redondo animales*/
#filtroAnimales {
  border-radius: 25px;
  padding-left: 20px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}