/*
Theme Name: Sistema de Diseño Dominicano Version 2
Author: OGTIC
Description: Plantilla para instituciones gubernamentales de RD
Version: 2.0
License: MIT
*/
/* Reset default styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&display=swap");

h1,
h2,
h3,
h4 {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}

body {
  font-variant-numeric: "IBM Plex Mono", monospace;
}

p,
span {
  font-family: "Inter", sans-serif;
  /* por ejemplo, títulos más pesados */
}

.pd-l-none {
  padding-left: 0px !important;
}

.toggle-buttons {
  background: linear-gradient(90deg, #007bff, #00aaff);
  border-radius: 50px;
  padding: 4px;
  display: inline-flex;
  gap: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-filtro {
  border: none;
  background: transparent;
  color: #ffffffcc;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-filtro i {
  font-size: 1rem;
}

.btn-filtro.active {
  background-color: #fff;
  color: #0056d2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-filtro:hover {

  opacity: 0.9;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 576px) {
  .btn-filtro {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}


.service-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 500px;
  background-color: #fff;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card .card-img {
  height: 335px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card .overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  height: 100%;
}

.service-card .badge {
  font-size: 0.85rem;
}

.service-card .text-primary {
  color: #1a56db !important; /* azul tipo institucional */
}


.pill{
    display: inline-block;
      background-color: #fff;

  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.675rem;

  font-weight: 600;
  margin-bottom: 10px;
}


.pill-muted{
  background-color: #ffff;
  color: #75939B;
  border: 1px solid #E2E9EB;
}
.text-heading {
  color: #0061e0;

  font-weight: 600;
  font-size: 32px;
}

.acordion-numero {
  font-size: 48;
}

.text-subheading {
  color: #43545b;
  font-weight: 600;
  font-size: 24px;
}

.text-body-muted {
  color: #75939b;
  font-weight: 600;
  font-size: 14px;
}

.text-body-standard {
  color: #4d646d;
  font-size: 20px;
  font-weight: 600;
}

.text-content-heading {
  color: #0061e0;
  font-weight: 600;
  font-size: 20px;
}

.text-action-link {
  color: #0061e0;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;

}

.Text-Action-OnPrimary {
  color: #fff;
  font-weight: 700;
  align-items: center;
  display: flex;
  text-align: center;
  justify-content: center;
}


.Surface-Action-Primary {
  width: 390px;
  height: 60px;
  border-radius: 8px;
  background-color: #0061e0;
  color: #ffffff;
}

.card-img-overlay-custom {
  /* Usar posicionamiento absoluto y bottom/left/right/top: 0 para cubrir la imagen */
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  /* Cubrir toda la imagen */

  /* Añadir un degradado para oscurecer la parte inferior y mejorar la lectura del texto */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0) 100%);

  /* Usar flexbox para posicionar el contenido (texto y píldora) en la parte inferior */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  /* Relleno alrededor del contenido */
}



