* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* BODY  */
body {
    background: #0a0f1e; 
    color: #e6f1ff;
    line-height: 1.6;
}



/*  HEADER  */
/*  HEADER ANIMADO */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 50px;

    background: linear-gradient(
        120deg,
        #02040a,
        #0b2a5a,
        #02040a
    );
    background-size: 300% 300%;
    animation: headerFlow 10s ease infinite;

    border-bottom: 2px solid rgba(30, 144, 255, 0.6);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.15);
}

/* animación del fondo */
@keyframes headerFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* LOGO */
header img {
    width: 100px;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

header img:hover {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.7);
}

/* TITULO */
header h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #e6f1ff;
    position: relative;
    animation: fadeSlide 1.2s ease forwards;
}

/* línea animada debajo del título */
header h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #1e90ff, #4da3ff);
    box-shadow: 0 0 12px #1e90ff;
}

/* entrada suave */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about-section {
    padding: 60px 2%;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-container img {
    width: 420px;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(77, 163, 255, 0.3);
}

.about-text h2 {
    font-size: 32px;
    color: #4da3ff;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #e0e0e0;
}
/* NAV */
nav ul {
    display: flex;
    gap: 25px;
}

nav a {
    color: #e6f1ff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
}

/* underline animado */
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #1e90ff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #4da3ff;
}
/*  SECCIONES  */
section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: auto;
}

section h1,
section h2 {
    color: #4da3ff;
    margin-bottom: 20px;
}

section img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 0 25px rgba(30,144,255,0.3);
}

/*  MAIN  */
main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 40px;
    max-width: 1200px;
    margin: auto;
}

main div {
    background: #0d1b3d;
    border: 1px solid #1e90ff;
    border-radius: 20px;
    padding: 25px;
    transition: 0.3s;
}

main div:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(30,144,255,0.4);
}

main img {
    width: 100%;
    border-radius: 15px;
}

main h2 {
    color: #4da3ff;
    margin-top: 15px;
}


a {
    color: #4da3ff;
}

a:hover {
    text-shadow: 0 0 6px #1e90ff;
}

/* APARICIÓN GENERAL */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}


.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER   */
.footer-corp {
    background: linear-gradient(145deg, #02040a, #0b2a5a);
    border-top: 2px solid #1e90ff;
    padding: 60px 20px 30px;
    color: #e6f1ff;
}

/* CONTENEDOR */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

/* COLUMNAS */
.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Títulos */
.footer-col h2 {
    color: #4da3ff;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: #4da3ff;
    margin-bottom: 15px;
}

/* Texto */
.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #cfe6ff;
}

/* Lista */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #bcd6ff;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #1e90ff;
}

/* PARTE INFERIOR */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 144, 255, 0.4);
    text-align: center;
    font-size: 13px;
    color: #7aa7ff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* red team */

.team-card {
    background: linear-gradient(145deg, #0d1b3d, #09132a);
    border: 1px solid #1e90ff;
    border-radius: 20px;
    padding: 35px;
    max-width: 900px;
    margin: 60px auto;
    box-shadow: 0 0 30px rgba(30,144,255,0.25);
    position: relative;
    overflow: hidden;
}

/* brillo sutil animado */
.team-card::before {
    content: "";
    position: absolute;   
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30,144,255,0.08), transparent 60%);
    animation: pulseGlow 6s infinite linear;
    pointer-events: none; 
    z-index: 0;
}

@keyframes pulseGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.team-card h2 {
    font-size: 28px;
    color: #4da3ff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
}

/* línea decorativa */
.team-card h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin-top: 8px;
    background: linear-gradient(90deg, #1e90ff, #4da3ff);
    box-shadow: 0 0 10px #1e90ff;
}

.team-content {
    display: flex;
    gap: 30px;
}

.team-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #e6f1ff;
    margin-bottom: 15px;
}

.team-text strong {
    color: #7bb6ff;
}

/* responsive */
@media (max-width: 768px) {
    .team-card {
        margin: 40px 20px;
        padding: 25px;
    }
}

/* Botones de enlaces profesionales */
.linkedin-btn,
.instagram-btn,
.cert-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* LinkedIn */
.linkedin-btn {
    background-color: #0a66c2;
    color: #ffffff;
}

.linkedin-btn:hover {
    background-color: #084b8a;
    transform: translateY(-2px);
}

/* Instagram */
.instagram-btn {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
    color: #ffffff;
}

.instagram-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Certificación eJPT */
.cert-btn {
    background-color: #0f172a;
    color: #38bdf8; 
    border-color: #38bdf8;
}

