﻿/* -----General----- */
:root {
    --blue: #2a344f;
    --blue2: #001f8d;
    --white: #ffffff;
    --black: #151515;
}

* {
    font-family: 'Microsoft Sans Serif';
    padding: 0;
    margin: 0;
}


.header-nav {
    background-repeat: no-repeat;
    width: 100%;
    margin-top: -6.86rem;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.hr-menu {
    color: none;
    margin-left: 0;
    margin-right: 0;
}

@media(max-width: 768px) {
    .nav-item {
        display: flex;
        justify-content: center;
    }

    .hr-menu {
        color: white;
        margin-left: 4rem;
        margin-right: 4rem;
    }
}
/* Provide sufficient contrast against white background */
.text-header{
    font-size: 1.5rem;
}

@media (max-width: 768px){
    .text-header {
        font-size: 1.2rem;
    }
}

.header-contact {
    display: flex;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #151515;
}

.contacto-primario{
    display: flex;
    column-gap: 2rem;
    margin-left: 8.5rem;
}

.contacto-secundario {
    display: flex;
    column-gap: 1rem;
    margin-left: 32.2rem;
}
/*Animation Navbar*/
.nav-item a {
    position: relative;
    text-decoration: none;
    color: #fff;
}

    .nav-item a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 4px;
        background-color: #fff;
        bottom: 0;
        left: 0;
        transform-origin: right;
        transform: scaleX(0);
        transition: transform 0.3s ease-in-out;
    }

    .nav-item a:hover::before {
        transform-origin: left;
        transform: scaleX(1);
    }

    .nav-item a:hover {
        color: #c2c2c2;
    }
/*END CODE*/
.btn-principal {
    padding: 0.8em 1.8em;
    border: 2px solid #1b6ec2;
    position: relative;
    overflow: hidden;
    background-color: #1b6ec2;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    transition: .3s;
    z-index: 1;
    font-family: inherit;
    color: white;
    border-radius: 0.7rem 0rem 0.7rem 0rem;
}

    .btn-principal::before {
        content: '';
        width: 0;
        height: 300%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        background: #0f4275;
        transition: .5s ease;
        display: block;
        z-index: -1;
    }

    .btn-principal:hover::before {
        width: 100%;
    }

    .btn-principal:hover {
        color: white;
        font-weight: bold;
        border: 2px solid #0f4275;
        background-color: #0f4275;
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #0f4275;
    background-color: #0f4275;
    border-color: #0f4275;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit; 
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/*Seccion Inicio*/
/* Estilos para la sección */
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    overflow: hidden;
/*    position: relative;*/
    background: linear-gradient(0deg, rgb(0, 42, 85) 50%, rgb(0, 8, 55) 100%);
    padding-bottom: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

    #hero .carousel-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        position: relative;
        height: 70vh;
        padding-top: 60px;
    }

    #hero h2 {
        color: #fff;
        margin-bottom: 30px;
        font-size: 48px;
        font-weight: 700;
    }

    #hero p {
        width: 80%;
        animation-delay: 0.4s;
        margin: 0 auto 30px auto;
        color: #fff;
    }

    #hero .carousel-control-prev,
    #hero .carousel-control-next {
        width: 10%;
    }

    #hero .carousel-control-next-icon,
    #hero .carousel-control-prev-icon {
        background: none;
        font-size: 48px;
        line-height: 1;
        width: auto;
        height: auto;
    }

    #hero .btn-get-started {
        font-family: "Raleway", sans-serif;
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 12px 32px;
        border-radius: 0.7rem 0rem 0.7rem 0rem;
        transition: 0.5s;
        line-height: 1;
        margin: 10px;
        color: #fff;
        animation-delay: 0.8s;
        border: 2px solid #ef6603;
    }

        #hero .btn-get-started:hover {
            background: #ef6603;
            color: #fff;
            text-decoration: none;
        }

@media (min-width: 1024px) {
    #hero p {
        width: 60%;
    }

    #hero .carousel-control-prev,
    #hero .carousel-control-next {
        width: 5%;
    }
}

@media (max-width: 768px) {
    #hero .carousel-container {
        height: 90vh;
    }

    #hero h2 {
        font-size: 28px;
    }
}

.hero-waves {
    display: block;
    width: 100%;
    height: 60px;
    position: relative;
}

.wave1 use {
    animation: move-forever1 10s linear infinite;
    animation-delay: -2s;
}

.wave2 use {
    animation: move-forever2 8s linear infinite;
    animation-delay: -2s;
}

.wave3 use {
    animation: move-forever3 6s linear infinite;
    animation-delay: -2s;
}

@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever3 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

/* Estilos para la animación */
.bAnimatedIndex {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

    .bAnimatedIndex svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .bAnimatedIndex path {
        pointer-events: auto;
    }


@-webkit-keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-250px * 7));
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-250px * 7));
        transform: translateX(calc(-250px * 7));
    }
}

.slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    padding: 15px 0px;
}

    .slider::before, .slider::after {
        /* background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);*/
        content: "";
        height: 100px;
        position: static;
        width: 200px;
        z-index: 2;
    }

    .slider::after {
        right: 0;
        top: 0;
        -webkit-transform: rotateZ(180deg);
        transform: rotateZ(180deg);
    }

    .slider::before {
        left: 0;
        top: 0;
    }

    .slider .slide-track {
        -webkit-animation: scroll 40s linear infinite;
        animation: scroll 40s linear infinite;
        display: flex;
        width: calc(250px * 14);
        padding-top: 11px;
    }

    .slider .slide {
        height: 100px;
        width: 250px;
        transition: transform 500ms;
        transition-timing-function: cubic-bezier(.75, -3, .25, 4);
    }

        .slider .slide:hover {
            transform: scale(1.3);
        }




.container-galeriaIndex {
    display: flex;
    height: 580px;
    justify-content: center;
    margin: auto;
    padding: 15px 0px;
}

    .container-galeriaIndex .img-galindex {
        width: 0px;
        flex-grow: 5;
        object-fit: cover;
        border: 1px solid #001229;
        opacity: .8;
        transition: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    }

        .container-galeriaIndex .img-galindex:hover {
            cursor: crosshair;
            width: 300px;
            opacity: 1;
            filter: contrast(120%);
        }

@media(max-width: 768px) {
    .bAnimatedIndex {
        display: none;
    }
}



/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f5f5ff;
    transition: ease-in-out 0.3s;
}

    .features .icon-box i {
        font-size: 32px;
        padding-right: 10px;
        line-height: 1;
    }

    .features .icon-box h3 {
        font-weight: 700;
        margin: 0;
        padding: 0;
        line-height: 1;
        font-size: 16px;
    }

        .features .icon-box h3 a {
            color: #010483;
            transition: ease-in-out 0.3s;
        }

            .features .icon-box h3 a:hover {
                color: #01036f;
            }

    .features .icon-box:hover {
        background: #ebebff;
    }


/*---END CODE---*/

/*---Section Servicios---*/
.card-servicios {
    background-color: #ecf3ff;
    border-radius: 0.5rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/*---END CODE---*/

/*---Section Contact---*/
.contContact {
    display: grid;
}

#contact {
    display: grid;
    position: relative;
    margin-left: 7rem;
}

#ubicacion-contacto {
    width: 326px;
    height: 440px;
}
/*Formulario Seccion Contacto*/
.btn-enviar {
    font-family: inherit;
    font-size: 20px;
    background-color: #1b6ec2;
    color: white;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 0.7rem 0rem 0.7rem 0rem;
    overflow: hidden;
    transition: all 0.2s;
}

    .btn-enviar span {
        display: block;
        margin-left: 0.3em;
        transition: all 0.3s ease-in-out;
    }

    .btn-enviar svg {
        display: block;
        transform-origin: center center;
        transition: transform 0.3s ease-in-out;
    }

    .btn-enviar:hover .svg-wrapper {
        animation: fly-1 0.6s ease-in-out infinite alternate;
    }

    .btn-enviar:hover svg {
        transform: translateX(1.2em) rotate(45deg) scale(1.1);
    }

    .btn-enviar:hover span {
        transform: translateX(5em);
    }

    .btn-enviar:active {
        transform: scale(0.95);
    }

@keyframes fly-1 {
    from {
        transform: translateY(0.1em);
    }

    to {
        transform: translateY(-0.1em);
    }
}


/*---END CODE---*/

/*Seccion Portafolio*/
.header-portafolio {
    background: url('../img/Portafolio/Background.jpg');
    background-repeat: no-repeat;
    width: 100%;
    margin-top: -6.86rem;
}

#icono-portafolio {
    width: 70px;
    height: 70px;
    position: relative;
    margin-top: -5rem;
    margin-right: -19rem;
    transition: transform 500ms;
    transition-timing-function: cubic-bezier(.75, -3, .25, 4);
}

    #icono-portafolio:hover {
        transform: scale(1.1);
    }

.Card-container {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    grid-gap: 2rem;
    margin-top: -2.5rem;
}

.btn-card {
    background-color: #1b6ec2;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
    padding: 0.5rem 1rem;
    border-color: transparent;
    border-radius: 0.7rem 0rem 0.7rem 0rem;
    color: #ffffff;
    outline: 0;
}

    .btn-card:hover {
        background-color: #0f4275;
        color: white;
        font-weight: bold;
    }

/*---END CODE---*/


