
/* xxxx */
h1{
    text-align: center;
}
/* ==========================
   ABOUT SECTION
========================== */
.about_me{
    width: 100%;
    padding: 10px 0px;
}

.about-section{
    width:100%;
    max-width:900px;
    margin:auto;
    /* padding:60px 40px; */
}

.about-card{
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:25px;
    padding:30px;
    margin-bottom:50px;
    margin:auto;
}

.about-card h2{
    text-align:center;
    color:white;
    font-size:3rem;
    margin-bottom:25px;
}

.intro{
    max-width:850px;
    margin:auto;
    text-align:justify;
    color:#cfcfcf;
    line-height:1.9;
    font-size:1.05rem;
    margin-bottom:50px;
}

.about-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:25px;
}

.about-box{
    background: rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.05);
    border-radius:20px;
    padding:25px;
    transition:.3s;
}

.about-box:hover{
    transform:translateY(-8px);
}

.about-box span{
    font-size:2rem;
    display:block;
    margin-bottom:15px;
}

.about-box h3{
    color:white;
    margin-bottom:12px;
}

.about-box p{
    color:#bdbdbd;
    line-height:1.8;
}

/* ==========================
   TIMELINE
========================== */

.timeline-section h2{
    text-align:center;
    color:white;
    font-size:3rem;
    margin-bottom:60px;
}

.timeline{
    position:relative;
    max-width:900px;
    margin:auto;
}

.timeline::before{
    content:'';
    position:absolute;
    left:50%;
    top:0;
    width:2px;
    height:100%;
    background:rgba(0,229,255,.5);
    transform:translateX(-50%);
}

.timeline-item{
    position:relative;
    width:50%;
    padding:20px 40px;
    box-sizing:border-box;
}

.timeline-item:nth-child(odd){
    left:0;
    text-align:right;
}

.timeline-item:nth-child(even){
    left:50%;
}

.timeline-dot{
    position:absolute;
    width:18px;
    height:18px;
    background:#00e5ff;
    border-radius:50%;
    top:30px;
    z-index:10;
    box-shadow:0 0 15px #00e5ff;
}

.timeline-item:nth-child(odd) .timeline-dot{
    right:-9px;
}

.timeline-item:nth-child(even) .timeline-dot{
    left:-9px;
}

.timeline-content{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:25px;
    border:1px solid rgba(255,255,255,.05);
}

.timeline-content span{
    color:#00e5ff;
    font-weight:600;
}

.timeline-content h3{
    color:white;
    margin:10px 0;
}

.timeline-content p{
    color:#cfcfcf;
    line-height:1.7;
}

/* ==========================
   ACHIEVEMENTS GALLERY
========================== */

.achievements-section{
    max-width: 1300px;
    margin: 100px auto;
    padding: 0 30px;
}

.gallery-title{
    text-align:center;
    color:white;
    font-size:3rem;
    margin-bottom:15px;
}

.gallery-subtitle{
    text-align:center;
    color:#bdbdbd;
    max-width:700px;
    margin:0 auto 60px;
    line-height:1.8;
}

.gallery-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:30px;
}

.gallery-card{
    position:relative;
    overflow:hidden;
    border-radius:25px;
    height:280px;

    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);

    border:1px solid rgba(255,255,255,0.08);

    transition:.4s ease;
}

.gallery-card:hover{
    transform: translateY(-10px);
}

.gallery-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s ease;
}

.gallery-card:hover img{
    transform: scale(1.08);
}

.gallery-overlay{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;

    padding:25px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.9),
        rgba(0,0,0,.1)
    );
}

.gallery-overlay h3{
    color:white;
    margin-bottom:5px;
    font-size:1.2rem;
}

.gallery-overlay span{
    color:#00e5ff;
    font-size:.9rem;
}

/* TABLET */

@media(max-width:992px){

    .gallery-grid{
        grid-template-columns: repeat(2,1fr);
    }

}

/* MOBILE */

@media(max-width:768px){

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-title{
        font-size:2.3rem;
    }

}
/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

    .timeline::before{
        left:20px;
    }

    .timeline-item{
        width:100%;
        left:0 !important;
        text-align:left !important;
        padding-left:60px;
        padding-right:10px;
    }

    .timeline-dot{
        left:11px !important;
        right:auto !important;
    }

    .about-card h2,
    .timeline-section h2{
        font-size:2.2rem;
    }

}
@media(max-width:900px){

    .about-grid{
        grid-template-columns: 1fr;
    }

}


/* diseño redes neuronales */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #010202; /* Color oscuro para el fondo */
  z-index: -1; /* Para que esté detrás del contenido */
}
