@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
:root {
    --blanco: #ffffff;
    --negro: #212121;
    --primario: #ffc107;
    --secundario: #0097a7;
    --gris: #757575;
    --x:45deg;
}
html {
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}
/* .servicios, .serviciosNosotros, .navegacion-principal, .formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
} */
#progress-bar {
    width: 0;
    height: 12px;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 12%, rgba(9,9,121,1) 48%, rgba(0,211,255,1) 82%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: width 0.3s;
}
* {
    
    padding: 0;
    box-sizing: border-box;
    
}

*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    /* background-image: linear-gradient(to top, #DFE9F3 0%, var(--blanco) 100%); */
    background: rgb(55,49,157);
    background: linear-gradient(90deg, rgba(55,49,157,1) 0%, rgba(42,112,204,1) 24%, rgba(130,0,255,1) 48%, rgba(42,127,189,1) 73%, rgba(84,25,154,1) 85%, rgba(121,168,82,1) 100%);
    
}
h1 {
    font-size: 3.8rem;
}
h2 {
    font-size: 2.2rem;
}
h3 {
    font-size: 1.8rem;
}
h1,h2,h3 {
    text-align: center;
}
h4 {
    text-align: left;
    font-size: 2.2rem;
}
/* comentarios */
.logocs {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35vh;
    padding: 10px;
}
#imageContainer {
    position: center;
    overflow: hidden;
}
.container {
    position: relative;
    height: 50%;
}

.trigger {
    width: 10%;
    height: 100px; /* Altura de la zona de activación */
    background: lightgray;
    
}

#image {
    position: absolute;
    top: 10%;
    left: 10%;
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
    transition: opacity 1.9s ease-in-out;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 10px 10px 50px rgba(12, 219, 64, 0.8);
    border-radius: 2.9rem;
}

#loadedImage {
    max-width: 30%;
    max-height: 30%;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -80%) scale(0); /* Escala inicial al 0 */
    transition: transform 1s ease-in-out; /* Efecto de escala suave */
}
@media (max-width: 768px) {
#loadedImage {
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0); /* Escala inicial al 0 */
    transition: transform 1s ease-in-out; /* Efecto de escala suave */
    }
    #image {
        position: absolute;
        top: 10%;
        left: 10%;
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
        transition: opacity 1.9s ease-in-out;
        padding-top: 10px;
        padding-bottom: 10px;
        box-shadow: 10px 10px 50px rgba(12, 219, 64, 0.8);
        border-radius: 2.9rem;
    }
}
.bodys {
    font-family: Arial, sans-serif;
    background-color: #f71414;
    margin: auto;
    padding: 5px 10px;
    margin-top: 10px;
    
}
.clockt {
    width: 210px;
    height: 60px;
    background-color: #333;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
}

.hour, .minute, .second {
    margin: 0 5px;
    transform-origin: center;
}

.second {
    animation: rotateSeconds 1s steps(60) infinite;
}

.minute {
    animation: rotateMinutes 60s steps(60) infinite;
}

.hour {
    animation: rotateHours 720s steps(60) infinite;
}
.centrar {
    text-align: center;
    font-size: 2rem;
    margin-top: 2rem;
}
.titulo span {
    
    font-size: 2rem;
    color: red;
}
.box-1{
    box-shadow: inset 8px 10px 10px 7px rgba(0,0,0,0.5);
 }
.span1 {
    display:  flex;
    justify-content: center;
    font-size: 2rem;
    color: rgb(216, 219, 44);
    padding: 1.5rem;
    font-weight: bold;
    font-style: italic;
}
/** Utilidades**/
.w-sm-100 {
    width: 100%;
}
@media (min-width: 768px) {
    .w-sm-100 {
        width: auto;
    }
}
.youtube {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.flex {
    display: flex;
}
.alinear-derecha {
    justify-content: flex-end;
}


.servicios h2 h3 {
    margin-bottom: 40px 40px 40px; 
}
.serviciosNosotros {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 2rem;
}
.serviciosPhishing {
    /*scroll-snap-align: center ;
    scroll-snap-stop: normal;*/
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 1rem;
}
.serviciosGromming {
    /*scroll-snap-align: center ;
    scroll-snap-stop: normal; */
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 1rem;
}

.boton {
    background-color: var(--secundario);
    color: var(--blanco);
    padding: 1rem 3rem;
    margin-top: 3rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .5rem;
    width: 80%;
    text-align: center;
    border: none;
}
.boton:hover {
    cursor: pointer;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    
}
@media (min-width: 768px){
    .boton {
        width: 25%;
        
    }
}
.btn{
    /*background-color: var(--secundario);*/
    color: var(--blanco);
    padding: 1rem 1rem;
    margin-top: 2rem;
    font-size: 0.1rem;
    text-decoration: none;
    /*text-transform: uppercase;*/
    font-weight: bold;
    border-radius: .7rem;
    /*width: 0%; */
    text-align: center;
    border: none; 

}
.sombra {
    -webkit-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.54);
    -moz-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.54);
    box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.54);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem;
}
.nav-bg {
    background-color: var(--secundario);  
}
.navegacion-principal {
    display: flex;
    flex-direction: column;
    align-items: center;  
}
@media (min-width: 768px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-around;
    }
}

