body{
    background-color: #00000fff;
    font-family: sans-serif!important;
    overflow-x: hidden;    
}

:root {
    --color-c1: #00000f;
    --color-c2: #0b122d;
    --color-c3: #16204f;
    --color-c4: #272f74;
    --color-c5: #403d9c;
    --color-c6: #673de6ff;
  }
.c1{
    color: #00000fff;
}

.c2{    
    color: #0b122dff;
}
.c3{
    color: #16204fff;
}
.c4{
    color: #272f74ff;
}
.c5{
    color: #403d9cff;
}
.c6{
  color: #673de6ff;
}
.titulos-banner{
  font-size: 80px;
}
.subtitulos-banner{
  font-size: 25px;
}

#btn-back-to-top {
  background-color: #673de6ff;
  border-radius: 50%;
  color: white;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 999;
}
#btn-back-to-top:hover {
  background-color: rgb(126, 86, 247);
  transform: translateY(-5px);
}

.btn-animado {
  background: linear-gradient(-45deg, #472ed9, #312094, #250db1, #563af7);
  background-size: 400% 400%;
  animation: gradientAnim 3s ease infinite;
  border: none; /* Opcional, para quitar el borde */
  color: white; /* Para que el texto sea legible */
  padding: 10px 20px; /* Ajusta el tamaño */
  cursor: pointer; /* Para dar el efecto de que es clickeable */
  transition: background 0.3s ease; /* Transición suave */
}

.animado:hover {
  background: linear-gradient(-45deg, #6248f5, #3f2caa, #381fc9, #664bfd);
  background-size: 400% 400%;
  transform: scale(1.01)!important;
  animation: gradientAnim 3s ease infinite;
}


/* Nav*/

header .nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 1px; /* Para que la línea esté alineada correctamente */
}


/* Nav*/
.bannerhome{
    overflow: hidden;
    background-image: url('/static/images/cmbg.png'); 
    width: 100%; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}

.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 10vw;
    height: 10vw;
    box-shadow: 0px 0px 100px 100px black;
    background: black;
    opacity: 0; 
    animation: fadeSlideUp 1s ease 0.5s forwards;
}  
.navbar-nav .nav-link {
    opacity: 0;
    transform: translateX(500px);
    animation: slideInRight 1s ease-out forwards;
}
.pbg-ele {
    opacity: 0; 
  }
  
  .pbg-ele.animate {
    animation: fadeSlideUp 1s ease 0.3s forwards;
  }
  
  /* Agregamos delay para cada item */
  .navbar-nav .nav-item:nth-child(1) .nav-link { animation-delay: 0.5s; }
  .navbar-nav .nav-item:nth-child(2) .nav-link { animation-delay: 0.7s; }
  .navbar-nav .nav-item:nth-child(3) .nav-link { animation-delay: 0.9s; }
  .navbar-nav .nav-item:nth-child(4) .nav-link { animation-delay: 1.1s; }
  .navbar-nav .nav-item:nth-child(5) .nav-link { animation-delay: 1.3s; }
  .navbar-nav .nav-item:nth-child(6) .nav-link { animation-delay: 1.5s; }
  
  @keyframes slideInRight {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  

/* Logo Home */
.logo-home {
    height: 35vh;
    width: auto;
    z-index: 1;
    opacity: 0; 
    animation: fadeSlideUp 1s ease 0.5s forwards;
}
/* Animación del logo al cargar */
@keyframes fadeSlideUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* Logo Home */

.tresbg{
    background: #00000FFF;
    background: linear-gradient(180deg,rgba(0, 0, 15, 1) 0%, rgba(11, 18, 45, 1) 50%, rgba(0, 0, 15, 1) 100%);    
    width: 100%;
}
.titulos{
    font-size: 60px;
    line-height: 120%;
    letter-spacing: -2px;
    color: white;
}
.subtitulos{
    font-size: 25px;
    line-height: 120%;
    letter-spacing: -2px;
    color: rgb(213, 213, 213);
}
.boton-g{
    background-color: #272f74ff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    padding: 10px 20px;
    letter-spacing: -2px;
    font-weight: bold;
    color: white;
    text-decoration: none!important;
    font-size: 27px;
    border-radius: 10px;
}
.nuevocurso{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}
.btn-primary{
  background-color: #272f74ff!important;
  border: none!important;
}
.btn-primary:hover{
  background-color: rgb(48, 58, 148)!important;
}
.boton-g:hover{
    background-color: rgb(48, 58, 148);

}
.navbar ,.navbar-expand-lg {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10!important;
  width: 100%;
  background-color: transparent!important;
  height: 10vh;
}
footer, .footer-con{
  background-color: var(--color-c1) !important;
}
.navbar.scrolled {
  /*background-color: var(--color-c1) !important;
  transition: background-color 0.7s ease;*/
  
  backdrop-filter: blur(20px);
  transition:  backdrop-filter 0.7s ease;
}
.navbar-brand{
  opacity: 0;
}
.navbar-brand.logoIntro{
  opacity: 1;
  transition: opacity 2s ease;
}


/* --------- Responsive --------- */
/* --------- Responsive --------- */
/* --------- Responsive --------- */
/* --------- Responsive --------- */

@media (max-width: 576px) { /*celular chico */
    .titulos{
        font-size: 30px!important;
        letter-spacing: -1px!important;
    }
    .subtitulos{
        font-size: 20px!important;
        letter-spacing: -1px!important;
    }

}
@media (max-width: 768px) { /*celular */
  .novedades {
    background-image: url('/static/images/novedades2v.png')!important;
  }
    .logo-home {
      height: 25vh!important;
      width: auto;
    }
    .carousel-control-next{
      margin-right: -10px!important;
    }
    .carousel-control-prev{
      margin-left: -10px!important;
    }

    .novedades-card-cont{
      margin-top: -300px!important;
    }
    .colegiados-cont {
      margin-top: -170px!important;
    }
    .subtitulos{
      font-size: 20px!important;
      letter-spacing: -1px!important;
  }

}

@media (min-width: 992px) { /* Pantalla Grande pc */
  /* .tresbg{
    height: 100vh;
  } */
  .alturaRed{
    height: 100vh;
  }
  header  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #80bdff;
    transition: width 0.3s ease;
  }
  
  header .nav-link:hover::after,
  header .nav-link.active::after {
    width: 100%;
  }
  
}
.matCont{
  position: absolute; /* Permite que se posicione sobre searchBanner */
  top: 70%; /* Lo coloca en el medio del banner */
  left: 50%; /* Lo centra horizontalmente */
  transform: translate(-50%, -50%); /* Centra la caja de búsqueda respecto a su tamaño */
  z-index: 10; /* Asegura que esté sobre el banner */
}
/* --------- Responsive --------- */
@media (max-width: 991px) { /*tablet  */
  
    .navbar {
        background-color: var(--color-c1) !important; /* tu color oscuro */
      }
      .navbar-brand{
        opacity: 1;
      }
    
      /* Botón hamburguesa */
      .navbar-toggler {
        border: 1px solid white;
      }
    
      .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
      }
    
      /* Fondo del menú desplegado */
      .navbar-collapse {
        background-color: var(--color-c1); /* mismo fondo que la barra */
        padding: 1rem;
        position: absolute!important;      
        top: 10vh!important;  
        left: 0!important;  
        width: 100%!important;
        z-index: 10!important;
      }
    
      .navbar-nav .nav-link {
        color: white !important;
        animation: slideInRight 0.5s ease forwards;
      }
      .nav-link {
        width: 100%;
      }
      .nav-link:hover{
        background-color: #80bdff;
        width: 100%;
        border: none!important;
    }
    .nav-link.active{
        border-bottom: none!important;
    }
    a.nav-link{
        padding: 0px 10px!important;
    }
    .boton-g{
        width: 200px;
        padding: 10px 20px;
        letter-spacing: -2px;
        font-size: 27px;
        border-radius: 10px;
    }
    .titulos-banner{
      font-size: 60px;
    }
    .subtitulos-banner{
      font-size: 25px;
    }
    /* .alturaRed{
      margin: 200px 0px;
  } */
  .novedades-card-cont{
    margin-top: -200px;
  }


}
@media (min-width: 992px) {

}
@media (max-width: 1599px) {
  .titulosC{
    font-size: 40px;
  }
}


