@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

:root {
  --white-color: #ffffff;
  --primary-color: #00a32b;
  --secondary-color: #FEB900;
  --section-bg-color: #f0f8ff;
  --custom-btn-bg-color: #EE5007;
  --custom-btn-bg-hover-color: #c01f27;
  --dark-color: #000000;
  --p-color: #717275;
  --border-color: #7fffd4;
  --link-hover-color: #B22727;

  --body-font-family: 'Roboto', sans-serif;

  --h1-font-size: 74px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 16px;
  --btn-font-size: 16px;
  --copyright-font-size: 16px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

body {
  background-color: var(--dark-color);
  font-family: var(--body-font-family);
}


/*---------------------------------------
    TYPOGRAPHY               
  -----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
    SECTION               
  -----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--dark-color);
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.section-overlay+.container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}

.nav-tabs {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  border-bottom: 0;
  padding: 15px;
}

.nav-tabs .nav-link {
  border-radius: var(--border-radius-large);
  border: 0;
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 15px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
  color: var(--primary-color);
  
}

.nav-tabs h5 {
  color: var(--p-color);
  margin-bottom: 0;
  text-transform: uppercase;
}

.nav-tabs .nav-link.active h5,
.nav-tabs .nav-link:focus h5,
.nav-tabs .nav-link:hover h5 {
  color: var(--primary-color);
}


/*---------------------------------------
    CUSTOM ICON COLOR               
  -----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
    CUSTOM BUTTON               
  -----------------------------------------*/
.custom-btn {
  background: var(--primary-color);
  border: 3px solid;
  border-color: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 15px 50px;
}

.custom-btn:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
    VIDEO              
  -----------------------------------------*/
.video-wrap {
  content: "";
  z-index: 1;
  opacity: .5;
  fill-opacity: 50%;
  inset: 0;
}


.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/*---------------------------------------
    SITE HEADER              
  -----------------------------------------*/
.site-header {
  background-color: var(--primary-color);
  padding-top: 12px;
  padding-bottom: 12px;
}


/*---------------------------------------
    NAVIGATION              
  -----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin-top: 51px;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--dark-color);
}

.navbar {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2.1px);
  -webkit-backdrop-filter: blur(2.1px);

  z-index: 9;
}

@media only screen and (max-width: 990px) {
  .navbar {
    background:#000000;
  }
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--white-color);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 5px;
  padding: 10px 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
    HERO        
  -----------------------------------------*/
.hero-section {
  
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  height: calc(100vh - 51px);
}


.hero-section .section-overlay {
  z-index: 2;
  opacity: 0.45;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-bottom: 50px;
}

.hero-section .container .row {
  height: 100%;
}

/*datos index*/

.datos{
  background-color: var(--white-color);
  align-items: center;
  text-align: center;
  padding-top: 5%;
}


.datos .card-item {
  border: 1px solid rgba(82, 86, 94, 0.2);
  background: #fff;
  position: relative;
  border-radius: 0;
}

.datos .card-item .card-bg {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.datos .card-item .card-body {
  text-align: left;
  padding: 30px;
}

.datos .card-item h4 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
  color: #000000;
}

.datos .card-item p {
  color: #000000;
  margin: 0;
}

/*Noticias Recientes*/
.noticias_recientes{
  background-color: var(--white-color);
  text-align: center;
  padding-top: 5%;
}
.container-card{
  
	width: 100%;
	display: flex;
	max-width: 1100px;
	margin: auto;
}
.title-cards{
	width: 100%;
	max-width: 1080px;
	margin: auto;
	padding: 20px;
	margin-top: 20px;
	text-align: center;
	color: #7a7a7a;
}
.card-noticias{
	width: 100%;
	margin: 20px;
	border-radius: 6px;
	overflow: hidden;
	background:#fff;
	box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
	transition: all 400ms ease-out;
	cursor: default;
}
.card-noticias:hover{
	box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
	transform: translateY(-3%);
}
.card-noticias img{
	width: 100%;
	height: 210px;
}
.card-noticias .contenido-card{
	padding: 15px;
	text-align: center;
}
.card-noticias .contenido-card h3{
	margin-bottom: 15px;
	color: #7a7a7a;
}
.card-noticias .contenido-card p{
	line-height: 1.8;
	color: #6a6a6a;
	font-size: 14px;
	margin-bottom: 5px;
}
.card-noticias .contenido-card a{
	display: inline-block;
	padding: 10px;
	margin-top: 10px;
	text-decoration: none;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
	border-radius: 4px;
	transition: all 400ms ease;
	margin-bottom: 5px;
}
.card-noticias .contenido-card a:hover{
	background: var(--primary-color);
	color: #fff;
}
@media only screen and (min-width:260px) and (max-width:768px){
	.container-card{
		flex-wrap: wrap;
	}
	.card-noticias{
		margin: 15px;
	}
}

/*Obras */











/*Mapa*/
.mapa{
  padding: 5%;
  background-color: var(--white-color);
  text-align: center;
}
.mapa .card-mapa {
  width: 100%;
  height: auto;
  margin-top: 20px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 5px;
}



/*Footer*/
footer {
  background: #101010;
  padding: 40px 0;
}

.single-box {
  text-align: center;
  margin-bottom: 30px;
}

.logo-footer {
  max-width: 150px;
  border-radius: 50%;
}

.single-box h2 {
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.single-box p {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.single-box ul {
  list-style: none;
  padding: 0;
}

.single-box ul li a {
  text-decoration: none;
  color: #fff;
  line-height: 2;
  font-weight: 100;
}

.social a,
a:hover {
  color: var(--secondary-color);
}

.copyright {
  text-align: center;
  color: var(--white-color);
  margin-top: 20px;
}

.copyright p {
  color: var(--white-color);
}

.copyright a {
  color: var(--secondary-color);
}

@media (max-width: 767px) {
    .links {
        display: none;
    }
}
@media (min-width: 768px) {
  .single-box {
      text-align: left;
  }
 
}




/*404 PAGE*/

.page_404
{
    padding: 40px 30%;
    background: #fff;
    font-family: var(--body-font-family);
}

.page_404 img
{
    width: 90%;
}

.four_zero_four_bg
{
    background: url('../img/404.gif');
    height: 400px;
    background-position: center !important;
}

.h1
{
    font-size: 80px;
}

.h3
{
    font-size: 80px;
}

.btn_404
{
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background: #39ac31;
    display: inline-block;
    border-radius: 50px;
}

.content_box_404
{
    margin-top: -50px;
}
.btn_404:hover
{
    text-decoration: none;
    color: #fff;
}







/*Modal Avisos*/
.modal.fade .modal-dialog {
  transform: translateY(-100%);
  transition: transform 0.5s ease-out;
}

.modal.fade.show .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
  padding-bottom: 50px;
}

.modal-body img {
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

 
/* Cambiar el color del botón principal */
.btn-primary {
background-color: #2E86C1;
border-color: #2E86C1;
}

/* Cambiar la tipografía del título del modal */
.modal-title {
font-size: 2.5rem;
}
.modal-header{
text-align: center;
}

/* Añadir bordes redondeados al modal */
.modal-content {
border-radius: 30px;
}

/* Cambiar el color de fondo del modal */
.modal-content {
background-color: #d0d2d3;
}

/* Agregar sombra al modal */
.modal-content {
box-shadow: 0px 0px 50px 10px rgba(0,0,0,0.5);
}

/* Cambiar la tipografía del texto del modal */
.modal-body p {
font-family: 'Open Sans', sans-serif;
font-size: 1.1rem;
}

/* Centrar la imagen en el modal */
.modal-body img {
display: block;
margin: 0 auto;
}

/* Cambiar el color de los indicadores */
.carousel-indicators button {
background-color: #0000;
border-color: #00000000;
}



/* Personalizar los botones de control */
.carousel-control-prev,
.carousel-control-next {
padding: auto;
margin: auto;
width: 50px;
height: 50px;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 50%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
background-color: rgba(0, 0, 0, 1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
color: #fff;
}






/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 140px 0 60px 0;
  min-height: 30vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.breadcrumbs:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.breadcrumbs h2 {
  font-size: 56px;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-secondary);
  text-transform: capitalize;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
}

.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

.breadcrumbs ol a:hover {
  text-decoration: underline;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #fff;
  content: "/";
 
}

.breadcrumbs li{
  color: #fff;
  text-transform: capitalize
}






/* Boton arriba */
#boton-arriba {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%; 
}


/* About cards */
.about{
  background-color: var(--white-color);
}
.cards-about {
  
justify-content: center;
  
}

.card-about {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease-in-out;

}

.card:hover {
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.card i {
  background-color: var(--primary-color);
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  height: 60px;
  line-height: 60px;
  position: relative;
  text-align: center;
  top: -15px;
  transition: all 0.3s ease-in-out;
  width: 60px;
}

.card:hover i {
  background-color: var(--secondary-color);
  transform: rotate(360deg);
}

.card p{
padding: 5px;
}

.card h4 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.btn-hover {
  color: var(--white-color);
  background-color: var(--primary-color);
  font-weight: 100;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn-hover:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background-color: var(--primary-color);
  height: 4px;
  transition-property: right;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}
.btn-hover:hover{
  color: var(--white-color);
  background-color: var(--secondary-color);
}

/* Eventos */
.eventos{
  background-color: var(--white-color);
}
.container-eventos {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.item-container {
  position: relative;
  margin: 24px;
  width: 320px;
  height: 470px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 0 30px 5px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.img-container,
.body-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-container img {
  width: 100%;
}

.body-container {
  position: relative;
}

.overlay {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: rgba(72, 167, 76, 0.6);
  opacity: 0;
  transition: height linear 0.4s, opacity linear 0.2s;
}

.item-container:hover .overlay {
  opacity: 1;
  height: 150px;
}

.event-info {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3px;
}

.title{
  color: var(--primary-color);
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 1px;
  
}

.info {
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.separator {
  width: 20%;
  height: 6px;
  background-color: var(--secondary-color);
  margin-bottom: 16px;
}

.additional-info {
  border-top: 1px solid #bbb;
  margin-top: 12px;
  padding: 28px;
  padding-bottom: 0;
}

.additional-info .info {
  font-size: 0.9em;
  margin-bottom: 20px;
  text-align: center;
}

.info i {
  color: var(--primary-color);
  font-size: 1.1em;
  margin-right: 4px;
}

.info span {
  color: var(--primary-color);
  font-weight: bolder;
}

.action {
  color: #fff;
  border: 3px solid #fff;
  background-color: transparent;
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  outline: none;
  cursor: pointer;
  padding: 12px;
  text-transform: uppercase;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 2px;
  transition: background-color 0.4s, top 0.4s;
}

.item-container:hover .action {
  top: 50px;
}

.action:hover {
  background-color: rgba(255, 255, 255, 0.2);
}


/* Blog */
/* Estilos para la sección de blog */
.blog {
  padding: 80px 0;
  background-color: var(--white-color);
  }
  
  /* Estilos para el contenedor */
  .blog .container {
  position: relative;
  z-index: 2;
  }
  
  /* Estilos para la imagen */
  .blog .post-img {
  position: relative;
  overflow: hidden;
  }
  
  .blog .post-img img {
  transition: transform 0.3s ease-in-out;
  width: 100%;
  }
  
  .blog .post-item:hover .post-img img {
  transform: scale(1.1);
  }
  
  /* Estilos para la fecha */
  .blog .post-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  }
  
  /* Estilos para el contenido */
  .blog .post-content {
  background-color: #fff;
  padding: 30px;
  position: relative;
  z-index: 1;
  }
  
  .blog .post-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  }
  
  .blog .meta {
  margin-bottom: 15px;
  }
  
  .blog .meta i {
  font-size: 16px;
  margin-right: 5px;
  }
  
  .blog .meta span {
  font-size: 14px;
  }
  
  .blog p {
  margin-bottom: 15px;
  }
  
  .blog hr {
  margin: 20px 0;
  border: 1px solid #eee;
  }
  
  /* Estilos para el botón de leer más */
  .blog .readmore {
  display: inline-block;
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--white-color);
  transition: color 0.3s ease-in-out;
  }
  
  .blog .readmore:hover {
  color: var(--white-color);
  }
  
  /* Estilos para la paginación */
  .blog-pagination {
  margin-top: 30px;
  }
  
  .blog-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  }
  
  .blog-pagination li {
  margin-right: 5px;
  }
  
  .blog-pagination a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #eee;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease-in-out;
  }
  
  .blog-pagination a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  }
  
  .blog-pagination .active a {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  }
  

  /* Noticias */

  .news {
    padding: 80px 0;
    background-color: var(--white-color);
  }

  .container-news {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10%;
  }
  
  
  .news .section-title {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .news .section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .news-item-wrapper {
    max-width: 300px;
  }
  
  .news-item {
    background-color: #fff;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: auto;
  }
  
  .news-item .news-img {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
  }
  
  .news-item .news-img img {
    width: 100%;
    height: 200px; /* Aquí puedes ajustar la altura que desees */
    object-fit: cover; 
    transition: transform 0.2s ease-in-out;
  }
  
  .news .news-item:hover .news-img img {
    transform: scale(1.1);
  }
  
  .news-item .news-content {
    padding: 30px;
  }
  
  .news-item .news-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    transition: color 0.2s ease-in-out;
    margin-top: -110px;
  }
  .news-item .news-content:hover {
    color: var(--primary-color);
  }
  
  
  .news-item .news-content p {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
    line-height: 24px;
  }
  
  .news-item .news-content .meta i {
    margin-right: 5px;
    color: var(--primary-color);
  }
  
  .news-item .news-content .meta .date {
    font-size: 14px;
    color: #777;
    margin-right: 20px;
  }
  
  .news-item .news-content .meta .author {
    font-size: 14px;
    color: #777;
  }
  
  .news-item .btn_noticias {
    margin-top: 10px;
  }
  
  @media (min-width: 320px) {
    
    .col-lg-4 {
      max-width: 300px;
      margin: 0 auto;
    }
  }
  
  /* @media only screen and (max-width: 600px) {
    .container-news{
      margin: auto;
      
      display: flex;
      justify-content: center;
      align-items: center;
    }
  } */
  /* .news-item .readmore .btn {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: #f82249;
    border-radius: 50px;
    padding: 12px 35px;
    transition: all 0.2s ease-in-out;
  }
  
  .news-item .readmore .btn:hover {
    background-color: #eb2049;
    color: #fff;
  } */
  
  /* Transparencia */
  .transparency {
    background-color: #f9f9f9;
    padding: 80px 0;
  }
  
  .transparency .section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .transparency .section-description {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .transparency .icon-box {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease-in-out;
  }
  
  .transparency .icon-box:hover {
    transform: translateY(-10px);
  }

  .transparency .icon-box a:hover {
    color: var(--secondary-color);
  }
  
  .transparency .icon-box .icon {
    background-color: #4b4b4b;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    height: 64px;
    width: 64px;
    margin-bottom: 20px;
  }
  
  .transparency .icon-box h4 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .transparency .icon-box p {
    font-size: 16px;
    line-height: 24px;
  }

  /* Detalle blog */

  .detalle-blog{
    padding: 30px;
    background-color: var(--white-color);
  }
  

/* Botón de WhatsApp */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 15px;
  right: 16px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.float:hover {
  text-decoration: none;
  color: #fff;
  background-color: var(--secondary-color);
}

.whatsapp-button .my-float {
  color: var(--white-color);
  font-size: 24px;
  }

@keyframes pulse {
  0% {
    transform: scale(1, 1);
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.pulse {
  animation-name: pulse;
  animation-duration: 1.2s;
  animation-iteration-count: 4;
  animation-timing-function: ease;
}

/* Barra de navegación inferior */
.nav-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  height: auto;
  position: fixed;
  z-index: 8;
  bottom: 0;
  right: 0;
  padding: 5px;
  margin: 0;
}

@media (max-width: 200px) {
  .nav-bottom {
    width: 320px;
  }
}

/* Botón de WhatsApp flotante */
.whatsapp-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  z-index: 8;
  transition: .3s;
  margin: 10px;
  padding: 7px;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: 1px 1px 6px 0px rgba(68, 68, 68, 0.705);
}

.circle-anime {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 50%;
  transition: .3s;
  background-color: var(--primary-color);
  animation: pulse 1.2s 4s ease 4;
}

/* Popup de WhatsApp */
.popup-whatsapp {
  
  display: none;
  position: fixed;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  height: auto;
  padding: 10px;
  bottom: 85px;
  right: 6px;
  transition: .5s;
  border-radius: 10px;
  background-color: var(--white-color);
  box-shadow: 2px 1px 6px 0px rgba(68, 68, 68, 0.705);
  animation: slideInRight .6s 0s both;
}


.popup-whatsapp .content-whatsapp {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 15px;
}

.popup-whatsapp .content-whatsapp.-bottom {
  border-top: 1px solid #e5e5e5;
}

.popup-whatsapp .whats-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 10px;
}

