/* 
Theme Name:                 Color ERSAPS
Author:                     rdany8719@gmail.com
Main Color blue:            #00BCE4
Secondary  color:           #D50032 
Other color:                #ffffff
primary original:           #00D084
secondary original:         #17303B
Las más utilizadas.
*/

/******* Definir variables CSS *******/
:root {
    /* Colores institucionales oficiales */
    --primary: #ad8411;
    --secondary: #214f9f;     
    --government: #00BCE4; 

    /* Neutros */
    --light: #F8F8F8;
    --dark: #111111;
    --oscuro: rgba(0, 0, 0, 0.8);
    --white: #FFFFFF;

    /* Tipografía */
    --font-family-base: "Inter", sans-serif;
    --headings-font-family: "Roboto", sans-serif;

    /* Texto */
    --body-color: #787878;
    --headings-color: var(--dark);

    /* Pesos */
    --headings-font-weight: 500;
    --display-font-weight: 700;

    /* Bordes */
    --border-radius: 10px;
    --border-radius-sm: var(--border-radius);
    --border-radius-lg: var(--border-radius);

    --link-decoration: none;
    --enable-negative-margins: true;
}

/* originales 
:root {
    --government: #00BCE4;
    --primary: #D50032;
    --secondary: #17303B;
    --light: #F8F8F8;
    --dark: #111111;
    --oscuro: rgba(0, 0, 0, 0.8);
    --white: #FFFFFF;
    --font-family-base: "Inter", sans-serif;
    --headings-font-family: "Roboto", sans-serif;
    --body-color: #787878;
    --headings-color: var(--dark);
    --headings-font-weight: 500;
    --display-font-weight: 700;
    --border-radius: 10px;
    --border-radius-sm: var(--border-radius);
    --border-radius-lg: var(--border-radius);
    --link-decoration: none;
    --enable-negative-margins: true;
}
    */

/******* Custom rdany *******/
body {
    font-family: var(--font-family-base);
    color: var(--body-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--headings-font-family);
    color: var(--secondary);
    font-weight: var(--headings-font-weight);
}

/******* Icon Color *******/
.icon-color {
    color: var(--primary);
}
.gobierno-color {
    color: var(--government);
}

/******* text Color *******/
.custom-text {
    color: var(--light);
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: 7px;
}

/*************** Spinner Start ***************/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*************** Back to top Button ***************/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}
.back-to-top {
    background-color: var(--primary);
    color: var(--light);
}

/*************** Buttons Start ***************/
.btn {
    font-weight: 600;
    transition: .5s;
}
.btn-square {
    width: 32px;
    height: 32px;
}
.btn-sm-square {
    width: 34px;
    height: 34px;
}
.btn-md-square {
    width: 44px;
    height: 44px;
}
.btn-lg-square {
    width: 56px;
    height: 56px;
}
.btn-xl-square {
    width: 66px;
    height: 66px;
}
.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.btn.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}
.btn.btn-primary:hover {
    background: var(--secondary);
    color: var(--light);
}
.btn.btn-light {
    color: var(--primary);
    border: none;
}
.btn.btn-light:hover {
    color: var(--white);
    background: var(--primary);
}

/*************** Topbar Start ***************/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--primary);
}
.topbar .dropdown .dropdown-menu a:hover {
    background: var(--primary);
    color: var(--bs-white);
}
.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*************** Navbar Main ***************/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 27px 0;
    color: var(--white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}
.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--dark);
}
.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--white);
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active {
    color: var(--primary);
}

/*************** Logo ***************/
.navbar-light .navbar-brand img {
    max-height: 45px;
    transition: .5s;
}
.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}
.dropdown .dropdown-menu a:hover {
    background: var(--primary);
    color: var(--white);
}
.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--light);
    transition: .5s;
    opacity: 1;
}
@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }
    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }
    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }
}
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--light);
    }
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--government);
        transition: .5s;
    }
    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }
    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--government);
        transition: .5s;
    }
    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}

