body {
    background-color: #67428B;
    font-family: 'Montserrat', sans-serif;
    margin: 0px;
}


/* Estilo de Cristal/Arcoiris para 'Convergen' */
.animated-word-2 {
    background: linear-gradient(90deg, rgba(255,0,0,1) 0%, rgba(255,154,0,1) 10%, rgba(208,222,33,1) 20%, rgba(79,220,74,1) 30%, rgba(63,218,216,1) 40%, rgba(47,201,226,1) 50%, rgba(28,127,238,1) 60%, rgba(95,21,242,1) 70%, rgba(186,12,248,1) 80%, rgba(251,7,217,1) 90%, rgba(255,0,0,1) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    font-weight: bold;
    font-size: 1.5em;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.42), 0 0 16px rgba(231, 231, 231, 0.14);
  }
  
  /* Efecto de Brillo */
  @keyframes shimmer {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 200% 50%;
    }
  }
  
  .slogan h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .slogan p {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  
  .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7C4FC5;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .cta-button:hover {
    background-color: #5A2C8D;
    transform: scale(1.1);
  }
  
  /* Servicios */
  .services {
    padding: 50px 20px;
    background-color: #f5f5f5;
    text-align: center;
  }
  
  .services h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }
  
  .section-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
  }
  
  /* Responsividad */
  @media (max-width: 768px) {
    .services .service-card,
    .portfolio-container {
      width: 90%;
      margin: 0 auto;
    }
  
    .cta-button {
      font-size: 0.9em;
    }
  }

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0.75;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.overlay.active {
    opacity: 1;
}

.green-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(136, 255, 186, 0.5);
    opacity: 0.75;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.green-overlay.active {
    opacity: 1;
}

#green-video {
    top: 50%;
    /* Alinea verticalmente el video al centro */
    left: 0;
    width: 100%;
    height: auto;
    /* Permitir que la altura se ajuste automáticamente */
    object-fit: cover;
    object-position: center;
    /* Centra el video horizontalmente */
    transform: translateY(-50%);
    /* Corrige la posición vertical */
    z-index: -1;
}

.green-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    /* Oculta cualquier parte del video que se salga del contenedor */
}


.logo img {
    max-width: 100px;
    height: auto;
    margin-left: 20px;
}

.slogan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-divider {
    position: relative;
    width: 100%;
    height: 100px;
    background-color: #6a5acd; /* Color de fondo del divisor */
    overflow: hidden;
}

.section-divider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(135deg, #00f5ff, #0025ff);
    animation: wave 6s infinite linear;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
