/********** Template CSS **********/
:root {
  --primary: #00B87B;
  --secondary: #314355;
  --light: #F2F2F2;
  --dark: #2C3E50;
  --minecolor: #41516B;
  --minecolor2: #001225;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-in, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .sticky-lg-top.vh-100 {
    height: 100% !important;
  }
}

.fw-semi-bold {
  font-weight: 600;
}

.fw-medium {
  font-weight: 500;
}

.btn-square {
  width: 40px;
  height: 40px;
}

.btn-sm-square {
  width: 30px;
  height: 30px;
}

.btn-lg-square {
  width: 50px;
  height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-primary {
  color: #FFFFFF;
}

.typed-cursor {
  font-size: 25px;
  color: var(--light);
}

.back-to-top {
  position: fixed;
  display: none;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 1;
  font-size: 30px;
  right: 30px;
  bottom: 30px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  color: var(--primary);
}

.back-to-top i:hover {
  color: var(--dark);
}

.back-to-top {
  -webkit-animation: action 1s infinite alternate;
  animation: action 1s infinite alternate;
}

@-webkit-keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

@keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

.title {
  position: relative;
}

.title::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  bottom: -4px;
  left: 0;
  border: 2px solid var(--light);
  border-radius: 10px;
}

.title::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 2px;
  bottom: 0;
  left: 15px;
  border-radius: 2px;
  background: var(--light);
}

.progress {
  height: 5px;
}

.progress .progress-bar {
  width: 0px;
  transition: 2s;
}

.service-item {
  padding: 30px;
  text-align: center;
  background: var(--secondary);
}

.service-item i {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--primary);
  transition: .5s;
}

.service-item:hover i {
  background: var(--primary);
  color: var(--light);
}

.portfolio-item .portfolio-btn {
  position: absolute;
  width: 0;
  height: 0;
  top: 50%;
  left: 50%;
  font-size: 90px;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: .5s;
}


.portfolio-item .img-fluid {
    margin-bottom: 20px;
}

.portfolio-item:hover .portfolio-btn {
  opacity: 1;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  top: 30px;
  left: 30px;
}

.portfolio-item i {
  opacity: 0;
  transition: .3s;
  transition-delay: .3s;
}

.portfolio-item:hover i {
  opacity: 1;
}

.testimonial-carousel .owl-dots {
  margin-top: 25px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--light);
}

.testimonial-carousel .owl-dot.active {
  background: var(--primary);
}

body {
  background-color: var(--minecolor);
}

.col-lg-4{
  background-color: var(--minecolor2);
}

.col-lg-8{
  background-color: var(--minecolor2);
}

.w-100{
  background-image: url('../img/back2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

    
.btn-fixed-width {
  width: 150px; /* Establece un ancho fijo para los botones */
  text-align: center; /* Alinea el texto al centro */
  white-space: nowrap; /* Asegura que el texto no se pase a una nueva línea */
  overflow: hidden; /* Oculta cualquier contenido que sobresalga */
  text-overflow: ellipsis; /* Añade puntos suspensivos si el texto es muy largo */
}

.custom-card {
  color: #1a1a1a; /* Texto para las tarjetas */
  border-radius: 0.5rem; /* Bordes redondeados (opcional) */
}

.custom-card .card-title {
  margin-bottom: 0.5rem; /* Espaciado entre el título y el texto */
  font-weight: bold; /* Texto en negrita para el título */
}

.custom-card .card-text {
  font-size: 0.9rem; /* Tamaño del texto */
}

/* Estilos para la sección de presentaciones */
.presentations-section .portfolio-item {
    position: relative;
    overflow: hidden;
}

.presentations-section .portfolio-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, 0%);
    display: none; /* Inicialmente oculto */
    align-items: center;
    justify-content: center;
    font-size: 6rem; /* Tamaño del ícono '+' */
    width: 50px; /* Tamaño del botón */
    height: 50px; /* Tamaño del botón */
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
}

.presentations-section .portfolio-item:hover .portfolio-btn {
    display: flex; /* Mostrar el botón al pasar el mouse */
}

.badge-img {
  width: 200px;  /* Aumenta el tamaño */
  height: 200px;
  object-fit: contain;
}

.card.custom-card {
  background-color: transparent;  /* Elimina el fondo blanco */
  border: none;  /* Sin bordes */
  box-shadow: none;  /* Elimina sombras */
}

.card-body {
  margin-top: 15px;
  color: white; /* Asegura que el texto sea blanco */
}

/* Añade un sutil borde o efecto hover */
.card.custom-card:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.cert-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Permite que se adapten en filas */
}

.plus-sign {
  font-size: 1em; /* Tamaño más pequeño */
  vertical-align: middle;
  display: inline-block;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
      transform: scale(1);
      opacity: 0.8;
  }
  50% {
      transform: scale(1.05);  /* Escalado más sutil */
      opacity: 1;
  }
  100% {
      transform: scale(1);
      opacity: 0.8;
  }
}

.subtitle {
  margin-top: 3rem;  /* Añade un margen superior de 3rem */
}

/* General Section Styling */
.interactive-visuals {
  background: linear-gradient(135deg, #1b1f3a, #111321);
  padding: 50px 0;
}

/* Animations Box Styling */
.animation-box {
  background-color: rgba(20, 20, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Title Inside Animation Box */
.animation-title {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover Effect for Animation Box */
.animation-box:hover {
  transform: scale(1.03);
  border-color: #00BFFF;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

/* Canvas Styling (Padding and Size) */
canvas {
  margin-top: 10px;
  max-width: 100%;
  border-radius: 6px;
}