/*************** Buscador Global ************** */
.sugerencias {
    position: absolute;
    z-index: 999;
    background-color: white;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}
.sugerencias a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #333;
}
.sugerencias a:hover {
    background-color: #f8f9fa;
}

/*************** Hero Header Start ***************/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}
.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    height: 700px;
}
.header-carousel .header-carousel-item img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--primary);
    color: var(--white);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}
.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--light);
    color: var(--primary);
}
.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    /* background: rgba(0, 0, 0, 0.3); */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
}
@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}
@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }
    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}
.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 20s;
    animation-delay: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}
@keyframes image-zoom {
    0%   { height: 100%; opacity: 0.9; }
    50%  { height: 100%; opacity: 0.9; }
    100% { height: 100%; opacity: 0.9; }
}

/*************** Encuesta ***************/
#encuesta-tab {
        position: fixed;
        top: 38%;
        left: 0;
        transform: rotate(-90deg);
        transform-origin: left top;
        background-color: var(--primary);
        color: white;
        padding: 8px 16px;
        border-radius: 8px 8px 0 0;
        cursor: pointer;
        z-index: 9999;
        font-weight: bold;
    }
    #encuesta-panel {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100%;
        background-color: white;
        border-right: 2px solid var(--primary);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        z-index: 9998;
        padding: 15px;
        font-family: 'Arial', sans-serif;
    }
    #encuesta-panel.active {
        left: 0;
    }
    .encuesta-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }
    .encuesta-header button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: var(--primary);
    }
    .encuesta-body {
        font-size: 12px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        padding-right: 10px;
    }
    .encuesta-body {
        scroll-behavior: smooth;
    }
    .close-custom {
        background: none;
        border: none;
        font-size: 20px;
        font-weight: bold;
        color: var(--primary);
        cursor: pointer;
    }
    #mensajeEncuesta {
        display: none; /* Por defecto oculto */
        position: absolute; /* Flotando sobre el contenido */
        top: 50%;          /* Mitad vertical del panel */
        left: 50%;         /* Mitad horizontal del panel */
        transform: translate(-50%, -50%); /* Centramos exactamente */
        background-color: rgba(255, 255, 255, 0.95); /* Fondo blanco con un poco de transparencia */
        padding: 20px 30px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        z-index: 1000; /* Que esté encima de todo */
        font-size: 1.2rem;
        text-align: center;
        width: auto;
        max-width: 80%;
    }

/************* News Start ***********/
.blog .blog-item {
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    padding: 10px;
    background: var(--white);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    transition: 0.5s;
    min-height: 500px;
}
.blog .blog-item a {
    transition: 0.5s;
}
.blog .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.blog .blog-item:hover a:hover {
    color: var(--primary);
}
.blog .blog-item .blog-img {
    flex-grow: 1;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}
.blog .blog-item .blog-img img {
    transition: 0.5s;
}
.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}
.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}
.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}
.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}
.blog .blog-item .blog-img .blog-title a {
    color: var(--white);
    background: var(--primary);
    transition: 0.5s;
}
.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--dark);
}
.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}
.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}
.blog .owl-nav .owl-prev:hover {
    background: var(--dark);
    color: var(--primary);
}
.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--primary);
    color: var(--white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}
.blog .owl-nav .owl-next:hover {
    background: var(--dark);
    color: var(--primary);
}
.text-justificado {
    text-align: justify;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    font-family: 'Arial', sans-serif;
    margin-top: 3px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 3px;
}
.blog .blog-item .foot-target {
    margin-top: auto;
}
.foot-target {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding: 10px 0;
}
.foot-target .left-align,
.foot-target .right-align {
    display: flex;
    align-items: center;
}
.foot-target .left-align {
    text-align: left;
}
.foot-target .right-align {
    text-align: right;
}
.foot-target .action-btn {
    padding: 6px 15px;
}

/*************** About Start ***************/
.about {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa; 
    min-height: 400px; 
}

