  /*Variables Globales*/
  :root {
    --color-primario: #00567B;
    /* Azul del Logo */
    --color-acento: #419D46;
    /* Verde del Logo */
    --color-hover: #004461;
    /* Azul un poco más oscuro para efectos */
    --color-fondo: #f4f7f6;
    /* Un gris muy suave para el fondo de la web */
    --color-text: #212529;
    /*Para textos*/
  }

  /* Reinicio básico */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
  }

  body {
    background-color: var(--color-fondo);
    color: var(--color-text);
    padding-top: 76px;

  }

  .header-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    height: 15%;
    z-index: 1000;
    backdrop-filter: blur(8px);
  }

  /* Estilo de la barra de navegación */
  .navbar-custom {

    display: flex;
    align-items: center;
    justify-content: space-between;

    .img-logo {
      max-width: 5rem;
      border-radius: 1rem;
    }

    .nav-list {
      background-color: white;
      padding: .8rem;
      border-radius: 1rem;
      list-style-type: none;
      display: flex;
      gap: 1.3em;
    }

    .nav-list li a {
      text-decoration: none;
      padding: .2rem;
      display: inline-block;
      color: var(--color-text);
      outline: 1px solid;
      border-radius: 5px;
      font-size: 1rem;
      transition: transform 0.3s ease;

      &:hover {
        transform: scale(1.2);
      }
    }
  }

  .cont-icon {
    display: flex;
    justify-content: start;
    margin-left: 1.5rem;
    gap: 5rem;
  }

  .social-icon {
    display: inline-flex;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;

    &:hover {
      transform: translateY(-5px) scale(1.2);
    }
  }

  .navbar-nav .nav-link {
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 5px 10px !important;
  }

  .active-unit {
    background-color: var(--color-acento) !important;
    color: white !important;
    font-weight: bold;
    box-shadow: 0 4px 10px rgb(65, 157, 70, 0.4);
    transform: translateY(-2px);
  }

  #btnTop {
    position: fixed;
    /* Para que quede fijo */
    bottom: 20px;
    /* Distancia desde abajo */
    right: 20px;
    /* Distancia desde la derecha */
    width: 50px;
    /* Tamaño del botón */
    height: 50px;
    border-radius: 50%;
    /* Botón redondo */
    background: #6a00ff;
    /* Color de fondo */
    color: #fff;
    /* Color del icono/texto */
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    /* Tamaño del icono */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: 1000;
    /* Para que quede encima */
  }

  #btnTop:hover {
    background: #5500cc;
  }

  /*------------------------------------------------Estilos del footer-----------------------------*/
  .social-icon i {
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
  }

  .social-icon:hover i {
    color: #FFCC29 !important;
    transform: scale(1.1) translateY(-1px);
    text-shadow: 0px 4px 10px rgba(255, 204, 41, 0.5);
  }

  .footer-logo {
    width: 140px;
    height: 120px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }

  .footer-logo:hover {
    transform: scale(1.05);
  }

  .links-interes {
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
    gap: 1.1rem;
  }

  .links-interes:hover {
    color: #ffc107;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  /*----------------------------------------------Estilos del Index -----------------------------*/
  /*Hero Section*/
  .hero-section {
    min-height: 80vh;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
  }

  
  .floating-anim {
      animation: float 4s ease-in-out infinite;
      filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
      width: 250px;
    }

  .btn-tesis:hover {
    transform: scale(1.1);
    background-color: #5849c4;
    color: white;
  }

     /* Opcional: Si quieres que el botón flotante morado también llame la atención */
    .btn-tesis {
      position: fixed;
      bottom: 80px;
      right: 20px;
      z-index: 1050;
      background-color: var(--morado-pro);
      color: black; 
      border-radius: 50px;
      padding: 12px 25px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      border: 2px solid #5849c4;
      font-weight: bold;
      transition: 0.3s;
      /* Animación en el botón para que "palpite" un poco cuando, para que resalte */
      animation: pulseGlow 2s infinite;
    }

    @keyframes pulseGlow {
      0% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7); }
      70% { box-shadow: 0 0 0 10px rgba(108, 92, 231, 0); }
      100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0); }
    }


  @keyframes float {

    0%,
    100% {
      transform: translateY(0) rotate(0);
    }

    50% {
      transform: translateY(-20px) rotate(5deg);
    }

  }

  /*Tarjetas unidades*/
  .card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgb(0, 0, 0, .15) !important;
  }

  @media (max-width:768px) {
    #btnTop {
      width: 45px;
      height: 45px;
    }
  }
  /*boton orientaciones curriculares*/
  .btn-tesis {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1050;
    background-color: var(--morado-pro);
    color: black;
    border-radius: 50px;
    padding: 12px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #5849c4;
    font-weight: bold;
    transition: 0.3s;

    /* Animación extra para que el bolton "palpite" un poco */
    animation: pulseGlow 2s infinite;
  }

  @keyframes pulseGlow {
    0% {
      box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    }

    70% {
      box-shadow: 0 0 0 10px rgba(108, 92, 231, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
  }