@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --white: #ffffff;
    --green: #1AD079;
    --bg-body: #F7F8FC;
    --border-card: #E5E6E9;
    --text-dark: #13181B;
    --bg-dark: #151626;
    --btn-hover: #149A5B;
    --bg-footer: #0C0B1D;
    --hr: #707070;
    --toggleButton: #18D079;
    --sidebar-green: #1AD079;
    --main-gray: #EFEFEF;
    --number-green: #1AD079;
    --box-gray:#F5F5F5;
    --box-green:#1AD079;
    --box-gray-dark: #D1D1D1;
    --btn-green: #1AD079;
    --btn-yellow: #F39C12;
    --btn-purple: #9B59B6;
    --btn-blue: #3498DB;
    --btn-red: #DD223F;
}

body {
    font-family: "Inter", serif;
    background-color: var(--bg-body);
}

h1, h2, h3, h4, h5, h5, p {
    margin-bottom: 0;
}

.nav-link {
    color: var(--white) !important;
    font-size: 16px;
    font-weight: 400;
    padding: 0 15px !important;
}

.btn-primary {
    color: var(--white);
    font-size: 1rem;
    font-weight: 400;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    background-color: var(--green);
    border: 1px solid var(--green);

    &:hover {
        background-color: var(--btn-hover);
        border: 1px solid var(--btn-hover);
        text-decoration: none;
    }
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    color: white!important;
    background-color: var(--btn-hover)!important;
    border: 1px solid var(--btn-hover)!important;
}

.btn-secundary {
    color: var(--green);
    font-size: 1rem;
    font-weight: 400;
    padding: 0.6rem 2.5rem;
    border-radius: 50px;
    background-color: var(--white);
    border: 1px solid var(--white);

    &:hover {
        background-color: var(--btn-hover);
        color: white;
        border: 1px solid var(--btn-hover);
        text-decoration: none;
    }
}

header {
    overflow: visible;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
    border-radius: 0 0 100px 100px;
    margin-top: -90px;
}

.title-header {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
}

.py-120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.pt-120 {
    padding-top: 120px;
}

.pb-120 {
    padding-bottom: 120px;
}

.title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;

    span {
        color: var(--green);
    }
}

.bg-dark-1 {
    background-color: var(--bg-dark);
}

.bg-green {
    background-color: var(--green);
}

.bg-footer {
    background-color: var(--bg-footer);
}

.title-icon {
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
}

.bg-container-dark {
    background-color: var(--bg-dark);
    border-radius: 40px;
}

footer {
    .text-footer-14 {
        color: var(--white);
        font-size: 14px;
    }

    h5 {
        color: var(--white);
        font-size: 14px;
        font-weight: 700;
    }

    p {
        color: var(--white);
        font-size: 14px;
        font-weight: 400;
    }
}

a {
    color: var(--white);
    text-decoration: none;

    &:hover {
        color: var(--white);
        text-decoration: underline;
    }
}

hr {
    background-color: var(--hr);
}

.p-header {
    padding: 180px 0 50px 0;
}

 /* Estilo para el header con video de fondo */
 header {
    position: relative;
    height: 100%;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Imagen de fondo de respaldo */
.fallback-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg-automation.png') no-repeat center center;
    background-size: cover;
    z-index: -2; 
    transition: opacity 1s ease;
}

/* Iframe para el video de Vimeo */
.vimeo-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw; 
    height: 100vh;
    z-index: -1;
    transform: translate(-50%, -50%) scale(1.2); 
    object-fit: cover; 
    pointer-events: none; 
}

.header-content {
    position: relative;
    z-index: 2;
}

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

.transparent-nav {
    background-color: transparent!important;
    transition: background-color 0.3s ease;
}

.solid-nav {
    background-color: #f8f9fa; 
    transition: background-color 0.3s ease;
    .nav-link {
        color: black !important;
    }
    .navbar-brand svg path {
        fill: #0C0B1D;
    }
}

