   :root { --pink-iepc: rgba(0, 0, 0, 0.72); --dark-iepc: #2b2825; }
        body { background-color: #f4f7f6; font-family: 'Open Sans', sans-serif; }

        /* NAVBAR MULTINIVEL */
        @media (min-width: 992px) {
            .dropdown-menu .dropdown-submenu { position: relative; }
            .dropdown-menu .dropdown-submenu .dropdown-menu {
                top: 0; left: 100%; margin-top: -1px; display: none;
            }
            .dropdown-submenu:hover > .dropdown-menu { display: block; animation: fadeIn 0.3s; }
        }

        /* ESTILO DE LA GALERÍA CLICKABLE */
        .gallery-container .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.4s ease;
            cursor: pointer;
            height: 300px; /* Altura uniforme */
        }

        .gallery-container .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        /* Efecto Hover: Oscurecer y Zoom */
        .gallery-container .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-container .gallery-item .overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(195, 28, 120, 0.7); /* Rosa IEPC con transparencia */
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.4s ease;
            color: white;
            text-align: center;
            padding: 20px;
        }

        .gallery-container .gallery-item:hover .overlay {
            opacity: 1;
        }

        .gallery-title {
            border-left: 5px solid rgba(0, 0, 0, 0.72);
            padding-left: 15px;
            margin-bottom: 30px;
            font-weight: 700;
        }
  
    .interactive-container {
        padding: 60px 0;
    }

    .card-interactive {
        border: none;
        border-radius: 20px;
        background: #ffffff;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
        border-bottom: 4px solid #eee;
    }

    /* Efecto de elevación y cambio de color al borde */
    .card-interactive:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(195, 28, 120, 0.15) !important;
        border-bottom: 4px solid rgba(0, 0, 0, 0.72);
    }

    /* Icono con fondo circular animado */
    .icon-box {
        width: 70px;
        height: 70px;
        background: #f8f9fa;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        transition: all 0.4s ease;
        color: rgba(0, 0, 0, 0.72);
    }

    .card-interactive:hover .icon-box {
        background: rgba(0, 0, 0, 0.72);
        color: #fff;
        transform: rotateY(360deg);
    }

    .card-title-custom {
        font-weight: 700;
        color: #2b2825;
        margin-bottom: 15px;
    }

    /* Botón flotante interno que aparece en hover */
    .go-corner {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        width: 40px;
        height: 40px;
        overflow: hidden;
        top: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.72);
        border-radius: 0 20px 0 32px;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .card-interactive:hover .go-corner {
        opacity: 1;
    }
 
    /* Asegura que el menú esté por encima de TODO (Galería, Cards, etc.) */
    .sticky-top {
        z-index: 1050; /* Un nivel arriba del estándar de Bootstrap */
        transition: all 0.5s ease;
    }

    /* Efecto opcional: Que el menú se vuelva un poco transparente al bajar */
    .navbar.scrolled {
        background-color: rgba(43, 40, 37, 0.95) !important;
        backdrop-filter: blur(10px); /* Efecto cristal moderno */
    }

    /* Ajuste para el menú multinivel que ya teníamos */
    @media (min-width: 992px) {
        .dropdown-menu .dropdown-submenu { position: relative; }
        .dropdown-menu .dropdown-submenu .dropdown-menu {
            top: 0; 
            left: 100%; 
            margin-top: -1px; 
            display: none;
            border-left: 3px solid rgba(0, 0, 0, 0.72); /* Color institucional en submenús */
        }
        .dropdown-submenu:hover > .dropdown-menu { display: block; animation: fadeIn 0.2s; }
    }


 
    :root {
        --pink-iepc: rgba(0, 0, 0, 0.72);
        --dark-iepc: #2b2825;
        --glass-bg: rgba(255, 255, 255, 0.9);
    }

    .card-modern {
        background: var(--glass-bg);
        border: 1px solid rgba(195, 28, 120, 0.1);
        border-radius: 24px;
        transition: all 0.5s cubic-bezier(0.2, 1, 0.22, 1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    /* El efecto de fondo rosa que sube al hacer hover */
    .card-modern::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.72) 100%);
        transition: all 0.5s ease;
        z-index: -1;
    }

    .card-modern:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.72) !important;
        border-color: rgba(0, 0, 0, 0.72);
    }

    .card-modern:hover::before {
        top: 0;
    }

    /* Contenedor del Icono con Neomorfismo */
    .icon-wrapper {
        width: 80px;
        height: 80px;
        background: #ffffff;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        font-size: 32px;
        color: rgba(0, 0, 0, 0.72);
        box-shadow: 10px 10px 20px rgba(0,0,0,0.02), -10px -10px 20px rgba(255,255,255,0.8);
        transition: all 0.5s ease;
    }

    .card-modern:hover .icon-wrapper {
        background: rgba(0, 0, 0, 0.72);
        color: white;
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 10px 20px rgba(195, 28, 120, 0.3);
    }

    .card-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(195, 28, 120, 0.1);
        color: rgba(0, 0, 0, 0.72);
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .btn-explore {
        background: transparent;
        color: rgba(0, 0, 0, 0.72);
        border: 2px solid rgba(0, 0, 0, 0.72);
        border-radius: 50px;
        padding: 8px 25px;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .card-modern:hover .btn-explore {
        background: rgba(0, 0, 0, 0.72);
        color: white;
    }

 
    :root {
        --pink-iepc: rgba(0, 0, 0, 0.72);
        --dark-iepc: #2b2825;
        --glass-bg: rgba(255, 255, 255, 0.9);
    }

    .card-modern {
        background: var(--glass-bg);
        border: 1px solid rgba(195, 28, 120, 0.1);
        border-radius: 24px;
        transition: all 0.5s cubic-bezier(0.2, 1, 0.22, 1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    /* El efecto de fondo rosa que sube al hacer hover */
    .card-modern::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(195, 28, 120, 0.05) 0%, rgba(195, 28, 120, 0) 100%);
        transition: all 0.5s ease;
        z-index: -1;
    }

    .card-modern:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.72) !important;
        border-color: rgba(0, 0, 0, 0.72);
    }

    .card-modern:hover::before {
        top: 0;
    }

    /* Contenedor del Icono con Neomorfismo */
    .icon-wrapper {
        width: 80px;
        height: 80px;
        background: #ffffff;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        font-size: 32px;
        color: rgba(0, 0, 0, 0.72);
        box-shadow: 10px 10px 20px rgba(0,0,0,0.02), -10px -10px 20px rgba(255,255,255,0.8);
        transition: all 0.5s ease;
    }

    .card-modern:hover .icon-wrapper {
        background: rgba(0, 0, 0, 0.72);
        color: white;
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 10px 20px rgba(195, 28, 120, 0.3);
    }

    .card-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(195, 28, 120, 0.1);
        color: rgba(0, 0, 0, 0.72);
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .btn-explore {
        background: transparent;
        color: rgba(0, 0, 0, 0.72);
        border: 2px solid rgba(0, 0, 0, 0.72);
        border-radius: 50px;
        padding: 8px 25px;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .card-modern:hover .btn-explore {
        background: rgba(0, 0, 0, 0.72);
        color: white;
    }




    .electoral-wrap {
        position: relative;
        padding: 80px 0;
        /* Sustituye esta URL por tu imagen institucional */
        background: linear-gradient(rgba(43, 40, 37, 0.8), rgba(43, 40, 37, 0.8)), 
                    url('https://www.iepcdurango.mx/IEPC_DURANGO/img/slider/slider_1.jpg');
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        color: #fff;
    }

    .process-step {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        padding: 30px 20px;
        transition: all 0.3s ease;
        height: 100%;
        text-align: center;
    }

    .process-step:hover {
        background: rgba(195, 28, 120, 0.2); /* Rosa IEPC translúcido */
        transform: translateY(-10px);
        border-color: rgba(0, 0, 0, 0.72);
    }

    .process-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        background: rgba(0, 0, 0, 0.72);
        color: #fff;
        border-radius: 50%;
        font-size: 24px;
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 20px rgba(195, 28, 120, 0.4);
    }

    .process-step h5 {
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .process-step p {
        font-size: 0.9rem;
        opacity: 0.8;
        margin-bottom: 0;
    }



    /* Estilos Personalizados para Órgano Garante */
.garante-section {
    background-color: #f8f9fa; /* Fondo gris tenue para la sección */
    border-radius: 15px;
    padding: 60px 0;
}

.garante-container {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Sombra suave */
}

.titulo-garante {
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
}

.titulo-garante::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #0d6efd; /* Color primary de Bootstrap */
    border-radius: 2px;
}