.cert-btn:hover {
    background-color: #38bdf8;
    color: #0f172a;
    transform: translateY(-2px);
}

/* GitHub */
.github-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background-color: #0d1117; 
    color: #e6edf3;
    border: 1px solid #30363d;
    transition: all 0.3s ease;
}

.github-btn:hover {
    background-color: #161b22;
    border-color: #58a6ff;
    color: #58a6ff;
    transform: translateY(-2px);
}

/* YouTube */
.youtube-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background-color: #0f0f0f;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    transition: all 0.3s ease;
}

.youtube-btn:hover {
    background-color: #ff4d4d;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 77, 77, 0.7);
    transform: translateY(-2px);
}

.team-card:hover {
    box-shadow: 0 0 25px rgba(77, 163, 255, 0.4);
    transition: 0.3s;
}

.team-text a {
    display: inline-block;
    margin-right: 10px;
}

/* Imagen perfil */
.profile-img img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #4da3ff;
    box-shadow: 0 0 20px rgba(77,163,255,0.6);
}

/* red team */
/* CONTENEDOR */
.team-selection{
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* TARJETA */
.team-card-select{
    display: block;
    background: #0d1b3d;
    border: 1px solid #1e90ff;
    border-radius: 20px;
    padding: 25px;
    text-decoration: none;
    color: #e6f1ff;
    transition: 0.3s;
}

/* IMAGEN */
.team-card-select img{
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* TITULO */
.team-card-select h2{
    color: #4da3ff;
    margin-bottom: 10px;
}

/* TEXTO */
.team-card-select p{
    font-size: 14px;
    line-height: 1.6;
    color: #cfe6ff;
}

/* HOVER */
.team-card-select:hover{
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(30,144,255,0.4);
}

.tool-section{
    padding: 80px 40px;
}

.tool-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:50px;
    background:#0d1b3d;
    border:1px solid #1e90ff;
    border-radius:20px;
    padding:40px;
}

.tool-img img{
    width:250px;
    border-radius:12px;
}

.tool-info h2{
    color:#4da3ff;
    margin-bottom:20px;
    font-size:32px;
}

.tool-info p{
    color:#d0e4ff;
    line-height:1.7;
    margin-bottom:15px;
}

.tool-info ul{
    margin-top:20px;
}

.tool-info li{
    margin-bottom:8px;
    color:#bcd6ff;
}

/* BOTON */

.ver-btn{
    margin-top:15px;
    padding:10px 18px;
    border:none;
    background:#4da3ff;
    color:#000;
    font-weight:bold;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s;
}

.ver-btn:hover{
    background:#0300c7;
    transform:scale(1.05);
}




.android-layout{
display:flex;
align-items:flex-start;
gap:40px;
}

.android-img{
width:260px;
border-radius:12px;
box-shadow:0px 0px 20px rgba(0,0,0,0.6);
}

.youtube-info{
text-align:center;
margin-top:40px;
}

.youtube-info img{
width:100%;
max-width:800px;
border-radius:10px;
box-shadow:0px 0px 20px rgba(0,0,0,0.6);
}

.youtube-btn{
display:inline-block;
margin-top:20px;
padding:10px 20px;
background:#d41818;
color:white;
text-decoration:none;
border-radius:6px;
font-weight:bold;
}

.youtube-channel{
margin-top:60px;
}

.channel-container{
display:flex;
gap:30px;
align-items:center;
}

.channel-container img{
width:200px;
border-radius:10px;
}

/* videos */

.video-section{
text-align:center;
margin-top:40px;
}

.video-section h2{
margin-bottom:20px;
}

.video-section a{
color:#4da3ff;
font-weight:bold;
text-decoration:none;
}

.video-section a:hover{
text-decoration:underline;
}

.video-container{
display:flex;
justify-content:center;
margin-top:20px;
}

.video-container iframe{
width:100%;
max-width:700px;
height:400px;
border:none;
border-radius:10px;
box-shadow:0px 0px 20px rgba(77,163,255,0.5);
}


/* RESPONSIVE */

@media (max-width:900px){

    .tool-container{
        flex-direction:column;
        text-align:center;
    }

    .tool-img img{
        width:200px;
    }

}
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
    }

    .team-layout {
        flex-direction: column-reverse;
        text-align: center;
    }

    .team-image img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {

    .team-card {
        margin: 30px 15px;      
        padding: 25px 20px;      
        border-radius: 15px;
    }

    .team-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-text {
        width: 100%;
    }

    .team-text p {
        font-size: 15px;
        line-height: 1.6;
    }

    .profile-img img {
        width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }
}

.team-text {
    max-width: 600px;
}