.nav-link:focus, .nav-link:hover {
    color: var(--green)!important;
    text-decoration: none;
}

.services-wrapper {
    .icon img {
        width: 70px;
    }

    .card {
        border-radius: 40px;
        border: 1px solid var(--border-card);
        padding: 2rem;
        min-height: 270px;
    
        h3 {
            color: var(--text-dark);
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 1rem;
        }
    
        p {
            color: var(--text-dark);
            font-size: 1rem;
            font-weight: 400;
        }
    }
    
}


/* .parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
} */

.parallax-section {
    position: relative;
    height: 900px; 
    overflow: hidden;
    h1 {
        color: white!important;
        font-size: 32px;
    }
    .lead {
        color: white!important;
        font-size: 18px;
    }
    ul {
        padding-left: 20px!important;
    }
    ul li {
        color: white!important;
    }

    .bg-gradient-p {
        border-radius: 40px;
        background: rgb(12,11,29);
        background: -moz-linear-gradient(180deg, rgba(12,11,29,1) 0%, rgba(22,24,39,1) 100%);
        background: -webkit-linear-gradient(180deg, rgba(12,11,29,1) 0%, rgba(22,24,39,1) 100%);
        background: linear-gradient(180deg, rgba(12,11,29,1) 0%, rgba(22,24,39,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0c0b1d",endColorstr="#161827",GradientType=1);
    }

    .badge {
        color: #1AD079!important;
        text-transform: uppercase!important;
        font-size: 16px;
        font-weight: 400;
        padding: 0;
        margin-bottom: 15px;
    }

    .custom-list {
        list-style-type: none; 
        padding-left: 0!important; 
    }

    .custom-list li {
        padding-left: 30px; 
        background-image: url('../img/li.png');
        background-repeat: no-repeat;
        background-position: 0 50%; 
        background-size: 20px 15px;
        margin-bottom: 8px;
    }

    img.border-radius {
        border-radius: 20px;
    }
}

/* Estilo del contenido del container */
.parallax-content {
    position: relative;
    top: 0;
    transition: transform 0.1s ease-out;
}


.toggleButton {
    color: var(--toggleButton);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid var(--toggleButton);
    background-color: transparent;
    padding: 5px 14px;
    margin-right: .5rem;
    white-space: nowrap;

    &.active {
        background-color: var(--toggleButton);
        color: white;
    }
}

.dashboard {
    display: flex;

    .sidebar-green {
        background-color: var(--sidebar-green);
        border-radius: 20px;
        margin-right: 1rem;

        p {
            color: var(--white);
            font-size: 12px;
            margin-bottom: .5rem
        }
    }

    .main-gray {
        background-color: var(--main-gray);
        border-radius: 20px;
        width: 100%;

        .box-white {
            background-color: var(--white);
            border-radius: 15px;
            padding: 1rem;

            &.h-55 {
                height: 55px;
            }

            &.h-208 {
                height: 208px;
            }

            &.h-130 {
                height: 130px;
            }

            .flex {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            & .title-box-bold {
                color: var(--text-dark);
                font-size: 15px;
                font-weight: 700;
                margin-bottom: 0;
            }

            .number-green {
                color: var(--number-green);
                font-size: 15px;
                font-weight: 700;
                margin-bottom: 0;
            }
        }

        .box-gray {
            background-color: var(--box-gray);
            border-radius: 15px;
        }

        .box-green {
            background-color: var(--box-green);
            border-radius: 15px;
            padding: 1rem;
        }

        .title-box-normal {
            color: var(--text-dark);
                font-size: 15px;
                font-weight: 400;
                margin-bottom: 0;
        }

        .box-gray-dark {
            background-color: var(--box-gray-dark);
            border-radius: 15px;
            padding: 1rem;

            &.h-130 {
                height: 130px;
            }
        }
    }
}

.hidden {
    display: none;
}

.subtitle-small {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}

.btn-white-outline {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--white);
    background-color: transparent;
    padding: 5px 15px;
    margin-right: .5rem;
    white-space: nowrap;
}

.hr-white {
    border-top: 1px var(--white) solid;
    opacity: 1;
}

.hr-gray {
    border-top: 1px var(--hr) solid;
    opacity: 1;
}

.h-309 {
    height: 309px;
}

.btn-green {
    width: 24px;
    height: 24px;
    border-radius: 50px;
    background-color: var(--btn-green);
    border: 1px solid var(--btn-green);
}

.btn-yellow {
    width: 24px;
    height: 24px;
    border-radius: 50px;
    background-color: var(--btn-yellow);
    border: 1px solid var(--btn-yellow);
}

.btn-purple {
    width: 24px;
    height: 24px;
    border-radius: 50px;
    background-color: var(--btn-purple);
    border: 1px solid var(--btn-purple);
}

.btn-blue {
    width: 24px;
    height: 24px;
    border-radius: 50px;
    background-color: var(--btn-blue);
    border: 1px solid var(--btn-blue);
}

.btn-red {
    width: 24px;
    height: 24px;
    border-radius: 50px;
    background-color: var(--btn-red);
    border: 1px solid var(--btn-red);
}

.button-with-aro {
    position: relative;
    transition: all 0.3s ease;
}

.button-with-aro::after {
    content: '';
    position: absolute;
    top: -7px;
    left: -7px;
    width: 36px;
    height: 36px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.aro-active::after {
    opacity: 1;
}

.btn-green.aro-active::after {
    border-color: #1AD079;
}

.btn-yellow.aro-active::after {
    border-color: #F39C12;
}

.btn-purple.aro-active::after {
    border-color: #9B59B6;
}

.btn-blue.aro-active::after {
    border-color: #3498DB;
}

.btn-red.aro-active::after {
    border-color: #DD223F;
}

.fs-32 {
    font-size: 2rem;
}

.bl-green {
    border-left: 5px solid var(--green);
}

.title-news {
    color: var(--text-dark);
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
}

.title-service {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
}

.box-white-contact {
    background-color: var(--white);
    border-radius: 40px;
    border: 1px solid #E5E6E9;
    padding: 1.5rem
}

.form-label {
    font-size: 14px;
}

::placeholder {
    color: #707070;
    font-size: 14px;
}

.form-control {
    background-color: #F7F8FC;
    border-radius: 10px;
    border: 0;
}

.form-control:focus {
    box-shadow: 0 0 0 .25rem rgba(0, 255, 145, .25);
}

.news-wrapper {
    a {
        &:hover {
            color: #1AD079!important;
            text-decoration: none;
        }
    }
}

.box-white-services {
    background-color: var(--white);
    border-radius: 40px;
    border: 0;
    padding: 3rem 1.5rem;
}

.badge-services {
    color: var(--green);
    font-size: 18px;
    font-weight: 400;
}

.fs-40 {
    font-size: 40px;
}

.services {
    /* .custom-list {
        list-style-type: none;
        padding-left: 0!important;
    }

    .custom-list li {
        padding-left: 55px;
        background-image: url('../img/li-2.svg');
        background-repeat: no-repeat;
        background-position: 0 50%;
        background-size: 36px 36px;
        margin-bottom: 8px;
        line-height: 3;
    } */

    .custom-list {
        list-style-type: none;
        padding-left: 0!important;
    }

    .custom-list li {
        padding-left: 30px;
        background-image: url('../img/li.png');
        background-repeat: no-repeat;
        background-position: 0 50%;
        background-size: 20px 15px;
        margin-bottom: 8px;
    }

    .br-20 {
        border-radius: 20px;
    }
}

.fs-18 {
    font-size: 18px;
}

.js-text.typewriter {
    position: relative;
    white-space: pre-line;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.js-text.typewriter::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 4px;
    background: #fff;
    animation: blink 0.7s steps(1) infinite;
    vertical-align: text-top;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}