/* button */
.btn-informacion {
    width: 250px;
    height: 70px;
    border-radius: 150px;
    background-color: #F49619 !important;
    color: #FFFFFF !important;
    align-content: space-around;
}

.btn-formulario {
    width: 250px;
    height: 70px;
    border-radius: 150px;
    background-color: #0F808C !important;
    color: #FFFFFF !important;
    align-content: space-around;
}

.btn:hover,
btn:focus {
    opacity: 0.9;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.35rem;
}

h3 {
    font-size: 2.01rem;
}

h4 {
    font-size: 1.71rem;
}

h5 {
    font-size: 1.46rem;
}

h6 {
    font-size: 1.25rem;
}

p,
li {
    font-size: 1.05rem;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.60rem;
    }

    h3 {
        font-size: 1.20rem;
    }

    h4 {
        font-size: 1rem;
    }

    h5 {
        font-size: 0.88rem;
    }

    h6 {
        font-size: 0.80rem;
    }

    p,
    li {
        font-size: 1rem;
    }
}

/* header nav */

/* Estilos generales */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F808C;
}

.navbar-brand-2 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0F808C;
}

.navbar-brand img {
    width: auto;
    height: 130px;
}

/* Estilos para dispositivos pequeños */
@media (max-width: 1024px) {
    .navbar-brand {
        font-size: 1.2rem;
        /* Cambia el tamaño de la letra */
    }

    .navbar-brand img {
        width: auto;
        /* Cambia el tamaño de la imagen */
        height: 90px;
    }

    .nav-link {
        font-size: 1rem;
        /* Cambia el tamaño de la letra de los enlaces de navegación */
    }
}


.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active {
    color: #0F808C;
}

.nav-item .nav-link {
    font-size: 1.25rem;
    font-weight: 400;
    color: #000000;
}

.nav-item .nav-link.active,
.nav-link:hover,
.nav-link:focus {
    font-weight: 600;
    color: #0F808C;
}

[id]:target {
    scroll-margin-top: 150px;
}

/* Estilos para dispositivos pequeños */
@media (max-width: 1024px) {
    [id]:target {
        scroll-margin-top: 110px;
    }
}

/* home */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
	z-index: 0;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    width: 80%;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
	z-index: 1;
}

.home h1 {
    font-weight: 700;
}

.home p {
    font-weight: 700;
}

/* nosotros */
.nosotros p {
    font-weight: 400;
    text-align: justify;
}

.nosotros h3 {
    font-weight: 600;
}

.div-nosotros {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acercade {
    background-color: #F9F9F9;
}

.nosotros h4 {
    color: #09545c;
    font-weight: 600;
	font-size: 1em;
    margin: 0rem 1rem;
}

.nosotros h4 {
    color: #ADD4D9;
    font-weight: 600;
    margin: 0rem 1rem;
	font-size: 1.5em;
}

.nosotros h4::first-letter {
    color: #0F808C;
    text-align: center;
    font-weight: 600;
}

.valores h4 {
    color: #09545c;
    font-weight: 600;
    font-size: 1em;
    margin: 0rem 1rem;
    position: relative;
    padding-left: 2em;
    min-height: 1.8em;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    display: block; 
}

.valores h4::before {
    content: attr(data-first-letter);
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0f808c;
    color: white;
    width: 1.8em;
    height: 1.8em;
    font-weight: bold;
    border-radius: 0.25rem;
    font-size: 1em;
    border: 2px solid black;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* Colores alternados */
.valores h4:nth-child(odd)::before {
    background-color: #0f808c;
}
.valores h4:nth-child(even)::before {
    background-color: #664d8f;
}

/* Colores alternados 2da lista */
.mt-auto h4:nth-child(odd)::before {
    background-color: #664d8f;
}
.mt-auto h4:nth-child(even)::before {
    background-color: #0f808c;
}

.acercade li {
    font-weight: 400;
}

.img-border-radius {
    border-radius: 39px;
    width: 100%;
}

.hr-valores {
    margin: 0.5rem 0;
    color: inherit;
    border: 0;
}

/* lista valores para pantallas menores a 1024px*/
@media (max-width: 1024px) {
	#valores1 {
		display: flex;
		flex-direction: row;
		justify-content: center;
	}
	.valores_izquierda {
		width: 49%;
	}
	.valores_derecha {
		width: 49%;
	}
	#valores1 h4 {
		font-size: 1.25em;
	}
}