/* --------- Responsive --------- */
/* --------- Responsive --------- */
/* --------- Responsive --------- */
/* --------- Responsive --------- */

/*destacadas*/
.primerbg{
  background: #00000FFF;
  background: linear-gradient(180deg,rgba(0, 0, 15, 1) 0%, rgba(11, 18, 45, 1) 50%, rgba(0, 0, 15, 1) 100%);   
}
/* novedades */
.segundobg{
    opacity: 0;
}
.segundobg.animate {
    animation: fadeSlideUp 1s ease 0.3s forwards;
}
.carousel-control-next{
  margin-right: -100px;
}
.carousel-control-prev{
  margin-left: -100px;
}
.card-custom {
    color: white;
    cursor: pointer;
    border-radius: 10px;
    width: 100%!important;
    /* background-color: rgba(11, 18, 45, 1); */
    /* background: linear-gradient(314deg,rgba(13, 28, 69, 1) 0%, rgba(11, 18, 45, 1) 100%); */
    background-color: #00000fff;
    box-shadow: 0 0 30px #040711;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .card-custom:hover .card-img-custom{
    transform: scale(1.01);
  }
  .card-custom:hover{
    box-shadow: 0 0 20px rgba(21, 41, 190, 0.433);
  }
  
  .card-img-custom {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 5px 5px 0 0; 
  }
  .img-nov{
    height: 250px!important;
  }
  
  .card-title-custom {
    font-size: 1.25rem;
    min-height: 50px;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .card-text-custom {
    flex-grow: 1;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .categoria{
    color: var(--color-c5);
    font-weight: bold;
    font-size: 16px;
    width: fit-content;
    height: 35px;
    padding: 5px;
  }
  .categoria:hover{
    font-weight: bold;
    background-color: #362fb81a;
    width: fit-content;
    border-radius: 10px;
    padding: 5px;
    border: 1px var(--color-c5) solid;
    font-size: 16px;
  }
  
  .btn-custom {
    background-color: transparent;
    font-weight: bold;
    color: white;
    padding: 0.5rem 1.2rem;
    border: 2px solid #403d9c;
    text-decoration: none;
    border-radius: 5px;
    align-self: flex-start;
    transition: background-color 0.3s ease;
  }
  
  .btn-custom:hover {   
    background-color: #403d9c;
  }
footer{
  color: white!important;
}
footer,.nav-link{
  color: white!important;
}
footer .nav-link:hover{
  border: none!important;
}
/* novedades */




/* colegiados */
.colegiados {
  background-image: url('/static/images/novedades3.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;

}
.colegiados2{
  min-height: 90vh;
  width: 100%;
}

.coleBanner{
  overflow: hidden;
  background-image: url('/static/images/colegiados2.png'); 
  width: 100%; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: fixed; /* Fija el fondo */
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1; /* Queda detrás del resto del contenido */
}
.buscadorCont{
  background-color:  #272f7444;
  border-radius: 100px;
  margin-top: 50px;
  position: sticky;
  top: 20vh;
  filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 1));
}
.buscadorCont:hover{
  background-color:  #252d7544;
  filter: drop-shadow(0px 0px 10px #272f74);
}
.subtitulos2{
  font-size: 25px;
  line-height: 120%;
  color: rgb(213, 213, 213);
}
.btn-secondary{
  background-color: #403d9c;
  border-color: #403d9c;
}
.listadoM{
  background-color:  #272f7444;
}
.listadoCont{
  width: 100%;
  
}


.table-container {
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  overflow: hidden;
}

.tablaM{
  color: white;
  background: #00000FFF;
  background: linear-gradient(297deg, rgba(0, 0, 15, 1) 0%, rgba(11, 18, 45, 1) 72%,
   rgba(0, 0, 15, 1) 100%);
  color: white;
}

.styled-table thead tr th {
  border: none!important;
}
.styled-table thead {
  background-color: #403d9cff;
}
.styled-table th,
.styled-table td {
  text-align: left;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.styled-table tbody tr:hover {
  background-color: #403d9c83;
  transition: 0.3s;
}
.searchBanner{
  height: 100vh;
  opacity: 0;
  animation: fadeSlideUp 1s ease 0.7s forwards;
}
.listItem{
  width: 80%;
  display: flex;
  align-items: center;
  padding: 30px 30px;
  background-color: #16204f;
  box-shadow: 0px 0px 10px #403d9c83;
  border-radius: 10px;
}
.texto{
  font-size: 18px;
}
.card{
  border: none!important;
  height: 400px;
}
.card-text{
  line-height: 100%;
}

.colegiados-banner{
  background-image: url('/static/images/colegiados3.png'); 
  width: 100%; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  
}

/* Servicios */
.servicios {
  position: relative;
  background-image: url('/static/images/bg2.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* OPCIONAL si querés que el fondo no se mueva al hacer scroll */
  min-height: 100vh; /* Fijo: igual que min-height, pero evita agrandarse */
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center; /* centra verticalmente */
}
.serCol{
  height: 370px;
}

.filter1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 15, 0.96) 0%,
    rgba(5, 9, 22, 0.96) 50%,
    rgba(0, 0, 15, 0.96) 100%
  );
  z-index: 1;
  pointer-events: none; /* para que no interfiera con clics */
}

.servCont {
  position: relative;
  z-index: 2;
}
/* .servicios-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
}

.servTar {
  background: #0a123b;
  height: 300px;
  background: linear-gradient(318deg, rgba(10, 18, 59, 1) 0%, rgba(12, 21, 102, 1) 72%, rgba(11, 22, 102, 1) 100%);
  border-radius: 12px;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.servTar:hover {
  transform: translateY(-5px);
}

.iconTar {
  background: rgb(21, 41, 190) ;
  width: 70px;
  height: 70px;
  padding: 15px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 20px;
}
.serIcon{
  color: white;
  font-size: 40px;
}

.serTit {
  font-size: 1.2rem;
  color: #d4d6f0;
  font-weight: bold;
  margin-bottom: 10px;
}

.serSubTit {
  font-size: 0.95rem;
  color: #dadada;
  margin-bottom: 20px;
}

.more-link {
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  color: black;
  border-bottom: 2px solid black;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.more-link:hover {
  color: #007bff;
  border-color: #007bff;
}

/* Responsivo 
@media (max-width: 991px) {
  .servicios-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .servicios-container {
    grid-template-columns: 1fr;
  }
} */

.serTarCon{
  margin-top: -50px;
}

/* tarjetas neuvas */

.custom-card {
  position: relative;
  cursor: default;
  min-height: 310px;
  background-color: #03040c;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

/* Capa de "agua" que sube desde abajo */
.custom-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%; /* empieza sin altura */
  background: linear-gradient(0deg, rgba(6, 18, 66, 1) 0%, rgba(4, 30, 133, 1) 100%);
  z-index: 0;
  transition: height 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
/* Al hacer hover, sube la capa */
.custom-card:hover::before {
  height: 100%;
}

/* Aplicar tus transformaciones y sombra normales en hover */
.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(4, 30, 133, 0.2);
  min-height: 360px;
}

.custom-card:hover .icon i {
  color: #ffffff; /* icono blanco en hover */
}


/* En hover, mostramos el texto */
.custom-card:hover .textoCards {
  max-height: fit-content; /* Ajustá según el contenido */
  opacity: 1;
  transform: translateY(0);
}

}
/* Asegura que el contenido esté por encima del fondo animado */
.custom-card > * {
  position: relative;
  z-index: 2;
}



