@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Roboto';
}
:root {
    /*color morado: #2E3192
    color naranja: #ED1C24
    */
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #ED1C24;
    --second-main-color: #2E3192;
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
}
body {
    background: var(--bg-color);
    color: var(--text-color);
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo-img {
    width: 10%;
    background-color: transparent;
}
.navbar a {
    font-size: 2.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: 3s;
}
.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}
#menu-icon {
    font-size: 3.7rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}
section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
}
.home-img {
    display: flex;
    flex-wrap: wrap;
}
#imgTruck {
   width: 100%;
   flex: 1 1 40rem;
   position: relative;
    }
.home-content {
    display: flex;
    flex-wrap: wrap;
    z-index: 99;
    justify-content: center;
    align-items: center;
    font-size: 2.7rem;
    font-weight: 600;
    color: var(--text-color);
}
.home-content h1 {
    font-size: 5.4rem;
    font-weight: 700;
    line-height: 1.3;
}
.home-content h1 span {
    color: var(--main-color);
}
.home-content p {
    margin: 4rem 2rem 2rem 0;/*arriba,der,abajo,izq*/
    text-align: justify;
}
/*BOTONES*/
.btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 34.5rem;
    height: 5rem;   
    margin-bottom: 2rem; 
}
.btn-box .btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 15rem;
    height: 100%;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .8rem;
    font-size: 2.7rem;
    font-weight: 600;
    letter-spacing: .1rem;
    color: var(--text-color);
    z-index: 1;
    overflow: hidden;
}
/* ANIMACION PARA LOS BOTONES*/
.btn-box .btn:hover {
    color: var(--main-color);
}
.btn-box .btn:nth-child(2) {
    background: var(--main-color);
    color: var(--text-color);
}
.btn-box .btn:nth-child(2):hover {
    color: var(--main-color);
}
.btn-box .btn:nth-child(2)::before {
      background: var(--text-color);
}
.btn-box .btn::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 0%;
   height: 100%;
   background: var(--text-color);
   z-index: -1;
   transition: 1s;
}
.btn-box .btn:hover::before {
    width: 100%;
}

/*ABOUT US*/
.aboutUs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background: var(--second-bg-color);
    padding-bottom: 6rem;
}
.heading {
    font-size: 5.4rem;
    margin-bottom: 3rem;
    text-align: center;
}
span {
    color: var(--main-color);
}
.about-img {
    position: relative;
    width: 25rem;
    height: 25rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-img img {
    width: 90%;
}
.about-img .circle-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border-top: .2rem solid var(--second-bg-color);
    border-bottom: .2rem solid var(--second-bg-color);
    border-left: .2rem solid var(--main-color);
    border-right: .2rem solid var(--main-color);
    animation: aboutSpinner 8s linear infinite;
}
.about-content {
    text-align: center;
}
.about-content p{
    font-size: 3.1rem;
    margin: 2rem 0 3rem;
    text-align: justify;
    padding-top: 6rem;
    padding-bottom: 4rem;
}
.btn-box.btns {
    display: inline-block;
    width: 15rem;
}
.btn-box.btns a::before {
    background: var(--second-bg-color);
}
.services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 5rem;
}
.services .services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}
.services .services-column {
    flex: 1 1 40rem;
}
.services-column .title {
    font-size: 2.5rem;
    margin: 0 0 2rem 2rem;
    padding-top: 6rem;
    padding-bottom: 2rem;
}
#h2-services-remember,
#h2-about-remember {
    font-size: 3.37rem;
    padding-top: 8rem;
    padding-bottom: 4rem;
    text-align: justify;
}
.services-column .services-box {
 border-left: .2rem solid var(--main-color);
}
.services-box .services-content {
    position: relative;
    padding-left: 2rem;
}
.services-box .services-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1.1rem;
    width: 2rem;
    height: 2rem;
    background: var(--main-color);
    border-radius: 50%;
}

.services-content .content{
    position: relative;
    padding: 1.5rem;
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    margin-bottom: 2rem;
}
.services-content .content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: 1.1s;
}
.services-content .content:hover::before {
    width: 100%;
}
.services-content .content .year{
    font-size: 2rem;
    color: var(--main-color);
    padding-bottom: .5rem;
    text-align: right;
}
.services-content .content .year i{
    padding-right: .5rem;
}
.services-content .content h3{
    font-size: 2.7rem;
    padding-bottom: 1rem;
    text-align: center;
}
.services-content .content p{
    font-size: 2rem;
    padding-top: .5rem;
    text-align: justify;
}
#services2 {
    background-color: var(--second-bg-color);
}
/**/
.ctr {
    min-height: 40vh;
    padding: 5rem;
    background: var(--bg-color);
}
.ctr .ctr-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
}
.ctr-row .ctr-column {
    flex: 1 1 40rem;
}
.ctr-column .title{
    font-size: 2.7rem;
    margin:4rem 0 4rem 0;
}
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
}
.footer-text {
    font-size: 1.6rem;
}
.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border: .2rem solid var(--main-color);
    border-radius: .6rem;
    z-index: 1;
    overflow: hidden;
}
.footer-iconTop a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--second-bg-color);
    z-index: -1;
    transition: 1.1s;
}
.footer-iconTop a:hover:before {
    width: 100%;
}
.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--bg-color);
    transition: 1.1s;
}
.footer-iconTop a:hover i {
    color: var(--main-color);
}
/**/
@media (max-width: 1200px) {
    html {
       font-size: 40%; 
    }
    .home{display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    section {
        min-height: 50vh;
    }
}
@media (max-width: 1000px) {
   
    .header {
        background: var(--bg-color);
    }
    #menu-icon {
        display: block;
        font-size: 8rem;
    }
    .logo-img {
        width: 14%;
    }
    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background: var(--main-color);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        z-index: 1;
        transition: 1.1s ease;
        transition-delay: .25s;
    }
    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }
    .navbar .active-nav {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        z-index: -1;
        transition: 1.1s ease;
        transition-delay: .25s;
    }
    .navbar.active .active-nav {
        left: 0;
        transition-delay: .25s;
    }
    .navbar a {
        display: block;
        font-size: 2.7rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        
        transition: 1.1s ease;
        transition-delay: .25s;
    }
    .navbar.active a {
        transform: translateX(0);
        transition-delay: .25s;
    }
    .home-imgHover {
        pointer-events: none;
        background: var(--bg-color);
        opacity: .6;
    }
}
@media (max-width: 520px) {
    html {
        font-size: 50%;
        flex-direction: column;
    }
    .home-content h1 {
        display: flex;
        flex-direction: column;
    }
    .home-sci{
        width: 160px;
    }
    .home-sci a {
        width: 38px;
        height: 38px;
    } 
    .heading {
        font-size: 3.5rem;
    }
   
}
@media (max-width: 462px) {
    .home-content h1 {
        font-size: 5.2rem;
    }
   
    .contact form .input-box .input-field {
        width: 100%;
    }
    .footer {
        flex-direction: column-reverse;
        text-align: center;
    }
    .footer p{
        margin-top: 2rem;
    }
}
@media (max-width: 371px){
    .home {
        justify-content: center;
    }
    .home-content {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    .home-content h1 {
        font-size: 5rem;
    }
    .heading{
        font-size: 3rem;
        text-align: center;
    }
    #contact-title{
        font-size: 5rem;
    }
    .heading {
        font-size: 2.5rem;
    }
    .ctr-column .title{
        font-size: 2.5rem;
        margin: 1rem;
    }

}
/*KEYFRAMES ANIMATION */
@keyframes aboutSpinner {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}