* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: rgb(243, 243, 243);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */


/*------set-up------*/
header {
    background-color: #012B85;
    color: white;
    display: flex;
    align-items: center;
    font-weight: 800;
    padding: clamp(10px, 0.5vw, 0.5vw) 0;
}

header li {
    list-style: none;
}

header a {
    text-decoration: none;
    color: white;
}
/*------------------*/


/* header logo section */

header #logo {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

header #logo > a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 1vw, 1vw);
}

header #logo img {
    width: clamp(40px, 4.5vw, 4.5vw);
    height: clamp(35px, 4vw, 4vw);
    clip-path: inset(5% 0 5% 0);
}

header #logo div {
    display: flex;
    flex-direction: column;
    text-align: center;
}

header #logo p:first-of-type {
    font-size: clamp(20px, 1.5vw, 1.5vw);
    line-height: clamp(17px, 1.4vw, 1.4vw);
    font-weight: 900;
}

header #logo p {
    font-size: clamp(10px, 0.8vw, 0.8vw);
    font-weight: 500;
}

/* header nav section */

header nav {
    flex: 0.8;
}

header nav ul {
    display: flex;
    justify-content: right;
    gap: clamp(10px, 3.5vw, 3.5vw);
}

header nav ul li {
    padding: clamp(4px, 0.35vw, 0.35vw) 0;
    transition: color 0.3s;
    font-size: clamp(15px, 1.05vw, 1.05vw);
    font-weight: 500;
}

header nav ul a:first-child li {
    border-bottom: 2px solid white;
}

header nav ul li:hover {
    border-bottom: 2px solid rgb(255, 255, 255);
    color: rgb(211, 211, 211);
}

/* header whatsapp section */

header nav + div {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav + div a {
    display: flex;
    align-items: center;
    gap: 13px;
    background-color: #FDFDFE;
    padding: clamp(5px, 0.5vw, 0.5vw) clamp(15px, 1.35vw, 1.35vw);
    color: #1542a3;
    font-weight: 800;
    border-radius: clamp(7px, 0.6vw, 0.6vw);
    font-size: clamp(15px, 1.1vw, 1.1vw);
    transition: background-color 0.5s, color 0.3s;
}

header nav + div a:hover {
    background-color: rgb(94, 202, 135);
    color: white;
}

header nav + div a i {
    font-size: 2rem;
}

/* MAIN */


/*------set-up------*/
main {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', Arial;
}
/*------------------*/


/*section-one*/

main #section-one {
    background: linear-gradient(to bottom, transparent 95%, rgb(243, 243, 243)), url(car.jpg);
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: rgb(255, 255, 255);
    gap: clamp(10px, 1vw, 1vw);
    padding: clamp(15px, 1vw, 1vw);
}

main #section-one h1 {
    font-size: clamp(1.8rem, 3.2vw, 3.2vw);
    padding: 0 1vw;
    text-align: center;
    font-family: 'Arial Narrow Bold', sans-serif;
    letter-spacing: 4px;
    border-radius: 10px;
    transform: translateY(-5.5dvh);
}

main #section-one p {
    font-size: clamp(1rem, 1.5vw, 1.5vw);
    padding: clamp(5px, 0.3vw, 0.3vw) clamp(7px, 1vw, 1vw);
    color: rgb(255, 255, 255);
    border-radius: 10px;
    background-color: #012B85;
    text-align: center;
    transform: translateY(-5dvh);
}

#section-one {
    animation: fadeHero linear;
    animation-timeline: view();
    animation-range: cover 55% exit 100%;
}
@keyframes fadeHero {
    from {
        opacity: 1;
    }
    to {
         opacity: 0;
    }
}


/* section-two */

/*----set up----*/
#section-two {
    color: #012B85;
    display: flex;
    flex-direction: column;
    padding: clamp(80px, 8vw, 8vw) clamp(20px, 2vw, 2vw) clamp(80px, 8vw, 8vw) clamp(20px, 2vw, 2vw);
    gap: clamp(30px, 2.5vw, 2.5vw);
    background-color: rgb(243, 243, 243);
}
/*--------------*/

