
/* Sección titulo principal */
 .custom-border {
      position: relative;
      display: inline-block;
    }
    .custom-border::after {
      content: '';
      position: absolute;
      bottom: -1rem; /* Ajusta según grosor deseado */
      left: 50%;
      transform: translateX(-50%);
      width: 5rem; /* Ancho exacto solicitado */
      height: 4px; /* Grosor del borde */
      background-color: #E63946; /* Color del borde */
    }
.about{
  background-image: url('../../img_home/background-logo.png');
  height: 90vh;
  
}

.educational-section {
  position: relative;
  background: url('../../images/index/ambiente-libre.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6); /* Superposición semitransparente */
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  max-width: 700px;
}

.overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.overlay p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #d4aa0f;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 15px 0 15px 0;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #b18b0e;
}


 .border-custom {
      border-radius: 0 15px 15px 0;
    }

    .accordion-border-1 {
      border-left: 0.3rem solid #2c3e50;
    }
 
    .fade-in {
      animation: fadeIn 1.5s ease-in-out forwards;
    }

    .fade-out {
      animation: fadeOut 1.5s ease-in-out forwards;
    }

    .text-slide-in {
      animation: textSlideIn 1s ease-out forwards;
    }

    .text-slide-out {
      animation: textSlideOut 1s ease-in forwards;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: scale(1.02);
      }

      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    @keyframes fadeOut {
      from {
        opacity: 1;
        transform: scale(1);
      }

      to {
        opacity: 0;
        transform: scale(0.98);
      }
    }

    @keyframes textSlideIn {
      from {
        opacity: 0;
        transform: translateY(40px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes textSlideOut {
      from {
        opacity: 1;
        transform: translateY(0);
      }

      to {
        opacity: 0;
        transform: translateY(40px);
      }
    }

       .gradient-overlay {
      background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 10%, transparent 100%);
    }

    .split-bg {
      background: linear-gradient(to top, #1e1a4d 0%, #1e1a4d 50%, #eef3ff 50%, #eef3ff 100%);
    }