.textoCards {
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  overflow: hidden;
  transition: max-height 1s ease, opacity 1s ease, transform 1s ease;
}



.icon {
  font-size: 40px;
  transition: color 0.3s;
  color: rgb(21, 41, 190) ;
}

.custom-card h5 {
  color: #fff;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.custom-card p {
  font-size: 15px;
  color: #bbb;
  flex-grow: 1;
}

.custom-card .text-center {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* activar hover en celular */
.custom-card.is-active {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(4, 30, 133, 0.2);
  min-height: 360px;
}
.custom-card.is-active::before {
  height: 100%;
}
.custom-card.is-active .textoCards {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}
.custom-card.is-active .icon i {
  color: #ffffff;
}

/* activar hover en celular */

/* Cntacto */

.contacto {
  position: relative;
  background-image: url('/static/images/cmafuF.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  color: white;
}

.contacto-wrapper {
  min-height: 100vh;
}
.icon-circle {
  min-width: 50px;
  min-height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b45d0; /* violeta */
  font-size: 20px;
}

.contacto-form, .contacto-info{
  max-width: 600px;
}
.contacto-form input,
.contacto-form textarea,
.contacto-form select {
  background-color: #f1f1f1;
  border: none;
  border-radius: 5px;
}

.contacto-form input:focus,
.contacto-form textarea:focus,
.contacto-form select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #4b45d0;
}

.contacto-form .btn-primary {
  background-color: #4b45d0;
  border: none;
  transition: background-color 0.3s ease;
}

.contacto-form .btn-primary:hover {
  background-color: #362fb8;
}
/* Bloques */

.bloquesCont {
  margin: 0;
  opacity: 0;
  transform: translateY(30px);
}

.bloquesCont.animate {
  animation: aparecerOscuro 2s ease-out forwards;
}

@keyframes aparecerOscuro {
  from {
      opacity: 0;
      filter: brightness(0.2) blur(2px);
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      filter: brightness(1) blur(0);
      transform: translateY(0);
  }
}
.bloqueMain{  
  background-image:  url('/static/images/info.png');
  background-size: cover;
  background-position: center;
  min-height: 400px;
  overflow: hidden;
  position: relative;
}
.bloqueMain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(5, 9, 22, 0.7);
  transition: background-color 0.5s ease;
  z-index: 1;
}
.bloqueMain:hover::before {
  background-color: rgba(5, 9, 22, 0.95);
}
.bloqueMain > * {
  position: relative;
  z-index: 2;
}