#section-two h2 {
    font-size: clamp(1.3rem, 1.9vw, 1.9vw);
    text-align: center;
    line-height: clamp(8px, 0.8vw, 0.8vw);
}

#section-two h2 + hr {
    width: clamp(40px, 3%, 3%);
    border: 2px solid #0f73c5;
    margin: 0 auto;

}

#cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: clamp(35px, 3vw, 3vw);
}

.card {
    display: flex;
    flex-direction: column;
    width: clamp(500px, 26%, 26%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.589);
    border-radius: 10px;
    padding: clamp(9px, 0.7vw, 0.7vw) clamp(14px, 1.9vw, 1.9vw);
    height: auto;
    gap: clamp(9px, 0.8vw, 0.8vw);
    background-color: white;
}

.card > div {
    display: flex;
    flex-direction: row;
    gap: 0.9vw;
}

.card img {
    width: clamp(50px, 3.5vw, 3.5vw);
    justify-self: center;
}

.card img + div {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.card h3 {
    font-size: clamp(0.8rem, 1.1vw, 1.1vw);
    font-weight: 800;
}

.card hr {
    width: 15%;
    border: 1px solid #012B85;
}

.card p {
    color: rgb(34, 34, 34);
    font-size: clamp(0.8rem, 0.9vw, 0.9vw);
}

/* section three */

#section-three {
    display: flex;
    flex-direction: column;
    background-color: #dfe9fa;
    padding: clamp(40px, 3vw, 3vw);
    gap: clamp(45px, 2.8vw, 2.8vw);
    color: #012B85;
}

#section-three h2 {
    text-align: center;
    font-size: clamp(1.3rem, 1.9vw, 1.9vw);
}

#section-three-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.section-three-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(0, 0, 0, 0.219);
    padding: 0 clamp(40px, 5vw, 5vw);
    gap: clamp(10px, 0.9vw, 0.9vw);
}

.section-three-card:first-of-type {
    padding-left: 0;
}

.section-three-card:last-of-type {
    padding-right: 0;
    border-right: none;
}

.section-three-card img {
    width: clamp(40px, 3vw, 3vw);
}

#section-three p {
    text-align: center;
    font-size: clamp(0.8rem, 1vw, 1vw);
    font-weight: 700;
}

/* section four */

#section-four {
    display: flex;
    flex-direction: column;
    color: white;
    background-color:#082055;
    padding: clamp(30px, 2.5vw, 2.5vw) clamp(40px, 3vw, 3vw);
    gap: clamp(45px, 2.8vw, 2.8vw);
}

#section-four h2 {
    text-align: center;
    font-size: clamp(1.2rem, 1.6vw, 1.6vw);
}

#section-four div {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: clamp(20px, 1vw, 1vw);
    flex-wrap: wrap;
}

#section-four img {
    width: clamp(50px, 4vw, 4vw);
    border: clamp(2px, 0.2vw, 0.2vw) solid rgba(214, 214, 214, 0.699);
    border-radius: 10px;
}

#section-four img[src="lena-icon.jpg"] {
    border-radius: 10px;
}

/* section five */

#section-five {
    display: flex;
    flex-direction: row;
}

#section-five-left {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: clamp(50px, 3vw, 3vw) clamp(65px, 4vw, 4vw) clamp(40px, 2.5vw, 2.5vw) clamp(50px, 3vw, 3vw);
    gap: clamp(20px, 1vw, 1vw);
}

#section-five-left > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(10px, 0.5vw, 0.5vw);
}

#section-five-left > div hr {
    width: clamp(20px, 2.2vw, 2.2vw);
    border: 3px solid #0F60D9;
    background-color: #0F60D9;
    border-radius: 5px;
}

#section-five-left > div h2 {
    font-size: clamp(1rem, 0.7vw, 0.7vw);
    color: #094270;
}

#section-five-left > div + p {
    font-size: clamp(2rem, 2vw, 2vw);
    font-weight: 800;
    color: #03163f;
}