.navegacion-principal a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem;    
    
}
.navegacion-principal a:hover {
    background-color: var(--primario);
    color: var(--negro);
    box-shadow: 10px 0 55px rgba(55,0,0,1.8);
    border: none;
    border-radius: 10px 10px;
    background: rgb(202, 214, 34);
    
}
.hero {
    background-image: url(../img/ciberseguridad-seguro-no-serlo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: sticky;
    margin-bottom: 2rem;
}

.heroPhishing {
    background-image: url(../img/phishing.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    height: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: sticky;
    margin-bottom: 2rem;
}
.heroGromming {
    background-image: url(../img/Grooming.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    height: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: sticky;
    margin-bottom: 2rem;
}
.heroNosotros {
    background-image: url(../img/PENTESTING-PRUEBAS-DE-PENETRACION.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    height: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: sticky;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .heroPhishing {
        background-size: 80%;
    }
}
@media (max-width: 768px) {
    .hero {
        background-size: 100%;
        height: 300px;
    }
}
.contenido-hero {
    position: absolute;
    /**background-color: rgba(163, 11, 11, 0.7);  /** Anterior **/
    /** background-color: rgb(0 0 0 / 70%); **/
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:center;
}
@media (min-width: 768px) {
    .contenido-hero {
        position: absolute;
        /**background-color: rgba(163, 11, 11, 0.7);  /** Anterior **/
        /** background-color: rgb(0 0 0 / 70%); **/
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}
.contenido-hero h2,
.contenido-hero p {
    color: var(--blanco);
    
}

/** Servicios **/
@media (min-width: 768px) { 
.servicios {
    display: grid;
    /**grid-template-columns: 300px 300px;
    grid-template-rows: 200px 800px; **/
    /**grid: 200px 300px / 300px 400px;**/
    /**grid-template-columns: 1fr 1fr;**/
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    }  
}
.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8rem;
}
.servicios-aprender {
    display: flex;
    flex-direction: column;
    align-items: center;

}
.servicio h3 {
    color: rgb(40, 9, 119);
    font-weight: normal;
}
.servicioh2 {
    font-size: x-large;
    background-color: #24e744;
    border-style: double;
    border-radius: .5rem;
}
.generador {
    width: auto;
    text-align: center;
    font-size: 2rem;
    padding: 1rem;
    border-radius: .5rem;
    margin-top: 1.5rem;
}
.servicio p {
    max-width: 70%;
    line-height: 2;
    text-align: center;
}
.servicio .iconos {
    height: 15rem;
    width: 15rem;
    background-color: var(--gris);
    border-radius: 50%;
    display: flex;
    justify-content:  center;
    align-items: center;
}
.formulario {
    background: rgb(63,94,251);
    background: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(36,205,226,1) 100%);
    width: min( 60rem, 100% );
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
}
.formulario fieldset {
    border: none;
}
.formulario legend {
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primario);
}
@media (min-width: 768px) {
    .contenedor-campos {
        display: grid;
        grid-template-columns: 50% 50%;
        column-gap: 1rem;
        grid-template-rows: auto auto 20rem;
    }
    .campo:nth-child(3), .campo:nth-child(4) {
        grid-column: 1 / 3;
        
    }
}
.campo {
    margin-bottom: 1rem;
}
.campo label {
    color: -var(--blanco);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}
.input-text {
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
}
.input-text1 {
    max-width: 100%;
    border-style: double;
    padding: 1.5rem;
    border-radius: .5rem;
}
.enviar .boton{
    width: 100%;
}
.campo textarea {
    height: 20rem;
}
footer {
    text-align: center;
    font-size: 1.8rem;
    margin: 1rem;
}
/* Start: Video Responsive */
.video-responsive {
    overflow:hidden;
    padding-bottom:400px; /* Adecua este valor para controlar la altura del video */
    position:relative;
    height:0;
    
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
/* End: Video Responsive */
.en{
    color: #b8d1d4;
    margin-right: 5px;
}
.es{
    color: #b8d1d4;
    margin-left: 5px;
}
.lang_align{
    display: flex;
    flex-direction: row;
    font-size: 5px;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center; 
} 
.check{
    position: relative;
    width: 47px;
}
.check:before{
    content: '';
    position: absolute;
    width: 50px;
    height: 25px;
    background: #333;
    border-radius: 25px;
}
.check:after{
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: #fff;
    border-radius: 25px;
    transition: 0.25s;
    border: 2px solid #333;
    box-sizing: border-box;
    
}
.check:checked:after{
    left: 25px;
    border: 2px solid #00a1ff;
    
}
.check:checked:before{
    background: #00a1ff;
}
.btncheck{
    display: flex;
    flex-direction: row;
    font-size: 25px;
    align-items: center;
    margin-bottom: 2rem;
    text-align: center; 
    margin: 10px;
    
}
.lbl-switch{
    display: inline-block;
    width: 55px;
    height: 30px;
    background: #333;
    border-radius: 100px;
    position: relative;
    cursor: pointer;
}
#btn-switch:checked~ .lbl-switch{
    background: #00a1ff;
}
.lbl-switch:after{
    position: absolute;
    content: '';
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 100px;
    top: 4px;
    left: 5px;
    transition: 0.3s;
}
#btn-switch:checked~ .lbl-switch:after{
    left: 28px;
}
#btn-switch{
    display: none;
}
a.button1 {
    position: relative;
    width: 150px;
    height: 55px;
    display: inline-block;
    border-radius: 5px;
    }
    .button1 i {
    position: absolute;
    inset: -2px;
    display: block;
    background: #f00;
    border-radius: 5px;
    }
    .button1 i,
    .button1 i:nth-child(2)
    {
    background: linear-gradient(var(--x),#00ccff,#0e1538,#0e1538,#d400d4);
    }
    .button1 i:nth-child(2)
    {
    filter: blur(10px);
    }
    .button-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    border: 1px solid #040a29;
    border-radius: 3px;
    background: rgba(14,21,56,0.65);
    overflow: hidden;
    }
    .button-text::before
    {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.075);
    transform: skewX(25deg);
    }
    .banner-interactivo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    background: linear-gradient(135deg, #0a0a0a, #1f1f1f);
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(255, 191, 0, 0.3);
    overflow: hidden;
    position: relative;
    padding: 2rem;
    max-width: 900px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-interactivo:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(255, 191, 0, 0.5);
}