.bloques {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Capa oscura encima con transición */
.bloques::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(5, 9, 22, 0.7);
  transition: background-color 0.5s ease;
  z-index: 1;
}

/* Al hacer hover, oscurecemos */
.bloques:hover::before {
  background-color: rgba(5, 9, 22, 0.95);
}
.bloques > * {
  position: relative;
  z-index: 2;
}



.bloques:hover h5{
  color: var(--color-c5);
}

.bloque1{
  background-image:  url('/static/images/matriculados.png');
  background-size: cover;
  background-position: center;
}

.bloque2{
  background-image:  url('/static/images/inmos.png');
  background-size: cover;
  background-position: center;
}
.bloque3{
  background-image:  url('/static/images/autoridades.png');
  background-size: cover;
  background-position: center;
}
.bloque4{
  background-image:  url('/static/images/faq.png');
  background-size: cover;
  background-position: center;
}


.contenido {
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
  overflow: hidden;
  transition: max-height 1s ease, opacity 1s ease, transform 1s ease;
}
.links-bloques{
  text-decoration: initial;
  color: white;
}
/* En hover, mostramos el texto */
.bloques:hover .contenido  {
  max-height: fit-content; /* Ajustá según el contenido */
  opacity: 1;
  transform: translateY(0);
}
.bloqueMain:hover h1{
  transform: scale(1.05);
  transition: transform 0.5s ease, 0.3s color ease;
  color: var(--color-c5);
}
.bloqueMain:hover p{
  transform: scale(1.05);
}

