body {
    font-family: "poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}


* {
    margin: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1140px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.section-tittle {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}

.section-tittle h1 {
    display: inline-block;
    font-size: 35px;
    text-transform: uppercase;
    font-weight: 700;
    color: #000000;
    margin: 0 0 5px;
    position: relative;
}

.section-tittle h1::before {
    content: '';
    left: 0;
    position: absolute;
    height: 20px;
    background-color: #febd01;
    bottom: 0;
}

.text-upper {
    text-transform: uppercase;
}

.align-item-center {
    align-items: center !important;
}

.text-center {
    text-align: center !important;
}

/* menu hamburguresaver */

.ham-burger .fa {
    font-size: 20px;
    height: 30px;
    width: 30px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 3px;
    line-height: 30px;
    cursor: pointer;
    border: 1px solid #eeeeee;
    text-align: center;
    display: none;
}



/* header css */

header {
    position: absolute;
    left: 0;
    right: 0;
    border-bottom: 1px solid #423040;
    padding: 0 15px;
    z-index: 11;

}

header .row {
    justify-content: space-between;
    align-items: center;
}

header .brand-name a {
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
}

header .navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header .navbar ul li {
    display: inline-block;
    margin-left: 35px;
}

header .navbar ul li a {
    font-size: 15px;
    text-decoration: none;
    line-height: 72px;
    color: #ffff;
    display: block;
    font-weight: 600;
    position: relative;
}

header .navbar ul li a::before {
    content: '';
    height: 3px;
    background-color: #ffff;
    width: 0;
    position: absolute;
    right: 0;
    bottom: -1px;
    transition: all 0.5s ease;
}

header .navbar ul li a:hover::before {
    width: 100%;
    left: 0;
}

header .navbar ul li a.active::before {
    width: 100%;
    left: 0;
}

/* js header */

header.fixed {
    background-color: #ffffff;
    position: fixed;
    border-color: #eee;
    animation: fixedHeader 0.5s ease;
    z-index: 11;
}

@keyframes fixedHeader {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(-1);
    }
}

header.fixed .brand-name a {
    color: #000000;
}

header.fixed .navbar ul li a {
    color: #000000;
}

header.fixed .navbar ul li a::before {
    background-color: #febd01;
}



/* Home */

.home {
    min-height: 100vh;
    background-image: url(/assets/images/fondomain.jpg);
    background-size: cover;
    background-position: center;
    padding: 15px;
}

.home .full-screen {
    min-height: 100vh;
}

.home .home-content {
    flex: 0 0 100;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.home .home-content .block {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 35px;
    border-left: 5px solid #ffffff;
    margin-top: 50px;
}

.home .home-content .block h6 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.home .home-content .block h1 {
    color: #ffffff;
    font-size: 55px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}


.home .home-content .block h3 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.home .home-content .block .cv-btn {
    padding-top: 20px;
}

.home .home-content .block .cv-btn a {
    border-radius: 4px;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.5s ease;
}

.home .home-content .block .cv-btn a:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Hero Efecto Mouse */

.home-hero_mouse_scroll {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
}

.mouse:before {
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 1;
    -webkit-animation: 1.3s infinite;
    animation: wheel 1.3s infinite;
}

@keyframes wheel {
    to {
        opacity: 0;
        top: 27px;
    }
}

@-webkit-keyframes wheel {
    to {
        opacity: 0;
        top: 27px;
    }
}

/* social-media-sidebar */

.social-media-sidebar {
    position: fixed;
    top: 50%;
    right: 10px;
    border: 2px solid #eee;
    border-left: 2px solid #eee;
    background: #000000;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
    transform: translateY(-50%);
    z-index: 1;
}

.social-media-item {
    width: 50px;
}

.social-media-link {
    width: 100%;
    display: block;
    padding: 12px;
    border-bottom: 2px solid #eee;
    text-align: center;
    transition: background 0.3s;
}

.social-media-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-media-icon {
    font-size: 24px;
    color: #ffffff;
}

.social-media-link:hover .social-media-icon {
    color: #febd01;
}


/*  acerca de mi */

.about-me {
    padding: 100px 15px;
    background-color: #ffffff;
}

.about-me .about-content .img {
    flex: 0 0 33.3%;
    max-width: 33.33%;
}

.about-me .about-content .img img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.about-me .text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-me .about-content .text {
    flex: 0 0 66.6%;
    max-width: 66.6%;
    padding-left: 35px;
}

.about-me .about-content .text h4 {
    font-size: 25px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 5px;
}

.about-me .about-content .text h6 {
    font-size: 25px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 5px;
}

.about-me .about-content .text h6 span {
    color: #febd01;
}

.about-me .about-content .text p {
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 20px;
    color: #838383;
    line-height: 24px;
}

.about-me .about-content .text .social-link {
    padding-top: 30px;
}

.about-me .about-content .text .social-link a {
    height: 30px;
    width: 30px;
    background-color: #000000;
    border-radius: 3px;
    display: inline-block;
    border: 1px solid #000000;
    list-style: 20px;
    text-align: center;
    margin: 0 1px;
    transition: all 0.5s ease;
}

.about-me .about-content .text .social-link a:hover {
    background-color: transparent;
}

.about-me .about-content .text .social-link a .fa-brands,
.fa-solid {
    font-size: 12px;
    color: #ffffff;
    transition: all 0.5s ease;
}

.about-me .about-content .text .social-link a:hover .fa-brands {
    color: #febd01;
}

.about-me .about-content .text .social-link a:hover .fa-solid {
    color: #febd01;
}


.about-me .social-link {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.about-me .social-link a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    color: #222;
    font-size: 16px;
    transition: all 0.3s ease;
}

.about-me .social-link a:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}


.about-me .text-link {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-me .text-link::after {
    content: "→";
    transition: transform 0.3s ease;
}

.about-me .text-link:hover::after {
    transform: translateX(4px);
}

.podcast-platforms {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.podcast-platforms a {
    font-size: 30px;
    color: #666;
    transition: color 0.3s ease, transform 0.3s ease;
}

.podcast-platforms a:hover {
    color: #000;
    transform: translateY(-2px);
}


/* responsivo */

@media (max-width: 768px) {
    .about-me .text {
        text-align: center;
        align-items: center;
    }

    .about-me .social-link,
    .podcast-platforms {
        justify-content: center;
    }
}

/* Nuestros Servicios */

.services {
    background-color: #f1f1f1;
    padding: 100px 15px;
}

.services .section-tittle h1::before {
    left: 30%;
}

.services .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    height: 250px;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
    /* transform: translateY(-10px); */
}

.service-card h4 {
    font-size: 18px;
    color: #111111;
    margin: 15px 0;
}

.service-card p {
    font-size: 14px;
    color: #8b8e93;
}

.icon-bg {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 32px;
    z-index: 1;
}

.icon-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.1;
}

/*color icon services*/

.icon-primary {
    color: #062caf;
}

.icon-yellow {
    color: #f6a622;
}

.icon-purple {
    color: #7952f5;
}

.icon-green {
    color: #66cc33;
}

.icon-red {
    color: #ff4949;
}

.icon-cyan {
    color: #02d0a1;
}


/* habilidades */

.section-tittle .p-center {
    text-align: center;
}

.skills {
    padding: 100px 15px;
    background-color: #ffffff;
}

.skills .skills-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 40px;
}