.eje-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef !important;
}

.eje-card:hover {
    transform: translateY(-5px); /* Se eleva ligeramente */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}
 

/* Contenedor de la tarjeta */
.org-box {
    padding: 6px;
    border-radius: 20px;
    /* background: linear-gradient(145deg, #ffffff, #e8e8e8); */
    /* border: 3px solid rgba(0, 0, 0, 0.72); */
    width: 314px;
    margin: 20px auto;
    text-align: center;
    /* box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.12); */
    transition: transform .2s 
ease-in-out, box-shadow .2s;
}
.org-box:hover {
    transform: translateY(-4px);
    /*box-shadow: 0px 12px 24px rgba(0,0,0,0.2);*/
   /* background: rgba(0, 0, 0, 0.72);*/
    color: #fff;
}

/* Foto circular brillante */
.org-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    /*border-radius: 50%;*/
    border: 4px solid white;
   /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.72), 0 0 20px rgba(13,110,253,.5);*/
    margin-bottom: 12px;
}

/* Línea vertical */
.org-line {
    width: 3px;
    background: rgba(0, 0, 0, 0.72);
    margin: 0 auto;
    height: 35px;
    border-radius: 2px;
}

/* Contenedor de subordinados */
.children {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Líneas horizontales decoradas */
.connector {
    width: 50px;
    height: 3px;
    background: rgba(0, 0, 0, 0.72);
    margin: auto;
}


/* Fuerza el centrado principal del organigrama */
.org-root {
    display: flex;
    justify-content: center !important;
    width: 100%;
}

/* Evita que el organigrama se expanda demasiado en pantallas grandes */
.org-container {
    max-width: 900px;
    margin: auto;
}

/* Centra el nodo del director general */
.org-director {
    display: flex;
    justify-content: center;
}


.text-primary{


  color:rgba(0, 0, 0, 0.72) !important;
  padding: 7px;
    background: #f9f9f9;
    border-bottom: dotted 2px;
}




.features .nav-link h4 {
    font-size: 1em;
    font-weight: 600;
    margin: 10px 0px 0px;
}
 
.gallery-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 10px;
  width: 100%;
}
.gallery-premium .item {
  position: relative;
  overflow: hidden;
  height: 200px;
  width: 100%;
  border-radius: 22px;
  background: #000;
 /* box-shadow: 0 14px 32px rgba(0,0,0,0.22);*/
}
.gallery-premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-premium .item:hover img {
  transform: scale(1.18);
}
.gallery-premium .caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
 
.card-modern  {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 100%;
  padding: 10px;
}

.card-modern:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

 :root {
  --swiper-navigation-color: #ffffff; /* Color de la flecha */
  --swiper-theme-color: #3498db;      /* Color del fondo y bullets */
}

/* Estilo general de los botones */
.swiper-button-next,
.swiper-button-prev {
  background-color: rgba(0, 0, 0, 0.72);
  width: 50px;
  height: 50px;
  /*border-radius: 50%;*/ /* Los hace circulares */
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Redimensionar el tamaño de la flecha interna */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* Efecto al pasar el mouse */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #fff; /* Un azul más oscuro */
  transform: scale(1.1);
  color: rgba(0, 0, 0, 0.72);
  border: solid 20x rgba(0, 0, 0, 0.72);
}

/* Posicionamiento opcional (fuera del slider si el contenedor es más grande) */
.swiper-button-next {
  right: 10px;
}
.swiper-button-prev {
  left: 10px;
}


:root {
    --swiper-navigation-size: 278px !important;
}



.pricing .pricing-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url(https://www.iepcdurango.mx/instituto_electoral/img/foto2.jpg) center center !important;

    background-size: cover;
    text-align: center;
    padding: 40px;
    margin: -60px -40px 0;



  }
body {
    font-family: 'Atkinson Hyperlegible', sans-serif;
}