/*Admin Site */
.bg-login{
  overflow: hidden;
  background-image: url('/static/images/cmafuF.png'); 
  width: 100%; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
}

.login{
  /* background-color: #00001d; */
  backdrop-filter: blur(5px);
  padding: 60px;
  box-shadow: 0 0 10px black;
}

:root {
  --cf-color-text: #fff;
  --cf-color-label: #fff;
  --cf-color-active: #80bdff;
  --cf-color-border: #ccc;
  --cf-float-scale: 0.75;
  --cf-float-shift: -1.2em;
  --cf-icon-size: 18px;
}

/* Contenedor */
.cf-field {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 1.5rem 0;
  font-size: 16px;
}

/* Input */
.cf-field input {
  width: 100%;
  padding: 8px 32px 6px 0; /* espacio extra a la derecha para el ícono */
  border: none;
  border-bottom: 2px solid var(--cf-color-border);
  background: transparent;
  color: var(--cf-color-text);
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease;
}

/* Borde activo */
.cf-field input:focus {
  border-bottom-color: var(--cf-color-active);
}

/* Label */
.cf-field label {
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--cf-color-label);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .2s ease, color .2s ease;
}

/* Flotante */
.cf-field input:focus + label,
.cf-field input:not(:placeholder-shown) + label {
  transform: translateY(var(--cf-float-shift)) scale(var(--cf-float-scale));
  color: var(--cf-color-active);
}

/* Ícono */
.cf-icon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: var(--cf-icon-size);
  color: var(--cf-color-label);
  pointer-events: none;
}

.cf-field input:focus ~ .cf-icon {
  color: var(--cf-color-active);
}



