/*Font Awesome Free Icon*/
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/*Google fonts*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Rubik:500,700,900&display=swap');

/* General Style */
body {
    margin: 0;
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #333333; /* Color de texto principal más profesional */
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
}

::before,
::after {
    box-sizing: border-box;
}

input,
textarea,
select {
    font-family: 'Montserrat', sans-serif;
}

.section {
    background-color: #f8f9fa; /* Fondo más neutro */
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    position: fixed;
    left: 270px;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.section.active {
    opacity: 1;
    z-index: 2;
    animation: slideSection 1s ease;
    -webkit-animation: slideSection 1s ease;
    -moz-animation: slideSection 1s ease;
    -o-animation: slideSection 1s ease;
}

.section.back-section {
    z-index: 1;
}

@keyframes slideSection {
    0% {
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -o-transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -o-transform: translateX(0%);
    }
}

@-webkit-keyframes slideSection {
    0% {
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -o-transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -o-transform: translateX(0%);
    }
}

@-moz-keyframes slideSection {
    0% {
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -o-transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -o-transform: translateX(0%);
    }
}

@-o-keyframes slideSection {
    0% {
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -o-transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -o-transform: translateX(0%);
    }
}

.section .container {
    padding-top: 60px;
    padding-bottom: 70px;
}

.section-title {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    color: #2c3e50; /* Color más profesional */
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    margin: 0;
    position: relative;
}

.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    background-color: #95a5a6; /* Línea decorativa en gris */
    position: absolute;
    top: 100%;
    left: 0;
}

.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    background-color: #bdc3c7; /* Línea decorativa en gris más claro */
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    position: relative;
}

.padd-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

.shadow-dark {
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 600px) {  .shadow-dark {  width: 100%;  } }
.btn {
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    padding: 12px 35px;
    color: #ffffff;
    border-radius: 40px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    background-color: #34495e; /* Color de botón más profesional */
}

.btn:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    background-color: #2c3e50; /* Color más oscuro al hacer hover */
}

.hidden {
    display: none !important;
}

/* Preloader */
.preloader {
    background-color: #f8f9fa; /* Fondo más claro */
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 150;
    display: flex;
    display: -ms-flexbox;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
}

.preloader.opacity-0 {
    opacity: 0;
}