/* Recomendación: Úsala con un peso mayor en los títulos del modal */
.modal-title {
    font-weight: 700;
}



.testimonials:before {
    content: "";
    background: linear-gradient(0deg, rgb(104 104 104 / 56%), rgb(197 197 197 / 36%)) !important;
        background: linear-gradient(0deg, rgb(104 104 104 / 86%), rgb(197 197 197 / 63%)) !important;
    position: absolute;
    inset: 0;
    z-index: 2;
}

 
    :root {
        --pink-iepc: rgba(0, 0, 0, 0.72);
        --dark-iepc: #2b2825;
        --glass-bg: rgba(255, 255, 255, 0.9);
    }

    .card-modern {
        background: var(--glass-bg);
        border: 1px solid rgba(195, 28, 120, 0.1);
        border-radius: 24px;
        transition: all 0.5s cubic-bezier(0.2, 1, 0.22, 1);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    /* El efecto de fondo rosa que sube al hacer hover */
    .card-modern::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
           background: linear-gradient(180deg, rgb(0 0 0 / 5%) 0%, rgb(0 0 0 / 0%) 100%);
        transition: all 0.5s ease;
        z-index: -1;
    }

    .card-modern:hover {
        transform: translateY(-15px);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.72) !important;
        border-color: rgba(0, 0, 0, 0.72);
    }

    .card-modern:hover::before {
        top: 0;
    }

    /* Contenedor del Icono con Neomorfismo */
    .icon-wrapper {
        width: 80px;
        height: 80px;
        background: #ffffff;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
        font-size: 32px;
        color: rgba(0, 0, 0, 0.72);
        box-shadow: 10px 10px 20px rgba(0,0,0,0.02), -10px -10px 20px rgba(255,255,255,0.8);
        transition: all 0.5s ease;
    }

    .card-modern:hover .icon-wrapper {
        background: rgba(0, 0, 0, 0.72);
        color: white;
        transform: scale(1.1) rotate(10deg);
           box-shadow: 0 10px 20px rgb(2 2 2 / 30%);
    }

    .card-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(195, 28, 120, 0.1);
        color: rgba(0, 0, 0, 0.72);
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .btn-explore {
        background: transparent;
        color: rgba(0, 0, 0, 0.72);
        border: 2px solid rgba(0, 0, 0, 0.72);
        border-radius: 50px;
        padding: 8px 25px;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .card-modern:hover .btn-explore {
        background: rgba(0, 0, 0, 0.72);
        color: white;
    }

    .features .nav-link:hover, .features .nav-link.active {
       color: var(--contrast-color) !important;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.72);
    border-width: 11px;
    border: double 0px !important;
    border-color: rgb(255, 255, 255);
    border-image: initial;
}



.header .btn-getstarted, .header .btn-getstarted:focus {
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    font-size: 14px;
    padding: 8px 26px;
    margin: 0;
    border-radius: 4px;
    transition: 0.3s; border: solid 2px rgba(0, 0, 0, 0.72);
}

.header .btn-getstarted:hover, .header .btn-getstarted:focus:hover {
    color: #fff;
    background: 
 gray;
 border: solid 2px rgba(0, 0, 0, 0.72);
}



.icon-3d {
  font-size: 60px;
  color: rgba(0, 0, 0, 0.72);
  animation: flotar 2s infinite ease-in-out;
}

@keyframes flotar {
  0% { transform: translateY(0px); }
  50% {/* transform: translateY(-100px);*/

opacity: .6;

   }
  100% { transform: translateY(0px); }
}
 
/* Respecta preferencia de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .typewriter, .typewriter::after { animation: none !important; }
}

/* Contenedor visual */
.typewriter-container { padding: 3rem 1rem; }

/* Texto que se "escribe" */
.typewriter {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: 600;
 
 
  white-space: pre-line;
  overflow: hidden;
  border-right: .12em solid #000;
  box-sizing: content-box;
  width: 0; /* se animará hasta el ancho del contenido */
  display: inline-block;
  vertical-align: middle;
  animation:
    typing 3.2s steps(40, end) forwards,
    blink-caret .75s step-end forwards;
}

/* Ajusta steps() según la longitud para más realismo */
@keyframes typing {
  from { width: 0; }
  to   { width: 100%; } /* con overflow:hidden y white-space:nowrap */
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50%     { border-color: #000; }
}


.img-toggle {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}
.img-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}



        /* Contenedor del Panel Ejecutivo */
    .control-panel {
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        max-width: 500px;
       
    }

    /* Encabezado del Panel */
    .control-panel-header {
        background-color: #f8f9fa;
        padding: 1.25rem;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header-icon {
        width: 40px;
        height: 40px;
        background: #bc955c; /* Dorado Institucional */
        color: white;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .control-panel-title {
        margin: 0;
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #444;
    }

    /* Cuerpo del Panel */
    .control-panel-body {
        padding: 2rem;
        background: linear-gradient(to bottom, #ffffff, #fafafa);
    }

    /* Refinamiento del Select dentro del panel */
    .select-ejecutivo-premium {
        height: 55px !important;
        border: 2px solid #e2e8f0 !important;
        font-size: 1.1rem !important;
        transition: all 0.3s ease !important;
    }

    .select-ejecutivo-premium:focus {
        border-color: #bc955c !important;
        background-color: #fff !important;
    }


    .header-icon {
    width: 40px;
    height: 40px;
    background: #212529;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 5px;
}
     
    
    .nav-tabs {
    border-bottom: 1px solid #ddd;
}
.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
ol, ul {
    margin-top: 0;
    margin-bottom: 10px;
}



.nav-tabs>li {
    float: left;
    margin-bottom: -1px;
}
.nav>li {
    position: relative;
    display: block;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}
.nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}
.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 15px;
}


.btn-group-vertical>.btn-group:after, .btn-group-vertical>.btn-group:before, .btn-toolbar:after, .btn-toolbar:before, .clearfix:after, .clearfix:before, .container-fluid:after, .container-fluid:before, .container:after, .container:before, .dl-horizontal dd:after, .dl-horizontal dd:before, .form-horizontal .form-group:after, .form-horizontal .form-group:before, .modal-footer:after, .modal-footer:before, .modal-header:after, .modal-header:before, .nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before, .pager:after, .pager:before, .panel-body:after, .panel-body:before, .row:after, .row:before {
    display: table;
    content: " ";
}
:after, :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
 
   

#logo {
  width: 100px;
  height: 100px;
  margin: 50px auto 0;

}
#loader {
  /*width: 130px;
  height: 150px;
  border-radius: 10px;
  margin: 0 auto;
  padding: 15px;
  background: rgba(255,255,255,0.5);
  position: fixed;*/

  width: 100%;
    height: 100%;
    border-radius: 10px;
    margin: 0 auto;
    /*padding: 15px;*/
    /*background: rgb(33 25 25 / 50%);*/

     background: rgb(255 255 255 / 58%);


    position: fixed;
      z-index: 10000000;
}
#text {
 /* width: 100%;
  font-size: 14px;
  font-family: arial;
  text-align: center;
  margin-top: 20px;*/

  margin-top: 11%;
    color: #343876;
    font-size: 15px;
    top: -41%;
    position: relative;
}
#circuleExtern {
  /*width: 100px;
  height: 100px;
  border-radius: 100px;
  background: #87c7ff;
  position: relative;
  margin: 20px auto 0;
  -webkit-animation: scales 0.9s ease-in infinite alternate;
  -moz-animation: scales 0.9s ease-in infinite alternate;
  animation: scales 0.9s ease-in infinite alternate;*/