.about .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;         
    object-position: center;   
    z-index: -1;              
    pointer-events: none;      
}

/************** FAQ´s Start *************/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--secondary);
}
.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--dark);
}
.faq-respuesta {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.6;
}
.accordion-button:not(.collapsed) {
    background-color: var(--primary) !important;
    color: #000 !important;
    border-color: var(--primary) !important;
}
.accordion-button:focus {
    box-shadow: 0 0 2px rgba(1, 237, 237, 0.5) !important;
    border-color: #05d8ef !important;
}
.bg-dark-transparent {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Igualar altura de columnas */
.faq-section .row.equal-height {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-section .equal-height {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
}

/* Contenedores internos */
.faq-section .accordion-container,
.faq-section .image-container {
    flex: 1 1 0;
    display: flex;
    align-items: stretch;
}

/* Imagen adaptable */
.faq-section .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Contenedor para controlar ancho */
.faq-section .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive mobile */
@media (max-width: 991.98px) {
    .faq-section .row.equal-height {
        flex-direction: column;
    }
}
@media (min-width: 992px) {
    .faq-section .image-container img {
        max-height: 450px;
    }
}

/************* Offer Start ************/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 7px;
    display: flex;
    background: var(--white);
    transition: 0.5s;
}
.offer-section .nav a.accordion-link.active {
    color: var(--white);
    background: var(--primary);
}
.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}
.offer-section .nav a.accordion-link.active h5 {
    color: var(--white);
}
.fondo-custom {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8);
}

/*********** Service Start **********/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}
.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}
.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}
.service .service-item .service-img img {
    transition: 0.5s;
}
.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

/************ Features Start ***********/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}
.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}
.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}

/************** modal ***********/
.modal-header {
    background-color: var(--primary);
    color: var(--primary);
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    padding: 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.modal-title {
    flex-grow: 1;
    text-align: center;
}
.btn-close {
    filter: invert(1);
}

/********** modal sitios ***********/
.titulo-modal {
    font-family: Arial, san serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    overflow-wrap: break-word;
}
.texto-modal {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
}
.texto-modal li {
    list-style-type: none;
    position: relative;
}
.texto-modal li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    font-size: 20px;
    left: -20px;
    top: 0;
}

/********** imagen ***********/
.rounded-pic {
    position: relative;
    text-align: center;
    overflow: hidden;
    width: 67%;
    border-radius: 3px 5px 5px 3px;
    background: linear-gradient(45deg, #00BCE4);
    padding: 7px;
    transition: all 0.4s ease-in-out;
    box-shadow: var(--secondary);
}
.rounded-pic:hover {
    transform: scale(1.05);
    box-shadow: var(--secondary);
}
.rounded-pic img {
    display: flex;
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.rounded-pic:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}
.rounded-pic::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.rounded-pic:hover::before {
    opacity: 1;
}

/************** Team Start - Relaciones institucionales modif - rdany8719@gmail.com ************/
.team .team-item {
  position: relative;
  padding: 10px 10px;
  border-radius: 7px;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto; /* Cambiado de 180px a auto */
  box-sizing: border-box;
}

.team .team-item::before,
.team .team-item::after {
  content: "";
  position: absolute;
  width: 100%;
  border-radius: 10px;
  transition: 0.5s;
  z-index: -1;
}

.team .team-item::before {
  content: "";
  position: absolute;
  inset: 0; /* Relleno completo sin alterar el flujo */
  background: var(--light);
  border-radius: 10px;
  transition: 0.5s;
  z-index: -1;
}

.team .team-item:hover::before {
  transform: scaleY(0); /* En vez de height 0 */
  transition: 0.5s;
}

.team .team-item::after {
  height: 0;
  bottom: 0;
  left: 0;
}

.team .team-item:hover::after {
  height: 100%;
  background: var(--secondary);
}

.team .team-img {
  width: 100px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px dotted var(--government);
  padding: 4px;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  margin-bottom: 10px;
}

.team .team-item:hover .team-img {
  border-color: var(--primary);
  background: transparent;
}

.team .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: 0.5s;
}