.skills .img {
    flex: 0 0 50%;
    max-width: 50%;

}

.skills .img img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.skills .skills-content .section-tittle p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #838383;
    margin: 15px 0;
}

.skills .skills-content .skills-box {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.skills .skills-content .skills-box h6 {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    margin: 0 0 8px;
}

.skills .skills-content .skills-box .skills-bar {
    height: 5px;
    background-color: #eeeeee;
    position: relative;
}

.skills .skills-content .skills-box .skills-bar .skills-bar-in {
    background-color: #febd01;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

.skills .skills-content .skills-box .skills-bar .skills-bar-in span {
    color: #838383;
    font-size: 16px;
    font-weight: 400;
    position: absolute;
    right: 0;
    top: -30px;
}

.skills-bar-in {
    width: 100%;
}


/* seccion de mensajes */

.message-text {
    background-color: #0c0c17;
    padding: 40px 15px;
}

.message-text .libutton {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;

    padding: 7px;
    text-align: center;
    outline: none;
    text-decoration: none !important;
    color: #ffffff !important;
    width: 200px;
    height: 32px;
    border-radius: 16px;
    background-color: #0A66C2;
    font-family: "SF Pro Text", Helvetica, sans-serif;
}





.message-text .text {
    flex: 0 0 66.66%;
    max-width: 66.66%;
}

.message-text .button {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: right;
}

.message-text h2 {
    font-size: 25px;
    color: #ffffff;
    font-weight: 500;
    margin-top: 0;
    padding: 0;
    line-height: 35px;
}

.message-text .button a {
    border-radius: 4px;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.5s ease;
}

.message-text .button a:hover {
    background-color: #ffffff;
    color: #0c0c17;
}


/* Projectos CSS */

.projects {
    padding: 100px 15px;
    background-color: #ffffff;
}

.projects .section-tittle h1::before {
    left: 30%;
}

.project-card {
    padding: 10px 0;
}

.project-card:last-child {
    margin-bottom: 0;
}

.project_image-container {
    overflow: hidden;
    flex: 0 0 50%;
    max-width: 50%;
}

.project-image {
    width: 100%;
    object-fit: cover;
}

.project-details {
    padding: 20px 0;
    flex: 0 0 50%;
    max-width: 50%;
}

.project-details .button a {
    border-radius: 4px;
    color: #000000;
    border: 1px solid #000000;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.5s ease;
}

.project-details .button a:hover {
    background-color: #000000;
    color: #ffffff;
}

.project_tittle {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 2%;
}

.project-description {
    font-size: 18px;
    color: #838383;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Contacto CSS */

/* FIX: Centrado real de botones de contacto */

.contact-quick-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-us .row {
    justify-content: center;
}

.contact-quick-actions {
    display: flex;

    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

/* ===============================
   CONTACTO RÁPIDO (WHATSAPP + MAIL)
   =============================== */

.contact-quick-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Estilos base para ambos botones */
.contact-quick-actions a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

/* Botón WhatsApp */
.whatsapp-btn {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn i {
    font-size: 18px;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

/* Botón Email */
.email-btn {
    background: transparent;
    color: #222;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.email-btn i {
    font-size: 16px;
}

.email-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-quick-actions {
        flex-direction: column;
    }

    .contact-quick-actions a {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

.contact-us {
    padding: 100px 15px;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;

}

.contact-us .section-tittle h1::before {
    left: 50%;
}

.contact-us .contact-form {
    background-color: #ffffff;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 50px;
    border: 1px solid #eeeeee;
}

.contact-us .contact-form .form-header {
    text-align: center;
    margin-bottom: 10px;
}

.contact-us .contact-form .form-header h2 {
    font-size: 26px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    padding: 0;
    text-align: left;
}

.contact-us .contact-form .form-header p {
    font-weight: 400;
    line-height: 24px;
    color: #838383;
    margin: 0;
}

.contact-us .contact-form .form-fields {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.contact-us .contact-form .input-field {
    flex: 1;
}


.contact-us .contact-form .input-field .full-width {
    flex: 1 0 100%;

}

.contact-us .contact-form .form-control {
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #cecece;
    font-family: "poppins", sans-serif;

}

.contact-us .contact-form textarea.form-control {
    height: 150px;
}


.contact-us .contact-form textarea.form-control::placeholder {
    color: #838383;
}

.contact-us .contact-form .form-submit {
    text-align: right;
}

.contact-us .contact-form .submit-button {
    border-radius: 4px;
    color: #ffffff;
    background-color: #f6a622;
    border: 1px solid #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.5s ease;
}

.contact-us .contact-form .submit-button:hover {
    background-color: #000000;
    color: #f1f1f1;
}

/* Footer */

footer {
    padding: 100px 15px;
    background-color: #0c0c17;

}

footer .logo {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    font-size: 45px;
    color: #ffffff;
    font-weight: 900;
}

footer .social {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    padding-top: 15px;
}

footer .social a {
    color: #999;
    text-decoration: none;
    display: inline-block;
    margin: 0 12px;
    font-size: 30px;
    transition: all 0.5s ease;
}

footer .social a:hover {
    color: #f6a622;
}

.copyright {
    background-color: #0c0c17;
    border-top: 1px solid #1d1d27;
    padding: 15px;
}

.copyright p {
    color: #838383;
    margin: 0;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
}


/* Responsive */

@media (max-width: 991px) {
    .home .home-content .block h1 {
        font-size: 50px;
    }

}

@media (max-width: 767px) {
    .home .home-content .block h1 {
        font-size: 40px;
    }

    .home .home-content .block h3 {
        font-size: 25px;
    }

    header {
        padding: 25px 15px;
        position: fixed;
        background-color: #ffffff;
        border: none;
        border-bottom: 1px solid #eeeeee;
    }

    header .brand-name a {
        color: #000000;
    }

    .ham-burger .fa {
        display: inline-block;
    }

    .navbar {
        position: absolute;
        background-color: #ffffff;
        width: 100%;
        left: 0;
        top: 60px;
        padding: 15px;
        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #eeeeee;
        display: none;
    }

    .navbar.show {
        display: block;
    }

    header .navbar ul li {
        display: block;
        margin-left: 0;
    }

    header .navbar ul li a {
        line-height: 42px;
        color: #000000;
    }

    header .navbar ul li a::before {
        background-color: #f6a622;
    }

    .social-media-sidebar {
        display: none;
    }

    .about-me {
        padding: 20px 15px;
    }

    .about-me .about-content .text {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-top: 30px;
    }

    .about-me .about-content .img {
        flex: 0 0 100%;
        max-width: 100%;

    }

    .services {
        padding: 20px 15px;
    }

    .skills {
        padding: 20px 15px;
    }

    .skills .skills-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .skills .img {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .message-text {
        padding: 20px 15px;
    }

    .message-text .text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .message-text .button {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding: 40px 20px;
    }

    .message-text .container .align-item-center {
        gap: 20px;
    }

    .message-text h2 {
        font-size: 20px;
        text-align: center;
    }

    .projects {
        padding: 20px 15px;
    }

    .project-card .project_image-container,
    .project-details {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .project-card {
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #f1f1f1;
    }

    .project-description {
        max-width: none;
        margin-bottom: 10px;
    }

    .project_tittle {
        margin-bottom: 10;
    }

    .contact-us {
        padding: 20px 15px;
    }

    .contact-us .contact-form {
        padding: 20px;
    }

    .contact-us .contact-form .form-fields {
        flex-direction: column;
        gap: 0;
    }

    .contact-us .contact-form .form-fields,
    .contact-us .contact-form .form-fields.full-width {
        flex: 0 0 100%;
    }

    footer {
        padding: 20px 15px;
    }


}

@media (max-width: 500px) {
    .home .home-content .block h1 {
        font-size: 30px;
    }

    .home .home-content .block h3 {
        font-size: 20px;
    }

    .home .home-content .block {
        padding-left: 20px;
    }

    .section-tittle h1 {
        font-size: 25px;
    }

    .project-description {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .project_tittle {
        font-size: 25px;
        margin-bottom: 0;
    }

}