.popup-whatsapp  .whats-img {
  margin-right: 10px;
}
.popup-whatsapp .whats-img img {
  border-radius: 50%;
}
.popup-whatsapp .whats-text span:first-child{
  background-color: #eff4fd;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--dark-color);
}


.popup-whatsapp .closePopup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  }
.popup-whatsapp .closePopup:hover {
  background-color: var(--primary-color);
  transition: .3s;
}
.popup-whatsapp .content-whatsapp.-bottom .send-msPopup {
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  }


.popup-whatsapp .send-msPopup:hover {
  background-color: #f8f8f8;
  transition: .3s;
}

.is-active-whatsapp-popup {
  display: flex;
  animation: slideInRight .6s 0.0s both;
 
}

input.whats-input[type=text] {
  width: 250px;
  height: 40px;
  box-sizing: border-box;
  border: 0px solid #c8c5c5;
  border-radius: 20px;
  font-size: 1em;
  background-color: #c8c5c5;
  padding: 0px 0px 0px 10px;
  -webkit-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
  outline: none;
  transition: .3s;
}
@media (max-width: 220px) {
  input.whats-input[type=text] {
    width: 225px;
  }
}
input.whats-input::placeholder {
  /* Most modern browsers support this now. */
  color: rgba(68, 68, 68, 0.705);
  opacity: 1;
}

