/* 🎨 Reset básico para evitar inconsistencias */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* 🎨 Fondo oscuro con tipografía clara */
body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* 🔝 Botón para volver arriba */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: #f0a500;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

#scrollToTopBtn:hover {
    background: #ffbe33;
}



nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0a500;
}

/* 🎨 Iconos en la navegación */
.linkedin-icon img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.linkedin-icon img:hover {
    transform: scale(1.2);
}

/* 🏠 Sección de Inicio */
#home {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
}

.container {
    max-width: 800px;
    padding: 20px;
}

h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #f0a500;
}

h2 {
    font-size: 1.8rem;
    margin-top: 10px;
    color: #ffbe33;
}

p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* 🔥 Botón de acción */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #f0a500;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-button:hover {
    background-color: #ffbe33;
}

/* 🎬 Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.delay {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Diseño Responsivo */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px;
    }
}
/* 📌 Estilos para la Sección "About Me" */
#about {
    padding: 80px 20px;
    background: #1a1a1a;
    color: #ffffff;
}

#about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f0a500;
}

/* 📌 Diseño en dos columnas */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

/* 📌 Texto alineado y justificado */
.about-text {
    flex: 1;
    padding: 20px;
}

.about-text p {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 📌 Imagen de perfil */
.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0a500;
    margin: 20px;
}

/* 📌 Lista de habilidades */
.about-text ul {
    list-style-type: none;
    padding: 0;
}

.about-text li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.about-text li strong {
    color: #ffbe33;
}

/* 📌 Subtítulos dentro de la lista */
.about-text h3 {
    font-size: 1.5rem;
    color: #f0a500;
    margin-bottom: 10px;
    text-decoration: underline;
}

/* 📌 Diseño Responsivo */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    .about-text {
        padding: 10px;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }
}
/* 🎨 Reset básico para evitar inconsistencias */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* 🎨 Fondo oscuro con tipografía clara */
body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* 🔝 Botón para volver arriba */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: #f0a500;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

#scrollToTopBtn:hover {
    background: #ffbe33;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0a500;
}

/* 🎨 Iconos en la navegación */
.linkedin-icon img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.linkedin-icon img:hover {
    transform: scale(1.2);
}

/* 🏠 Sección de Inicio */
#home {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
}

.container {
    max-width: 800px;
    padding: 20px;
}

h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #f0a500;
}

h2 {
    font-size: 1.8rem;
    margin-top: 10px;
    color: #ffbe33;
}

p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* 🔥 Botón de acción */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #f0a500;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.cta-button:hover {
    background-color: #ffbe33;
}

/* 🎬 Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

.delay {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Diseño Responsivo */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px;
    }
}
/* 📌 Estilos para la Sección "About Me" */
#about {
    padding: 80px 20px;
    background: #1a1a1a;
    color: #ffffff;
}

#about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f0a500;
}

/* 📌 Diseño en dos columnas */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

/* 📌 Texto alineado y justificado */
.about-text {
    flex: 1;
    padding: 20px;
}

.about-text p {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 📌 Imagen de perfil */
.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0a500;
    margin: 20px;
}

/* 📌 Lista de habilidades */
.about-text ul {
    list-style-type: none;
    padding: 0;
}

.about-text li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.about-text li strong {
    color: #ffbe33;
}

/* 📌 Subtítulos dentro de la lista */
.about-text h3 {
    font-size: 1.5rem;
    color: #f0a500;
    margin-bottom: 10px;
    text-decoration: underline;
}

/* 📌 Diseño Responsivo */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    .about-text {
        padding: 10px;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }
}
/* 🎨 Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
}

/* 🔝 Botón para volver arriba */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background: #f0a500;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

#scrollToTopBtn:hover {
    background: #ffbe33;
}

/* Estilos del Header */
header {
    background: rgba(30, 30, 30, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 0;
}

.navbar-brand {
    color: #f0a500;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #ffbe33;
}

.navbar-toggler {
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
}

.nav-link {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #f0a500;
}

.cv-button {
    background: #f0a500;
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-left: 1rem;
    transition: background-color 0.3s ease;
}

.cv-button:hover {
    background: #ffbe33;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icon {
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    transition: opacity 0.3s ease;
}

.social-icon:hover img {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }

    .nav-item {
        text-align: center;
        margin: 0.5rem 0;
    }

    .cv-button {
        margin: 0.5rem auto;
        display: inline-block;
    }

    .social-icons {
        justify-content: center;
        margin-top: 1rem;
    }
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f0a500;
}

/* 🏠 Sección de Inicio */
#home {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
}

/* 👤 Sección About */
#about {
    padding: 80px 20px;
    background: #1a1a1a;
}

/* 💼 Sección Proyectos */
#projects {
    padding: 80px 20px;
    background: #1a1a1a;
}

.project {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project img {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.project h3 {
    color: #f0a500;
    margin: 15px 0;
}

/* 📜 Sección Certificaciones */
#certifications {
    padding: 80px 20px;
    background: #1e1e1e;
}

.certification {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.certification:hover {
    transform: translateY(-5px);
}

.cert-logo {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

/* 🎯 Sección Habilidades */
#skills {
    padding: 80px 20px;
    background: #1a1a1a;
}

.skill {
    margin: 20px 0;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 20px;
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #f0a500;
    transition: width 0.3s ease;
}

/* 🔗 Sección LinkedIn */
#linkedin {
    padding: 80px 20px;
    background: #1e1e1e;
    text-align: center;
}

.linkedin-button {
    display: inline-block;
    padding: 12px 24px;
    background: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 20px 0;
    transition: background 0.3s ease;
}

/* 📞 Sección Contacto */
#contact {
    padding: 80px 20px;
    background: #1a1a1a;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: white;
    border-radius: 5px;
}

.whatsapp-contact {
    margin-top: 30px;
    text-align: center;
}

.whatsapp-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

/* 👣 Footer */
footer {
    background: #1e1e1e;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* 🎨 Elementos comunes y utilidades */
.container {
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
}

h1 {
    font-size: 2.8rem;
    font-weight: bold;
    color: #f0a500;
}

h2 {
    font-size: 1.8rem;
    margin-top: 10px;
    color: #ffbe33;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #f0a500;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

/* 🎬 Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }
}
/* Testimonials */
.testimonial {
    background: #2a2a2a;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-author h5 {
    color: #f0a500;
    margin-bottom: 0;
}

/* Blog Posts */
.blog-post {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post h3 {
    color: #f0a500;
}

/* Stats Section */
.stat-item h2 {
    font-size: 3rem;
    color: #f0a500;
    margin-bottom: 10px;
}

/* Services */
.service-card {
    background: #2a2a2a;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    color: #f0a500;
}

.service-card h3 {
    color: #f0a500;
    margin: 15px 0;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #f0a500;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    font-weight: bold;
    color: #f0a500;
    margin-bottom: 10px;
}

.timeline-content {
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
}

.timeline-content h3 {
    color: #f0a500;
    margin-top: 0;
}

/* Education */
.education-card {
    background: #2a2a2a;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
}

.education-card h3 {
    color: #f0a500;
}

/* Tech Stack */
.tech-icon {
    padding: 15px;
    transition: transform 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-5px);
}

.tech-icon i {
    color: #f0a500;
    margin-bottom: 10px;
}

/* Responsive adjustments for timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
}
