  
  

header {
  
  background: #78888c;
      color: #fff;
      padding: 20px;
     position: relative;
      z-index: 1600; /* más alto que el navbar */
       
}
header img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
   position: relative;
      z-index: 1001;
}
header a{
  
  text-align: right;
  color:white;
  font-family: "Lato";
  text-transform: uppercase;
}
.navbar{
  position: sticky;
  top:0;
   background: linear-gradient(90deg, #5048ea, #6dd5ed);
   z-index: 1000;
  
}
.offcanvas {
  margin-top: 65px;
 
 
  
}
.offcanvas .offcanvas-header {
  background: linear-gradient(90deg, #2193b0, #6dd5ed);
  color: white;
}
.offcanvas .offcanvas-header .btn-close {
  filter: invert(100%);

  padding-right: 39px;
}
ul {
  list-style: none;
  padding-left: 0;
}

ul li .dropdown-item::before {
  content: "➤ ";   /* símbolo personalizado */
   display: inline-block;
  color: #007bff;  /* azul */
  font-size: 12px;
}



.auto-hide-navbar {
  transition: top 0.3s ease;
}
.navbar .container-fluid .navbar-brand:hover {
  color: #ff6600; /* El color que prefieras */
  transition: color 0.3s ease; /* Suaviza el cambio */
}



 .navbar-nav .nav-item .nav-link {
     font-family: "Raleway";
    text-align: left;
 
 color: #fff;  
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    }
   
.bg-body-tertiary .container-fluid .btn {
    margin-left: 10px;
   
    font-weight: bold;
    border-radius: 50px;
    border: 1px solid #fff;
    padding: 5px 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}


    .bg-body-tertiary img{
      
    border-radius: 50%;
    }
     .dropdown:hover .dropdown-menu {
   
    display: block !important;
}
 .navbar-collapse .navbar-nav .nav-item  .dropdown-menu{
   border: none;
    background:none;
}
li .card .card-body{
     background-color:rgba(167, 220, 246, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
   box-shadow: -13px -10px 5px 0px rgba(0,0,0,0.75);
-webkit-box-shadow: -13px -10px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: -13px -10px 5px 0px rgba(0,0,0,0.75);
}
 .card .card-body .card-text{
    font-size: 1rem;
    font-family:"Raleway";
 }
    .card .card-body .card-title{
        font-family:fantasy;
        
       
    }
  


  .btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 5px;
    background-color: #25d366;
    border-radius: 50%;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
     animation: pulse 1.5s infinite;
  }
  @keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
  .btn-wsp:hover {
    transform: scale(1.1);
  }
  .btn-wsp img {
    width: 30px;
    height: 30px;
  }

  /* Tooltip personalizado */
  .btn-wsp::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 70px; /* encima del botón */
    right: 100%;
    transform: translateX(50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .btn-wsp:hover::after {
    opacity: 1;
  }


.dropdown-menu li{

  background-color: white;
}
 .dropdown-item {
  font-size: 1rem;
  position: relative;
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  transition: color 0.3s ease;
  overflow: hidden;
}

.dropdown-item::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #007bff, #00c6ff); /* degradado azul */
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* rebote */
  border-radius: 2px;
}

.dropdown-item:hover {
  color: #007bff;
  background-color: transparent;
}

.dropdown-item:hover::after {
  width: calc(100% - 32px);
}


.carousel {
  margin-top: 0.5rem;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  
    max-height: 600px;
    
}
.carousel .carousel-inner .carousel-item img{
 
    background-color: rgba(0, 0, 0, 0.5);
  
    max-height: 600px;
}

.card.text-bg-dark {
   position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  max-height: 450px;
 
}
.card-info {
  background:#000;
  border: none;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 970px;
  max-height: 720px;
  padding: 0 20px;
}
.card-info .row .col-md-4 .img-fluid {

  width: 95%;
  height: 300px;
 
}
.card-info .row .col-md-8 .card-body .card-text {
  font-size: 1.0rem;
  color: #fdfdf8;
  font-family:"Rubik";
}
.card-info .row .col-md-8 .card-body .card-title {
   font-family: "Rubik";
  font-size: 1.6rem;
  
  color: #5838d8;
}
.card-info .row .col-md-8 {
 
 box-shadow: -136px -1px 31px -3px rgba(0,0,0,0.75);
-webkit-box-shadow: -136px -1px 31px -3px rgba(0,0,0,0.75);
-moz-box-shadow: -136px -1px 31px -3px rgba(0,0,0,0.75);
}
.accordion{
    position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;

}
.accordion .accordion-item .accordion-button{
    font-family: "Raleway";
  font-size: 1.4rem;
  background-color: rgb(27, 27, 222);
  color: #e6e3ee;
}
.accordion .accordion-item .accordion-body {
background-color: rgb(202, 224, 238);
font-family: "Raleway";
}




.card-descripcion {

  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 970px;
  max-height: 700px;
  background:none;
  border:none;
  padding: 20px;
}
.card-descripcion .card-body h2 {
   font-family: "Raleway";
  color: #011324;
  text-align: center;
  font-size: 3rem;
}
.row {
  
 
  width: 100%;
  display: flex;
   justify-content: center;
   align-items: center;
}

.card{
  margin:auto;
} 

.row.row-cols-1.row-cols-md-3.g-4 .card{
  background: rgba(61, 143, 232, 0.3);
  
}
.row .col-12 .flip-card .flip-inner .card {
    filter: grayscale(0%);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}
 
 .transition {
    -webkit-transform: scale(1.2); 
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}
.row .col-12 .flip-card .flip-inner .card:hover{
  
    filter: opacity(50%);

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s ;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}
/* Contenedor principal con perspectiva 3D */
.flip-card {
  perspective: 1000px;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

/* Activación del giro */
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Cara frontal */
.card-front .card-body {
  z-index: 1;
  background-color: #3f5a9b;
}

/* Cara trasera */
.card-back  {
 background-image: url(./imagenes/ainsignia.jpeg);
  background-size: cover;
  background-position: center;
  
  transform: rotateY(180deg);
  z-index: 2;
  font-family: "Lato";
  border-color: #000;
  border-style: 1px solid;
}
.card-back::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); /* negro semitransparente */
  z-index: 1; /* capa encima de la imagen */
}
.list-group .list-group-item {
  height: 85px;
background-color: transparent;
  margin-top: 10px;
  text-align: center;
  font-size: 1.3rem;
}
.list-group-item a{
   position: relative;
  z-index: 2; 
  font-family:"Nunito";
  color:white;
  text-decoration: none;
  font-weight: bold;
}
.card-front .card-body .card-title {
  font-size: 1.5rem;
  color: white;
  font-family: "Lato";
  text-transform: uppercase;
}

 .card .btn:hover{
   background:#fff;
  color:#1AAB8A;
 }


  

 .bg-info .container-fluid .btn:hover:before, .btn:hover:after{
  width:100%;
  transition:800ms ease all;
}


.clearfix h5{

  font-family: "Raleway";
  color: #011324;
  font-size: 2rem;
  text-align: center;
}
.container .clearfix p{
  text-align: justify;
  font-family:"Raleway";
  font-size: 1.2rem;
  color: #060119;
  
}
.container .clearfix .btn:hover{
   background:#fff;
  color:#1AAB8A;
 }
.h4 {
    position: relative;
  margin-left: auto;
  margin-right: auto;
    font-family:"Raleway";
  text-align: center;
}




.context-dark, .bg-gray-dark, .bg-primary {
    color: rgba(255, 255, 255, 0.8);
}

.footer-classic a, .footer-classic a:focus, .footer-classic a:active {
    color: #ffffff;
}
.nav-list li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.nav-list li a:hover:before {
    margin-left: 0;
    opacity: 1;
    visibility: visible;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 23px;
    font: 900 13px/1 "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.social-container .col {
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-list li a:before {
    content: "\f14f";
    font: 400 21px/1 "Material Design Icons";
    color: #4d6de6;
    display: inline-block;
    vertical-align: baseline;
    margin-left: -28px;
    margin-right: 7px;
    opacity: 0;
    visibility: hidden;
    transition: .22s ease;
}

 .footer-classic img{
  border-radius: 50%;
 
}
.col-md-8 .card-body .card-title{
  font-size: 1.8rem;
  color: #090223;
  font-family: "Raleway";
}
.col-md-8 .card-body .card-text{
  font-size: 1.2rem;
  color: #090223;
  font-family: "Lato";
  text-align: justify;
}
.card .card-img{
  filter: brightness(50%);
  -webkit-filter: brightness(50%);
  -moz-filter: brightness(50%);
  -o-filter: brightness(50%);
  -ms-filter: brightness(50%);
}
.card-text{
  display: flex;
    justify-content: center;
    text-align: center;
  font-size: 1.8rem;
  color: black;
  font-family: "Raleway";
 align-items:center;
}