width: 100px;
    height: 100px;
    border-radius: 100px;
    background: #87c7ff;
    position: relative;
    margin: 20px auto 0;
    -webkit-animation: scales 0.9s ease-in infinite alternate;
    -moz-animation: scales 0.9s ease-in infinite alternate;
    animation: scales 0.9s ease-in infinite alternate;
    margin-top: 20%;
    margin-left: 50%;






}
#circuleMedium {
  width: 70px;
  height: 70px;
  top: 50%;
  left: 50%;
  margin-top: -35px;
  margin-left: -35px;
  border-radius: 70px;
  background: rgba(42,40,104,0.9);
  position: absolute;
  -webkit-animation: scales 0.8s ease-out infinite alternate;
  -moz-animation: scales 0.8s ease-out infinite alternate;
  animation: scales 0.8s ease-out infinite alternate;
}
#circuleCenter {
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
  border-radius: 50px;
  background: #fff;
  position: absolute;
  -webkit-animation: scales 1.2s ease-in-out infinite alternate;
  -moz-animation: scales 1.2s ease-in-out infinite alternate;
  animation: scales 1.2s ease-in-out infinite alternate;
}
@-moz-keyframes scales {
  from {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
  }
  to {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
  }
}
@-webkit-keyframes scales {
  from {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
  }
  to {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
  }
}
@-o-keyframes scales {
  from {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
  }
  to {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
  }
}
@keyframes scales {
  from {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
  }
  to {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
  }
}