#section-five-left > div + p + hr {
    width: clamp(20px, 2.7vw, 2.7vw);
    border: 2px solid #0F60D9;
    background-color: #0F60D9;
    border-radius: 5px;
}

#section-five-left .parrafo {
    color: #03163f;
    font-weight: 600;
    font-size: clamp(1rem, 0.9vw, 0.9vw);
}

#section-five-left > p span {
    color: #2a5aa8;
}

#section-five-left p + div {
    display: flex;
    flex-direction: row;
    padding-top: clamp(40px, 1.7vw, 1.7vw);
}

#section-five-left p + div div {
    display: flex;
    flex-direction: row;
    padding: 0 1vw;
    border-right: 1px solid rgba(0, 0, 0, 0.445);
    gap: clamp(10px, 0.9vw, 0.9vw);
}

#section-five-left p + div div:first-child {
    padding-left: 0;
}

#section-five-left p + div div:last-child {
    border-right: none;
}

#section-five-left p + div div img {
    width: clamp(50px, 3.5vw, 3.5vw);
}

#section-five-left p + div div p {
    color: #03163F;
    font-weight: 600;
    font-size: clamp(1rem, 0.9vw, 0.9vw);
}

#section-five-left p + div div span {
    font-size: clamp(1.3rem, 1.8vw, 1.8vw);
    font-weight: 700;
    color: #03163F;
}

#section-five-right {
    width: 50%;
    background: linear-gradient(to left, transparent 80%,
     rgb(243, 243, 243)), url(local-imagen.jpg);
    background-size: cover;
}

/* section six */

#section-six {
    display: flex;
    flex-direction: column;
    background-color: #dfe9fa;
    padding: clamp(60px, 4.5vw, 4.5vw) clamp(40px, 5vw, 5vw);
    gap: clamp(60px, 2vw, 2vw);
}

#section-six #what-says{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 1.8vw, 1.8vw);
}

#section-six #what-says hr {
    width: clamp(40px, 4vw, 4vw);
    border: 2px solid #0e2c6d;
}

#section-six #what-says h2 {
    font-size: clamp(1.3rem, 1.4vw, 1.4vw);
    color: #092155;
    text-align: center;
}

#section-six-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: clamp(40px, 1.2vw, 1.2vw);
}

.section-six-card {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.6vw, 0.6vw);
}

.section-six-card .review {
    display: flex;
    flex-direction: column;
    padding-bottom: clamp(15px, 0.9vw, 0.9vw);
}

.padding {
    padding-left: clamp(20px, 2vw, 2vw);
}

.section-six-card img[src="quotation-marks-svgrepo-com.svg"] {
    width: clamp(20px, 1.5vw, 1.5vw);
}

.section-six-card img[src="star-svgrepo-com.svg"] {
    width: clamp(15px, 1vw, 1vw);
}

.section-six-card p {
    font-size: clamp(1rem, 1vw, 1vw);
}

/* FOOTER */

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #03163f;
    color: white;
    padding: clamp(40px, 2vw, 2vw);
}

.footer-section {
    display: flex;
    flex-direction: column;
    width: 20%;
    padding: 0 clamp(20px, 1.7vw, 1.7vw);
    border-right: 2px solid rgba(114, 114, 114, 0.404);
    gap: clamp(10px, 0.6vw, 0.6vw);
}

.footer-section:last-of-type {
    border-right: none;
}

.footer-section p {
    font-size: clamp(0.8rem, 0.9vw, 0.9vw);
}

.footer-section > p {
    text-align: left;
    padding-bottom: clamp(10px, 0.6vw, 0.6vw);
    font-size: clamp(1.1rem, 1.1vw, 1.1vw);
}

.footer-section img {
    padding-right: clamp(10px, 0.5vw, 0.5vw);
    width: clamp(1.6rem, 2vw, 2vw);
}

.contact {
    display: flex;
}

.time {
    display: flex;
    flex-direction: row;
}

.time img {
    align-self: flex-start;
}

#footer-ubication {
    width: 25%;
}

iframe {
    width: auto;
    height: 100%;
}

#icon-whatsapp {
    display: inline;
}

