html {
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Overpass', sans-serif;
}

body {
    position: relative;
    min-height: 100vh;
    background-color: var(--color-1);
}

/*=============================================
Pantalla de carga
=============================================*/
.loadCentrado {
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    z-index: 10000;
    top: 0;
}

.loadCentrado img {
    height: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    -webkit-animation: girar 1.5s linear infinite;
    -o-animation: girar 1.5s linear infinite;
    animation: girar 1.5s linear infinite;
}

.hiddenLoad {
    overflow: hidden;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*=============================================
Scroll Bar
=============================================*/
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*=============================================
Header
=============================================*/
.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: .5s;
}

header.sticky {
    transition: .5s;
    padding: 15px 20px;
    background-color: var(--color-nav);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 60px 0;
}

.nav_logo {
    padding: 10px 0;
}

.nav_logo a {
    color: var(--text-white);
    text-decoration: none;
}

.nav_logo a span {
    color: var(--color-nav);
}

header.sticky .nav_logo a span {
    color: var(--color-1);
}

.menu_items {
    display: flex;
    list-style: none;
    gap: 20px;
    z-index: 3;
}

.menu_items .nav_link {
    position: relative;
    text-decoration: none;
    color: var(--text-white);
    font-size: 18px;
    letter-spacing: 0.5px;
    padding: 0 10px;
}

.menu_items .nav_link:after {
    content: "";
    position: absolute;
    background-color: var(--text-white);
    height: 3px;
    width: 0;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.menu_items .nav_link:hover:after {
    width: 100%;
}

#menu_toggle {
    display: none;
}

.hero {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 90px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 700px;
    background-color: var(--text-white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero .logo .floating {
    width: 65%;
    animation: float 3s ease-in-out infinite;
}

.hero .cta {
    text-align: left;
    color: var(--text-black);
    display: flex;
    flex-direction: column;
    padding-top: 10%;
}

.hero .cta h2 {
    font-size: 37px;
    margin-bottom: 16px;
}

.hero .cta h4 {
    font-size: 25px;
}

.hero .cta .buttons {
    display: flex;
    margin-top: 25px;
    gap: 10px;
}

.hero .cta .buttons .btn {
    padding: 14px 26px;
    background-color: var(--text-white);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 17px;
    text-decoration: none;
}

.hero .cta .buttons .btn:last-child {
    border: 2px solid var(--text-white);
    background: transparent;
    color: var(--text-white);
}

.hero .cta .buttons .btn:last-child:hover {
    background-color: var(--text-white);
    ;
    color: var(--text-black);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (width < 860px) {

    #menu_toggle {
        display: block;
        color: var(--text-white);
    }

    .nav {
        padding: 0 20px;
        background-color: var(--color-nav);
    }

    .nav_logo a span {
        color: var(--color-1);
    }

    .menu_items {
        position: fixed;
        top: 0;
        width: 260px;
        background-color: var(--color-nav);
        height: 100%;
        left: -100%;
        padding: 50px 30px 30px;
        flex-direction: column;
        transition: all 0.5s ease;
    }

    .show_menu .menu_items {
        left: 0;
    }

    .menu_items .nav_link {
        color: var(--text-white);
    }

    .menu_items .nav_link:after {
        background-color: var(--color-1);
    }

    #menu_toggle {
        width: 20px;
        cursor: pointer;
    }

    .menu_items #menu_toggle {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .hero {
        flex-direction: column;
        padding: 50px;
        gap: 75px;
    }
}

/*=============================================
About us
=============================================*/
.about_container {
    display: flex;
    gap: 50px;
    padding: 100px 50px;
    color: var(--text-white);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about_container.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 1s ease-out;
}

.about_container .image_about {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about_container .image_about img {
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about_container .about {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.about_container .about h2 {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--text-white);
    position: relative;
    text-align: center;
}

.about_container .about h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--color-1-hover);
    margin: 10px auto;
}

.about_container .about p {
    line-height: 1.7;
    font-size: 16px;
    color: var(--text-white);
}

.features_list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features_list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.features_list li:hover {
    background: var(--color-1-hover);
    transform: translateY(-5px);
    transition: .3 ease;
}

.features_list li i {
    font-size: 24px;
    color: var(--color-1-hover);
}

.features_list li:hover i {
    color: var(--color-1);
    transition: .3 ease;
}

.features_list li span {
    font-size: 16px;
    color: var(--text-white);
}

@media (max-width: 860px) {

    .about_container {
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
        gap: 30px;
    }

    .about_container .about,
    .about_container .image_about {
        width: 100%;
        text-align: center;
    }

    .features_list li {
        justify-content: center;
    }
}

@media (max-width: 425px) {

    .about_container .about h2::after {
        width: 30px;
        height: 3px;
        margin: 8px auto; 
    }

    .about_container .about h2 {
        font-size: 28px;
    }

    .features_list li i {
        font-size: 20px;
    }

    .features_list li span {
        font-size: 14px;
    }
}

/*=============================================
Footer
=============================================*/
.footer {
    background-color: var(--color-nav);
    color: var(--text-white);
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.copyright {
    font-size: 14px;
}

.copyright span {
    color: var(--color-1);
}