@import url("https://fonts.googleapis.com/css2?family=Oswald&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
#contenedorTotal{
  /* background-color: rgb(48, 48, 48) !important; */
}
.w3l-courses .row{
  text-align: center;
  /* background-color: #89122e; */
  display: flex;
  justify-content: center;
}

.w3l-courses .row .date-ne{
  position: relative;
 z-index: 9999;
 color: #ffffff;
 font-size: .8em;
 bottom: 0;
 background-color: #0000008d;
 padding: 7px;
 border-radius: 3px;
 margin-top: 3px;
 padding-left: 10px;
 padding-right: 10px;
}
.contenedor-carreras {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
   /* background-color: rgb(161, 60, 60);  */
  max-width: 100%;
}

.contenedor-carreras .carrera-p {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content:baseline;
  align-items:  center;
  
  background-color: rgba(176, 13, 13, 0.677);
  max-width: 470px;
  height: auto;
  margin: 5px;
  text-align: center;
  padding: 10px !important;
  border-radius: 10px;
}
.fondo-carrera {
  background: url(../assets/images/banner1.jpg) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  position: absolute;
  top: 0;
  min-height: 100%;
  border-radius: 15px;
  left: 0;
  right: 0;
  z-index: 1;
}
.fondo-carrera:before {
  border-radius: 15px;
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  min-height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
  background-image: linear-gradient(148.25deg, #12156a 3%, #a4323a 89.85%);
  opacity: 0.4;
}
.carrera-p .foto-carrera {
  position: relative;
  display: flex;
  justify-content: baseline;
  align-items: baseline;
  /* background: url(../assets/images/banner1.jpg) no-repeat center; */
  background-size: cover;
  background-attachment: fixed;
  width: 450px;
  height: 250px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 15px;
  border: 0px solid #ffffff !important;
  z-index: 1;
  overflow: hidden;
}
.carrera-p .titulo-profesion {
  font-family: "Oswald", sans-serif;
  font-size: 1.4em;
  margin-top: 10px;
  color: #fcfcfc;
  /* text-shadow: #000 0px 2px 0px !important; */
  z-index: 3;
  background-color: #0600aaa4;
  width: 100%;
  padding-bottom: 5px;
  padding-top: 5px;
  border-radius: 5px;
}
.carrera-p .foto-carrera img {
/* border: 5px solid #fff !important; */
  width: 100%;
  height: auto;
  border-radius: 13px;
  overflow: hidden;
}
.carrera-p .foto-carrera a i {
  color: rgb(223, 57, 57);
  font-size: 1.2em;
}
.carrera-p .foto-carrera a:hover {
  color: rgb(223, 57, 57);
  /* transform: rotate(180deg) !important; */
}
/* .contenedor-carreras .carrera-p:nth-child(1) .foto-carrera {
  background-color: #12156a !important;
  background: url(../assets/images/banner2.jpg) no-repeat center !important;
  background-size: cover !important;
  background-size: 550px !important;
}
.contenedor-carreras .carrera-p:nth-child(2) .foto-carrera {
  background-color: #12156a !important;
  background: url(../assets/images/banner1.jpg) no-repeat center !important;
  background-size: cover !important;
  background-size: 550px !important;
}
.contenedor-carreras .carrera-p:nth-child(3) .foto-carrera {
  background-color: #12156a !important;
  background: url(../assets/images/banner3.jpg) no-repeat center !important;
  background-size: cover !important;
  background-size: 550px !important;
}
.contenedor-carreras .carrera-p:nth-child(4) .foto-carrera {
  background-color: #12156a !important;
  background: url(../assets/images/banner4.jpg) no-repeat center !important;
  background-size: cover !important;
  background-size: 550px !important;
  background-position-x: 0px !important;
}
.contenedor-carreras .carrera-p:nth-child(5) .foto-carrera {
  background-color: #12156a !important;
  background: url(../assets/images/banner5.jpg) no-repeat center !important;
  background-size: cover !important;
  background-size: 550px !important;
  background-position-x: -55px !important;
}
.contenedor-carreras .carrera-p:nth-child(6) .foto-carrera {
  background-color: #12156a !important;
  background: url(../assets/images/banner6.jpg) no-repeat center !important;
  background-size: cover !important;
  background-size: 550px !important;
  background-position-x: -50px !important;
} */
@media (max-width: 810px) {
  .carrera-p {
    width: 420px !important;
    height: auto !important;
  }
  .foto-carrera {
    width: 400px !important;
    height: auto !important;
  }
}
@media (max-width: 710px) {
  .carrera-p {
    width: 400px !important;
    height: auto !important;
  }
  .foto-carrera {
    width: 380px !important;
    height: auto !important;
  }
}
@media (max-width: 610px) {
  .carrera-p {
    width: 360px !important;
    height: auto !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
  }
  .foto-carrera {
    width: 340px !important;
    height: auto !important;
  }
}
  @media (max-width: 410px) {
  .carrera-p {
    width: 100% !important;
    height: auto !important;
    margin-left: 15px !important;
    margin-right: 15px !important;
  }
  .foto-carrera {
    width: 100% !important;
    height: auto !important;
  }
  
}
.title-big{
  font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #1256a9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2.3em !important;
}
.text-para {
  text-align: justify !important;
  font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px !important;
    /* color: #1256a9; */
}
h2.title{
  font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 2.8em !important;
    letter-spacing: 1px;
    /* text-transform: uppercase; */
}
.list-group-capa li{
  text-align: justify !important;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 19px !important;
  margin-left: 30px;
  opacity: 0.6;
  line-height: 42px;
  /* color: #1256a9; */
}
.list-group-capa li i{
  color: #89122e;
  margin-right: 10px;
}
.first-letra::first-letter{
      
      font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-style: normal;
    color: #1256a9;
      font-size: 280%;
      margin: 8px;
        float: left;
        opacity: none !important;
}
@media (max-width: 768px) {
  .list-group-capa li {
    line-height: 28px;
  }
    .list-group-capa li i {
margin-right: 0;
    }
}
/* CARRERAS BANNERS */
.breadcrumb-bg-computacion {
  background: url(../assets/images/banner5.jpg) no-repeat center;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.breadcrumb-bg-computacion:before {
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  min-height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
  background-image: linear-gradient(148.25deg, #12156a 3%, #a4323a 89.85%);
  opacity: 0.5;
}
.breadcrumb-bg-empresas {
  background: url(../assets/images/banner2.jpg) no-repeat center;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.breadcrumb-bg-empresas:before {
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  min-height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
  background-image: linear-gradient(148.25deg, #12156a 3%, #a4323a 89.85%);
  opacity: 0.5;
}
.breadcrumb-bg-adminbancaria {
  background: url(../assets/images/banner1.jpg) no-repeat center;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.breadcrumb-bg-adminbancaria:before {
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  min-height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
  background-image: linear-gradient(148.25deg, #12156a 3%, #a4323a 89.85%);
  opacity: 0.5;
}
.breadcrumb-bg-secretariado {
  background: url(../assets/images/banner6.jpg) no-repeat center;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.breadcrumb-bg-secretariado:before {
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  min-height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
  background-image: linear-gradient(148.25deg, #12156a 3%, #a4323a 89.85%);
  opacity: 0.5;
}
.breadcrumb-bg-contabilidad {
  background: url(../assets/images/banner4.jpg) no-repeat center;
  background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  -ms-background-size: cover;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.breadcrumb-bg-contabilidad:before {
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  min-height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
  background-image: linear-gradient(148.25deg, #12156a 3%, #a4323a 89.85%);
  opacity: 0.5;
}

.title-head img{
  max-width: 150px !important;
}
.title-head .img-awajun{
  max-width: 100px !important;
  margin-bottom: 15px !important;
}
.title-head .img-ucv{
  padding-top: 15px !important;
  margin-bottom: 15px !important;
}
/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  [class*="col-"] {
    width: 100%;
  }
}



        /* Estilos personalizados para el banner (opcional, aunque se prefiere Tailwind) */
        .transparency-card {
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
        }
        .transparency-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(45, 137, 187, 0.3), 0 4px 6px -4px rgba(45, 137, 187, 0.2);
            border-color: #2d89bb; /* Color de borde al pasar el ratón */
        }

/* --- ESTILOS PERSONALIZADOS PARA EL SCROLLBAR --- */

/* Para navegadores WebKit (Chrome, Safari, Edge, etc.) */
::-webkit-scrollbar {
  width: 12px;  /* Ancho del scrollbar vertical */
  height: 12px; /* Alto del scrollbar horizontal */
}

::-webkit-scrollbar-track {
  background: #c3c3c3; /* Color de la pista (el fondo) */
}

::-webkit-scrollbar-thumb {
  background-color: #505050; /* Color principal del pulgar (la barra) */
  border-radius: 10px;       /* Bordes redondeados para el pulgar */
  border: 3px solid #e0e0e0; /* Espacio alrededor del pulgar */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #6f6f6f; /* Color del pulgar al pasar el mouse */
}

/* Para Firefox */
html {
  scrollbar-width: thin; /* Puede ser 'auto', 'thin' o 'none' */
  scrollbar-color: #565656 #414141; /* Color del pulgar y de la pista */
}

/* --- NUEVOS ESTILOS PARA SECCIÓN "QUIÉNES SOMOS" --- */
.quienes-somos {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 90%;
  margin: -65px auto 0 auto;
  padding: 20px 0;
  z-index: 10;
}

.about-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  padding: 30px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  border-top: 4px solid #1256a9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.about-card .about-icon {
  font-size: 3rem;
  color: #1256a9;
  margin-bottom: 15px;
  line-height: 1;
}

.about-card .about-title {
  font-family: "Roboto", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.about-card .about-text {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
}

/* Colores de borde diferentes para cada tarjeta */
.about-card:nth-child(1) { border-top-color: #89122e; }
.about-card:nth-child(1) .about-icon { color: #89122e; }
.about-card:nth-child(2) { border-top-color: #dba308; }
.about-card:nth-child(2) .about-icon { color: #dba308; }
.about-card:nth-child(3) { border-top-color: #2397f5; }
.about-card:nth-child(3) .about-icon { color: #2397f5; }

/* --- ESTILOS PARA PÁGINA "NOSOTROS" --- */
.breadcrumb-bg-nosotros {
  background: url(../assets/images/banner3.jpg) no-repeat center;
  background-size: cover;
  position: relative;
  z-index: 1;
  background-attachment: fixed;
}

.breadcrumb-bg-nosotros:before {
  content: "";
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  min-height: 100%;
  left: 0;
  right: 0;
  z-index: -1;
  background-image: linear-gradient(148.25deg, #12156a 3%, #a4323a 89.85%);
  opacity: 0.5;
}

.nosotros-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nosotros-card {
    background-color: #f9f9f9;
    border-left: 5px solid #89122e;
    padding: 35px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.nosotros-card:nth-child(2) {
    border-left-color: #dba308;
}
.nosotros-card:nth-child(3) {
    border-left-color: #2397f5;
}

.nosotros-icon {
    font-size: 3rem;
    color: #89122e;
    margin-bottom: 15px;
}
.nosotros-card:nth-child(2) .nosotros-icon { color: #dba308; }
.nosotros-card:nth-child(3) .nosotros-icon { color: #2397f5; }

.nosotros-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.nosotros-text {
    font-size: 1.7rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
}

.about-readmore-container {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.about-readmore-container .btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: #6b0e24dc;
    border: 2px solid #89122e;
    color: #89122e;
}

.about-readmore-container .btn:hover {
    background: #89122e;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(137, 18, 46, 0.3);



    font-size: 1.2rem;
    color: #fff;
}

/* ==================================================================
   Preloader Styles
================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2a0505; /* Color de fondo del sitio */
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    animation: flashBackground 2s infinite ease-in-out;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo img {
    height: 80px;
    animation: pulse 1.5s infinite ease-in-out;
}

.preloader-dots {
    display: flex;
    margin-top: 25px;
}

.preloader-dots .dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: #fdfdfd; /* Color primario del sitio */
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.preloader-dots .dot:nth-child(1) { animation-delay: -0.32s; }
.preloader-dots .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

@keyframes flashBackground {
    0%, 100% { background-color: #2a0505; }
    50% { background-color: #4d0a0a; }
}

/* Estilos para el slider de logos draggable */
.slider-horizontal {
    cursor: grab;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Para un scroll suave en iOS */
}

.slider-horizontal.active {
    cursor: grabbing;
}

/* Ocultar la barra de scroll en el slider de logos */
.slider-horizontal {
    -ms-overflow-style: none;  /* IE y Edge */
    scrollbar-width: none;  /* Firefox */
}

.slider-horizontal::-webkit-scrollbar {
    display: none;  /* Chrome, Safari y Opera */
}

/* ==================================================================
   Nuevos Estilos para Modales del Panel de Administración
================================================================== */
.modal-header.modal-header-custom {
    background-color: #f8f9fa; /* Un gris muy claro y profesional */
    color: #343a40; /* Texto oscuro para mejor legibilidad */
    border-bottom: 4px solid #3c8dbc; /* Borde con el color primario del tema */
    padding: 16px;
}

.modal-header.modal-header-custom.header-warning {
    border-bottom-color: #f39c12; /* Color para modales de edición */
}

.modal-header.modal-header-custom .modal-title {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.modal-header.modal-header-custom .close {
    color: #6c757d;
    opacity: 0.8;
    text-shadow: none;
    font-size: 28px;
    font-weight: 300;
}

/* ==================================================================
   Estilos para Tarjetas de Gestión de Documentos
================================================================== */
.gestion-documentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 15px;
}

.gestion-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.gestion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.09);
}

.gestion-card-icon {
    text-align: center;
    padding: 20px;
    font-size: 2.8rem;
    color: #3c8dbc;
    background-color: #f8f9fa;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.gestion-card-icon .visibilidad-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.visibilidad-publico {
    background-color: #28a745; /* Verde */
}
.visibilidad-privado {
    background-color: #ffc107; /* Amarillo */
    color: #333 !important;
}
.visibilidad-archivado {
    background-color: #6c757d; /* Gris */
}

.gestion-card-content {
    padding: 15px;
    flex-grow: 1;
}

.gestion-card-category {
    display: inline-block;
    background-color: #e7f3fe;
    color: #3c8dbc;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.gestion-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.gestion-card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.gestion-card-stats {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    background-color: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.gestion-card-date {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    margin-bottom: 0;
}

.gestion-card-footer {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-around;
    background-color: #fdfdfd;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.gestion-card-footer .btn {
    width: 40px;
    height: 30px;
}

/* ==================================================================
   Estilos para el Selector de Iconos (Modal)
================================================================== */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    padding: 15px;
}

.icon-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.icon-item:hover {
    background-color: #f0f0f0;
    color: #3c8dbc;
}