.team .team-title {
  margin-bottom: 10px;
  text-align: center;
}

.team .team-title p {
  margin: 0;
  font-weight: 700;
}

.team .team-icon {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team .team-icon a {
  transition: 0.5s;
}

.team .team-item:hover .team-icon a {
  color: var(--primary);
  background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
  color: var(--bs-primary);
  background: var(--bs-dark);
}

@media (max-width: 767px) {
  .team .team-img {
    width: 90px;
  }

  .team .team-item {
    padding: 10px 15px;
  }

  .team .team-title p {
    font-size: 0.9rem;
  }
}

/************** Testimonial Start *************/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}
.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}
.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}
.testimonial .testimonial-item .testimonial-img img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}
.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}
.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}
.testimonial .testimonial-item .testimonial-quote-left {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial .testimonial-item .testimonial-quote-right {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}
.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}
.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}
.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}
.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}
.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}
.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/************** Footer Start ************/
.footer {
    background: var(--secondary);
}
.footer .footer-item {
    display: flex;
    flex-direction: column;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--white);
    transition: 0.5s;
}
.footer .footer-item p {
    line-height: 35px;
}
.footer .footer-item a:hover {
    color: var(--secondary);
}
.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}
.footer .footer-item .footer-btn a:hover {
    background: var(--white);
}
.footer .footer-item .footer-btn a:hover i {
    color: var(--secondary);
}
/*** copyright Start ***/
.copyright {
    background: var(--dark);
}