.card-title-custom {
  color: white;
  font-size: 1.5rem;
  /* Ajustar el tamaño del texto */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.pill-tag {
  background-color: transparent;
  /* Fondo transparente */
  color: white;
  border: 1px solid white;
  /* Borde blanco como en la imagen */
  border-radius: 50rem;
  /* Borde muy redondeado */
  padding: 0.25rem 0.75rem;
  /* Relleno */
  font-size: 0.75rem;
  /* Tamaño de fuente más pequeño */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  /* Para que solo ocupe el espacio necesario */
  margin-bottom: 0.75rem;
  /* Separación del título */
}

.card-custom {
  cursor: pointer;
  /* Asegura que la tarjeta tenga una posición relativa para que la superposición sea absoluta a ella */
  position: relative;
  overflow: hidden;
  /* Ocultar cualquier contenido que se salga, útil para bordes redondeados */
  border-radius: 10px;
  /* Bordes redondeados */
  max-width: 350px;
  /* Limitar el ancho de la tarjeta para el ejemplo */
}

.card-img-top-custom {
  /* Asegurar que la imagen cubra el espacio y mantenga la relación de aspecto */
  width: 100%;
  height: auto;
  display: block;
}

.custom-content {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  /* adjust as needed */
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  /* text color */
}

.btn-filtro-proyectos.active {

  /* Fondo con Degradado Azul */
  background: linear-gradient(150deg, #007bff 0%, #00bfff 100%);
  /* Degradado de azul oscuro a azul claro */

  /* Forma y Tamaño */
  padding: 5px 15px;
  /* Relleno grande para que sea prominente */
  border-radius: 50px;
  /* Bordes muy redondeados (el 'pill shape') */
  border: none;
  /* Quitar el borde predeterminado */
  cursor: pointer;
  /* Indicar que es interactivo */

  /* Sombra (para darle un poco de profundidad, como se ve en la imagen) */
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
  /* Sombra suave azul */

  /* Tipografía */
  color: white;
  /* Color del texto */

  font-weight: 600;
  /* Semi-negrita */

  /* Distribución del contenido (para el ícono y el texto) */

  align-items: center;
  /* Alinear verticalmente el ícono y el texto */
  text-decoration: none;
  /* Para usar con <a> */
  white-space: nowrap;
  /* Evita que el texto se divida en varias líneas */
}

.btn-filtro-proyectos:hover {
  /* Ligeros cambios al pasar el mouse */
  background: linear-gradient(90deg, #00bfff 0%, #007bff 100%);
  /* Cambiar la dirección o color del degradado */
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.6);
  /* Sombra más fuerte */
  transform: translateY(-2px);
  /* Elevarlo ligeramente */
  transition: all 0.3s ease;
  /* Transición suave para todos los cambios */
  color: white;
}


.gradiente {

  background: -webkit-linear-gradient(#0A2F61, #006FFF, #7DDEFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.texto-gradiente-naranja {
  background-image: linear-gradient(to right, #FA6800, #FF830A, #FFDEA5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;


}

.servicios-slider-section {
  background-color: rgba(212, 242, 255, 0.30)
}

.encabezado {
  background-color: #f0f0f0;
  color: #333;
  padding: 20px;
  font-size: 16px;
  border-bottom: 2px solid #ccc;
  color: black;
  font-weight: bold;
  text-align: center;
}

.buscador-top-integrado {
  border: 1px solid #b1b8be;
  border-radius: 100px;
  background-color: #fff;
  margin: 12px;
}

.buscador-input {
  flex: 1;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 0;
  outline: none;
  color: #000;
  min-width: 0;
  /* Important for flex shrink in small viewports */
}

.buscador-input::placeholder {
  color: #b1b8be;
  font-weight: 100;
}

.buscador-btn {
  background-color: #ff0000;
  border: none;
  padding: 11px 11px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px 100px 100px 100px;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.buscador-btn:hover {
  background-color: #c00000;
}

.buscador-btn i {
  font-size: 1.2rem;
}

@media (max-width: 700px) {}

.slide-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background with gradient and stars */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #003876 0%, #003876 50%, #003876 100%);
  z-index: -2;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
    radial-gradient(1px 1px at 130px 80px,
      rgba(255, 255, 255, 0.6),
      transparent),
    radial-gradient(2px 2px at 160px 30px, #ffffff, transparent),
    radial-gradient(1px 1px at 200px 90px,
      rgba(255, 255, 255, 0.8),
      transparent),
    radial-gradient(2px 2px at 250px 50px, #ffffff, transparent),
    radial-gradient(1px 1px at 300px 20px,
      rgba(255, 255, 255, 0.6),
      transparent),
    radial-gradient(2px 2px at 350px 80px, #ffffff, transparent),
    radial-gradient(1px 1px at 400px 40px,
      rgba(255, 255, 255, 0.8),
      transparent);
  background-repeat: repeat;
  background-size: 450px 200px;
  animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

/* Navigation arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-left {
  left: 30px;
}

.nav-right {
  right: 30px;
}

/* Main content */
.content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  height: 80%;
  z-index: 5;
}

.left-content {
  flex: 1;
  padding-right: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.right-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.logo-text {
  color: white;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo-arrow {
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 15px solid #f59e0b;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* Main text */
.main-text {
  margin-bottom: 40px;
}

.main-text h1 {
  color: white;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 500px;
}

/* CTA Button */
.cta-button button {
  background: #f97316;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button button:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

/* Image container */
.image-container {
  width: 100%;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  position: relative;
}

.image-container:hover {
  transform: scale(1.02);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Social media */
.social-media {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.instagram {
  background: linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
}

.social-icon.twitter {
  background: #1da1f2;
}

.social-icon.linkedin {
  background: #0077b5;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-handles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-handles span {
  color: white;
  font-size: 12px;
  opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .left-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .main-text h1 {
    font-size: 36px;
  }

  .image-container {
    height: 250px;
    width: 90%;
  }

  .nav-arrow {
    display: none;
  }

  .social-media {
    bottom: 15px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #003876;
  margin: 0;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3c82f6;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: #1d4ed8;
  transform: translateX(4px);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.view-all-link:hover .arrow-icon {
  transform: translateX(2px);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

/* Service Card */
.service-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
} */

.card-border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: #083876;
  border-radius: 4px 0 0 4px;
}

.card-content {
  padding: 10px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Service Icon */
.service-icon {
  flex-shrink: 0;
  width: 50;
  height: 50;
  background: #f0f9ff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 30px;
}

.service-card:hover .service-icon {
  background: #e0f2fe;
  transform: scale(1.05);
}

/* Service Info */
.service-info {
  flex: 1;
}

.service-title {
  font-size: 17px;
  font-weight: 600;
  color: #003876;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-description {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #003876;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #1d4ed8;
  transform: translateX(2px);
}

.link-arrow {
  transition: transform 0.3s ease;
}

.service-link:hover .link-arrow {
  transform: translateX(2px);
}

/* Navigation Arrows */
.navigation-arrows {
  position: absolute;
  right: 24px;
  bottom: 0;
  display: flex;
  gap: 12px;
}

/* Prensa y Actualidad */
.prensa-actualidad {
  padding: 100px;
}

/* Estadisticas */


.left-box {
  background-color: #eaeaea;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.with-border {
  border-right: 1px solid #ddd;
}

.with-border:last-child {
  border-right: none;
}

.stats span {
  font-size: 2.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.95rem;
  color: #555;
}

.green {
  color: #1ac047;
}

.blue {
  color: #0096ff;
}

.orange {
  color: #f48c06;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.nav-arrow:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nav-arrow:active {
  transform: translateY(0);
}

.iconos {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #003876;
  font-size: 30px;
  padding: 10px 0;
}

/* formularios */

.mensaje-error {
  background: #ffecec;
  border: 1px solid #f5a9a9;
  color: #a94442;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.mensaje-exito {
  background: #e8f6ff;
  border: 1px solid #a6d4ff;
  color: #004099;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.required {
  color: red;
}

.formulario-gob {
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  color: #1a1a1a;
}

.formulario-gob .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}

.formulario-gob .campo.col-6 {
  grid-column: span 2;
}

.formulario-gob label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.formulario-gob .required {
  color: red;
  margin-left: 4px;
}

.formulario-gob input[type="text"],
.formulario-gob input[type="email"],
.formulario-gob textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border 0.2s ease;
}

.formulario-gob input[type="text"]:focus,
.formulario-gob input[type="email"]:focus,
.formulario-gob textarea:focus {
  border-color: #002b69;
}

.formulario-gob textarea {
  min-height: 100px;
}

.formulario-gob .opciones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.formulario-gob .radio-label,
.formulario-gob .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.formulario-gob .btn-enviar {
  background: #002b69;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 30px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}

.formulario-gob .btn-enviar:hover {
  background: #0041a5;
}

.form-footer {
  margin-top: 20px;
  text-align: right;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .formulario-gob .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .formularios {
    padding: 0px 20px;
  }

  .formulario-gob .campo.col-2 {
    grid-column: span 1;
  }

  .form-footer {
    text-align: center;
  }

  .formulario-gob .btn-enviar {
    width: 100%;
    max-width: 300px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .navigation-arrows {
    position: static;
    justify-content: center;
    margin-top: 32px;
  }
}

@media (max-width: 768px) {
  .formularios {
    padding: 0px 20px;
  }

  .servicios-section {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .card-content {
    padding: 24px;
    flex-direction: column;
    text-align: center;
  }

  .service-icon {
    align-self: center;
  }

  .service-title {
    font-size: 18px;
  }

  .navigation-arrows {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .card-content {
    padding: 20px;
  }

  .service-icon {
    width: 64px;
    height: 64px;
  }

  .service-icon svg {
    width: 36px;
    height: 36px;
  }

  .service-title {
    font-size: 16px;
  }

  .service-description {
    font-size: 13px;
  }
}

.news-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #1e3a8a;
  color: white;
  padding: 5px 12px;
  font-size: 0.9rem;
  border-radius: 5px;
}

.news-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgb(0 56 118/0.8);
  color: white;
  padding: 20px;
}

.news-overlay h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.ver-todas {
  text-align: end;
  margin-bottom: 1rem;
}

/* transparencia */

.title-section-transparencia {
  margin-bottom: 5.625rem;
  font-family: poppins;
  display: flex;
  align-items: center;

  max-height: 9rem;
  height: 9rem;
  background-color: rgb(239 247 255);
}

.title-section-transparencia nav {
  border: none;
  background-color: rgb(239 247 255);
}

.title-section {
  margin-bottom: 2.625rem;
  font-family: poppins;
  display: flex;
  align-items: center;

  max-height: 9rem;
  height: 9rem;
  background-color: rgb(239 247 255);
}

.title-section nav {
  border: none;
  background-color: rgb(239 247 255);
}

.title-section-breadcrumbs {
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 1.625rem;
  font-family: poppins;
  display: flex;
  align-items: center;
  background-color: #2a63bc;

  height: auto;
}

.breadcrumbs .breadcrumb-current {
  display: block;
  /* fuerza salto de línea */
  margin-top: 5px;
  /* opcional: espacio antes del título */
  font-weight: bold;
  /* opcional: destacar título */
}

.title-section-breadcrumbs nav {
  height: auto;
  border: none;
  background-color: #2a63bc;
}

.breadcrumbs {
  font-size: 0.875rem;
  color: #ffff;
}

.breadcrumbs a {
  padding-right: 0.625rem;
  padding-left: 1.325rem;
  font-size: 1.125rem;
  color: #ffff;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  color: aliceblue;
}

.breadcrumbs span {
  padding-left: 1.25rem;
  font-size: 2.25rem;
  font-weight: bold;
}

.transparencia-container {
  padding-left: 0px;
  margin: auto;
}

.page-content {
  max-width: 75rem;
  width: 100%;
  /* margin-left: 4vh; */
  top: -20vh;
  color: #000;
  font-family: poppins;
  font-size: 1.25rem;
  line-height: 1.875rem;
  padding-bottom: 10%;
}

.archivos-relacionacionados {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-family: poppins;
  display: flex;
  color: #003876;
  font-weight: bold;
}

.archivo-card {
  border: 1px solid #ddd;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0.375rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-family: poppins;
  background: #fff;
  gap: 1rem;
}

.archivo-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.archivo-icon {
  min-width: 3.125rem;
  height: 3.125rem;
  flex-shrink: 0;
}

.archivo-meta {
  display: flex;
  flex-direction: column;
}

.archivo-title {
  font-weight: bold;
  font-size: 1rem;
}

.archivo-fecha {
  font-size: 0.875rem;
  color: #555;
}

.archivo-desc {
  font-size: 0.875rem;
  color: #444;
  margin-top: 0.25rem;
}

.archivo-descargar {
  display: flex;
  align-items: center;
}

.btn-descargar {
  border: 1px solid red;
  color: red;
  padding: 0.375rem 1.25rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-descargar:hover {
  background-color: red;
  color: white;
}

.folder-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.folder-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 0.375rem;
  padding: 1.5625rem;
  width: 45%;
  text-decoration: none;
  color: #111;
  transition: box-shadow 0.2s ease;
  background-color: #fff;
}

.folder-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.folder-icon {
  font-size: 2rem;

  margin-bottom: 0.5rem;
}

.folder-title {
  font-weight: 500;
  font-size: 1rem;
}

.folder-meta {
  font-size: 0.875rem;
  color: #333;
}

/* menu lateral */

.menu-lateral {
  position: relative;
  margin-top: -5.0625rem;
  background-color: #fff;
  padding: 1.875rem;
  font-family: poppins;
}

#menu-menu-transparencia {
  padding: 0;
}

.menu-transparencia-container ul {
  padding-left: 0px;
}

#mainMenu {
  padding-left: 0px;
}

#menu-transparencia {
  padding-left: 0px;
}

#menu-transparencia .ul .li {
  padding-left: 0px;
}

#side-menu {
  padding-left: 0px;
}

.menu-lateral li {
  padding: 0.5rem;
}

.transparencia-container {
  padding-left: 0px;
  margin: auto;
}

.menu-lateral li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: block;
}

.menu-lateral li a:hover {
  color: #007bff;
  background-color: #ffffff;
}

.menu-lateral {
  list-style: none;
}

.menu-item-has-children>a::after {
  content: "\F282";
  /* Código del ícono caret-down-fill */
  font-family: "bootstrap-icons";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  margin-left: 0.5em;
}

.current-menu-item {
  color: #2da549;
  font-weight: bold;
}

.menu-lateral>li {
  padding: 0.625rem 0.625rem 0.625rem;
  border-bottom: 0.125rem solid #ddd;
  font-weight: bold;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
}

.menu-lateral>li a {
  text-decoration: none;
  color: #000;
  font-size: 1.125rem;
  font-weight: 100;
}

.menu-lateral>li:hover a {
  color: #1a237e;
  /* Azul oscuro */
}

.menu-lateral>li .active>a {
  color: #2da549;
  font-weight: bold;
}

.menu-lateral>li .submenu-icon {
  font-size: 1rem;
  transition: transform 0.3s ease-in-out;
}

.menu-lateral>li.active .submenu-icon {
  transform: rotate(180deg);
}

/* SubmenÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âº */
.menu-lateral .sub-menu {
  list-style: none;
  padding: 0.125rem;
  margin: 0.375rem 0.3125rem 0.25rem 0.625rem;
  display: none;
}

.menu-lateral .sub-menu li {
  padding: 0.875rem;
  font-size: 1rem;
  margin: 0.125rem;
}

.menu-lateral .sub-menu li a {
  /* color: #909090; */
  /* Verde */
  text-decoration: none;
  margin: -0.9375rem;
  font-size: 1rem;
  padding: 1.25rem 0rem;
}

.menu-lateral .sub-menu li a:hover {
  color: #3b82f6;
}

.menu-lateral>li.active .sub-menu {
  display: block;
}

/* single-servicio */

.main-contenedor {
  margin: 48px 10%;
  display: flex;
}

.icon {
  border: none;
  background-color: none;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.aside {
  flex: 0.8;
  border-right: 1px solid gray;
}

.comunicacion {
  flex: 2;
  margin-left: 30px;
}

.iconos {
  display: flex;
  border: solid gray 1px;
  border-left: none;
  border-right: none;
  padding: 5px;
  margin-bottom: 20px;
}

.iconos i {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #003865;
  font-size: 25px;
}

.iconos a {
  text-decoration: none;
}

.ulist {
  width: 90%;
  margin: 0 20px;
  list-style: none;
  padding: 0;
}

.ulist li,
.ulist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ulist a {
  text-decoration: none;
  color: black;
}

.ulist button {
  width: 100%;
  font-size: 20px;
  padding: 8px 20px;
  padding-left: 0;
  margin: 15px;
  background: white;
  text-align: left;
  cursor: pointer;
  border: none;
  transition: 0.04s;
}

.ulist button:hover {
  background-color: rgba(153, 198, 240, 0.2);
  transition: 0.3s;
}

.ulist button:focus {
  background: rgba(153, 198, 240, 0.2);
  border-right: solid 4px #003865;
}

.ulist button+ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.ulist button:focus+ul {
  max-height: 1400px;
  transition: max-height 1s;
}

.ulist li ul li a {
  display: block;
  font-size: 22px;
  padding: 16px;
  color: dimgray;
  background-color: rgb(255, 255, 255);
  text-decoration: none;
}

.ulist li ul li a:hover {
  background-color: rgba(153, 198, 240, 0.2);
  color: #003865;
}

.ulist i {
  margin: 0 8px;
}

.contenido-principal-servicio {
  font-family: poppins;
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

/* archive-noticias */

.post-content {
  font-family: "Poppins", sans-serif;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.news-grid-wrapper-archive {
  max-width: 1400px;
  margin: auto;
  padding: 20px;
}

.search-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  gap: 10px;
}

.search-bar input {
  padding: 7px 15px;
  border-radius: 20px;
  border: 1px solid #acb5bd;
  width: 240px;
}

.search-bar button {
  padding: 10px 15px;
  border-radius: 20px;
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
}

.news-grid-archive {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 20px;
}

.news-card-archive {
  position: relative;
  width: 308px;
  height: 260px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-end;
}

.news-image-archive {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.news-date-archive {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  position: absolute;
  top: 20px;
  left: 200px;

  background-color: #1a4fb3;
  color: white;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 5px;
  font-weight: bold;
  z-index: 2;
}

.news-title-archive {
  background: rgb(0 56 118 / 0.8);
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: table;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  z-index: 2;
  height: 80px;
  width: 308px;
  font-family: poppins;
}

.load-more-wrapper {
  text-align: center;
  margin-top: 30px;
}

#load-more-news {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#load-more-news:hover {
  background-color: #0057b7;
}

@media (max-width: 600px) {
  .mrg {
    display: flex;
    align-items: center;
  }

  .mrg div {
    margin: 10px;
  }

  .container {
    flex-direction: row;
    font-size: 15px;
    text-align: center;
  }

  .main-contenedor {
    flex-direction: column;
    margin: 20px 1rem;
  }

  .aside,
  .comunicacion {
    width: 100%;
    margin-left: 0;
    border: none;
  }

  .ulist {
    max-width: 100%;
    display: none;
  }

  .ulist button {
    font-size: 1rem;
    padding: 0.5rem 0.625rem;
  }

  .ulist li ul li a {
    font-size: 1rem;
    padding: 0.625rem;
  }
}

.menu-container-class {
  display: flex;
  justify-content: space-between;
}

.menu-container-class .menu-item {
  padding: 10px 20px;
  font-size: 16px;
  color: #003865;
  text-decoration: none;
}

.menu-container-class .menu-item:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
}

.menu-container-class .menu-item.active {
  font-weight: bold;
  color: #003865;
  border-bottom: 2px solid #003865;
}

.menu-container-class .menu-item.active:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
}

.menu-container-class .menu-item i {
  margin-right: 8px;
}

.menu-container-class .menu-item i:hover {
  color: #003865;
}

.menu-container-class .menu-item span {
  font-weight: bold;
  color: #003865;
}

.menu-container-class .menu-item span:hover {
  color: #003865;
}

.menu-container-class .menu-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-share {
  margin-bottom: 2.625rem;
  display: flex;
  align-items: center;
  gap: 12px;
  /* Espacio entre íconos */
  padding: 12px 0;
  border-top: 1px solid #e0e0e0;
  /* línea superior gris claro */
  border-bottom: 1px solid #e0e0e0;
  /* línea inferior gris claro */
}

.social-share svg {
  width: 35px;
  height: 35px;
  fill: #007bff;
  /* Azul */
  margin-right: 10px;
  transition: fill 0.3s ease;
}

.social-share a:hover svg {
  fill: #0056b3;
  /* Azul más oscuro al pasar el mouse */
}

/* macabro */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0 !important;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
}

header {
  background-color: #002855;
  color: white;
  padding: 0.625rem;
  text-align: center;
}

.header-top {
  background-color: #002855;
  color: white;
  padding: 0.3125rem 0.625rem;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
}

nav {
  background-color: white;
  border-bottom: 0.125rem solid #ddd;
}

.nav-container {
  max-width: 75rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem;
}

.search-bar input {
  /* padding: 0.3125rem 3.875rem 0.4375rem 0.75rem; */
  font-size: 0.875rem;
  /* border: 0.05rem solid #000000; */
  border-radius: 50rem;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;

  color: #0a2540;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
  display: none;
  /* oculto por defecto */
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: background-color 0.2s;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.search-bar button {
  background-color: transparent;
  color: white;
  border: none;
  padding: 10.3125px 9.625px;
  cursor: pointer;
  border-radius: 50rem;
  margin-left: -45px;
}

.search-bar button:hover {
  background-color: #ff0000;
  color: white;
}

.bi-search {
  color: #ffffff;
}

.divisor-search-menu {
  width: 0.025rem;
  height: 3.5rem;
  background-color: #c8c8c8;
  margin-left: 1.25rem;
  margin-right: 0.75rem;
}

.bi-grid-3x3-gap-fill {
  color: #003876;
  border-radius: 0.0625rem;
}

.svg-icon {
  color: #003876;
}

.menu-icon {
  cursor: pointer;
  padding: 0.625rem;
}

.menu-container-interes {
  margin-left: -330px;
}

.navbar-interes.showOnMobile {
  border-bottom: 1px solid #d9d9d9;
}

#mainMenuNav {
  background-color: #0d2557;
  /* tu color */
}

.show .showOnMobile .menu-container {
  display: block !important;
}

.show .showOnMobile .menu-container {
  display: block !important;
  position: relative;
  width: 100%;
  padding: 0px;
  box-shadow: none;
  right: auto;
  top: auto;
}

.navbar-interes.showOnMobile .menu-container>h3 {
  padding-left: 10px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.menu-container .icon-interes {
  width: 1rem;
  height: 1rem;
  fill: #003876;
}

.showOnMobile .hideMobile,
.hideOnMobile .showMobile,
.navbar-interes .accordion.accordion-flush {
  display: none !important;
}

.menu-container-interes .accordion-flush .accordion-item .accordion-button,
.menu-container-interes .accordion-flush .accordion-item .accordion-button.collapsed {
  border-radius: 0;
  color: #282828;
}

.navbar.navbar-expand-lg {}

.navbar-interes .accordion.accordion-flush.show {
  display: block !important;
}

.showOnMobile button.accordion-button {
  font-size: 12px;
  background: white;
  border: none;
  box-shadow: none !important;
  background-color: white !important;
  font-weight: 500;
  color: #003876;
}

.showOnMobile button.accordion-button::after {
  background-size: 12px;
  margin-bottom: -10px;
}

.showOnMobile .top-header-mobile-interes {
  padding: 2px;
  color: #333 !important;
  font-weight: normal;
}

.showOnMobile .top-header-mobile-interes.show {
  color: #003876 !important;
}

html {
  margin-top: 0;
}

.menu-container {
  position: absolute;
  top: 100px;
  width: 380px;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.3125rem;
  padding: 0.9375rem;
  display: none;
  z-index: 999;
}

.menu-container.active {
  display: block;
}

.menu-container-interes .menu-container.active {
  max-height: 440px;
  overflow-y: auto;
}

.menu-container-interes .accordion-item:has(.accordion-collapse.show) .accordion-button {
  background: none;
  font-weight: 400;
  color: #003876 !important;
}

.menu-container-interes .menu-container.active::-webkit-scrollbar {
  width: 0.5rem;
  border-radius: 0.5rem;
}

.menu-container-interes .menu-container.active::-webkit-scrollbar-track {
  background: #eaeaea;
}

.menu-container-interes .menu-container.active::-webkit-scrollbar-thumb {
  background: #3f7ebb;
  border-radius: 0.5rem;
}

.menu-container-interes .menu-container.active::-webkit-scrollbar-thumb:hover {
  background: #165694;
}

.menu-container h3 {
  margin: 0 0 0.625rem;
  font-size: 1rem;
}

.menu-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-container ul li {
  padding: 0.5rem 0;
  border-bottom: 0.125rem solid #ddd;
}

.menu-container ul li:last-child {
  border-bottom: none;
}

.close-btn {
  float: right;
  cursor: pointer;
}

.cards-section {
  padding-top: 1.875rem;
}

.menu {
  position: relative;
  display: flex;
  gap: 0.9375rem;
  z-index: 10;
}

.menu-item {
  position: relative;
  padding: 0.625rem;
}

.menu-item>a {
  text-decoration: none;
  font-size: 16px;
  color: #ffff;
  display: block;
  font-family: poppins;
}

.menu-item:hover>a {
  color: #ee2b24;
}

.menu-item:hover>.submenu {
  display: block;
  color: #eff7ff;
}

.submenu {
  display: none;
  position: relative;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
  top: 100%;
  left: 0;
  list-style: none !important;
  padding: 0.625rem;
  border: 0.125rem solid #ccc;
}

.submenu li {
  margin-bottom: 0px;
}

.submenu li:last-child {
  margin-bottom: 0;
}

.submenu a {
  text-decoration: none;
  color: #333;
  font-size: 0.875rem;
}

.submenu a:hover {
  color: #002855;
}

/* Estilos para menu-lateral*/
.menu-lateral {
  position: relative;
  margin-top: -5.0625rem;
  background-color: #fff;
  padding: 1.875rem;
  font-family: IBM Plex Sans Condensed;
}

#menu-menu-transparencia {
  padding: 0;
}

.menu-lateral li {
  padding: 0.5rem;
}

.menu-lateral li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: block;
}

.menu-lateral li a:hover {
  color: #007bff;
  background-color: #ffffff;
}

.menu-lateral {
  list-style: none;
}

.menu-item-has-children>a::after {
  font-size: 8px;
  content: "\F282";
  /* Código del ícono caret-down-fill */
  font-family: "bootstrap-icons";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

.current-menu-item {
  color: #2da549;
  font-weight: bold;
}

.menu-lateral>li {
  padding: 0.625rem 0.625rem 0.625rem;
  border-bottom: 0.125rem solid #ddd;
  font-weight: bold;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
}

.menu-lateral>li a {
  text-decoration: none;
  color: #000;
  font-size: 1.125rem;
  font-weight: 100;
}

.menu-lateral>li:hover a {
  color: #1a237e;
  /* Azul oscuro */
}

.menu-lateral>li .active>a {
  color: #2da549;
  font-weight: bold;
}

.menu-lateral>li .submenu-icon {
  font-size: 1rem;
  transition: transform 0.3s ease-in-out;
}

.menu-lateral>li.active .submenu-icon {
  transform: rotate(180deg);
}

/* SubmenÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âº */
.menu-lateral .sub-menu {
  list-style: none;
  padding: 0.125rem;
  margin: 0.375rem 0.3125rem 0.25rem 0.625rem;
  display: none;
}

.menu-lateral .sub-menu li {
  padding: 0.875rem;
  font-size: 1rem;
  margin: 0.125rem;
}

.menu-lateral .sub-menu li a {
  /* color: #909090; */
  /* Verde */
  text-decoration: none;
  margin: -0.9375rem;
  font-size: 1rem;
  padding: 1.25rem 0rem;
}

.menu-lateral .sub-menu li a:hover {
  color: #3b82f6;
}

.menu-lateral>li.active .sub-menu {
  display: block;
}

/*  Estilos menu lateral noticias */
.menu-lateral-noticias {
  top: -16.625rem;
  background-color: #fff;
  padding: 1.875rem;
  font-family: IBM Plex Sans Condensed;
}

.menu-lateral-noticias li {
  padding: 0.5rem;
}

.menu-lateral-noticias li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: block;
}

.menu-lateral-noticias li a:hover {
  color: #007bff;
  background-color: #ffffff;
}

.menu-lateral-noticias {
  list-style: none;
}

.menu-lateral-noticias>li {
  padding: 0.625rem 0.625rem 0.625rem;
  border-bottom: 0.125rem solid #ddd;
  font-weight: bold;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  margin: 1.25rem 0px 0px 2.5rem;
}

.menu-lateral-noticias>li a {
  text-decoration: none;
  color: #000;
  font-size: 1rem;
  font-weight: 100;
}

.menu-lateral-noticias>li:hover a {
  color: #1a237e;
  /* Azul oscuro */
}

.menu-lateral-noticias>li .active>a {
  color: #2da549;
  font-weight: bold;
}

.menu-lateral-noticias>li .submenu-icon {
  font-size: 1rem;
  transition: transform 0.3s ease-in-out;
}

.menu-lateral-noticias>li.active .submenu-icon {
  transform: rotate(180deg);
}

/* Submen*/
.menu-lateral-noticias .sub-menu {
  list-style: none;
  padding: 0.125rem;
  margin: 0.375rem 0.3125rem 0.25rem 0.625rem;
  display: none;
}

.menu-lateral-noticias .sub-menu li {
  padding: 0.875rem;
  font-size: 1rem;
  margin: 0.125rem;
}

.menu-lateral-noticias .sub-menu li a {
  color: #909090;
  /* Verde */
  text-decoration: none;
  margin: -0.8125rem;
  font-size: 0.8125rem;
}

.menu-lateral-noticias .sub-menu li a:hover {
  color: #3b82f6;
}

/* Mostrar submen activo */
.menu-lateral-noticias>li.active .sub-menu {
  display: block;
}

/* General Menu Header */
.navbar-nav {
  font-family: IBM Plex Sans Condensed;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.navbar-nav>li {
  display: inline-block;
  position: relative;
  padding-right: 4px;
  margin-bottom: 0px;
}

/* #menu-principal.navbar-nav>li:not(:last-child)>a::after {
  content: " /";
  color: #c8c8c8;
  margin-left: 0.625rem;
} */

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-link {
  color: #333;
  padding: 0.5rem 1rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
  text-decoration: none;
}

/* Submenu Styles */
.navbar-nav .menu-item-has-children>.nav-link:after {
  content: "\f107";
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.navbar-nav .sub-menu {
  list-style-type: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 300px;
  background-color: #0d2557;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.navbar-nav .menu-item-has-children:hover>.sub-menu {
  display: block;
}

.sub-menu .menu-item {
  padding: 0.625rem;
  background-color: #0d2557;
}

.sub-menu .menu-item:hover {
  background-color: #0d2557;
  font-size: 0.9rem;
}

.sub-menu .nav-link {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: #555;
}

.sub-menu .nav-link:hover {
  background-color: #f8f9fa;
}

/* Menu Hamburguer Toggle */
.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler-icon {
  background-color: #333;
  width: 1.5625rem;
  height: 0.1875rem;
  display: block;
  position: relative;
}

.navbar-toggler-icon:before,
.navbar-toggler-icon:after {
  content: "";
  background-color: #333;
  width: 1.5625rem;
  height: 0.1875rem;
  display: block;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler-icon:before {
  top: -0.4375rem;
}

.navbar-toggler-icon:after {
  top: 0.4375rem;
}

/* Active Menu Item */
.navbar-nav .active>.nav-link {
  color: #007bff;
  font-weight: 600;
  text-decoration: underline;
}

.link-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: #212529;

  height: 100%;
  transition: transform 0.2s ease-in-out;
}

/* Íconos circulares */
.link-grid img {
  width: 3.75rem;
  height: 3.75rem;
  object-fit: contain;
  background-color: #f8f9fa;
  border-radius: 50%;

  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover animación en íconos */
.link-grid a:hover img {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Texto debajo del ícono */
.link-grid a div {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  max-width: 100%;
  line-height: 1.2;
}

.sensorState {
  height: 0px;
  width: 0px;
  position: fixed;
  top: 0;
  z-index: 0;
  opacity: 0;
}

.showOnlyMobile {
  display: none;
}

.cita-text h1 {
  padding: 0px 15px;

  font-family: sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 84px;
  background: linear-gradient(to right, #003876, #0068dc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cita-text h5 {
  padding: 0px 15px;

  font-family: sans-serif;
  font-size: 1.5rem;
}

.cita-link {
  padding: 0px 15px;
  text-decoration: none;

  font-family: sans-serif;
  font-size: 1.3rem;
  color: #2b9bff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cita-link:hover {
  transform: translateY(-5px);
}

.seccion-titulo-estadisticas p {
  font-family: sans-serif;
  font-size: 1.3rem;
}

.box-estadistica {
  height: 270px;
  width: 316px;
  border-radius: 8px;
  border: 1px solid #E2E9EB;

  background-color: #ffff;

  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-estadistica.primer-box {
  background-color: #c6dcff;
  /* el color que quieras */
}

sub {
  display: block;
  margin-top: 5px;
  /* opcional, para separación */
}

.box-estadistica:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.box-estadistica-number {
  background-color: #ffff;
}

.box-estadistica .estadisticas-tag {
  background-color: #ffff;
  border: 1px solid #E2E9EB;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.675rem;

  font-weight: 600;
  margin-bottom: 10px;
}


.estadisticas-tag {
  background-color: #ffff;
  border: 1px solid #E2E9EB;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.675rem;
  color:#75939B;

  font-weight: 600;
  margin-bottom: 10px;
}

.card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.estadisticas-numero {
  font-family: sans-serif;
  font-size: 5rem;
  text-align: center;
}

.noticias-tag {
  background-color: #ffff;
  border: 1px solid #fff;
  color: #dc5444;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.675rem;

  font-weight: 600;
  margin-bottom: 10px;
}

.noticias-tag-small {
  color: #126078;
  font-size: 0.675rem;
  background-color: #ebfeff;
}

.noticias-tag-small a {
  text-decoration: none;
  color: inherit;
}

.actualidad-secundaria {
  border: 1px solid #ececec;
  height: 209px;
}

.actualidad-secundaria-card {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actualidad-secundaria-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

#certificaciones-movil {
  display: none;
}

.proyectos-home {
  padding-top: 140px;
}

.servicios-home {
  padding-top: 50px;


}


.botones-proyectos-home button {
  border-radius: 20px;
  margin-right: 10px;
}

.arrows {
  display: flex;
  margin-bottom: 10px;
}

.search-bar .bi-search::before {
  font-size: 17px;
  font-weight: 1000 !important;
}

.search-bar .bi-search {
  color: #d61010;
  font-size: 17px;
  border-width: 7px;
}

.arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  margin: 0 5px;
}

.arrow.left-arrow::before {
  color: white;
  font-size: 20px;
  position: absolute;
}

.arrow.right-arrow::before {
  color: white;
  font-size: 20px;
  position: absolute;
}

.dots {
  display: flex;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #007bff;
  margin: 0 5px;
}

.dot.active {
  background-color: #007bff;
}

.tu-opinion-front-section {
  background-color: #0864c4;
  color: white;
}

.dejar-opinion {
  border: 1px solid black;
  padding: 10px 70px;
  text-align: center;
  color: #0864c4;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dejar-opinion:hover {
  display: block;
  background-color: #0864c4;
  color: white;
  border-color: white;
  transform: translateY(-5px);
}

.dejar-opinion a:hover {
  color: #0864c4;
}

.ver-mas-noticias {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ver-mas-noticias:hover {
  transform: translateY(-5px);
}



.filtro-publico .btn-filtro {
  border: none;
  background-color: #eff7ff;

  border-radius: 10px;
  font-size: 1.5rem;


  padding-bottom: 0.5rem;

  cursor: pointer;
  transition:
    background-color 0.6s ease,
    color 0.6s ease,
    border-radius 0.1s ease;
}


.filtro-publico .btn-filtro .btn-instituciones {}

.filtro-publico .btn-filtro.active[data-publico="transformacion-digital"] {
  border-radius: 10px;
  background: #215fc1;
  color: white;
  /* azul */
}

.filtro-publico .btn-filtro.active[data-publico="atencion-ciudadana"] {

  border-radius: 10px;
  background: #215fc1;
  color: white;
  /* naranja */
}

.servicios-carrusel-wrapper {
  position: relative;
}

.swiper-controls-top {
  display: flex;
  justify-content: flex-end;
  /* flechas y bullets a la derecha */
  align-items: center;
  gap: 10px;
  /* espacio entre elementos */
  margin-bottom: 10px;
}

.swiper-controls-top .swiper-button-prev,
.swiper-controls-top .swiper-button-next {
  position: static !important;
  margin: 0 !important;
  min-width: auto !important;
  min-height: auto !important;
}

.swiper-controls-top .swiper-button-prev,
.swiper-controls-top .swiper-button-next i {
  font-size: 40px;
  color: #007bff;
}

.swiper-navigation-icon {
  display: none !important;
}
.swiper-pagination {
  position: relative !important;
  bottom: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  z-index: 10;
}

/* Bullets base */
.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background: rgba(125, 222, 255, 1)!important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Bullet activo */
.swiper-pagination-bullet-active {
  background: #0061E0  !important;
  transform: scale(1.3);
}

.cargo {
  display: inline-block;
  background: #eee;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 14px;
}

/* archive-servicio */

.archive-servicio-content section {
  padding: 20px 0px;
}

.archive-servicio-card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.orientacion-card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;

  justify-content: center;

  width: 470px;
  height: 185px;

  padding: 25px;
  font-weight: bold;
}

.orientacion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.orientacion-card a {
  margin-top: auto;
}

.sidebar-servicio {
  background-color: #f0f4fc;
  padding: 20px;
}

.sidebar-servicio .elementos-sidebar-servicio {
  padding: 20px 30px;
}

.sidebar-servicio .elementos-sidebar-servicio a {
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

.sidebar-servicio .elementos-sidebar-servicio a :hover {
  color: #007bff;
  font-weight: bold;
}

.canales-servicios-sections {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 40px 0px;
}

.canales-servicios-sections:hover {
  transform: translateY(-5px);
}

.ver-mas {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ver-mas:hover {
  transform: translateY(-10px);
}

.numero {
  display: inline-block;
  font-size: 2rem;
  width: 2rem;
  font-weight: bold;
  text-align: center;
  margin-right: 0.75rem;
}

.list-group-item {
  border: none;
  /* sin borde lateral */
  border-bottom: 1px solid #ccc;
  padding-left: 0;
}

/* Quita los bordes por defecto y deja solo top/bottom */
.accordion-item .acordion-custom {
  border: none;
  /* quita todos */
  border-top: 1px solid #dee2e6;
  /* agrega solo arriba */
  border-bottom: 1px solid #dee2e6;
  /* agrega solo abajo */
}

/* Quita las esquinas redondeadas si no las quieres */
.accordion-item:first-of-type,
.accordion-item:last-of-type {
  border-radius: 0;
}

.documentos-article {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.documentos-article:hover {
  transform: translateY(-5px);
}

/* sala de prensa */

.nav-tabs .nav-link.active {
  border-color: transparent transparent #0d6efd;
  border-width: 0 0 2px 0;
  color: #0d6efd;
}

.tag-btn {
  border: 1px solid #0d6efd;
  color: #0d6efd;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  margin: 0.25rem;
  background: transparent;
}

.tag-btn.active,
.tag-btn:hover {
  background: #0d6efd;
  color: #fff;
}

.dropdown .btn-oval {
  border-radius: 50px;
  padding: 0.3rem 1.25rem;
}

.filter-badge {
  background: #f1f1f1;
  border-radius: 50px;
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.filter-badge .remove {
  color: #dc3545;
  cursor: pointer;
  margin-left: 0.35rem;
}

/* seccion sobre ogtic completa*/

.funciones-principales {
  padding-top: 30px;
}

.funciones-principales ul li {
  padding-top: 20px;
}

/* single-noticias */

.imagen-portada img {
  width: 100%;
  margin-bottom: 40px;
  object-fit: cover;
  height: 600px;
}

.sidebar,
.compartir,
.bloque {
  border-bottom: 2px solid #000;
  display: inline-block;
  margin-bottom: 10px;
  width: 100%;
  padding: 10px 0px;
}

.sala-de-prensa-tag {
  background-color: #ffff;
  border: 1px solid #e8e8e8;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.675rem;

  font-weight: 600;
  margin-bottom: 10px;
}

.sala-de-prensa-tag a {
  text-decoration: none;
  color: inherit;
}

.contenido img {
  width: 100%;
  object-fit: contain;
  height: auto;
}

.modal-galeria {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  /* centra verticalmente */
  justify-content: center;
  /* centra horizontalmente */
  z-index: 9999;
}

.modal-galeria.hidden {
  display: none;
}

.modal-galeria .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-galeria .swiper-slide img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  /* la imagen completa sin recortar */
}

.modal-galeria .cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  /* encima del resto */
}

/* --- CONTENEDOR DEL CARRUSEL --- */
.galeria .swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 2rem;
  /* espacio para los puntitos y link */
}

.galeria .swiper-wrapper {
  height: auto;
  gap: 20px;
  /* espacio entre slides */
}

/* slider home */

/* --- SLIDES --- */
.galeria .swiper-slide {
  flex-shrink: 0;
  /* 3 columnas visibles en desktop */
  width: calc((100% - 40px) / 3);
  /* si hay spaceBetween:20 */
  height: 250px;
  /* alto fijo de las tarjetas */
  background: #d4d4d4;
  /* gris de fondo por si no carga imagen */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- IMÁGENES --- */
.galeria .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* recorta la foto para que llene el slide */
  border-radius: 8px;
  cursor: pointer;
  /* para que se note que es clickeable */
  transition: transform 0.3s ease;
}

.galeria .swiper-slide img:hover {
  transform: scale(1.05);
}

/* --- PAGINACIÓN PUNTITOS --- */
.galeria .swiper-pagination {
  bottom: 0;
  /* que quede pegado abajo del carrusel */
}

/* --- LINK “Ver galería de fotos” --- */
.ver-galeria-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.ver-galeria-link:hover {
  text-decoration: underline;
}

/* seccion de laboratorio de innovacion estilos */

.acordeon-innovacion {
  padding: 30px 0px;
  border: none;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.card-rd {
  flex-direction: column;
  margin-bottom: 1rem !important;
  display: flex;
}

/* fin  innovacion*/

/* seccion sobre ogtic completa*/

@media (max-width: 990px) {
  .navbar.navbar-expand-lg {
    padding-bottom: 0px;
  }

  .menu-icon {
    padding-top: 11px;
  }

  .showOnlyMobile {
    display: block;
  }

  #menu-principal.navbar-nav>li>a::after {
    display: none;
  }

  .navbar-nav .menu-item-has-children:hover>.sub-menu {
    display: block;
    width: 100%;
    position: relative;
    box-shadow: none;
  }

  #menu-principal.navbar-nav .menu-item-has-children>a::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    color: #706464;
    display: block;
    margin-top: -20px;
    background-repeat: no-repeat;
    content: " ." !important;
    color: transparent !important;
    position: absolute;
    right: 0;
    width: 20px;
  }

  #menu-principal.navbar-nav .menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .card-rd {
    flex-direction: column;
    margin-bottom: 1rem !important;
    display: flex;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  #side-menu {
    display: none;
  }

  .title-section-transparencia {
    margin-bottom: 0.625rem;
  }

  #certificaciones-movil {
    display: block;
  }

  #certificaciones {
    display: none;
  }

  .search-bar {
    width: 100%;
    margin-top: 0.625rem;
  }

  .search-bar input {
    width: 80%;
  }

  .menu {
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
  }

  .menu-item>a {
    padding: 0.625rem;
    width: 100%;
  }
}

.divider {
  border-top: 1px solid #ccc;
  margin: 0.625rem 0;
}

/* Estilos para el logo titulo y descripcion*/
.logo-titulo {
  color: #ffffff;
  font-style: normal;
  font-weight: lighter;
  font-size: 1.25rem;
  line-height: 1.5625rem;
  justify-content: right;
  max-width: 24.75rem;
  /* Ajusta el ancho que necesites */
  white-space: normal;
  word-break: break-word;
  text-align: left;
  /* Opcional: centra el texto */
}

.search-form {
  display: contents;
}

/* Dispositivos móviles */
@media (max-width: 768px) {
  .estadisticas-section {
    display: contents;
  }

  /* Estilos para el logo titulo y descripcion*/
  .logo-titulo {
    display: none;
  }

  .logo-ogtic {
    border: none;
    display: flex;
    justify-content: center;
  }

  .cita-text {}

  .cita-link {
    display: none;
  }
}

.contenedor-menu-lateral-servicio {
  display: none;
}

.search-form i {
  margin-top: -5px;
}

.nav-container {
  flex-direction: column;
  align-items: flex-start;
  padding: 0.625rem 1.25rem;
}

.search-bar input {
  width: 100%;
  /* margin-bottom: 0.625rem; */
}

.menu {
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding: 0.625rem 0;
}

.menu-container {
  width: 100%;
  right: 0;
  top: auto;
}

.archivo-descargar {
  width: 100%;
  justify-content: right;
}

.archivo-card {
  flex-direction: column;
}

/* Tablets */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0.625rem 1.25rem;
  }

  .menu-container {
    right: 0;
    width: 90%;
  }

  .menu {
    flex-wrap: wrap;
  }
}

/* Imagen fija */
.card-img-fixed {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* Aumentar un poco el alto mínimo de la tarjeta */
.custom-card-height {
  min-height: 180px;
  /* ajusta este valor a tu gusto */
}

@media only screen and (max-width: 600px) {
  .documentos-article {
    flex-direction: column;
  }

  p {
    /* text-align: start; */
  }

  .orientacion-card {
    display: contents;
  }

  .estadisticas-section {
    display: contents;
  }

  #col-card {
    display: contents;
  }

  .carousel-caption-custom h2 {
    display: contents;
  }
}