#whatsapp {
    position: fixed;
    width: clamp(43px, 2.5vw, 2.5vw);
    height: clamp(43px, 2.5vw, 2.5vw);
    background-color: green;
    border-radius: 50%;
    bottom: clamp(30px, 2.5vw, 2.5vw);
    right: clamp(20px, 1.3vw, 1.3vw);
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.616);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: clamp(30px, 1.9vw, 1.9vw);
}

#whatsapp img {
    width: clamp(30px, 1.7vw, 1.7vw);
}

@media screen and (max-width: 1348px) {
    #section-five {
        display: flex;
        flex-direction: column;
    }

    #section-five-left {
        width: 80%;
        margin: 0 auto;
    }

    #section-five-left p + div {
        display: flex;
        flex-direction: row;
        padding-top: clamp(40px, 1.7vw, 1.7vw);
        margin: 0 auto;
    }

    #section-five-right {
        display: none;
    }
}

@media screen and (max-width: 1218px) {
    #section-five-left p + div div {
        display: flex;
        flex-direction: row;
        padding: 0 clamp(0.6rem, 1vw, 1vw);
        width: 80%;
    }

    #section-five-left p + div {
        display: flex;
        flex-direction: row;
        padding-top: clamp(0.8rem, 1.2vw, 1.2vw);
        align-items: center;
        margin: 0 auto;
    }

    .footer-section {
        width: 25%;
    }

    #footer-ubication {
        width: 30%;
    }
}

@media screen and (max-width: 920px) {
    header {
        display: block;
        padding: 0 0;
    }

    header #logo {
        padding: clamp(10px, 1vw, 1vw) 0 
        clamp(5px, 0.7vw, 0.7vw) 0;
    }

    header nav ul {
        background-color: #03163f;
        justify-content: center;
        padding: clamp(8px, 0.6vw, 0.6vw) 0;
    }

    header nav + div {
        display: none;
    }

    header nav ul li {
        padding: 0 0;
        transition: color 0.3s;
        font-size: clamp(10px, 1.5vw, 1.5vw);
        font-weight: 500;
    }

    .footer-section {
        width: 35%;
    }

}

@media screen and (max-width: 883px) {
    #section-six-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-six-card {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    #cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: clamp(250px, 35%, 35%);
    }

    #section-five-left p + div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #section-five-left p + div div {
        border-right: none;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 686px) {
    #section-three-cards {
        display: flex;
        flex-direction: column;
        align-content: center;
        gap: clamp(30px, 1vw, 1vw);
    }

    .section-three-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        border-right: none;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: clamp(20px, 0.8vw, 0.8vw) 0;
    }

    .footer-section {
        width: 60%;
        border-right: none;
        padding-bottom: clamp(20px, 2vw, 2vw);
        padding-top: clamp(20px, 2vw, 2vw);
        border-bottom: 2px solid rgba(119, 119, 119, 0.37);
    }

    .footer-section:last-of-type {
        border-bottom: none;
    }

    #footer-ubication {
        width: 60%;
    }


}

@media screen and (max-width: 619px) {

    #section-four div {
        justify-content: center;
        gap: clamp(20px, 1vw, 1vw);
        flex-wrap: wrap;
    }

    .section-six-card {
        width: 80%;
    }
}

@media screen and (max-width: 570px) {
    #section-five-left {
        width: 90%;
    }
}

@media screen and (max-width: 430px) {
    #section-five-left p + div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #section-five-left p + div div {
        border-right: none;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }

    .section-six-card {
        width: 100%;
    }

    .footer-section {
        width: 85%;
    }

    #footer-ubication {
        width: 85%;
    }

    footer {
        padding-bottom: clamp(10px, 1vw, 1vw);
        padding-top: clamp(15px, 1.2vw, 1.2vw);
    }
}

@media screen and (max-width: 504px) {
    #section-five-left {
        width: 100%;
    }
}

@media screen and (width: 1024px) and (height: 1366px) {
    main #section-one h2 {
        font-size: 2.5rem;
    }

    main #section-one p {
        font-size: 1.3rem;
    }
}