tr.odd {
       background-image: linear-gradient(65deg, #ffffff 0, #ffffff 100%) !important;
    color: #000;
}


tr.odd:hover {
       background-image: linear-gradient(65deg, #ffffff 0, #ffffff 100%) !important;
    color: #000;
}



div.dataTables_wrapper {
    position: relative;
    background: #21252a !important;
}



  tr.even {
    background-color: #ffffff;
        color: #50535a !important;
}

tr.odd td.sorting_1 {
        background-color: #000000b8 !important;
    COLOR: #FFF;
}



.paging_full_numbers span.paginate_button {
    background-color: #252527 !important;
    color: #fff;
}

tr.even td.sorting_1
 {
        background-color: #969494 !important;
    color: #fff;
}



.dataTables_length
 
 {
    width: 50%;
    float: left;
    padding: 15px;
    background: #212529;
    border-top: #212529 solid 3px;
    color: #fff;
}


.dataTables_filter {
    width: 50%;
    float: right;
    text-align: right;
    padding: 12px;
    background: #212529;
    color: #fff;
        border-top: #212529 solid 3px;
}

label {
    display: inline-block;
    text-align: center !important;
}

tr.odd td.as a
 
 {
    color: #000;
}




.paging_full_numbers span.paginate_active {
     background-color: #969494;
    color: #fff;
}


.paging_full_numbers span.paginate_button {
    background-color: #c31c78 !important;
    color: #fff;
}

table.display td {
    padding: 13px 10px;
    text-align: justify;
    font-size: 12px;
    border: solid 4px #f9f9f9;
}

    .is-invalid {
        border-color: #dc3545 !important;
        background-image: none !important;
        animation: shake 0.5s; /* Efecto de vibración opcional */
    }

    @keyframes shake {
        0% { transform: translateX(0); }
        25% { transform: translateX(5px); }
        50% { transform: translateX(-5px); }
        75% { transform: translateX(5px); }
        100% { transform: translateX(0); }
    }
 
    /* Estilo de error personalizado */
    .is-invalid {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
        animation: vibrar 0.4s linear;
    }

    /* Animación de vibración */
    @keyframes vibrar {
        0% { transform: translateX(0); }
        20% { transform: translateX(-6px); }
        40% { transform: translateX(6px); }
        60% { transform: translateX(-6px); }
        80% { transform: translateX(6px); }
        100% { transform: translateX(0); }
    }
    
    .form-text {
        transition: all 0.3s ease;
    }
 
        /* Contenedor principal para posicionar el texto sobre la imagen */
        .contenedor-imagen {
            position: relative;
            width: 100%;
            /* Fondo oscuro para que el texto resalte si la imagen tarda en cargar */
            background-color: #333; 
            overflow: hidden; /* Asegura que nada se salga del borde */
        }

        /* Estilos aplicados a tu imagen original */
        .contenedor-imagen img {
            display: block; /* Quita espacios extra inferiores */
            width: 100%;
            /* Mantengo tu opacidad original, aunque .3 mejora la lectura */
            opacity: .3; 
            height: auto;
        }

        /* Contenedor centrado para el texto */
        .texto-sobrepuesto {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Centrado perfecto */
            width: 90%; /* Margen para que no toque los bordes */
            text-align: center;
        }

        /* EL EFECTO DE LETRAS UNDIDAS (LETTER-PRESS) */
        .letras-hundidas {
              font-family: 'Arial Black', 'Helvetica Bold', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 22px;
    color: #ffffff;
    text-shadow: rgb(255 255 255 / 30%) 0px 8px 2px;
    margin: 0;
    letter-spacing: 2px;
        }

        /* Media query para pantallas pequeñas (móviles) */
        @media (max-width: 768px) {
            .letras-hundidas {
                font-size: 6vw; /* Agranda el texto en móviles */
            }
        }


        .active>.page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #21252a;
    border-color: #21252a;
}


.page-link {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: #6c757d;
    text-decoration: none;
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


@media (max-width: 701px) {
    .robertita {
        width: 40% !important;
        margin-top: 15px !important;

      
    }



}

.mertina{


    margin-top: 45px !important;
}



.dataTables_paginate{
    width: 22% !important;
}



.card-body p {
    hyphens: auto;
    text-justify: inter-word;
} 

/* Quitamos los bordes por defecto de Bootstrap para que se vea moderno */
.nav-tabs .nav-link {
  border: none !important;
  color: #6c757d;
  transition: color 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #ffffff !important;
    background: #515151 !important;
}

/* El "Slider" mágico */
 

.titulo_organigrams{


           padding: 20px;
    background: #ffffff0d;
    color: #040404;
    border-bottom: dotted 2px #2c3e50;
    background: linear-gradient(4deg, #ffffff00 0%, #cdcdcd69 100%);
    text-align: center;
    font-weight: 900;
    margin-bottom: 0px !important;
}


 .rommer {
    padding: 15px 0 18px 0 !important;
    background: url(https://iepcdurango.mx/instituto_electoral/assets/img/portada-normatividad.png);
    background-size: 100% 100%;
    background-attachment: fixed;
}




/* Estilo base de los botones */
.btn-ejecutivo {
    background: #ffffff;
    color: #495057;
    border: 1px solid #ced4da;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* El estilo que se aplica al dar clic */
.btn-ejecutivo.active {
        background: #212529 !important;
    color: #ffffff !important;
    border-color: #212529;
    font-weight: bold;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2c3e50;
    transform: translateY(-1px);
}

/* Flecha indicadora opcional */
.btn-ejecutivo.active::after {
    content: '▾';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #2c3e50;
    font-size: 20px;
}




.btn-ejecutivo1 {
    background: #ffffff;
    color: #495057;
    border: 1px solid #ced4da;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* El estilo que se aplica al dar clic */
.btn-ejecutivo1.active1 {
        background: #212529 !important;
    color: #ffffff !important;
    border-color: #212529;
    font-weight: bold;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2c3e50;
    transform: translateY(-1px);
}

/* Flecha indicadora opcional */
.btn-ejecutivo1.active1::after {
    content: '▾';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #2c3e50;
    font-size: 20px;
}
 /* Tarjeta con altura uniforme y diseño ejecutivo */
    .service-item {
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: all 0.4s ease;
        background: #ffffff;
        border: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            background-image: url(https://www.iepcdurango.mx/IEPC_DURANGO/a/otra/img/Ondas_green_gray.png);
    background-size: cover;
    }

    /* Efecto Hover */
    .service-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px #212529; /* Sombra con toque dorado */
        border-color: #212529;
    }

    /* Contenedor del icono con transición */
    .service-icon {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa !important;
        transition: 0.4s;
    }

    .service-item:hover .service-icon {
        background: #212529 !important;
        color: white !important;
    }

    .service-item:hover .service-icon i {
        color: white !important;
        transform: scale(1.1);
    }

    /* Forzar que el botón siempre esté al final */
    .service-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .service-description {
        flex-grow: 1; /* Esto empuja el botón hacia abajo */
        min-height: 80px;
    }

    .text-gold {
        color: #485664 !important;
    }





 /* Contenedor Principal */
    .feature { /*background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);*/ }

    /* Tarjetas de Voto Anticipado (Superiores) */
    .feature-item-card {
        height: 100%;
        background: #ffffff;
        border: 1px solid #e9ecef;
        border-radius: 15px;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .feature-item-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 15px 35px rgba(188, 149, 92, 0.15);
        border-color: #485664;
    }

    /* Iconos Grandes y Centrados */
    .icon-box {
        width: 110px;
        height: 110px;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        border-radius: 50% !important;
        transition: 0.4s;
    }

    .feature-item-card:hover .icon-box {
        background: #485664 !important;
    }

    .feature-item-card:hover .icon-box i {
        color: #ffffff !important;
        transform: scale(1.1);
    }

    /* Enlaces y Texto */
    .feature-content a {
        text-decoration: none;
        color: #2c3e50;
        transition: 0.3s;
    }

    .feature-item-card:hover .feature-content a { color: #485664; }

    /* Estilo para las secciones inferiores (Prisión y Trans) */
    .section-split {
        background: #ffffff;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    }

    .list-item-doc {
        padding: 15px;
        border-radius: 10px;
        transition: 0.3s;
        border: 1px solid transparent;
    }

    .list-item-doc:hover {
        background: #fffdf9;
        border-color: #485664;
    }
    
    .text-primary-gold { color: #485664 !important; }


    .mertina{
          height: 119px;
    overflow: hidden;
    background: #515151 !important;
    border-top-left-radius: 101%;
    border-top-right-radius: 101%;
    border-top: dotted 7px #ebebeb;
    }
 .features .nav-link:hover, .features .nav-link.active {
    transition: 0.3s;
    background: #000000b8;
    color: var(--contrast-color) !important;
    border-color: var(--accent-color);
    border: double 0px #ffffff00 !important;
} 

.headerde_interiores{

        padding: 105px;
    text-transform: uppercase;
    background: url(https://www.iepcdurango.mx/instituto_electoral/img/dgoplaza.webp);
    background-size: 100% 94%;
    background-attachment: fixed;
}


 /* Contenedor con scroll suavizado para móviles */
    .table-responsive-ejecutiva {
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        background: #fff;
        padding: 10px;
        border: 1px solid #f0f0f0;
    }

    /* Estilo de la Tabla */
    #actas_consejo {
        border-collapse: separate;
        border-spacing: 0 8px; /* Crea un efecto de "filas flotantes" */
        margin-top: -8px;
    }

    /* Encabezado Ejecutivo */
    #actas_consejo thead tr {
        background: #2b2825 !important; /* Mantenemos tu color base pero con refinamiento */
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 1.2px;
    }

    #actas_consejo thead th {
        padding: 15px;
        font-weight: 600;
        font-size: 11px;
        border: none;
        border-radius: 4px;
    }

    /* Filas de la Tabla */
    #actas_consejo tbody tr {
        background-color: #ffffff;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

    #actas_consejo tbody td {
        padding: 16px 15px;
        vertical-align: middle;
        border-top: 1px solid #f8f9fa;
        border-bottom: 1px solid #f8f9fa;
        color: #444;
        font-size: 14px;
    }

    /* Redondear esquinas de las filas (Efecto Moderno) */
    #actas_consejo tbody tr td:first-child { 
        border-left: 1px solid #f8f9fa; 
        border-radius: 8px 0 0 8px; 
        font-weight: 500;
    }
    #actas_consejo tbody tr td:last-child { 
        border-right: 1px solid #f8f9fa; 
        border-radius: 0 8px 8px 0; 
        text-align: center;
    }

    /* Efecto Hover Profesional */
    #actas_consejo.table-hover tbody tr:hover {
        background-color: #fffdf9 !important; /* Un tono crema muy sutil */
        transform: scale(1.005);
        box-shadow: 0 4px 12px rgba(188, 149, 92, 0.12);
        border-color: #bc955c;
    }

    /* Badge para botones o estados dentro de la tabla */
    .btn-download-table {
        background: #f8f9fa;
        color: #bc955c;
        border: 1px solid #eee;
        border-radius: 6px;
        padding: 6px 12px;
        transition: 0.3s;
        text-decoration: none;
        font-size: 13px;
    }

    .btn-download-table:hover {
        background: #bc955c;
        color: white;
        border-color: #bc955c;
    }


.text-pink { color: #d63384 !important; }
    .bg-pink { background-color: #d63384 !important; }
    
    /* Efecto al enfocar el select */
    .form-select:focus {
        border-color: #d63384;
        box-shadow: 0 0 0 0.25rem rgba(214, 51, 130, 0.1);
    }

    /* Estilo para que el panel se vea elevado */
    .card.shadow-sm {
        transition: transform 0.3s ease;
    }
    
    .card.shadow-sm:hover {
        transform: translateY(-2px);
    }


    /* Sombras Premium Custom */
    .shadow-premium {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08) !important;
    }

    /* Interacción de Tarjetas */
    .hover-card-premium {
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
    
    .hover-card-premium:hover {
        transform: translateX(10px);
        background-color: #ffffff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important;
        border-color: #007bff !important;
    }

    .hover-blue:hover {
        background-color: #007bff !important;
        border-color: #007bff !important;
    }
    
    .hover-blue:hover i {
        color: #fff !important;
    }

    .transition-all {
        transition: all 0.3s ease;
    }

    .btn-dark:hover {
        background: #333 !important;
        transform: translateY(-2px);
    }

    /* Tipografía Inter (Opcional: Importar en el head de tu sitio) */
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');


 .testimonialses:before {
    content: "";
    background: linear-gradient(0deg, rgb(4 2 3 / 56%), rgb(252 252 252 / 36%));
    position: absolute;
    inset: 0;
    z-index: 2;
}


    /* Estilos Ejecutivos para las Cards */
.custom-card-exec {
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    border-radius: 12px !important;
    background: #ffffff;
    border: 1px solid #e9ecef !important;
    overflow: hidden;
}

.custom-card-exec:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border-color: #0d6efd !important;
}

.bg-light-exec {
    background-color: #f8f9fa;
    border-right: 1px solid #f1f1f1;
}

.logo-container {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-logo-exec {
    max-height: 100%;
    object-fit: contain;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.65rem !important;
}

/* Ajuste para tu clase robertita */
.robertita {
    padding: 10px;
}


/* Estilos para Agrupaciones */
.card-agrupacion-exec {
    transition: all 0.3s ease;
    border-radius: 15px !important;
    background: #ffffff;
    border-left: 5px solid #000000b8 !important; /* Verde distintivo de agrupaciones */
}

.card-agrupacion-exec:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
}

.bg-agrup-light {
    background-color: #f9f9f9; /* Fondo sutilmente verdoso */
}

.container-logo-agrup {
    width: 130px;
    height: 130px;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.04);
}

.mini-badge-agrup {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    border: 1px solid #eee;
}

.label-exec {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #888;
    display: block;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.data-exec {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 0;
}

/* Reutilizando tu clase robertita para el espaciado global */
.robertita {
    padding: 15px;
}

.coutlas{
      height: 119px;
    overflow: hidden;
    background: #515151 !important;
    border-top-left-radius: 101%;
    border-top-right-radius: 101%;
    border-top: dotted 7px #ebebeb;
}




    .card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgb(72 86 100);
    color: rgb(255 255 255 / 72%);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}



      .justify-content-between {
    justify-content: space-around !important;
}









/* Quitamos los bordes por defecto de Bootstrap para que se vea moderno */
.nav-tabs .nav-link {
  border: none !important;
  color: #6c757d;
  transition: color 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #ffffff !important;
    background: #515151 !important;
}
 /* Estilo para las tiras mini */
    .item-tira-mini {
            border-left: 3px solid #515151 !important;
        transition: all 0.2s ease-in-out;
    }

    .item-tira-mini:hover {
        background-color: #ffffff !important;
        transform: translateY(-2px); /* Efecto de elevación en lugar de desplazamiento */
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
        border-left-color: gray !important; /* Cambio a dorado en hover */
    }

    .icon-box-mini {
        min-width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Evita que el texto largo rompa la tarjeta */
    .text-truncate {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }



      /* Estilos personalizados para la sección de Avisos de Privacidad IEPC */
  .facts-section { 
    background-color: #f9f9f9; 
    padding: 80px 0; 
    font-family: 'Open Sans', sans-serif;
  }
  
  .section-title h2 {
    color: #515151; /* Guinda Institucional */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .title-divider {
    width: 70px;
    height: 4px;
    background-color: #515151;
    margin: 15px auto 30px;
    border-radius: 2px;
  }

  .privacy-card {
    transition: all 0.4s ease;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
  }
  
  .privacy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(140, 29, 61, 0.12) !important;
    border-bottom: 3px solid #515151;
  }

  /* Contenedor del Logo Institucional */
  .logo-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 10px;
  }

  .logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .card-label {
    font-size: 0.70rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 25px;
    min-height: 50px;
  }

  /* Botones estilo institucional */
  .btn-iepc {
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 25px;
    border: 2px solid #515151;
    color: #515151;
    background: transparent;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
  }

  .btn-iepc:hover {
    background: #515151;
    color: #ffffff;
  }

  /* Variación para procesos activos */
  .card-active {
    background-color: #fff9fa;
    border: 1px solid #515151;
  }


/* Contenedor general */
#slider-wrapper {
position: relative;
width: 100%;
max-width: 100%;
margin: 0 auto;
padding: 0 10px;
font-family: arial, sans-serif;
font-size: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* Contenedor slider */
#slider {
position: relative;
width: 100%;
    height: 287px;
padding-bottom: 50%; /* Aspect ratio */
overflow: hidden;
/*border: 10px solid #3333330d;*/
/*border-radius: 5%/10%;*/
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 15px;
}
#slider > a {
position:absolute;
top:0;
left:0;
width: 100%;
min-height: 100%;
}
/* Ajuste de las imágenes */
#slider img {
width: 100%;
    height: 100%;
    position: absolute;
    margin: 0px;
    padding: 0;
    border: 0;
    left: 0px;
}
/* Texto que acompaña a cada imagen */
#slider p {
 
    position: absolute;
    bottom: 5%;
    left: 0;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 5px 0;
     
    color: #eee;
    background: #050000;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
}
 