/*CODE RESPONSIVE*/
@media (max-width: 768px) {
    #textPrinIndex {
        font-size: 1.5rem;
    }

    .bgAnimatedIndex {
        display: none;
    }

    .header-nav {
        margin-top: -7.75rem;
    }

    #videoIndex {
        display: none;
    }

    #nav-background {
        background-color: black;
    }

    .header-contact {
        display: none;
    }

    #img-servicios {
        display: none;
    }

    .img-contacto {
        display: none;
    }

    #ubicacion-contacto {
        width: 271px;
        height: 440px;
    }

    #icono-portafolio {
        width: 60px;
        height: 60px;
        position: relative;
        margin-top: -4.5rem;
        margin-right: -15rem;
    }

    .Card-container {
        grid-template-columns: auto;
        justify-content: center;
        column-gap: 2rem;
        margin-top: 1rem;
    }

    .btn-card {
        margin-left: 8.5em;
    }

    #fondoHead{
        padding-top: 7rem;
    }

    #hero{
        padding-top: 7rem;
    }
}
/*---END CODE---*/





/* ===================================================================
 * # services
 *
 * ------------------------------------------------------------------- */
.s-services {
    padding-top: 16.2rem;
    padding-bottom: 13.2rem;
    background-color: #FFFFFF;
    /* color: #757575; */
    position: relative;
}


#fondoHead {
    width: 100%;
    height: 500px;
    background: linear-gradient(0deg, rgb(0, 42, 85) 50%, rgb(0, 8, 55) 100%);
    background-size: cover;
    background-repeat: no-repeat;
}

#servicios {
    background: #fff;
    padding: 60px 0;
}


    #servicios .servicios-extra {
        padding-top: 60px;
    }

        #servicios .servicios-extra h4 {
            font-weight: 600;
            font-size: 24px;
        }




@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:400,400i,600,600i');

html, body {
    margin: 0;
    height: 120%;
    font-family: 'Josefin Sans', sans-serif;
}

a {
    text-decoration: none
}

.header {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    height: 50vw;
    min-height: 400px;
    max-height: 550px;
    min-width: 300px;
    color: #eee;
}

    .header:after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        background: linear-gradient(to bottom, rgba(0,0,0,0.12) 40%,rgba(27,32,48,1) 100%);
    }

    .header:before {
        content: "";
        width: 100%;
        height: 200%;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        scale(1.0, 1.0);
        transform: translateZ(0);
        background: #1B2030 url(../img/Servicios/fondo1.jpg) 50% 0 no-repeat;
        background-size: 100%;
        background-attachment: fixed;
        animation: grow 40s linear 10ms infinite;
        transition: all 0.4s ease-in-out;
        z-index: -2
    }

    .header a {
        color: #eee
    }


.info {
    width: 100%;
    padding: 15% 10% 0 10%;
    text-align: center;
    text-shadow: 0 2px 3px rgba(0,0,0,0.2)
}

@keyframes grow {
    0% {
        transform: scale(1) translateY(0px)
    }

    50% {
        transform: scale(1.2) translateY(-400px)
    }
}

.content {
    padding: 5% 10%;
    text-align: justify
}


/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .feature-box {
    padding: 24px 20px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
    transition: 0.3s;
    height: 100%;
}

    .features .feature-box h3 {
        font-size: 18px;
        color: #012970;
        font-weight: 700;
        margin: 0;
    }

.features .feture-tabs .btn-features {
    background: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    padding: 12px 0;
    margin-right: 24px;
    margin-bottom: -2px;
    border-radius: 0;
    position: relative; /* Necesario para el efecto de subrayado */
    transition: color 0.3s; /* Transición suave para el cambio de color del texto */
    text-decoration: none; /* Evita el subrayado predeterminado */
}

    .features .feture-tabs .btn-features::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #4bc4ee; /* Color del subrayado, en este caso, rojo (#FF0000) */
        transform: scaleX(0); /* Inicialmente, el subrayado está oculto */
        transform-origin: bottom right; /* Origen de la transformación */
        transition: transform 0.3s; /* Transición suave para el efecto de subrayado */
    }

    .features .feture-tabs .btn-features:hover {
        color: #4bc4ee; /* Cambia el color del texto al pasar el cursor */
    }

        .features .feture-tabs .btn-features:hover::before {
            transform: scaleX(1); /* Muestra el subrayado al pasar el cursor */
        }


.features .feture-tabs {
    margin-top: 120px;
}

    .features .feture-tabs h3 {
        color: #012970;
        font-weight: 700;
        font-size: 32px;
        margin-bottom: 10px;
    }

@media (max-width: 768px) {
    .features .feture-tabs h3 {
        font-size: 28px;
    }
}

@media (min-width: 768px){
    .btn-features{
        color: red;
    }
}

.features .feture-tabs .nav-pills {
    border-bottom: 1px solid #eee;
}

.features .feture-tabs .btn-features {
    background: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    padding: 12px 0;
    margin-right: 24px;
    margin-bottom: -2px;
    border-radius: 0;
}

    .features .feture-tabs .nav-link.active {
        color: #4154f1;
        border-bottom: 3px solid #4154f1;
    }

.features .feture-tabs .tab-content h4 {
    font-size: 18px;
    margin: 0;
    font-weight: 700;
    color: #012970;
}

.features .feture-tabs .tab-content i {
    font-size: 24px;
    line-height: 0;
    margin-right: 8px;
    color: #4154f1;
}
