@import url('https://fonts.googleapis.com/css2?family=Sansita:wght@400;700;800&display=swap');

* {
    font-family: 'Sansita', sans-serif;
    text-transform: capitalize;
    text-decoration: none;
    outline: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* Estilo icon wsp */

a.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-size: 30px;
    color: #fff;
    background-color: #25d366;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a.whatsapp:hover {
    background-color: #128c7e;
}

/* img fondo inicio */
header {
    width: 100%;
    height: 70vh;
    background-image: url(../img/hedearoficialservicios.jpg);
    background-size: cover;
    background-position: center;
}

/* barra de navegacion */
.nav {
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: all 0.5s ease;
}

@media(max-width:700px) {
    .nav {
        justify-content: space-between;
    }

    .logo img {
        margin-left: 100px;
    }
}

.nav.active {
    background: #fff;
    padding: 15px;
    box-shadow: 0 .2rem 3.5rem rgb(0, 0, 0, .4);
    z-index: 101;
}

/* se activa con scroll */
.nav.active .logo {
    color: rgb(0, 4, 250);
    font-weight: 800;
}

.nav.active a,
.nav.active .menu-btn {
    color: rgb(0, 0, 0);
}

.nav.active a:hover {
    background: rgb(0, 4, 250);
    color: #fff;
}

.logo img {
    width: 150px;
    height: 75px;

}

.logo {

    font-size: 25px;
    color: #fff;
    font-weight: 600;
}

.menu {
    display: flex;
}

.menu li {
    list-style: none;
    margin: 20px
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.5s ease;
}

.menu li a:hover {
    padding: 5px 10px;
    background: #fff;
    color: #000;
    border-radius: 15px;
}

.scrol {
    height: 100px;
}

.menu-btn {
    color: white;
    font-size: 20px;
    display: none;
    cursor: pointer;
}

@media screen and (max-width:1035px) {

    .nav {
        justify-content: space-between;
    }


    .menu-btn {
        display: block;
    }

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 155px;
        height: 100vh;
        background: red;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        transform: translateX(-100%);
        z-index: 9999;
    }

    .menu li {
        margin: 15px 0;
    }

    .menu.active {
        transform: translateX(0);
    }

    .nav.active a,
    .nav.active {
        color: rgb(255, 255, 255);
    }

}

/* responsive logo nav */

@media only screen and (max-width: 1035px) {
    .logo img {
        margin-left: 435px;
    }
}

@media only screen and (max-width: 930px) {
    .logo img {
        margin-left: 400px;
    }
}

@media only screen and (max-width: 860px) {
    .logo img {
        margin-left: 350px;
    }
}


