/**************************************************************************************************************************************/
html {
    scroll-behavior: smooth;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}

.logo {
    width: 200px;
    height: auto;
    max-width: 100%;
}

.logo-esquina {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 200px;
    height: auto;
    z-index: 10;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/**************************************************************************************************************************************/

body {
    font-family: "open sans";
    
}
/**************************************************************************************************************************************/

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}
/**************************************************************************************************************************************/

.titulo {
    color: #4E37C5;
    font-size: 30px;
    text-align: center; 
    margin-bottom: 60px;
}
/**************************************************************************************************************************************/


header {
    position: relative;
    width: 100%;
    height: 600px;
    background: linear-gradient(to left, rgba(78, 55, 197, 0.7), rgba(50, 30, 150, 0.7)), url(../img/Fondo_1.jpg);
    background-size: cover;
    background-attachment: fixed;
}




nav {
    text-align: right;
    padding: 30px 50px 0 0;
}

nav > a {
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    margin-right: 20px;
}

nav > a:hover {
    text-decoration: underline;
}

header .textos-header {
    display: flex;
    height: 350px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1 {
    font-size: 50px;
    color: #fff;
}

.textos-header h2 {
    font-size: 30px;
    font-weight: 300;
    color: #fff;
}


.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-bottom: -1px; 
}
/**************************************************************************************************************************************/


.contenedor-sobre-nosotros {
    display: flex;
    justify-content: space-evenly;
}

.imagen-about-us {
    width: 48%;
}

.sobre-nosotros .contenido-texts {
    width: 48%;
}

.contenido-textos h3 {
    margin-bottom: 15px;
}

.contenido-textos h3 span {
    background: #4E37C5;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.5);
    margin-right: 5px;
}

.contenido-textos p {
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}
/**************************************************************************************************************************************/
/**************************************************************************************************************************************/

.about-services {
    background: #ffffff;
    padding-bottom: 30px;
}

.servicio-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind {
    width: 28%;
    text-align: center;
}

.servicio-ind img {
    width: 90%;
}

.servicio-ind h3 {
    margin: 10px 0;
}

.servicio-ind p {
    font-weight: 300;
    text-align: justify;
}


/**************************************************************************************************************************************/

/**************************************************************************************************************************************/

@media (max-width: 768px) {
    header {
        height: 400px;
    }

    nav {
        text-align: center;
        padding: 20px 0;
    }

    nav > a {
        display: block;
        margin: 10px 0;
    }

    header .textos-header h1 {
        font-size: 36px;
    }

    header .textos-header h2 {
        font-size: 24px;
    }

    .contenedor-sobre-nosotros {
        flex-direction: column;
        align-items: center;
    }

    .imagen-about-us {
        width: 90%; 
        margin-bottom: 30px; 
    }
    .contenido-textos {
        width: 90%; 
    }

    .galeria-port {
        flex-direction: column;
        align-items: center;
    }

    .imagen-port {
        width: 90%;
    }

    .servicio-cont {
        flex-direction: column;
        gap: 20px;
    }

    .servicio-ind {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .titulo {
        font-size: 20px;
    }

    .btn-enviar {
        padding: 8px 16px;
    }

    footer .contenedor-footer {
        flex-direction: column;
        gap: 20px;
    }

    .scroll-top-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        line-height: 40px;
    }
}
/**************************************************************************************************************************************/
/**************************************************************************************************************************************/
