body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background: transparent; /* No background image */
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-weight: 700;
    font-size: 3.5rem;
}

.hero .lead {
    font-weight: 300;
    font-size: 1.5rem;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.section-title {
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #343a40;
}

.navbar {
    background-color: rgba(0,0,0,0.8) !important;
    backdrop-filter: blur(10px);
}

.skill-item .progress {
    height: 20px;
    border-radius: 10px;
}

.skill-item .progress-bar {
    background-color: #0d6efd;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
}

.skill-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #dee2e6;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li .timeline-panel {
    width: 45%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    background: #fff;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.5s ease;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    transform: translateX(100px);
}

.timeline > li .timeline-panel.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline > li .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #999999;
    z-index: 100;
    border-radius: 50%;
}

.timeline-badge.primary { background-color: #0d6efd !important; }
.timeline-badge.success { background-color: #198754 !important; }

.timeline-title { margin-top: 0; color: inherit; font-weight: 600;}

.timeline-body > p, .timeline-body > ul { margin-bottom: 0; }

.timeline-body > ul > li {
    font-size: 0.9rem;
    padding-bottom: 5px;
}

#education .card {
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#education .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

#education .card-title {
    font-weight: 600;
    margin-bottom: 20px;
}

#education .list-group-item {
    border: 0;
    padding-left: 0;
}

footer {
    background-color: #343a40;
    color: white;
}

footer .form-control {
    background-color: #495057;
    border-color: #495057;
    color: #fff;
}

footer .form-control::placeholder {
    color: #ced4da;
}

footer .fs-4 {
    transition: color 0.3s ease;
}

footer .fs-4:hover {
    color: #0d6efd;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para Particles.js */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Asegura que esté detrás de todo */
    /* background-image se establece desde JS */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out; /* Transición suave */
}