@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  .poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
  }

  .poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
  }

  .poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
  }

  .poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
  }

  .poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
  }

  .poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
  }

  .poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
  }

  .poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
  }

  .poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
  }

  .poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
  }

  .poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
  }

  .poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
  }

  .poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
  }

  .poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
  }

  .poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
  }

  .poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
  }

  .poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
  }

}

.navbar a {
  font-weight: 600;
  font-size: 18px;

}

.carousel-item {
  min-height: auto;

}

.carousel-caption {
  bottom: 220px;
  z-index: 2;
}

.carousel-caption h5 {
  font-size: 70px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 25px;
}

.carousel-caption p {
  width: 60%;
  margin: 10px auto;
  font-size: 18px;
}

.carousel-inner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: transparent !important;
  z-index: 2;
}

.services {
  padding: 30px 0;
}

.services2 {
  padding: 80px 200px;
}

.bg-car1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/funcionarios\ .png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-car2 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/visitantes.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-car3 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/datos.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-car4 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/personas.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-car5 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/datosusuario.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-car6 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/responsabilidad.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-car7 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/carrusel.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-car8 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/tramites.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-car9 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)), url(img/noticias.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


.box-icons i {
  font-size: 40px;

}

.box-icons h3 {
  font-size: 20px;
  font-weight: 800;
}

.product {
  padding: 0px 0;

}

.card img {
  width: 200px;
  height: 150px;
}

.card2 img {
  width: 150px;
  height: 190px;
}

/*.card3{
  width: 205px;
  height: 150px;
}*/

.banner {
  padding: 50px 0;
  margin-bottom: 0px;
  background-color: #eae5df;
}

.banner h2 {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: 800;
}

.banner img {
  width: 240px;
}


a {
  text-decoration: none;
  font-size: 17px;
}

a:hover {
  color: #0d6efd !important;
}

i {
  font-size: 25px;
}




@media(max-width: 767px) {
  .carousel-item {
    min-height: 220px;
    background: #fff;
  }

  .carousel-item img {
    height: 220px;
    width: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 8px;
    background: #fff;
    display: block;
    margin: 0 auto;
  }

  .carousel-caption {
    bottom: 30px;
  }

  .carousel-caption h5 {
    font-size: 32px;
    margin-top: 0;
  }

  .carousel-caption p {
    width: 100%;
    font-size: 14px;
  }



  .services {
    padding: 20px 0;
  }

  .services2 {
    padding: 20px 10px;
  }

  .product {
    padding: 20px 0 0 0;
  }

  .banner {
    margin-bottom: 20px;
    padding: 10px 0 10px 0;
    background-color: #eae5df;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .banner h2 {
    font-size: 18px;
    word-break: break-word;
    margin-bottom: 10px;
  }

  .banner img {
    width: 100% !important;
    max-width: 220px;
    height: auto;
    margin: 0 auto 10px auto;
    display: block;
  }



  .card img,
  .card2 img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: cover;
  }

  .box-icons i {
    font-size: 28px;
  }

  .box-icons h3 {
    font-size: 16px;
  }

  footer .col-md-3,
  footer .col-lg-3,
  footer .col-xl-3 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  footer .row {
    flex-direction: column;
    align-items: stretch;
  }

  iframe {
    height: 180px !important;
  }

  .navbar a {
    font-size: 15px;
  }

  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding-left: 10px;
    padding-right: 10px;
    height: 56px;
    min-height: 56px;
  }

  .navbar-brand {
    flex: 1;
    text-align: left;
    font-size: 18px;
    margin-bottom: 0;
    line-height: 1.2;
  }

  .navbar-toggler {
    order: 2;
    margin-left: auto;
    margin-right: 0;
    position: static;
    box-shadow: none;
    outline: none;
    z-index: 1051;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid #888;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 2px #19875444;
  }

  .navbar-collapse {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1050;
    padding: 10px 0 10px 0;
  }

  .navbar-nav {
    width: 100%;
    text-align: left;
    padding-left: 20px;
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
    font-size: 17px;
    border-bottom: 1px solid #eee;
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  /* Justificar contenido de contacto a la izquierda en móvil */
  .contacto-izquierda {
    text-align: left !important;
  }

  .card,
  .card2 {
    width: 90% !important;
    margin: 0 auto 20px auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-body .btn-success {
    display: block;
    margin: 20px auto 0 auto;
    width: 80%;
    max-width: 200px;
    text-align: center;
  }

  .card .card-body,
  .card2 .card-body {
    text-align: center !important;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  .card .card-title,
  .card .card-body p,
  .card2 .card-title,
  .card2 .card-body p {
    width: 100%;
    text-align: center !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .carousel-item {
    min-height: 320px;
    background: #fff;
  }

  .carousel-item img {
    height: 320px;
    width: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 12px;
    background: #fff;
    display: block;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .carousel-item img {
    object-fit: cover;
    object-position: center center;
    border-radius: 16px;
  }
}

/* RESPONSIVE: Ajustar todo al ancho del banner en móviles */
@media (max-width: 991.98px) {

  .container,
  .product .container,
  .services .container {
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .carousel-inner,
  .carousel-item,
  .carousel-item img {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 767.98px) {

  .card img,
  .card2 img {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}

/* MEJORAS VISUALES PARA EL ACORDEÓN */
.accordion-button {
  background: #f8fafc;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s, box-shadow 0.3s;
  border-radius: 6px;
  margin-bottom: 8px;
}

.accordion-button:not(.collapsed) {
  background: #28a745;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 2px solid #90caf9;
}

.accordion-body {
  background: #ffffff;
  color: #000000;
  border-radius: 0 0 6px 6px;
  padding: 10px;
  transition: background 0.3s;
}

.accordion-button::after {
  transition: transform 0.3s;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}