/* Flechas de navegación */
a.mas, a.menos {
position: absolute;
top: 50%;
left: 10px;
z-index: 10;
width: 30px;
height: 30px;
text-align: center;
line-height: 30px;
font-size: 30px;
color: white;
background: #333;
text-decoration: none;
}
a.mas {
left: 100%;
margin-left: -40px;
}
 
  
  a {
    color: #0b0d0e;
    text-decoration: none;
    transition: 0.3s;
}


.titulolimpio{

  text-align: center;
    padding: 10px;
    background: #0ea2bd;
    color: #fff;
    text-transform: uppercase;
}


.calendar-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 350px;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.calendar-header a {
    text-decoration: none;
    font-size: 1.5rem;
    color: #333;
}
.calendar-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.calendar-table th {
    font-weight: bold;
    padding: 10px 0;
    color: #555;
}
.calendar-table td {
    padding: 10px 0;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.calendar-table td.inactive {
    color: #ccc;
}
.calendar-table td.current-day {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}
.calendar-table td:not(.inactive):not(.current-day):hover {
    background-color: #e6e6e6;
}


.glightbox-clean .gnext{

    display: none;
}



.row-striped:nth-of-type(odd) {
    background-color: #ffffff !important;
    border-left: 4px #0da2bd solid !important;
}




.badge-secondary
 {
    color: #fff;
    background-color: #0da2bd !important;
}

 



.borderes{

border-left: solid 45px #c31c78 !important;
border-right: #c31c78 solid 45px !important;
}



.borderesagrup{

border-right: #c31c78 solid 45px;
}



@media (max-width:900px) {
  /* Estilos específicos para tablets */
  .borderes{

border-left: solid 0px #c31c78 !important;
border-right: #c31c78 solid 0px !important;
}


  .borderesagrup{
border-right: #c31c78 solid 0px;
}

}


.hojas::before,.hojas::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 3.5px;
    left: 0;
    background: #fff;
    z-index: -1;
    -webkit-transform: rotateZ(4deg);
    -moz-transform: rotateZ(4deg);
    -ms-transform: rotateZ(4deg);
    border: 1px solid #ccc
}

