@import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap');
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

header {
    background-image: url(../img/fondo.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.nav-item a {
    font-size: 18px;
    color: #050568 !important;
    font-weight: 500;
}

.nav-item a:hover {
    font-size: 18px;
    color: #8a0d93 !important;
    font-weight: 500;
}

.inicio {
    background: linear-gradient(50deg, rgba(3, 3, 72, 0.9), rgba(156, 117, 123, 0.9)) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 25px;
    color: #fff;
    height: 90vh;
}

.cta-button {
    background: #292955;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    font-size: 18px;
    margin-top: 20px;
}

.cta-button2 {
    background: #292955;
    color: #fff;
    padding: 4px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    font-size: 18px;
    margin-top: 20px;
}

.typewriter-text {
    font-family: Arial, sans-serif;
    font-size: 40px;
    white-space: nowrap;
    border-right: 2px solid black;
    overflow: hidden;
    animation: blink 0.5s step-end infinite;
    color: #fff;
}

@keyframes blink {
    0%,
    100% {
        border-color: transparent;
    }
    50% {
        border-color: black;
    }
}

.comofun {
    padding: 5%;
    height: 100vh;
}

.comofun h2 {
    font-size: 30px;
    color: #050568;
    margin-bottom: 5%;
}

.comofun p {
    font-size: 22px;
    color: #5c5c5c;
    font-family: "Arimo", sans-serif;
}

.comofun img {
    max-width: 100%;
}

.services {
    min-height: 110vh;
    padding: 5%;
    background-color: #f3f3f3;
}

.services h2 {
    font-size: 35px;
    color: #050568;
    margin-bottom: 5%;
}

.seccion-con-video {
    position: relative;
    min-height: 110vh;
    overflow: hidden;
}

.video-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* detrás del contenido */
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}

.video-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.contenido {
    position: relative;
    z-index: 1;
    color: #fff;
    /* para contraste */
    text-align: center;
    padding: 5rem 2rem;
}

.contenido h1 {
    margin-bottom: 5%;
}

.card h3 {
    margin-top: 0;
    color: #050568;
}

.card2 {
    background: #dedede;
    padding: 20px;
    text-align: center;
    margin: 0% 0%;
}

.card2 h3 {
    margin-top: 0;
    color: #050568;
}

.pqele h2 {
    font-size: 30px;
    color: #050568;
    margin-bottom: 5%;
}

.pqele {
    padding: 5%;
}

.cont h2 {
    font-size: 30px;
    color: #050568;
    margin-bottom: 2%;
}

.cont {
    padding: 4% !important;
}

.howork {
    padding: 5%;
}

.howork h2 {
    font-size: 35px;
    color: #050568;
    margin-bottom: 2%;
}

.cform {
    padding: 5%;
    border-radius: 20px;
    border: 1px solid #c3c3c3;
}

.form-group p {
    font-size: 18px;
    color: #494949;
    font-weight: 600;
    line-height: 0px;
    margin-top: 0%;
}

.form-group {
    margin-bottom: 4%;
}

.gradient-tabs .nav-tabs {
    border: none;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.gradient-tabs .nav-link {
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: rgb(61 61 61 / 70%) !important;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 2px #4b4b4b91;
}

.gradient-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.gradient-tabs .nav-link.active {
    background: white;
    color: #6366f1 !important;
}

.gradient-tabs .tab-content {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.textvid {
    padding: 5%;
    box-shadow: 2px 2px 15px #bbbbbb;
    border-radius: 8px;
}

.textstep {
    background-color: #EF114B;
    color: #fff;
    font-size: 20px;
    padding: 5% !important;
}

.tab-pane.fade {
    transition: all 0.2s ease-out;
}

.tab-pane.fade.show {
    animation: fadeIn 0.5s ease-out;
}

.videomulti h2 {
    font-size: 35px;
    color: #050568;
    margin-bottom: 5%;
}

.videomulti p {
    font-size: 20px;
    color: #5c5c5c;
    font-family: "Arimo", sans-serif;
    line-height: 22px;
}

.videomulti {
    min-height: 110vh;
    padding: 5%;
}

.videomulti img {
    max-width: 100%;
}

video {
    width: 75%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    background: #0a0a23;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

@media only screen and (max-width: 1020px) {
    .comofun img {
        margin-top: 0%;
    }
    .seccion-con-video {
        min-height: 100vh;
    }
    .card {
        background: #f5f5f5;
        padding: 20px;
        text-align: center;
        margin: 2% 2%;
    }
    .card2 {
        background: #d2d2d2;
        padding: 20px;
        text-align: center;
        margin: 2% 2%;
    }
    .form-group p {
        margin-top: 5%;
    }
}

@media only screen and (max-width: 750px) {
    video {
        width: 100%;
    }
    section {
        padding: 8% 0%;
    }
}