   :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-style: double;
    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);
}