/* estadistica */
.estadistica {
    background-color: #0C6980;
}
	
.estadistica h6 {
    color: #FFFFFF;
    font-weight: 700;
	font-size: 1.5em;
}

/* estadistica2 */
.estadistica2 {
    background-color: #0C6980;
}
	
.estadistica2 h6 {
    color: #FFFFFF;
    font-weight: 700;
	font-size: 1.5em;
}

.comentarios .card {
    background-color: #EFEFEF;
    border: none;
    padding: 30px 15px;
    height: 500px;
}

.comentarios .card-body h5 {
    font-weight: bold;
	font-size: 16px;
}

.comentarios .card-body p {
    font-weight: 400;
	font-size: 12px;
	font-style: italic;
	text-align: justify;
	text-justify: inter-character;
	text-align-last: left;
	hyphens: auto;
}

.comentarios .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.comentarios .card-body>div {
    margin-top: auto;
}

/* comentarios para pantallas menores a 1024px*/
@media (max-width: 1024px) {
	.comentarios .card {
	    background-color: #EFEFEF;
	    border: none;
	    padding: 30px 15px;
	    height: 350px;
	}

	.comentarios .card-body h5 {
	    font-weight: bold;
		font-size: 16px;
	}
	
	.comentarios .card-body p {
	    font-weight: 400;
		font-size: 14px;
		font-style: italic;
		text-align: justify;
		text-justify: inter-character;
		text-align-last: left;
		hyphens: auto;
	}
}

/* comentarios2 */

.comentarios2 .card {
    background-color: #EFEFEF;
    border: none;
    padding: 30px 15px;
    height: 500px;
}

.comentarios2 .card-body h5 {
    font-weight: bold;
	font-size: 16px;
}

.comentarios2 .card-body p {
    font-weight: 400;
	font-size: 12px;
	font-style: italic;
	text-align: justify;
	text-justify: inter-character;
	text-align-last: left;
	hyphens: auto;
}

.comentarios2 .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.comentarios2 .card-body>div {
    margin-top: auto;
}

/* comentarios para pantallas menores a 1024px*/
@media (max-width: 1024px) {
	.comentarios2 .card {
	    background-color: #EFEFEF;
	    border: none;
	    padding: 30px 15px;
	    height: 350px;
	}

	.comentarios2 .card-body h5 {
	    font-weight: bold;
		font-size: 16px;
	}
	
	.comentarios2 .card-body p {
	    font-weight: 400;
		font-size: 14px;
		font-style: italic;
		text-align: justify;
		text-justify: inter-character;
		text-align-last: left;
		hyphens: auto;
	}
}

.proyectos {
    text-align: center;
}

.proyectos h2 {
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#mapa-siaccelectro-proyectos{
	    width: auto;
		height: 79%;
	}

/* ajuste de tamaño para seccion de proyectos*/
@media (min-width: 768px) {
	.proyectos {
	    text-align: center;
		height: 79vh;
		width: 100%;
	}
}

.productos {
    text-align: center;
    background-color: #F9F9F9;
    padding-top: 50px;
    padding-bottom: 80px;
}

.productos h2 {
    font-weight: 400;
    margin-top: 0;
	margin-bottom: 0;
}

.productos .card {
    background-color: #FFFFFF;
    border: 1px #B6BCBF solid;
    height: 650px !important;
	width: auto;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
}

.productos .card-body h5 {
    font-weight: 700;
	font-size: 1em;
	text-align: center;
}

