html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.hero-section {
  position: relative;
  height: 100vh;
  background-image: url("../images/subvenciones/kv-subvenciones_nueva.webp");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}

.seccion {
  padding: 100px 20px;
}

.texto-cabecera {
  color: white;
}

.intro-cabecera {
  font-size: 1.55rem;
  font-weight: 300;
}

.stat-card {
  /* display: flex;
    align-items: center;*/
  background: #c7ebfd;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border: none;
}
#detalleModal {
  z-index: 9999999;
}
.container-medio {
  width: 100%;
}

@media (max-width: 768px) {
  .stat-card-izq {
    margin-right: 0px;
  }

  .stat-card-dch {
    margin-left: 0px;
  }
  .gap-4-1 {
    gap: 1rem !important;
  }
  .submenu .nav-link {
    font-size: 1rem;
  }
}
.stat-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-icon i {
  color: #000096;
}
.fondo-icono {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c3ffb9;
  border-radius: 50%;
  margin-top: 10px;
}
/*.fondo-icono img {
  display: block;
  max-width: 60%;
  height: auto;
}*/
.stat-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1;
}
.stat-text {
  font-size: 1.1rem;
  margin: 0;
}
@media (max-width: 768px) {
  .stat-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .stat-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .fondo-icono {
    margin: 0 auto;
  }
}

/* CARRUSEL SUBVENCIONES */
.carousel-item img {
  width: 100%;
  height: auto;
}
.swiper {
  width: 100%;
  /*height: 520px;*/
}
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 25px;
}
.swiper-button-prev,
.swiper-button-next {
  color: #000;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}
/* Posicionamiento */
.swiper-button-next,
.swiper-button-prev {
  bottom: 20px;
  top: auto;
  transform: translateY(0);
  left: auto;
  right: 10px;
  margin: 0 5px;
}
.swiper-button-prev {
  right: 65px;
}

/* MENU SUBVENCIONES */
.submenu .nav-link {
  color: #fff;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 20px;
}

.submenu .nav-link:hover,
.submenu .nav-link.active {
  color: #fff;
}

.submenu .nav-link.active::after,
.submenu .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.submenu-subvenciones {
  background-color: #0000aa;
}

.submenu .nav-link.active {
  position: relative;
  font-weight: 600;
}

.submenu .nav-link.active::before {
  content: "› ";
  position: relative;
  left: -4px;
  /*font-size: 1.1em;*/
  /*font-weight: bold;*/
}

/*Sticky*/

.submenu-subvenciones {
  z-index: 1030;
}

.submenu-subvenciones.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--header-bottom, 127px) + 30px);
  background-color: #0000aa;
  z-index: 1030;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.txt-top {
  top: 74% !important;
}

.txt-subv {
  font-weight: 200;
  font-size: 37px;
}

.lista-con-sangria {
  padding-left: 3.5rem;
  list-style-type: disc;
}