.preloader .loader {
    height: 40px;
    width: 40px;
    border: 4px solid #95a5a6; /* Color del loader en gris */
    border-radius: 50%;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    animation: spin 2s linear infinite;
    -webkit-animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

/* Aside */

.aside {
    width: 270px;
    background-color: #ffffff; /* Fondo blanco para el aside */
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 11;
    border-right: 1px solid #e0e0e0; /* Borde más sutil */
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.aside .aside-inner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    overflow-y: auto;
}

.aside .logo {
    padding: 30px 0;
}

.aside .logo a {
    font-size: 40px;
    color: #2c3e50; /* Color de texto más profesional */
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 0 10px;
    line-height: 50px;
}

.aside .logo a::before {
    content: '';
    height: 20px;
    width: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

.aside .logo a::after {
    content: '';
    height: 20px;
    width: 20px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.aside .nav-toggler {
    height: 40px;
    width: 45px;
    border: 1px solid #e0e0e0; /* Borde más sutil */
    cursor: pointer;
    position: fixed;
    left: 300px;
    top: 20px;
    z-index: 11;
    border-radius: 5px;
    background-color: #ffffff; /* Fondo blanco */
    display: none;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    -ms-flex-pack: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.aside .nav-toggler span {
    height: 2px;
    width: 18px;
    background-color: #2c3e50; /* Color de las líneas del menú */
    display: inline-block;
    position: relative;
}

.aside .nav-toggler.open span {
    background-color: transparent;
}

.aside .nav-toggler span::before {
    content: '';
    height: 2px;
    width: 18px;
    background-color: #2c3e50;
    position: absolute;
    top: -6px;
    left: 0;
}

.aside .nav-toggler.open span::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    top: 0px;
}

.aside .nav-toggler span::after {
    content: '';
    height: 2px;
    width: 18px;
    background-color: #2c3e50;
    position: absolute;
    top: 6px;
    left: 0;
}

.aside .nav-toggler.open span::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    top: 0px;
}

.aside .nav {
    list-style: none;
    margin: 70px 0;
    padding: 0;
}

.aside .nav li {
    display: block;
}
/* --- Nuevo contenedor para el layout horizontal --- */
.blogs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Ajustes a los estilos existentes de .blog-item --- */
.blog-item {
    flex: 1 1 300px;
    max-width: 350px;
    box-sizing: border-box;
}

.blog-item-inner {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Sombra más sutil */
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0; /* Borde sutil */
}

.blog-item-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada al hacer hover */
}

.blog-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Estilos para el .blog-date (Julio a Diciembre 2024) */
.blog-date {
    background-color: #95a5a6; /* Color más neutro */
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-info {
    padding: 20px;
    padding-top: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.blog-title {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: 700;
}

.description-text,
.blog-tags {
    font-size: 1em;
    line-height: 1.6;
    color: #7f8c8d; /* Color de texto más suave */
    margin-bottom: 15px;
}

.project-link {
    text-decoration: none;
    margin-top: auto;
}

.project-button {
    background-color: #34495e; /* Color de botón más profesional */
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-button:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

body {
    background-color: #f8f9fa;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 50px;
}

@media (max-width: 768px) {
    .blogs-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 15px;
    }
    .blog-item {
        width: 90%;
        max-width: 380px;
        flex-basis: auto;
    }
    .blog-img {
        height: 160px;
    }
    .blog-date {
        bottom: -10px;
        padding: 6px 15px;
        font-size: 0.9em;
    }
    .blog-info {
        padding: 15px;
        padding-top: 25px;
    }
    .project-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}
.aside .nav li a {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50; /* Color de texto más profesional */
    text-decoration: none;
    line-height: 45px;
    display: block;
    border-bottom: 1px solid #e0e0e0; /* Borde más sutil */
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.aside .nav li a:not(.active):hover {
    padding-left: 5px;
    color: #34495e; /* Color más oscuro al hacer hover */
}

.aside .nav li a .fa {
    margin-right: 5px;
}

.aside .copyright-text {
    position: absolute;
    bottom: 5px;
    font-size: 13px;
    color: #95a5a6; /* Color de texto más suave */
}

/* Home Section */

.home {
    min-height: 100vh;
    display: -ms-flexbox;
    display: flex;
}

.home .intro {
    text-align: center;
}

.home .intro img {
    height: 100p;
    width: 200px;
    border-radius: 50%;
    display: inline-block;
    border: 8px solid #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.home .intro h1 {
    font-size: 30px;
    color: #2c3e50; /* Color de texto más profesional */
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    margin: 20px 0 5px;
}

.home .intro span {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 22px;
    color: #7f8c8d; /* Color de texto más suave */
}

.home .intro .social-links {
    margin-top: 25px;
}

.home .intro .social-links a {
    height: 35px;
    width: 35px;
    display: inline-block;
    text-align: center;
    line-height: 35px;
    color: #ffffff;
    background-color: #95a5a6; /* Color de fondo más neutro */
    margin: 0 4px;
    border-radius: 40%;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.home .intro .social-links a:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    background-color: #7f8c8d; /* Color más oscuro al hacer hover */
}

.ityped-cursor {
    opacity: 1;
    -webkit-animation: blink 0.3s infinite;
    -moz-animation: blink 0.3s infinite;
    animation: blink 0.3s infinite;
    animation-direction: alternate;
}

@keyframes blink {
    100% {
        opacity: 0;
    }
}

@-webkit-keyframes blink {
    100% {
        opacity: 0;
    }
}

@-moz-keyframes blink {
    100% {
        opacity: 0;
    }
}
/* About Section */

.about .about-content {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .about-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #2c3e50; /* Color de texto más profesional */
}

.about .about-content .about-text p {
    font-size: 16px;
    line-height: 25px;
    color: #333333; /* Color de texto más profesional */
    margin: 0;
}

.about .about-content .personal-info {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
    margin-top: 40px;
}

.about .about-content .personal-info .info-item {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.about .about-content .personal-info .info-item p {
    font-weight: 600;
    padding: 10px 0;
    font-size: 16px;
    margin: 0;
    color: #2c3e50; /* Color de texto más profesional */
    border-bottom: 1px solid #e0e0e0; /* Borde más sutil */
}

.about .about-content .personal-info .info-item p span {
    font-weight: 400;
    color: #7f8c8d; /* Color de texto más suave */
    margin-left: 4px;
    display: inline-block;
}

.about .about-content .personal-info .buttons {
    margin-top: 30px;
}

.about .about-content .personal-info .buttons .btn {
    margin-right: 15px;
    margin-top: 10px;
}

.about .about-content .skills {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
    margin-top: 40px;
}

.about .about-content .skills .skill-item {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .skills .skill-item h5 {
    line-height: 40px;
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50; /* Color de texto más profesional */
    text-transform: capitalize;
    margin: 0;
}

.about .about-content .skills .skill-item {
    margin-bottom: 30px;
}

.about .about-content .skills .skill-item .progress {
    background-color: #e0e0e0; /* Color de fondo de la barra de progreso */
    height: 8px;
    border-radius: 4px;
    width: 100%;
    position: relative;
}

.about .about-content .skills .skill-item .progress .progress-in {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 4px;
    background-color: #95a5a6; /* Color de la barra de progreso */
}

.about .about-content .skills .skill-item .skill-porcent {
    line-height: 40px;
    position: absolute;
    right: 0;
    top: -40px;
    font-weight: 400;
    color: #2c3e50; /* Color de texto más profesional */
}

.about .about-content .education {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}

.about .about-content .experience {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 30px;
}

.about .about-content h3.title {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #2c3e50; /* Color de texto más profesional */
}

.about .about-content .timeline {
    background-color: #ffffff; /* Fondo blanco */
    padding: 30px 15px;
    border: 1px solid #e0e0e0; /* Borde más sutil */
    border-radius: 10px;
    position: relative;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05); /* Sombra sutil */
}

.about .about-content .timeline .timeline-item {
    position: relative;
    padding-left: 37px;
    padding-bottom: 50px;
}

.about .about-content .timeline .timeline-item::before {
    content: '';
    width: 1px;
    background-color: #95a5a6; /* Color de la línea del timeline */
    position: absolute;
    height: 100%;
    left: 7px;
    top: 0;
}

.about .about-content .timeline .timeline-item:last-child {
    padding-bottom: 0px;
}

.about .about-content .timeline-box {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.about .about-content .timeline .circle-dot {
    position: absolute;
    left: 0;
    top: 0px;
    height: 15px;
    width: 15px;
    left: 0px;
    border-radius: 50%;
    background-color: #95a5a6; /* Color del punto del timeline */
    border: 3px solid #ffffff; /* Borde blanco para contraste */
}

.about .about-content .timeline .timeline-date {
    font-size: 14px;
    font-weight: 400;
    color: #7f8c8d; /* Color de texto más suave */
    margin-bottom: 12px;
}

.about .about-content .timeline .timeline-date .fa {
    margin-right: 5px;
}

.about .about-content .timeline .timeline-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: capitalize;
    color: #2c3e50; /* Color de texto más profesional */
}

.about .about-content .timeline .timeline-text {
    font-size: 16px;
    line-height: 25px;
    color: #333333; /* Color de texto más profesional */
    margin: 0;
}

/* Services Section */

.service .container {
    padding-bottom: 40px;
}

.service .service-item {
    flex: 0 0 33.33%;
    -ms-flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
    display: -ms-flexbox;
    display: flex;
}

.service .service-item .service-item-inner {
    background-color: #ffffff; /* Fondo blanco */
    border: 1px solid #e0e0e0; /* Borde más sutil */
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05); /* Sombra sutil */
}

.service .service-item .service-item-inner:hover {
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.service .service-item .service-item-inner .icon {
    height: 60px;
    width: 60px;
    display: block;
    margin: 0 auto 30px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    background-color: #f8f9fa; /* Fondo del icono más sutil */
    color: #2c3e50; /* Color del icono */
}

.service .service-item .service-item-inner .icon .fa {
    font-size: 40px;
    line-height: 60px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.service .service-item .service-item-inner:hover .icon .fa {
    font-size: 25px;
    color: #ffffff;
}

.service .service-item .service-item-inner h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50; /* Color de texto más profesional */
    font-weight: 700;
    text-transform: capitalize;
}

.service .service-item .service-item-inner p {
    font-size: 16px;
    color: #7f8c8d; /* Color de texto más suave */
    line-height: 25px;
    margin: 0;
}

/* Portfolio Section */

.portfolio .container {
    padding-bottom: 40px;
}

.portfolio .portfolio-filter {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.portfolio .portfolio-filter button {
    border: none;
    background-color: transparent;
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    margin: 0 10px;
    color: #2c3e50; /* Color de texto más profesional */
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.portfolio .portfolio-filter button.active {
    border-bottom: 2px solid #95a5a6; /* Color del borde inferior */
    color: #34495e; /* Color de texto más oscuro */
}

.portfolio .portfolio-item {
    flex: 0 0 33.33%;
    -ms-flex: 0 0 33.33%;
    max-width: 33.33%;
    margin-bottom: 30px;
}

.portfolio .portfolio-item.hide {
    display: none;
}

.portfolio .portfolio-item.show {
    display: block;
    animation: showItem 0.5s ease;
}

@keyframes showItem {
    0% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@-webkit-keyframes showItem {
    0% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        opacity: 1;
    }
}

.portfolio .portfolio-item-inner {
    border: 6px solid #ffffff; /* Borde blanco */
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.portfolio .portfolio-item-inner .portfolio-img img {
    width: 100%;
    display: block;
}

.portfolio .portfolio-item .portfolio-info {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(44, 62, 80, 0.9); /* Fondo semi-transparente más profesional */
    height: 100%;
    width: 100%;
    z-index: 1;
    padding: 30px;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
}

.portfolio .portfolio-item-inner:hover .portfolio-info {
    opacity: 1;
}

.portfolio .portfolio-item .portfolio-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: capitalize;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transform: translate(-20px);
    -webkit-transform: translate(-20px);
    opacity: 0;
}

.portfolio .portfolio-item-inner:hover .portfolio-info h4 {
    transform: translate(0px);
    -webkit-transform: translate(0px);
    opacity: 1;
}

.portfolio .portfolio-item .portfolio-info .icon {
    height: 40px;
    width: 40px;
    background-color: #ffffff;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    right: 30px;
    bottom: 30px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transform: translate(20px);
    -webkit-transform: translate(20px);
    opacity: 0;
}

.portfolio .portfolio-item-inner:hover .portfolio-info .icon {
    transform: translate(0px);
    -webkit-transform: translate(0px);
    opacity: 1;
}

.portfolio .portfolio-item .portfolio-info .icon .fa {
    line-height: 40px;
    color: #2c3e50; /* Color del icono */
}

/* Lightbox */

.lightbox {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo más oscuro */
    z-index: 100;
    display: none;
    align-items: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 30px;
}

.lightbox.open {
    display: flex;
    display: -ms-flexbox;
}

.lightbox .lightbox-content img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 500px;
    cursor: pointer;
    display: block;
    padding: 40px 0 30px;
}

.lightbox.open .lightbox-content {
    animation: lightboxImage .5s ease;
}

@keyframes lightboxImage {
    0% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@-webkit-keyframes lightboxImage {
    0% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

.lightbox .lightbox-content {
    position: relative;
}

.lightbox .lightbox-content .lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
    z-index: -1;
}

.lightbox .lightbox-content .lightbox-close {
    position: absolute;
    height: 40px;
    width: 40px;
    top: 0px;
    right: 0px;
    font-size: 32px;
    text-align: right;
    color: #ffffff;
    line-height: 40px;
    cursor: pointer;
}

/* Contact Section */

.contact .contact-info-item {
    flex: 0 0 33.33%;
    -ms-flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: center;
    margin-bottom: 40px;
}

.contact .contact-info-item .icon {
    display: inline-block;
    height: 60px;
    width: 60px;
    line-height: 60px;
    font-size: 25px;
    background-color: #f0f2f5; /* Un gris muy claro para el fondo del icono */
    border-radius: 50%;
    color: #34495e; /* Un azul oscuro para el icono */
    transition: all 0.3s ease;
}

.contact .contact-info-item .icon:hover {
    background-color: #e0e2e5; /* Un gris un poco más oscuro al pasar el ratón */
}

.contact .contact-info-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50; /* Título en azul oscuro casi negro */
    text-transform: capitalize;
    margin: 15px 0 5px;
}

.contact .contact-info-item p {
    font-size: 16px;
    line-height: 25px;
    color: #7f8c8d; /* Texto en gris medio */
    margin: 0;
    word-break: break-word; /* Para asegurar que el texto largo se rompa correctamente */
}

.contact .contact-form {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .col-6 {
    flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    max-width: 50%;
}

.contact .contact-form .col-12 {
    flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    max-width: 100%;
}

.contact .contact-form .form-item {
    margin-bottom: 30px;
}

.contact .contact-form .form-item .form-control {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background-color: #ffffff; /* Fondo blanco para los campos del formulario */
    border: 1px solid #dcdfe3; /* Borde suave y neutro */
    padding: 10px 25px;
    font-size: 16px;
    color: #333333; /* Color de texto en los campos */
    transition: all 0.3s ease;
}

.contact .contact-form .form-item .form-control:focus {
    border-color: #95a5a6; /* Borde al enfocar en gris más oscuro */
}

.contact .contact-form .form-item textarea.form-control {
    height: 140px;
    resize: none;
}

.contact .contact-form .btn {
    height: 50px;
    padding: 0 50px;
}

/* Responsive */
@media (max-width: 1199px) {
    .section .container {
        padding-top: 70px;
    }
    .aside {
        left: -270px;
    }
    .aside.open {
        left: 0;
    }
    .section {
        left: 0;
    }
    .section.open {
        left: 270px;
    }
    .aside .nav-toggler {
        display: flex;
        left: 30px;
    }
    .aside .nav-toggler.open {
        left: 300px;
    }
    .about .about-content .personal-info {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .about .about-content .skills {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .portfolio .portfolio-item,
    .service .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .contact .contact-info-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    .portfolio .portfolio-item,
    .service .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .contact .contact-info-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .home .intro {
        padding: 50px 15px;
    }
    .about .about-content .timeline {
        padding: 30px 15px;
    }
}

@media (max-width: 767px) {
    .contact .contact-info-item,
    .portfolio .portfolio-item,
    .service .service-item,
    .about .about-content .education,
    .about .about-content .experience,
    .about .about-content .personal-info .info-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .about .about-content .personal-info .info-item p {
        border-bottom: 1px solid #e0e0e0;
    }
}

@media (max-width: 575px) {
    .contact .contact-form .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}