.productos .card-body p{
    font-weight: 400;
	font-size: 0.90em;
}

.productos .card-body li{
    font-weight: 400;
	font-size: 0.90em;
}

.productos .card-img-top {
    height: 45%;
	min-height: 45%;
	max-height: 45%;
    object-fit: fill;
    border-radius: 14px 14px 0 0;
}

.productos .card-body {
	height: 55%;
	min-height: 55%;
	max-height: 55%;
    text-align: start;
    overflow-y: auto;
}

.productos .card-overlay {
    /*position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 105, 128, 0.85);
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 14px;
    padding: 1rem;*/
}

.productos .card:hover .card-overlay {
    opacity: 1;
}

.card-overlay h5 {
    font-weight: 700;
}

.card-overlay li {
    font-weight: 400;
}

@media (max-width: 1024px) {
/* Regla para ajustar los productos en pantallas menores a 1024px*/
	.productos .card {
    background-color: #FFFFFF;
    border: 1px #B6BCBF solid;
    height: 700px !important;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
	width: 100%;
	}
	
	.productos .card-body {
		height: 55%;
		min-height: 55%;
		max-height: 55%;
	    overflow-y: hidden;
	}
	
	.productos .card-body h5 {
	    font-weight: 700;
		font-size: 1em;
		text-align: center;
	}
	
	.productos .card-body p{
	    font-weight: 400;
		font-size: 0.90em;
	}
	
	.productos .card-body li{
	    font-weight: 400;
		font-size: 0.90em;
	}
	
	.productos .card-img-top {
	    height: 45%;
		min-height: 45%;
		max-height: 45%;
	    object-fit: cover;
	    border-radius: 14px 14px 0 0;
	}

}

.certificaciones {
    padding-top: 80px;
    padding-bottom: 80px;
	text-align: center;
}

/* certificaciones titulo de seccion */
.certificaciones h2 {
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 2rem;
}


.cert-img {
    height: 75px;
    /* Ajusta esta altura según tus necesidades */
    width: auto;
    /* Mantiene la proporción del ancho */
}

.cert-img-2 {
    height: 30px;
    /* Ajusta esta altura según tus necesidades */
    width: auto;
    /* Mantiene la proporción del ancho */
}

.d-flex {
    flex-wrap: nowrap;
    /* Previene que las imágenes se apilen en múltiples filas */
}

.contacto {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #ADD4D9;
}

.contacto input {
    font-weight: 600;
    padding: 20px;
}

.contacto input::placeholder {
    color: #ACB3B7;
}

.contacto textarea {
    font-weight: 600;
    padding: 20px;
}

.contacto textarea::placeholder {
    color: #ACB3B7;
}

/* ajuste de tamaño para seccion de contacto*/
@media (min-width: 768px) {
	.contacto .container{
		height: 76vh;
	}
	
	.contacto input {
	    font-weight: 600;
	    padding: 30px;
	}
}

.div-ubicacion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 25px;
}

.div-ubicacion h4 {
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0;
}

.div-ubicacion a {
    color: #000000;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
}

.div-ubicacion address {
    color: #000000;
    font-weight: 400;
}

.ubicacion h4 {
    color: #ADD4D9;
    font-weight: 600;
    margin: 0rem 1rem;
	font-size: 1.5em;
}

.ubicacion h4::first-letter {
    color: #0F808C;
    text-align: center;
    font-weight: 600;
}

.footer {
    background-color: #0C6980;
    padding-top: 80px;
    padding-bottom: 80px;
}

.footer p,
a {
    color: #FFFFFF;
}

.footer .float-start {
	/*display: flex;
    align-items: flex-start;
	justify-content: center;
	width: 100%;*/
}

.footer .float-end {
    /*display: flex;
    align-items: flex-end;
	justify-content: center;
	width: 100%;*/
}

.footer .float-end .spacer {
    margin: 0 1em;
}