.banner-contenido {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #fff;
}

.banner-imagen {
    width: 120px;
    height: 120px;
    animation: flotar 3s ease-in-out infinite;
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.banner-texto h2 {
    margin: 0;
    color: #ffbf00;
    font-size: 1.8rem;
}

.banner-texto p {
    margin: 0.5rem 0 1rem;
    color: #ddd;
}

.boton-banner {
    display: inline-block;
    background: #ffbf00;
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.boton-banner:hover {
    background: #ffd633;
    transform: scale(1.05);
}
.serviciosrasp {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center; /* centra las secciones dentro del contenedor */
}

/* Centrar el párrafo y estilo tipo terminal/hacker */
.serviciorasp {
    width: 100%;
    display: flex;
    justify-content: center; /* centra el contenido horizontalmente */
    padding: 0.5rem 1rem;
}

/* Estilo para el <p> dentro de .servicio */
.serviciorasp p {
    max-width: 900px;            /* ancho máximo del bloque de texto */
    margin: 0 auto;              /* centra el bloque */
    text-align: center;          /* centra el texto dentro del <p> */
    font-family: "Fira Code", "SFMono-Regular", Menlo, Monaco, "Courier New", monospace;
    font-size: 1rem;
    line-height: 1.5;
    color: #dfe6c7;              /* texto claro con tono verdoso/amarillento */
    background: rgba(0, 0, 0, 0.55); /* fondo oscuro tipo terminal */
    padding: 1.0rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6), inset 0 0 18px rgba(255,191,0,0.03);
    border: 1px solid rgba(255,191,0,0.06);
    white-space: pre-wrap;       /* conserva saltos de línea y espacios */
    word-wrap: break-word;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Efecto al pasar el mouse para hacerlo interactivo */
.serviciorasp p:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.7), inset 0 0 24px rgba(255,191,0,0.05);
}

/* Responsive: que se vea bien en pantallas chicas */
@media (max-width: 600px) {
    .serviciorasp p {
        font-size: 0.95rem;
        padding: 0.9rem;
        max-width: 95%;
    }
}
.terminal-box {
    background: rgba(0, 0, 0, 0.75);
    color: #dfe6c7;
    font-family: "Fira Code", monospace;
    padding: 1.8rem;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 0 30px rgba(255, 191, 0, 0.15), inset 0 0 15px rgba(255, 191, 0, 0.05);
    border: 1px solid rgba(255, 191, 0, 0.1);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.terminal-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(255, 191, 0, 0.3);
}

.terminal-box h4 {
    color: #ffbf00;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.terminal-box ul {
    list-style-type: "▸ ";
    padding-left: 1.2rem;
    margin: 0.3rem 0 1rem;
}

.terminal-box li {
    margin-bottom: 0.3rem;
}

.terminal-box p {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.terminal-destacado {
    color: #00ff7f;
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 700px) {
    .terminal-box {
        padding: 1.2rem;
        font-size: 0.95rem;
    }
    .servicio h3 {
        font-size: 1.5rem;
    }
}
.logosecurity {
    width: 200px;
}
.logoaplicaciones {
    max-width: 650px;
}
@media (max-width: 700px) {
    .logoaplicaciones {
    max-width: 350px;
}
}