.hojas::after {
    top: 5px;
    z-index: -2;
    -webkit-transform: rotateZ(-2deg);
    -moz-transform: rotateZ(-2deg);
    -ms-transform: rotateZ(-2deg)
}






/* --- CONFIGURACIÓN DE NAVEGACIÓN --- */
.nav-wrapper-executive {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.carousel-indicators-vertical {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px;
}

/* 1. ESTADO INACTIVO (FUERZA BRUTA) */
/* Usamos selectores ultra-específicos para ganar a Bootstrap */
#carouselMain .carousel-indicators-vertical button[data-bs-target] {
    width: 6px !important;
    height: 25px !important;
    background-color: #ffffff !important;
    opacity: 0.25 !important; /* Grisáceo por transparencia */
    border: none !important;
    margin: 0 !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 2. ESTADO ACTIVO (CAMBIO DE COLOR REAL) */
/* Atacamos la clase .active y el atributo aria-current que Bootstrap gestiona */
#carouselMain .carousel-indicators-vertical button.active,
#carouselMain .carousel-indicators-vertical button[aria-current="true"] {
    background-color: #515151 !important; /* EL ROSA MAGENTA */
    opacity: 1 !important; /* Opacidad completa para que se vea el color */
    height: 55px !important; /* Se estira */
    box-shadow: 0 0 10px rgba(195, 28, 120, 0.5); /* Efecto brillo opcional */
}

/* 3. BOTONES FLECHAS */
.btn-nav-vertical {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-nav-vertical:hover {
    background: #515151;
    border-color: #515151;
}

/* --- ESTILOS DE CONTENIDO --- */
.carousel-caption-custom {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}
.content-box { pointer-events: auto; }

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    z-index: 6;
}

.category-tag {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 3px;
    border-left: 4px solid #515151;
    padding-left: 15px;
    margin-bottom: 1.5rem;
}

