@import
	url('https://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700,800,900')
	;

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: 'Raleway', sans-serif;
}


.pantalla-inicial {
	background: url('../img/fondo.jpg') no-repeat center center;
}

.pantalla-acondiciona {
	background: url('../img/fondo-acondicionamiento.jpg') no-repeat center center;
}

.pantalla-ft {
	background: url('../img/fondo-flock.jpg') no-repeat center center;
}

.pantalla-ofda {
	background: url('../img/ofda.jpg') no-repeat center center;
}

.pantalla-registros {
	background: url('../img/fondo-registros.jpg') no-repeat center center;
}
 .pantalla-acondiciona, .pantalla-registros, .pantalla-ofda, .pantalla-ft, .pantalla-inicial{
 	height: 100vh;
	width: 100%;
	background-size: cover;
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	margin-top: 60px;
 }

.contenedor-texto {
	width: 50%;
	height: 100%;
	background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0.8)
		80%, rgba(255, 255, 255, 0) 100%);
	display: flex;
	align-items: center;
}

.texto {
	padding: 20px;
	color: #005c00; /* Verde definido */
	text-align: left;
}

.titulo-principal {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.subtitulo {
	font-size: 1.1rem;
	font-weight: 400;
	margin: 0;
}

.bg-verde {
	background-color: #005c00 !important;
}

.navbar .nav-link {
	color: white !important;
	font-weight: 500;
	font-size: 1rem;
}

.navbar .nav-link:hover {
	text-decoration: underline;
}

.seccion-bienvenida {
	background-color: white;
	padding: 60px 0;
}

.container-bienvenida {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 80px;
}

.titulo-bienvenida {
	color: #005c00;
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 40px;
	font-weight: 700;
}

.texto-bienvenida {
	color: #000;
	font-size: 1.1rem;
	text-align: justify;
	line-height: 1.7;
}

.navbar.sticky-top {
	position: sticky !important;
	top: 0;
	z-index: 1030;
}

.seccion-modulos {
  background-color: #35434e;
  padding: 60px 20px;
}

.titulo-modulos {
  color: #005c00;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.card-modulo {
  border: solid 2px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  height: 100%;
  border-color: #fff;
  
}

.card-modulo .card-img-top {
  object-fit: cover;
  /*height: 200px;*/
  width: 200px;
  margin:0 auto;
  border-raduis: 10px;
  margin-top: 10px;
}

.btn-verde {
  background-color: #005c00;
  color: white;
  font-weight: 600;
}

.btn-verde:hover {
  background-color: #004400;
  color: white;
}

.txt_verde_fluo {
    color: #2ebb2d !important;
}

.seccion-documentos {
  background-color: #f8f9fa;
  padding: 70px 20px;
}

.titulo-documentos {
  color: #005c00;
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 50px;
}

.card-documento {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.card-documento img {
  width: 300px;
  height: auto;
  max-width: 100%;
  display: block;
}

.card-documento .card-body {
  padding: 20px;
}

.card-documento .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

/* Flecha */
.flecha-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #fff;
  animation: bounce 2s infinite;
  z-index: 2;
}

/* Ocultar flecha al hacer scroll */
.flecha-scroll.oculto {
  display: none;
}

/* Mostrar el menú cuando se pasa el mouse */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

/* Quitar transición brusca */
.dropdown-menu {
  margin-top: 0;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #005c00;
  color: #fff;
}

.dropdown-menu .dropdown-item {
  transition: background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 90%;
  margin: 0 auto;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.descarga-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 20px auto;
  max-width: fit-content;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  gap: 20px;
}

.descarga-img {
  max-width: 90px;
  height: auto;
  border-radius: 5px;
}

.descarga-texto p {
  margin: 0 0 10px;
  color: #000;
}

.descarga-texto .btn {
  background-color: #005c00;
  border-color: #005c00;
  color: white;
}

/* Estilos específicos para pantallas pequeñas (móviles) */
@media ( max-width : 768px) {
	
	.pantalla-inicial, .pantalla-acondiciona, .pantalla-ft, .pantalla-ofda, .pantalla-registros {
		background-size: cover;
		justify-content: center;
		align-items: center;
	}
	
	.pantalla-inicial{
		background: url('../img/fondo2.jpg') no-repeat center center;
	}
	.pantalla-acondiciona{
		background: url('../img/fondo-acondicionamiento.jpg') no-repeat center center;
	}
	
	.pantalla-ft {
		background: url('../img/fondo-flock-movil.jpg') no-repeat center center;
		background-color: #7c9695;
	}
	
	.pantalla-ofda {
		background: url('../img/ofda-movil.jpg') no-repeat center center;
	}
	
	.pantalla-registros {
		background: url('../img/registros-movil.jpg') no-repeat center center;
	}
		
	.contenedor-texto {
		width: 90%;
		height: auto;
		background: white;
		border-radius: 10px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
		padding: 30px 20px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.texto {
		text-align: center;
		color: #005c00;
	}
	.titulo-principal {
		font-size: 1.8rem;
	}
	.subtitulo {
		font-size: 1rem;
		margin-top: 10px;
	}
	.container-bienvenida {
		padding: 0 20px;
	}
	
	.seccion-documentos {
  		background-color: #f8f9fa;
  		padding: 100px 20px;
	}
	
	.card-documento img {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .card-documento img {
    max-width: 300px;
    margin: 0 auto;
  }
}


/* Animación de rebote */
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}


/* Ajuste para móviles */
@media (max-width: 576px) {
  .titulo-acondicionamiento {
    font-size: 2rem;
    padding: 10px;
  }
}

/* Ajuste para pantallas medianas */
@media (min-width: 577px) and (max-width: 768px) {
  .titulo-acondicionamiento {
    font-size: 4rem;
  }
}

/* Escritorio */
@media (min-width: 769px) {
  .titulo-acondicionamiento {
    font-size: 4rem;
  }
}