/* contenido del header */
.header-cont {
    max-width: 600px;
    height: 730px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-cont h2 {
    font-size: 85px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 3px 3px 7px rgb(0, 0, 0);
}

.header-cont h1 {
    padding-top: 30px;
    font-size: 45px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 3px 3px 7px rgb(0, 0, 0);
    color: red;
}

.header-cont h2 span {
    color: red;
}

/* Responsive headercont */

@media only screen and (max-width: 768px) {
    .header-cont {
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }

    .header-cont h1 {
        font-size: 60px;
    }

    .header-cont h2 {
        font-size: 90px;
    }

    .titulo span {
        font-size: 90px;
        margin-top: 30px;
    }

    .nav {
        justify-content: space-between;
    }

    .nav .logo img {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 768px) {
    .logo img {
        margin-left: 300px;
    }
}


@media only screen and (max-width: 695px) {
    .header-cont {
        max-width: 100%;
        margin: 0;
        padding: 20px;
    }

    .header-cont h1 {
        font-size: 60px;
    }

    .header-cont h2 {
        font-size: 90px;
    }

    .titulo span {
        font-size: 90px;
        margin-top: 30px;
    }

    .nav {
        justify-content: space-between;
    }

    .nav .logo img {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 695px) {
    .logo img {
        margin-left: 250px;
    }
}

@media only screen and (max-width: 575px) {
    .logo img {
        margin-left: 200px;
    }
}

@media only screen and (max-width: 530px) {
    .logo img {
        margin-left: 180px;
    }
}

@media only screen and (max-width: 475px) {
    .logo img {
        margin-left: 150px;
    }
}

@media only screen and (max-width: 430px) {
    .logo img {
        margin-left: 120px;
    }
}


@media only screen and (max-width: 420px) {
    .header-cont {
        max-width: 100%;
        padding: 20px;
    }

    .header-cont h1 {
        font-size: 50px;
    }

    .header-cont h2 {
        font-size: 80px;
    }

    .titulo span {
        font-size: 40px;
        margin-top: 30px;
    }

    .nav {
        justify-content: space-between;
    }

    .nav .logo img {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 400px) {
    .logo img {
        margin-left: 100px;
    }
}


@media only screen and (max-width: 350px) {
    .header-cont {
        max-width: 100%;
        padding: 20px;
    }

    .header-cont h1 {
        font-size: 40px;
    }

    .header-cont h2 {
        font-size: 80px;
    }

    .titulo span {
        font-size: 40px;
        margin-top: 30px;
    }

    .nav {
        justify-content: space-between;
    }

    .nav .logo img {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 350px) {
    .logo img {
        margin-left: 80px;
    }
}

.line {
    width: 500px;
    height: 4px;
    background: rgb(0, 4, 250);
    margin: 10px auto;
    border-radius: 5px;
}

.container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding: 80px 0;
    max-width: 1200px;
}

.subtitle {
    color: red;
    font-size: 2.5rem;
    margin-bottom: 35px;
}

.about {
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    justify-items: center;
    align-items: center;
}

.about_img {
    text-align: center;
}

.about_img--left {
    text-align: left;
}

.about_picture {
    max-width: 80%;
}

.about_paragraph {
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 300;
}

/*vCONTENEDORESSSSS 2 */


.line {
    width: 500px;
    height: 4px;
    background: rgb(0, 4, 250);
    margin: 10px auto;
    border-radius: 5px;
}

.container2 {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 80px 0;
    max-width: 1200px;
}

.subtitle {
    color: rgb(0, 4, 250);
    font-size: 2.5rem;
    margin-bottom: 35px;
}

.about {
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    justify-items: center;
    align-items: center;
}

.about_img2 {
    text-align: center;
}

.about_img--left2 {
    text-align: left;
}

.about_picture2 {
    max-width: 80%;
}

.about_paragraph2 {
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 300;
}

.about_paragraph3 {
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 300;
    font-size: 15px;
}


/* contenedores responsive */

@media screen and (max-width:800px) {

    :root {
        --boton-padding: 18px 40px;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about .container {
        padding-top: 30px;
    }

    .about_img--left {
        text-align: center;
    }

    .about_texts:last-child {
        grid-row: 3/4;
    }
}


/* contenedores responsive 2 */

@media screen and (max-width:800px) {

    :root {
        --boton-padding: 18px 40px;
    }

    .subtitle2 {
        font-size: 1.5rem;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about .container2 {
        padding-top: 30px;
    }

    .about_img--left2 {
        text-align: center;
    }

    .about_texts2:last-child {
        grid-row: 3/4;
    }
}

@media screen and (max-width: 500px) {

    :root {
        --boton-padding: 18px 35px
    }

    .subtitle2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .about {
        row-gap: 60px;
    }

    .about .container2 {
        padding-top: 10px;

    }


}

/* titulo para card */

.titlenosotros {
    text-align: center;
    padding-top: 4rem;

}

.titlenosotros h2 {
    color: rgb(255, 0, 0);
    font-size: 3rem;
    margin-bottom: 25px;
}

.titlenosotros p {
    line-height: 1.7;
}

.rows {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.red-btn {
    border: 1px solid #ff1100;
    background: transparent;
    color: #ff1100;
}

.red-btn:hover {
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: rgb(17, 0, 255);
    border: 1px solid rgb(17, 0, 255);
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #ff1100;
    background: #ff1100;
    transition: 1s;
}

.location {
    width: 80%;
    margin: auto;
    padding: 80px 0;
}

.location iframe {
    width: 100%;
}

.contact-us {
    width: 80%;
    margin: auto;
}

.contact-col {
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa {
    font-size: 28px;
    color: rgb(0, 4, 250);
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p {
    padding: 0;
}

.contact-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col input,
.contact-col textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* titulo para certificados */

.titlecertific {
    text-align: center;
    padding-top: 2rem;

}

.titlecertific h2 {
    color: rgb(0, 4, 250);
    font-size: 3rem;
    margin-bottom: 25px;
}

.titlecertific h2 span {
    color: red;
    font-size: 5rem;
}

.titlecertificp {
    line-height: 1.5;
}


/* carousel de certificados */

.wrapper {
    width: 100%;
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 0 60px;
}

.carousel .cards {
    height: 400px;
    border-radius: 5px;
}

#c1 {
    background: url(../img/galeriaserv7.jpeg) no-repeat center center/cover;
}

#c2 {
    background: url(../img/galeriaserv2.jpeg) no-repeat center center/cover;
}

#c3 {
    background: url(../img/galeriaserv3.jpeg) no-repeat center center/cover;
}

#c4 {
    background: url(../img/galeriaserv4.jpeg) no-repeat center center/cover;
}

#c5 {
    background: url(../img/galeriaserv5.jpeg) no-repeat center center/cover;
}

#c6 {
    background: url(../img/masservicios12.jpeg) no-repeat center center/cover;
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    margin: 0 5px;
    border: 2px solid red !important;
    transition: all 0.3s ease;
}

.owl-dot:hover,
.owl-dot.active {
    background-color: red !important;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: 45%;
    transform: translate(-50%, -50%);
}

.owl-prev {
    left: 40px;
}

.owl-next {
    right: 30px;
}

.fa-chevron-left,
.fa-chevron-right {
    font-size: 30px;
    color: red;
    transition: all 0.2s;
}

.fa-chevron-left:hover,
.fa-chevron-right:hover {
    color: blue;
}

@media(max-width:1024px) {
    .rows {
        flex-direction: column;
    }
}

.rows {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.red-btn {
    border: 1px solid #ff1100;
    background: transparent;
    color: #ff1100;
}

.red-btn:hover {
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: rgb(17, 0, 255);
    border: 1px solid rgb(17, 0, 255);
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #ff1100;
    background: #ff1100;
    transition: 1s;
}

/*:::::Pie de Pagina */
.pie-pagina {
    width: 100%;
    background-color: #f8f8f8;
}

.pie-pagina .grupo-1 {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box figure img {
    width: 250px;
}

.pie-pagina .grupo-1 .box h2 {
    color: #ff0000;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box p {
    color: #000000;
    margin-bottom: 10px;
}

.pie-pagina .grupo-1 .red-social a {
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: rgb(0, 4, 250);
    margin-right: 10px;
    background-color: #f0f0f0;
    text-align: center;
    transition: all 300ms ease;
}

.pie-pagina .grupo-1 .red-social a:hover {
    color: red;
}

.pie-pagina .grupo-2 {
    background-color: #e2e2e2;
    padding: 15px 10px;
    text-align: center;
    color: #000000;
}

.pie-pagina .grupo-2 small {
    font-size: 15px;
}

@media screen and (max-width: 800px) {
    .pie-pagina .grupo-1 {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }
}