input.whats-input[type=text]:focus {
  background-color: #c8c5c5;
  -webkit-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
  transition: .3s;
}

.popup-whatsapp .titulo-whatsaap {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--dark-color);
  margin-left: 10px;
}

.titulo_details {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}


/* Tramites menu */
main.tramites {
  display: flex;
  padding: 32px;
}

main.tramites section.card {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  max-height: 468px;
  margin-left: 32px;
}

main.tramites section.card:first-child {
  margin-left: 0;
}

main.tramites section.card .icon {
  width: 64px;
  height: 64px;
}

main.tramites section.card img {
  width: 100%;
}

main.tramites section.card h3 {
  font-size: 100%;
  margin: 16px 0;
}

main.tramites section.card span {
  font-weight: 300;
  max-width: 240px;
  font-size: 80%;
  margin-bottom: 16px;
}

main.tramites section.card a {
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  border-radius: 32px;
  border: 0;
  cursor: pointer;
  font-size: 80%;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px 0;
  background: var(--primary-color);
  margin-top: auto;
  border-bottom: 2px solid #ccc !important;
}
main.tramites section.card:hover a {
  background-color: var(--secondary-color);
 
}



@media screen and (max-width: 720px) {
  main.tramites {
    flex-direction: column;
    align-items: center; /* Agregar para centrar elementos en dispositivos móviles */
    padding: 16px; /* Modificar el espaciado en dispositivos móviles */
  }

  main.tramites section.card {
    width: 90%;
    margin-left: 0;
    margin-bottom: 16px; /* Modificar el espaciado en dispositivos móviles */
  }

  main.tramites section.card a {
    font-size: 70%;
    margin-bottom: 16px; /* Modificar el espaciado en dispositivos móviles */
  }

  .tramites-card {
    gap: 16px; /* Modificar el espaciado entre tarjetas en dispositivos móviles */
  }

  .card-tramite {
    width: calc(50% - 16px); /* Ajustar el ancho de las tarjetas en dispositivos móviles */
    margin-bottom: 16px; /* Modificar el espaciado entre tarjetas en dispositivos móviles */
  }

  .h2-tramite {
    font-size: 18px; /* Modificar el tamaño de fuente en dispositivos móviles */
  }

  hr {
    margin: 16px 0; /* Modificar el espaciado del elemento hr en dispositivos móviles */
  }

  .card__button {
    margin-bottom: 16px; /* Modificar el espaciado del botón en dispositivos móviles */
  }
}


/* Tramites */
.tramites{
  padding: 10px;
  background-color: var(--white-color);
}

.tramites-card{
  width: 100%;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.card-tramite{
  width: 310px;
  padding: 20px;
  box-shadow: 1px 1px 5px rgb(201, 201, 201);
  border: solid rgba(3, 133, 255, 0) 2px;
  border-radius: 10px;
}
.card-tramite:hover{
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}
.h2-tramite{
  text-align: center;
  font-size: 20px;
}

.card-tramite:hover i{
  transform: rotate(0);
}
.card-tramite i{
  font-size: 3rem;
  transform: rotate(-30deg);
  transition: all .3s;
}
.card__nombre{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
hr{
  width: 100%;
  height: 4px;
  margin: 20px 5px;
}
.card__button{
  text-align: center;
  
}
.enlace{
  background: var(--primary-color) ;
  padding: 8px 20px;
  color: white;
  text-decoration: none;
  margin-top: auto !important;
  border-bottom: 2px solid #ccc !important;
}
.enlace:hover{
  background-color: var(--secondary-color);
  color: var(--white-color);
}