/* .flot-form{
  border-top: none!important;
  border-left: none!important;
  border-right: none!important;
  border-radius: 0 !important; 
  padding: 0!important;
  background-color: transparent!important;
}
.flot-form:focus{
  box-shadow: none!important;
  background-color: transparent!important;
}
.flot-label{
  background-color: transparent!important;
  background: none!important;
}
.form-floating > label {
  background-color: transparent !important;
  color: white!important;
}

/* Bootstrap aplica ::after con background blanco, hay que anularlo */
.form-floating > label::after {
  background-color: transparent !important;
  content: none !important;
} 



.admSection{
  margin-left: 18vw!important;
  width: 82vw!important;
  max-height: 100vh!important;
  /* background-color: #111827ff; */
}




.table-container2 {
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 5px 5px;
  overflow: hidden;
}

.tablaM2{
  min-width: 500px;
  width: 100%;
  color: white;
  background: #1f2937ff;
  color: white;
}

.styled-table2 thead tr th {
  border: none!important;
}
.styled-table2 thead {
  background-color: #374151ff;
}
.styled-table2 th,
.styled-table2 td {
  text-align: left;
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #969eaaff;
}
.styled-table2 tbody tr:hover {
  background-color: #374151ff;
  transition: 0.3s;
}
.tablaHead{
  height: auto;
  min-width: 500px!important;
  background-color: #1f2937ff;
  border-radius: 5px 5px 0 0 ;
}
.textoMuted{
  color: #969eaaff!important;
}
.tablaHead input::placeholder {
  color: #969eaaff; 
}

.tablaBot{
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  height: 70px;
  min-width: 500px;
  width: 100%;
  background-color: #1f2937ff;
  border-radius: 0 0 5px 5px ;
}
.botonera {
  display: flex;
  gap: 10px;
  padding: 20px;
}

.btn-add {
  background-color: #5b42f3;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-add:hover {
  background-color: #472ed9;
}

.btn-secondary {
  background-color: #1b223c;
  color: #8898aa;
  border: 1px solid #2e354d;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #2a324c;
}

.dropdown-icon {
  font-size: 20px;
}
.bg-dark-blue{
  background-color: #111827ff;
}

/*Autoridades */
.autBG{
  background-color: #050714;
}
.autCont{
  /* background-image: url('/static/images/bg1.png'); */
  background-size: cover;
  background-position: center;
}
.autoridades-card-cont{
  margin-top: -200px!important;
}
.autoridades {
  background-image: url('/static/images/salareunion3.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  width: 100%;
}
/* .autoridades-card{
  background-color: rgba(255, 255, 255, 0.911);
  border-radius: 20px;
  min-height: 250px;
}
.autoridades-card-tit{
  font-size: 30px;
  color: var(--color-c5);
}

 */
.autoridades-card {
  min-height: 300px;
  /* background-color: #03040c; */
  background: radial-gradient(circle,rgb(5, 8, 22) 0%, rgba(3, 4, 12, 1) 100%);
  border-radius: 10px;
  cursor: default;
  box-shadow: 0 4px 8px rgba(0,0,0,1);
  display: flex;
  flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
.autoridades-card:hover {
  background: radial-gradient(circle,rgb(10, 19, 57) 0%, rgb(4, 5, 15) 100%);
  /* background-color: #050613; */
}
}
.autoridades-card.is-active {
  background: radial-gradient(circle, rgb(8, 14, 37) 0%, rgb(4, 5, 15) 100%);
}

.autoridades-card-tit {
  white-space: normal;
  word-break: break-word;
  font-size: 30px;
  color: rgb(21, 41, 190) ;
}
.autoridades-card-sub{
  font-size: 20px;
}
.autoridades-card-sub2{
  color: rgba(255, 255, 255, 0.575);
}
.autoridades-list {
  background-color: #03040c;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,1);
  display: flex;
  flex-direction: column;
}
.autSep{
  background-color: rgb(11, 24, 122);
  height: 3px;
  width: 70px;
}

/* Novedades */
#newsSearch{
  background-color: #00000f;
  border: none!important;
  height: 50px;
  color: white!important;
}
#newsSearch::placeholder {
  color: #999; /* Cambiá esto al color que quieras */
  opacity: 1;  /* Asegura que el color se vea completo */
}


/* #newsSearchBtn{
  background-color:#472ed9!important;
  border: none!important;
} */