.main-title {
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.main-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.btn-exec {
    padding: 12px 25px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-exec.primary { background: #515151; color: #fff; border: 2px solid #515151; }
.btn-exec.outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-exec:hover { transform: translateY(-3px); color: #fff; }

/* Animación de Título */
.carousel-item.active .main-title {
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Paleta de Colores y Estilos Ejecutivos */
.bg-light-gray { background-color: #f4f4f4; }
.tiny-link { font-size: 0.7rem; letter-spacing: 1.5px; }

/* Botones de años minimalistas */
.btn-year {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #444;
    transition: all 0.3s ease;
}

.btn-year:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Efectos de transición */
.transition-exec {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.transition-exec:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
}

.main-hero-img {
    transition: transform 6s linear;
}

.card:hover .main-hero-img {
    transform: scale(1.1);
}

/* Ajustes responsivos */
@media (max-width: 991px) {
    .card-body.p-5 { padding: 2rem !important; }
}




/* Efecto suave para las tarjetas interactivas */
.card-hover-custom {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}
.card-hover-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.list-group-item {
    transition: background 0.2s;
}
.list-group-item:hover {
    background-color: #f8f9fa;
}



/* Estilos Ejecutivos */
.tiny-text { font-size: 0.65rem; font-weight: 800; letter-spacing: 1px; }

.custom-select-exec {
    border-radius: 0 !important;
    border: 1px solid #e0e0e0 !important;
    font-size: 0.9rem !important;
    padding: 10px !important;
    background-color: #fcfcfc !important;
    transition: all 0.3s ease;
}

.custom-select-exec:focus {
    border-color: #000 !important;
    box-shadow: none !important;
    background-color: #fff !important;
}

.img-exec-header {
    height: 250px;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7);
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
}

.header-text-position {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

/* Animación sutil para la carga de resultados */
#resultado {
    transition: opacity 0.5s ease;
}


/* Estilos para el IEPC Durango - 2026 */
.card-resource {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.card-resource:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08) !important;
}

.card-resource-mini {
    transition: all 0.3s ease;
    border-radius: 12px;
    background: #fff;
    position: relative;
}

.card-resource-mini:hover {
    background: #f8f9fa;
    transform: scale(1.03);
}

.bg-light-success { background-color: #e8f5e9; }
.bg-light-primary { background-color: #e3f2fd; }

.smallest {
    font-size: 0.85rem;
}

/* Ajuste de iconos para Bootstrap Icons */
.icon-box i {
    line-height: 1;
}



/* Estilo Ejecutivo para Tablas */
#convocatorias_pasadas thead th {
    background-color: #1a1a1a !important;
    border: none;
    font-size: 0.85rem;
}

#convocatorias_pasadas tbody tr {
    background-color: #ffffff;
    transition: all 0.2s ease;
}

#convocatorias_pasadas tbody tr:hover {
    background-color: #f8f9fa !important;
    transform: scale(1.002);
}

#convocatorias_pasadas td {
    border: none;
    border-bottom: 1px solid #eee !important;
}

/* Personalización del botón */
.btn-outline-dark:hover {
    background-color: #000 !important;
    color: #fff !important;
}

/* Ajuste para DataTables si lo usas */
.dataTables_wrapper .dataTables_filter input {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 5px 15px;
}


/* --- ESTILO EJECUTIVO AVANZADO --- */
.post-card {
    background: #fff;
    border-radius: 0; /* Puntas cuadradas para un look más serio/institucional */
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid #eee;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #515151;
}

.main-link { text-decoration: none !important; }

/* Efecto Gris a Color */
.post-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.post-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Empieza en gris */
    transition: all 0.6s ease;
}

.post-card:hover .post-main-img {
    filter: grayscale(0%); /* Cambia a color al pasar el mouse */
    transform: scale(1.05);
}

/* Badge Flotante */
.badge-custom {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #515151;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 12px;
    text-uppercase;
    letter-spacing: 1px;
}

/* Detalles de Diseño */
.line-deco {
    width: 30px;
    height: 2px;
    background: #515151;
    display: inline-block;
    margin-right: 10px;
}

.category-label {
    font-size: 11px;
    font-weight: 800;
    color: #999;
    text-uppercase;
    letter-spacing: 1px;
}

.post-title {
    font-size: 1.25rem;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.post-card:hover .post-title {
    color: #515151;
}

.author-avatar img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(0.5);
}

.post-footer { background: #fff; }

/* Ajustes responsivos */
@media (max-width: 768px) {
    .post-img-wrapper { height: 200px; }
}




/* Configuración de Identidad Visual IEPC Durango 2026 */
.text-magenta { color: #515151 !important; }
.bg-magenta-soft { background-color: #fdf2f8 !important; }

.icon-circle {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: 0.3s ease;
}

.transition-hover {
    transition: all 0.4s ease;
}

.transition-hover:hover {
    background-color: #fcfcfc !important;
}

.transition-hover:hover .icon-circle {
    transform: scale(1.1);
    background-color: #515151;
}

.transition-hover:hover .icon-circle i {
    color: #fff !important;
}

.transition-hover:hover h4 {
    color: #515151;
}

/* Tipografía y bordes */
h4 {
    color: #2d3436;
    letter-spacing: -0.5px;
}

.border-light {
    border-color: #f1f3f5 !important;
}

@media (max-width: 991px) {
    .border-end {
        border-end: none !important;
        border-bottom: 1px solid #f1f3f5 !important;
    }
}



/* --- MEJORAS ESTRUCTURALES Y ESTÉTICAS --- */
#featured-services {
    padding: 80px 0;
    background: url('https://www.iepcdurango.mx/instituto_electoral/img/bg-banner.png');
 
 
}

.gallery-card {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    height: 450px; /* Altura controlada y uniforme */
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
}

.card-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(0 0 0 / 17%) 40%, rgb(165 165 165) 100%);
    transition: opacity 0.4s ease;
}

.card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.card-caption i {
    display: block;
    font-size: 2rem;
    opacity: 0.8;
}

.card-caption span {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* --- EFECTOS HOVER --- */
.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.gallery-card:hover .card-img-container img {
    transform: scale(1.1);
}

.gallery-card:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

/* Responsividad */
@media (max-width: 991px) {
    .gallery-card {
        height: 350px;
        margin-bottom: 20px;
    }
}


.contador-container {
            display: flex;
            gap: 8px;
            justify-content: center;
            padding: 20px;
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            display: inline-flex;
        }

        .digito {
            background: var(--bg-digit);
            color: var(--text-digit);
            font-family: 'JetBrains Mono', monospace;
            font-size: 3rem;
            padding: 5px 12px;
            border-radius: 6px;
            /* Efecto de profundidad */
            border-bottom: 4px solid #000;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
            min-width: 40px;
            text-align: center;
        }

        .label {
            display: block;
            text-align: center;
            font-family: sans-serif;
            font-size: 0.8rem;
            color: #64748b;
            margin-top: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

 .card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgb(72 86 100);
    color: rgb(255 255 255 / 72%);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}




