/* ------------------- BASE / GENERALES ------------------- */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

.grande {
  font-size: 18px; /* tamaño más grande que el predeterminado */
}

.mediano {
  font-size: 16px;
}

.text-justify {
  text-align: justify;
}

/* ------------------- NAVBAR ------------------- */
.navbar {
  background-color: #f7f8fa !important;
}

.navbar-brand, 
.nav-link {
  color: #000 !important;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Hover y activo */
.nav-link:hover {
  color: rgb(13, 118, 16) !important;
}

/* Subrayado animado */
.nav-link {
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: rgb(13, 118, 16);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ------------------- BANNER ------------------- */
.banner-video {
  position: relative;
  height: 25vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-video .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.banner-video .container {
  position: relative;
  z-index: 2;
}

.banner-video h1,
.banner-video .lead {
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* ------------------- TARJETAS ------------------- */
.card {
  border: none;
  border-radius: 0.75rem;
  border-left: 5px solid rgb(176, 176, 176);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 80, 158, 0.2);
  border-left: 5px solid rgb(13, 118, 16);
}

/* Tarjetas interactivas */
.card-hover {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:rgb(13, 118, 16, 0.98);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 0.75rem;
}

.card-hover:hover::after {
  opacity: 1;
}

.card-hover .btn-cotizar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 2;
  background-color: transparent;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 1.2rem;
  transition: opacity 0.3s ease-in;
}

.card-hover:hover .btn-cotizar {
  display: block;
}

/* ------------------- VALORES ------------------- */
.valores-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  text-align: center;
  border: none;
  border-radius: 0.75rem;
  border-left: 5px solid rgb(221, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valores-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 80, 158, 0.2);
  border-left: 5px solid rgb(13, 118, 16);
}

.valores-card h5 {
  font-size: 1rem;
  font-weight: 600;
}

/* ------------------- MISIÓN / VISIÓN ------------------- */
.imagen-mv {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Más espacio en versión móvil entre imagen y texto */
@media (max-width: 576px) {
  .imagen-mv {
    margin-bottom: 1.5rem; /* aire extra en móvil */
  }
}

/* ------------------- EQUIPO ------------------- */

/* Grid de 5 columnas (en desktop), adaptable */
.col-lg-2_4 {
  flex: 0 0 20%;
  max-width: 20%;
}

@media (max-width: 992px) {
  .col-lg-2_4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

@media (max-width: 768px) {
  .col-lg-2_4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  .col-lg-2_4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Card del equipo */
.team-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem; /* separación entre cards en móvil */
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.team-img {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.team-img img {
  width: 100%;
  height: 200px; /* tamaño más compacto */
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

/* ------------------- FOOTER ------------------- */
footer {
  width: 100%;
  color: #fff;
  background-color: #000;
  position: relative;
}

.footer-custom {
  color: #ecf0f1;
  margin-bottom: 0;
}

.footer-custom a {
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-custom a:hover {
  color: #21db0c;
  transform: scale(1.2);
}

.footer-custom i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-custom i:hover {
  color: #28ff2c;
  transform: rotate(5deg) scale(1.2);
}

.social-icons {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  .social-icons {
    width: 100%;
    justify-content: center !important;
    margin-top: 0.5rem;
  }
}

/* ------------------- FORMULARIO ------------------- */
.modal-content {
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  animation: modalFadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #28a745;
  background-color: #e6fff1;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background-color: #ffe6e6;
}

label.form-label {
  font-weight: 600;
  color: #333;
}

.btn-clear {
  background-color: transparent;
  color: #888;
  border: none;
  text-decoration: underline;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-clear:hover {
  color: #dc3545;
}

input:focus, select:focus, textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.25);
}

/* ------------------- CONTACTO ------------------- */
.contacto-info {
  font-size: 1.05rem;
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   margin-bottom: 0 !important;
  padding-bottom: 0;
}

.contacto-info h2 {
  font-weight: 700;
  color: #0d7610;
}

/* Para quitar la línea de enlace */
.contacto-info a {
  color: inherit;
  text-decoration: none;
}

 /* Verde más brillante para contraste */
.contacto-info a:hover {
  color: #28a745;
}

/* Tamaño para el mapa */
.map-responsive {
  overflow: hidden;
  position: relative;
  height: 420px;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 75%;
  width: 100%;
  position: absolute;
  border-radius: 20px;
  margin-top: 1rem;
}
/* Mascota */
.mascota-img {
  max-width: 280px;
  height: auto;
}

.mascota-container {
  flex-shrink: 0;
}

/* ------------------- CURSOS ------------------- */

.btn-verde {
  background-color: #0d7610;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 32px;
  font-size: 1.2rem;
  border-radius: 50px; /* redondeado tipo pill */
  box-shadow: 0 6px 15px rgba(13, 118, 16, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.btn-verde:hover {
  background-color: #0b5d0d;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(13, 118, 16, 0.5);
  color:#21db0c;
}

/* Efecto de brillo que cruza el botón */
.btn-verde::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
}

.btn-verde:hover::after {
  animation: shine 0.8s forwards;
}

/* Animación de brillo */
@keyframes shine {
  100% {
    left: 125%;
  }
}

@media (max-width: 576px) {
  .btn-verde {
    font-size: 1rem;        /* texto un poco más chico */
    padding: 10px 24px;     /* menos padding */
    border-radius: 40px;    /* mantiene pill pero más compacto */
    animation: none;
  }

  .btn-verde:hover {
    transform: scale(1.05);
  }
}