/******************************* Conocenos / Nosotros - Agregado por rdany8719@gmail.com **********************************/
/************** Diseño del menú lateral ************/
.menu-lateral {
    background: var(--oscuro);
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(8px);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}
.margen-acerca-nosotros {
    margin-bottom: 20px;
    background: #f4f4f9;
    padding: 20px 17px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
}
.parra-nosotros {
    line-height: 1.6;
    text-align: justify;
}
/************** Misión y Visión - Container para todo ************/
.mision-vision-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}
.erase-mbottom {
    margin-top: -4px !important;
    margin-bottom: -4px !important;
}
.titulo-menu {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fafafb;
    margin-bottom: 10px;
    border-bottom: 2px solid #f2f5f6;
    padding-bottom: 5px;
    text-align: center;
}
.mision-vision-container h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 10px;
    border-bottom: 3px solid #0099cc;
    display: inline-block;
    padding-bottom: 5px;
}
.mision-vision-container h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    /* Azul corporativo */
    margin-bottom: 10px;
    border-bottom: 3px solid #0099cc;
    /* Línea decorativa */
    display: inline-block;
    padding-bottom: 5px;
}
.mision-vision-container p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}
/************** Objetivos Estrátegicos ************/
.objetivos-lista {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.objetivos-lista li {
    display: flex;
    align-items: flex-start;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}
.objetivos-lista i {
    font-size: 22px;
    margin-right: 10px;
}

/************* organigrama ****************/
.organigrama {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, object-position 0.3s ease;
}
.mision-vision-container:hover .organigrama {
    transform: scale(1.1);
    cursor: zoom-out;
    object-position: center;
}

/**************** Glosario ********************/
.glosario-container {
    max-height: 350px;
    overflow-y: auto;
    padding: 15px;
    background: #f4f6f9;
    border-radius: 12px;
    background: linear-gradient(to bottom, #f9fbfd, #f4f6f9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/**************** Barra de búsqueda ********************/
#searchGlossary {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 30px;
    border: 1px solid #d1d9e6;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    outline: none;
    transition: transform 0.2s ease-in-out;
}
#searchGlossary:focus {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: 0 0 8px rgba(0, 86, 179, 0.5);
    background: #fdfdff;
}
.glosario-item p {
    font-size: 14px;
    color: #5a6268;
    line-height: 1.5;
}
.glossary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 7px;
    border-radius: 5px;
    overflow: hidden;
}
.glossary-table tr {
    transition: background-color 0.3s ease, transform 0.2s ease-out;
}
.glossary-table th,
.glossary-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e4e7eb;
    transition: background-color 0.3s ease, transform 0.2s;
    font-size: 14px;
}
.glossary-table td:first-child h5 {
    font-size: 14px !important;
    margin: 0;
}
.glossary-table th {
    background-color: var(--secondary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
}
.glossary-table tr:hover {
    background-color: #eef2f7;
    transform: translateY(-1px);
}
.glossary-table td:hover {
    background-color: #e9eff5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/************* botones ****************/
.btn-menu {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--light);
    font-weight: 500;
    transition: 0.3s;
}
.btn-menu:hover,
.btn-menu.active {
    background: var(--primary);
    color: var(--white);
}

/* Contenido dinámico */
.contenido {
    padding: 20px;
    background: var(--white);
    border-radius: var(--light);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
/* Ocultar secciones por defecto */
.seccion {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
/* Mostrar solo la sección activa */
.seccion.active {
    display: block;
}
/* Animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .menu-lateral {
        width: 100%;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
    }

    .btn-menu {
        flex: 1;
        text-align: center;
    }
}
/* Logo para moviles */
@media (max-width: 768px) {
    .contenido img {
        max-width: 60%;
    }
}
/* Imágenes */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

/************* Criterios de evaluación ******************/
#criterios-evaluacion {
    background-color: var(--white);
    padding-top: 10px;
    padding-bottom: 10px;
}
.criterio-tarjeta {
    background-color: var(--white);
    border-radius: var(--oscuro);
    box-shadow: 10px;
    padding: 20px;
    border: 1px solid #dee2e6;
    box-shadow: 0 0 10px rgba(0, 172, 255, 0.5);
    animation: glow 1.5s infinite alternate;
}
.criterio-tarjeta:hover {
    transform: translateY(-5px);
}
.criterio-tarjeta button {
    background-color: #17a2b8;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
}
.criterio-tarjeta h5 {
    font-size: 1.2rem;
    font-weight: bold;
}
@keyframes glow {
    0% {
        box-shadow: 0 0 15px rgba(0, 172, 255, 0.5);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 172, 255, 1);
    }
}

/************* Estilos personalizados para la tabla de Prestadores Evaluados ******************/
.prestadores-evaluados {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

/* Estilo de las celdas y encabezado */
.prestadores-evaluados th,
.prestadores-evaluados td {
    padding: 10px 15px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #e0e0e0;
}

.prestadores-evaluados thead {
    background-color: var(--secondary);
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
}

.prestadores-evaluados tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.prestadores-evaluados tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.prestadores-evaluados tbody tr:hover {
    background-color: #e0f7fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.prestadores-evaluados td,
.prestadores-evaluados th {
    font-size: 0.8rem;
}

/* Estilo de los iconos */
.prestadores-evaluados i {
    font-size: 1.1rem;
    margin-left: 5px;
    color: var(--primary);
    vertical-align: middle;
}

/* Estilo del modal y la tabla dentro del modal */
.modal-body .prestadores-evaluados {
    max-height: 300px;
    overflow-y: auto;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 767px) {
    .prestadores-evaluados {
        font-size: 0.9rem;
    }

    .prestadores-evaluados th,
    .prestadores-evaluados td {
        padding: 10px;
    }
}

/******************* Criterios de calificación ****************************/
.list-criterios {
    background-color: var(--oscuro);
    border-radius: 7px;
    padding: 7px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    margin-top: 10px;
    list-style-type: none;
    padding-left: 0;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.7);
}
.list-criterios-item {
    border: 0.5px solid var(--light);
    border-radius: 7px;
    padding: 7px;
    margin-bottom: 7px;
    margin-left: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
.list-criterios-item:hover {
    background-color: var(--secondary);
    transform: scale(1.02);
}
.list-criterios-item strong {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 210px;
    text-align: left;
    flex-shrink: 0;
}
.list-criterios-item span {
    color: var(--light);
    flex: 1;
    text-align: justify;
}
.list-criterios-item:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
.mayor-margin {
    margin-right: 120px;
}

/*************** Gestión Institucional *******************/
.category-card {
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    justify-content: stretch;
    transition: transform 0.3s ease;
}
.category-card:hover {
    transform: scale(1.05);
}
.category-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}
.category-card:hover .category-card-body {
    background-color: #e9ecef;
}
.category-card i {
    transition: transform 0.3s ease;
    color: var(--primary);
}
.category-card:hover i {
    transform: scale(1.2);
    color: var(--primary);
}
.documents-list ul {
    display: none;
}
.category-card:hover .documents-list {
    display: block;
    animation: fadeIn 0.5s ease-in;
}
.parra-gi {
    font-size: 14px;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*************** Prestadores Urbanos *******************/
.hover-shadow {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.hover-shadow:hover {
    background-color: #f1f3f5 !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.hover-shadow {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.hover-shadow:hover {
    background-color: #f1f3f5 !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
/* Estilo para el banner llamativo */
.cta-banner {
    background-color: var(--primary);
    color: #fff;
    padding: 5px;
    margin-top: -30px !important;
    margin-bottom: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}
.cta-banner:hover {
    background-color: var(--secondary);
    /* Color al hacer hover */
}
.cta-banner a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}
.cta-banner a:hover {
    color: var(--primary);
}
.p_sin_espacio {
    margin: 0 !important;
    padding: 0 !important;
}

/*********** Estilos comité cocoin y probidad y ética ***********/
/* Cocoin */
.comite-portal-fondo {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url('../img/COCOIN/portada_cocoin_fin.webp') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    left: 0;
    box-sizing: border-box;
}
/* probidad y ética */
.comite-portal-fondo-pe {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url('../img/probidad_etica/portada_CPE_fin.webp') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    left: 0;
    box-sizing: border-box;
}
.fade-separator {
    height: 3px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
    margin-bottom: -5px;
}
/* Contenedor principal */
.comite-portal {
    position: relative;
    padding: 3rem;
    margin-bottom: 0rem;
    color: white;
    min-height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
/* Todo lo demás queda igual */
.comite-text-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.9rem;
    max-width: 550px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.comite-text-container h1 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: var(--secondary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.comite-text-container p {
    font-size: 0.97rem;
    line-height: 1.5;
    margin-bottom: 1.3rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    text-align: justify;
}
.comite-funciones-card {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.7rem;
    max-width: 550px;
    margin-top: 0.5rem;
}
.comite-funciones-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.7rem;
}
.comite-funciones-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.comite-funciones-list li {
    padding: 0.37rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #ddd;
    text-align: justify;
}
.comite-funciones-list li:last-child {
    border-bottom: none;
}
.comite-funciones-list li i {
    color: var(--secondary);
}
.comite-buscador-section {
    margin-bottom: 3rem;
}
.comite-buscador-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 1.5rem;
}
.comite-buscador-input {
    max-width: 600px;
    margin: 0 auto;
}
/******************** secciones/blibioteca.php ********************/
.biblio-header {
    width: 100%;
    margin: 0;
    margin-top: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 100px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.biblio-header h2 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-bar input {
    border: 1px solid #2c3e50;
    padding: 8px 12px;
    width: 250px;
    font-size: 14px;
    border-radius: 0;
}

.search-bar button {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 0;
    margin-left: -2px;
    font-size: 14px;
}

.search-bar button:hover {
    background-color: #34495e;
}

/* Category Section */
.category-section {
    background-color: #ecf0f1;
    padding: 15px 0;
    text-align: center;
}

.category-button {
    background-color: #fff;
    border: 0px solid #2c3e50;
    color: #2c3e50;
    padding: 8px 16px;
    font-size: 14px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    width: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);
}

.category-button:hover {
    background-color: #2c3e50;
    color: #fff;
}

/* Book Cards Section */
.book-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
}

.book-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.book-card h5 {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin: 7px 0;
}

/* Footer of Book Card (Urban/Rural Label and Button) */
.book-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

.book-card-footer .label {
    font-weight: bold;
    color: var(--secondary);
}

.book-card-footer button {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
}

.book-card-footer button:hover {
    background-color: #34495e;
}

/* Grid layout for books */
.book-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.book-card {
    flex: 1 1 calc(16.66% - 20px);
    min-width: 180px;
    max-width: 200px;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .category-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .book-card {
        flex: 1 1 calc(33.33% - 20px);
    }
}

@media (max-width: 480px) {
    .book-card {
        flex: 1 1 100%;
    }
}
/******************** secciones/contactanos.php ********************/
#contactanos {
    background-color: var(--light);
    color: var(--dark);
    font-family: 'Arial', sans-serif;
}

#contactanos h2 {
    position: relative;
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: bold;
}

#contactanos h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 50%;
    height: 2px;
    background-color: var(--primary);
    transform: translateX(-50%);
    animation: line 1s forwards;
}