.novedades {
  background-image: url('/static/images/novedades2.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  width: 100%;
}

#newsSearchBtn {
  background: linear-gradient(-45deg, #472ed9, #312094, #250db1, #563af7);
  background-size: 400% 400%;
  animation: gradientAnim 3s ease infinite;
  border: none; /* Opcional, para quitar el borde */
  color: white; /* Para que el texto sea legible */
  padding: 10px 20px; /* Ajusta el tamaño */
  cursor: pointer; /* Para dar el efecto de que es clickeable */
  transition: background 0.3s ease; /* Transición suave */
}

#newsSearchBtn:hover {
  background: linear-gradient(-45deg, #6248f5, #3f2caa, #381fc9, #664bfd);
  background-size: 400% 400%;
  transform: scale(1.01)!important;
  animation: gradientAnim 3s ease infinite;
}



@keyframes gradientAnim {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.novedades-card {
  min-height: 500px;
  /* background-color: #03040c; */
  background: radial-gradient(circle,rgb(5, 8, 22) 0%, rgba(3, 4, 12, 1) 100%);
  box-shadow: 0 4px 8px rgba(0,0,0,1);
  display: flex;
  flex-direction: column;
}
.novedades-card:hover {
  background: radial-gradient(circle,rgb(8, 14, 37) 0%, rgb(4, 5, 15) 100%);
  /* background-color: #050613; */
}
.novedades-card-cont{
  margin-top: -150px;
}


/* INMOS */

.inmosBanner {
  background-image: url('/static/images/inmosBanner.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  width: 100%;
}

/* ---------- Card base ---------- */
.inmo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;              /* cuadrada; cambiá a 16/9 si querés */
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  font-family: inherit;
}

/* Imagen */
.inmo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Overlay (estado inicial oculto) ---------- */
.inmo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(3, 6, 32, 0.92) 0%,   /* #030620eb */
    rgba(3, 6, 32, 0.70) 40%,  /* mismo color, menos opaco */
    rgba(3, 6, 32, 0.20) 100%  /* transparente */
  );
  opacity: 0;
  transform: translateY(10%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ---------- Hover / Focus (mostrar overlay) ---------- */
.inmo-card:hover .inmo-overlay,
.inmo-card:focus-within .inmo-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Texto ---------- */
.inmo-title {
  margin: 0 0 .25em;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
}

.inmo-subtitle {
  margin: 0 0 .5em;
  font-size: clamp(.9rem, 2.5vw, 1.125rem);
  font-weight: 400;
  opacity: .9;
  line-height: 1.3;
}

.inmo-text {
  margin: 0 0 1rem;
  font-size: clamp(.85rem, 2vw, 1rem);
  opacity: .8;
  line-height: 1.4;
  max-width: 26ch;
}

/* ---------- Botón ---------- */
.inmo-btn {
  display: inline-block;
  padding: 10px 15px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: 1px solid white;
  /* border: 1px solid rgba(255,255,255,.5); */
  border-radius: 999px;
  background: #272f74ff;
  /* background: rgba(255,255,255,.15); */
  transition: background .3s ease, border-color .3s ease;
}

.inmo-btn:hover,
.inmo-btn:focus-visible {
  /* background: rgba(255,255,255,.3); */
  background: rgb(53, 64, 159);
  border-color: rgba(255,255,255,.8);
  outline: none;
}


/* INMOS */


/*Publicación */
.publiBG{
  background-color: #090c18;
}
.publi-contai{
  margin-top: 150px;
}

.publicacion{
  box-shadow: 0 0 30px #020308;
  border-radius: 10px;
  background-color: #0c1122;
  width: 100%;
  color: white;
}
.publi-img{
  width: 100%;
  min-height: 600px;
  object-fit: cover;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.publi-tittle{
  font-size: 30px;
  font-weight: bold;
}
.publi-text{
  text-align: justify;
  font-size: 20px;
  width: 100%;
}

.publi-lat{
  box-shadow: 0 0 30px #020308;
  border-radius: 10px;
  overflow: hidden;
  background-color: #0c1122;
  width: 100%;
  height: 150px;
  color: white;
}
.img-publi-lat{
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  width: 35%;
  object-fit: cover;
  height: 150px;
}
.publi-lat:hover{
  background-color: #141e3e;
  cursor: pointer;
}
.publi-lat:hover .img-publi-lat{
  transform: scale(1.02);
}
.publi-lat-title{
  font-size: 20px;
  font-weight: bold;
}
.publi-lat-fixed{
  position: sticky;
  top: 10vh;
}