@media (max-width: 1024px) {
/* Regla para ajustar el footer en pantallas menores a 800px*/
    .footer .float-start {
		display: flex;
	    align-items: flex-start;
		justify-content: center;
		width: 100%;
	}
	
	.footer .float-end {
		
		display: flex;
		align-items: flex-end;
		justify-content: center;
		width: 100%;
	}
	
	.footer .float-end .spacer {
	    margin: 0 0;
	}
}

.footer .creator {
    margin-top: 20px;
    text-align: center;
	display: inline-block;
	width: 100%;
}

.footer .creator-img {
    width: auto;
    /* Adjust the width as needed */
    height: 40px;
    /* Make the image circular */
    margin-top: 10px;
}

/* button */
.btn-informacion {
    width: 250px;
    height: 70px;
    border-radius: 150px;
    background-color: #F49619 !important;
    color: #FFFFFF !important;
    align-content: space-around;
}

.btn-formulario {
    width: 250px;
    height: 70px;
    border-radius: 150px;
    background-color: #0F808C !important;
    color: #FFFFFF !important;
    align-content: space-around;
}

/* Estilos para el contenedor del video de inicio (inicialmente oculto) */
#videoContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 9999;
}

/* Video ajustado al viewport */
#fullscreenVideo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cubre toda el área sin distorsión */
}

/* Botón de cerrar (X) */
#closeVideoBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenido principal (oculto al inicio) */
#mainContent {
    display: none;
    padding: 0;
}

table{
	width: 100%;
}

table, th, td{
	border: 1px solid;
}

/* Asegura que las imágenes ocupen el espacio sin deformarse */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantiene proporciones */
    background-color: #000; /* Fondo negro si la imagen no cubre todo */
}

/* Modal fullscreen sin márgenes */
.modal-fullscreen .modal-content {
    height: 100vh;
}

/* Para pantallas grandes (lg) - 5 columnas */
@media (min-width: 992px) {
    .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
    width: 20%; /* Fuerza el ancho en Firefox */
    padding-left: 0.5rem; /* Ajusta si los gutters se solapan */
    padding-right: 0.5rem;
  }
}

/* Para pantallas medianas y pequeñas (md/sm) - Bootstrap ya maneja col-md-6 y col-sm-6 */
/* Opcional: Ajustar paddings en móviles si se ven muy apretados */
@media (max-width: 991.98px) {
	.col-lg-2-4 {
	    flex: 0 0 50%;
	    max-width: 50%;
	    width: 50%; /* Fuerza el ancho en Firefox */
	    padding-left: 0.5rem; /* Ajusta si los gutters se solapan */
	    padding-right: 0.5rem;
	}

    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

@media (max-width: 768px) {
	.col-lg-2-4 {
	    flex: 0 0 100%;
	    max-width: 100%;
	    width: 100%; /* Fuerza el ancho en Firefox */
	    padding-left: 0.5rem; /* Ajusta si los gutters se solapan */
	    padding-right: 0.5rem;
	}

    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

.col-lg-2-4, .col-md-6, .col-sm-6 {
	overflow: hidden; /* Evita que el contenido desborde */
}

/* Estilos PDF */
        #pdfContainer {
            width: 100%;
            overflow: auto;
            padding: 10px;
            margin-top: 10px;
        }
        .pdf-page {
            width: 100%;
            display: block;
            margin: 0 auto;
            box-shadow: 0 0 5px rgba(0,0,0,0.1);
        }
        #pdfControls {
            margin-bottom: 15px;
            text-align: center;
        }
		
#textos {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* Asegurar que esté sobre el video */
    position: relative;
    z-index: 10;
}

/* creditos mapa highcharts */
.highcharts-credits{
	display: none;
}

/* Scroll suave SOLO en escritorio (≥ 768px) */
    @media (min-width: 768px) {
      html {
        scroll-behavior: smooth;
      }
    }
	
	@media (max-width: 767.98px) {
        html {
            scroll-behavior: auto !important;
        }
    }
	
#formularioContacto {
    height: 100%; 
    box-sizing: border-box; 
}