@keyframes line {
    0% {
        width: 0;
    }

    100% {
        width: 50%;
    }
}

#contactanos .card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#contactanos ul.list-unstyled li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.7rem;
    font-weight: 500;
}

#contactanos ul.list-unstyled li i {
    min-width: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

#contactanos ul.list-unstyled li strong {
    min-width: 100px;
    color: var(--secondary);
    flex-shrink: 0;
}

#contactanos .card iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 6px;
}

#contactanos form {
    width: 100%;
}

/* Responsive */
@media (max-width: 767px) {
    #contactanos iframe {
        height: 300px;
    }
}
/********************* Libreta Direcciones ********************/
.dir-body {
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
  }

  .dir-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 1);
    overflow: hidden;
  }

  .dir-sidebar {
    background-color: #f8f9fc;
    border-right: 1px solid #dee2e6;
    min-height: 100%;
  }

  .dir-sidebar h5 {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff;
  }

  .dir-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .dir-sidebar li {
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    border-bottom: 1px solid #eee;
  }

  .dir-sidebar li:hover {
    background-color: #e9ecef;
  }

  .dir-sidebar li {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dir-sidebar .dir-active {
    background-color: #00BCE4;
    color: white;
  }

  .dir-badge {
    background-color: #00BCE4;
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
  }

  .dir-table thead {
    background-color: #f1f3f5;
  }

  .dir-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dee2e6;
  }

  .dir-tag {
    padding: 2px 8px;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    color: white;
    display: inline-block;
  }

  .dir-tag-direccion {
    background-color: rgba(23, 162, 184, 0.75);
  }

  .dir-tag-admin {
    background-color: rgba(32, 201, 151, 0.75);
  }

  .dir-tag-control {
    background-color: rgba(232, 62, 140, 0.75);
  }

  .dir-tag-regulacion {
    background-color: rgba(13, 110, 253, 0.75);
  }

  .dir-tag-auditoria {
    background-color: rgba(255, 193, 7, 0.75);
    color: #000;
  }

  .dir-tag-transparencia {
    background-color: rgba(102, 16, 242, 0.75);
  }

  .dir-tag-legal {
    background-color: rgba(108, 117, 125, 0.75);
  }

  .dir-tag-informatica {
    background-color: rgba(25, 135, 84, 0.75);
  }

  .dir-tag-comunicaciones {
    background-color: rgba(253, 126, 20, 0.75);
  }
/******************** mapa del sitio ********************/
.site-map-section {
  background-color: #f9f9f9;
}

.site-map-card {
  border-radius: 15px;
  transition: transform 0.3s ease;
  background-color: #ffffff;
}

.site-map-card:hover {
  transform: translateY(-5px);
}

.map-section-title {
  font-weight: 600;
  color: #003366;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.site-link {
  color: #00BCE4; 
  text-decoration: none; 
}

.site-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}
