body {
    max-width: 100%;
    overflow-x: hidden;
    /*border: 1px solid red !important;*/
}
* {
    box-sizing: border-box;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #e90000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    position: absolute;
    width: 60px;
    z-index: 1;
}

.loader-circle {
    border: 5px solid #e90000;
    border-top: 5px solid #c6cdd2; 
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}






#main-content, #footer {
    transition: transform 0.1s ease-in-out;
}


.navbar {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
}

.nav-link {
    color: white;
    margin-right: 20px;
}

.nav-link:hover {
    color: #cccccc;
}

.nav-link:focus {
    color: #cccccc;
}

.nav-link:active {
    color: #cccccc;
}

.logo {
    width: auto;
    height: 50px;
    margin: 15px;
}

.gradient-navbar {
    background-image: linear-gradient(to right, #f42222, #800000);
}

.navbar .navbar-nav .nav-link.active {
    color: #5a0000; 
}

@media (max-width: 991px) {
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
    .navbar-collapse {
        text-align: right;
    }

    .navbar-nav {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 760px) {
    .logo{
        width: 93px;
        height: 30px;
    }
    .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100; 
    }
}




.carousel-caption h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.5;
}

.carousel-caption h5 span.bg-rectangle {
    display: inline;
    background-color: #d42f2f;
    padding: 3px 8px;
}



.title-background {
    background-color: rgba(255, 0, 0, 0.5); 
    padding: 5px 10px;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); 
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
    animation-delay: 1s;
}

.carousel-caption h5 {
    font-size: 2rem; 
}




.carousel {
    position: relative;
}

.carousel-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background-color: rgb(255, 39, 39);
    width: 0;
    transition: none;
}

.btn-custom {
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    color: #ffffff;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-custom2 {
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    color: #ffffff;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-custom:hover {
    transform: scale(1.1);
    background-image: linear-gradient(to right, #c41717, #eb1f1f);
    color: #e6e6e6;
}

.btn-custom2:hover {
    transform: scale(1.1);
    background-image: linear-gradient(to right, #c41717, #eb1f1f);
    color: #e6e6e6;
}

.carousel-caption {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}



@media (max-width: 991px) {
    .carousel-item img {
        height: 70vh; 
        object-fit: cover; 
    }
    
    .carousel-caption p,
    .carousel-caption h5 {
        font-size: 22px; 
    }

    .btn-custom, .btn-custom2 {
        font-size: 14px;
        padding: 8px 16px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .carousel-progress {
        display: none !important;
    }
    .progress-bar{
        
        display: none !important;
    }

    .carousel-item{
        margin-top: 60px;
    }

    .carousel-item img {
        margin-top: 20px;
        height: 50vh; 
        object-fit: cover; 
    }

    .carousel-caption p,
    .carousel-caption h5 {
        font-size: 20px;
    }

    .btn-custom, .btn-custom2 {
        font-size: 12px;
        padding: 6px 12px;
        margin-left: auto;
        margin-right: auto;
    }

    .carousel-caption {
        align-items: center;
    }
}







.tit-env{
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;  
    color: #000000; 
}

.counter2 {
    background-image: linear-gradient(to right, #f0f0f0, #e4e4e4);
    color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    transition: background-image 0.3s ease;  
}

.counter2:hover {
    background-image: linear-gradient(to right, #c41717, #eb1f1f);
    cursor: pointer;
}


.counter2:hover h2,
.counter2:hover p {
    color: #ffffff;  
}



.env-p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;  
    color: #000000; 
}

.flags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.flags img {
    width: 40px; 
    height: auto;
    margin: 0 10px;
    border: 2px solid white;  
    border-radius: 20px;      
}











.services-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.services-section {
    background-color: #f8f9fa;
}

.image1{
    width: 300px;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: all 0.8s ease;
    margin-bottom: 1.5rem;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
}


.card-title {
    min-height: 80px;
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    width: 100%; 
    margin: 0;
    padding: 0;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.card-text .fas.fa-arrow-right {
    color: #800000;
    margin-right: 0.5rem;
}

.card-text1 .fas.fa-arrow-right {
    color: #800000;
    margin-right: 0.5rem;
}

.card-text {
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.card-text1 {
    margin-top: 18px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.card:hover {
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.card:hover .list-group-item {
    background-color: #800000;
    color: white;
}

.card:hover .card-content {
    color: #ffffff;
}

.card:hover .service-icon {
    color: white;
}

.card-content .boton {
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    border-radius: 50px;
    color: white;
    border: none;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;  
    margin-top: 40px
}


.card-content .btn {
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    border-radius: 50px;
    color: white;
    border: none;
    padding: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;  
    margin-top: 40px
}

.row {
    display: flex;
    align-items: stretch; 
}


    @media (min-width: 768px) and (max-width: 1024px) {
        .card-title {
            font-size: 1rem;
        }
    
        
        .card-text {
            font-weight: 300;
        }
        .card-text1 {
            font-weight: 300;
        }
    }

@media (max-width: 768px) {
    
    .card-body .service-icon, 
    .card-body .card-title, 
    .card-body .card-title1,
    .card-body .card-text,
    .card-body .card-text1 {
        display: none;
    }

    .image1{
        display: none;
    }

    .boton{
        display: none;
    }

    .text-serv-mobile{
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 1rem;
        color: #000080; 
    }

    .mobile-card-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1rem;
    }

    .mobile-card-content .card-title-mobile, .mobile-card-content .card-title1 {
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        font-size: 1.5rem;
        color: #800000;
        margin-bottom: 1rem;
    }

    .mobile-card-content .card-image {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .mobile-card-content .btn {
        background-image: linear-gradient(to right, #eb1f1f, #c41717);
        border-radius: 50px;
        color: white;
        border: none;
        padding: 1rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 800;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

    .mobile-card-content .btn:hover {
        background-color: #eb1f1f;
        color: white;
    }

    .card:hover {
        background-image: none;
        transform: none;
    }


    .recuadro {
        margin-bottom: 2rem;
    }
}












    
.services-title, .about-block h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.about-block {
    background-image: linear-gradient(to right, #dd0b0b, #800000);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 4rem; 
    margin-bottom: 2rem;
    position: relative;
    display: flex;
}

.about-block h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-us-img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
}

.content-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
    z-index: 1;
    width: 50%;
}

.img-right {
    right: 0;
}

.img-left {
    left: 0;
}

@media (min-width: 768px) {
    #about-us-desktop {
        display: block;
    }

    #about-us-mobile {
        display: none;
    }
}




@media (max-width: 767px) {
    #about-us-desktop {
        display: none;
    }

    #about-us-mobile {
        display: block;
        max-width: 100%;
        overflow-x: hidden; 
    }


    #about-us-mobile .services-title, 
    #about-us-mobile .about-block h3 {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
    }

    .about-block h3{
        font-size: 20px;
    }

    #about-us-mobile .about-block {
        background-image: linear-gradient(to right, #dd0b0b, #800000);
        color: white;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        padding: 2rem; 
        margin-bottom: 0; 
        position: relative;
        display: flex;
        flex-direction: column;
        box-sizing: border-box; 
    }

    #about-us-mobile .about-block p {
        font-size: 1rem; 
    }

    #about-us-mobile .about-us-container {
        width: 100%; 
    }

    #about-us-mobile .about-us-img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: fill;
        position: relative;
        margin-top: 0; 
    }

    #about-us-mobile .content-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
        z-index: 1;
        width: 100%;
        box-sizing: border-box; 
    }
}





.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0bdd4a;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s 2.5;
    cursor: pointer;
    z-index: 9999; 
}

.whatsapp-button img {
    width: 30px; 
    height: 30px; 
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}





.container1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%; 
}

.container1 .row .col-md-3 .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: #f8f9fa;
    color: #333;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s linear;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    height: 100%;
}

.container1 .row .col-md-3 .card:hover {
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.container1 .row .col-md-3 .card .fas {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.container1 .row .col-md-3 .card .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.container1 .row .col-md-3 .card .card-body .card-text {
    font-size: 1rem;
    font-weight: 500;
}


@media screen and (min-width: 768px) {
    .d-md-none {
        display: none;
    }
    .d-none {
        display: flex;
    }
}

@media screen and (max-width: 767px) {
    .container1{
        display: none;
    }
    .d-none {
        display: none;
    }
    .d-md-none {
        display: block;
    }
    .container1 .row .col-md-3 {
        margin-bottom: 20px; 
    }
    .container1 .row .col-md-3:first-child {
        margin-top: 20px; 
    }
    .container1 .row .col-md-3 .card .fas {
        margin-bottom: 5px;
    }
}










.counter {
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
}

.counter .row .col-6 .col-md-3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.counter .row .col-6 .col-md-3 .fas {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.counter .row .col-6 .col-md-3 h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.counter .row .col-6 .col-md-3 p {
    font-size: 1rem;
    font-weight: 500;
}

.count{
    font-weight: bolder;
}





















    #cotiza-envio {
        background-image: linear-gradient(to right, #dd0b0b, #800000);
        display: flex;
        justify-content: center;
        margin-top: 60px;
    }
    

.cotiza-envio-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.cotiza-envio-text {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 50px;
    margin-left: 100px;
}

#cotiza-envio h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    margin: 0;
}

.ahora-container {
    background-color: #ffffff;
    padding: 5px 10px;
    margin-top: 10px;
}

.ahora-container span {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 3rem;
    color: #dd0b0b;
}

.contactate-btn {
    display: inline-block; 
    background-color: #ffffff;
    color: #dd0b0b;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 25px;
    padding: 10px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none; 
}


.contactate-btn:hover {
    background-image: linear-gradient(to right, #5e0b0b, #de3131);
    color: #ffffff; 
}

.cotiza-envio-images {
    display: flex;
    flex-direction: row; 
    width: 500px;
}

.cotiza-pc{
    display: none;
}

.silo {
    width: 500px;       
}

.van-image {
    animation-name: slide-in-van;
    width: 350px;
    height: 250px;
    margin-right: 10px; 
    margin-left: 20px;
    margin-top: 40px;
}

.repartidor-image {
    margin-top: 100px;
    animation-name: slide-in-repartidor;
    animation-delay: 0.5s;
    width: 370px;
    height: 350px;
}


@keyframes slide-in-van {
    0% {
        opacity: 0;
        transform: translateX(100%); 
    }
    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

@keyframes slide-in-repartidor {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .repartidor-image {
        display: none;
    }
}


@media only screen and (max-width: 768px) { 

    

    #cotiza-envio {
        flex-direction: column; 
        align-items: center; 
        padding: 20px 0; 
    }

    .cotiza-envio-container {
        flex-direction: column;
        align-items: center;
        width: 90%; 
    }

    .cotiza-envio-text {
        align-items: center; 
        margin-left: 0; 
        margin-bottom: 30px; 
    }

    .cotiza-pc{
        display: block;
        margin: auto;
        width: 100%;
        margin-top: 20px;
    }

    .silo {
        display: none;
    }

    .cotiza-envio-images {
        display: none;
    }
}

@media only screen and (max-width: 480px) { 
    #cotiza-envio h3,
    .ahora-container span {
        font-size: 2rem; 
    }

    .contactate-btn {
        font-size: 1rem; 
        padding: 10px; 
    }

    .van-image,
    .repartidor-image {
        margin-bottom: 20px; 
        animation-duration: 0s; 
    }
}



#nos-eligen-mobile {
    display: none;
}

#nos-eligen {
    display: block;
    margin-top: 50px;
    text-align: center;
}

.clientes-title {
    margin-top: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.5rem; 
    color: #800000; 
    margin-bottom: 1.5rem; 
}

.logo-container {
    background-color: #cccccc; 
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100px; 
}

.logo-slider {
    display: flex;
    position: absolute;
    animation: slide 20s linear infinite; 
}

.logo-slider img {
    max-height: 80px; 
    margin: 0 10px; 
}

@keyframes slide {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}






    footer {
        background-image: linear-gradient(to right, #f42222, #800000);
        padding: 30px 0;
        color: #ffffff;
        font-family: 'Poppins', sans-serif;
        font-size: 0.9rem;
        margin-top: 30px;
    }
    
    .footer-wrapper {
        display: flex;
        justify-content: space-between;
        width: 80%;
        margin: 0 auto;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
    }
    
    .footer-links a {
        color: #ffffff;
        text-decoration: none;
        margin-bottom: 10px;
    }
    
    .footer-links a:hover {
        text-decoration: underline;
    }
    
    .footer-locations {
        display: flex;
        justify-content: space-between;
    }
    
    .location {
        display: flex;
        flex-direction: column;
    }
    
    .location1, .location2, .location3 {
        width: 30%;
    }

    .location3{
        width: 120px;
    }
    
    .location p {
        margin: 0;
        margin-bottom: 10px;
    }
    
    .icon-location,
    .icon-phone {
        display: inline-block;
        margin-right: 5px;
    }
    
    .a-link,
    .a-link:link,
    .a-link:visited{
        color: #ffffff;
        text-decoration: none;
    }
    
    .footer-links a:hover,
.address-link:hover {
    color: #cccccc; 
    text-decoration: none;
}

.address-link,
.address-link:link,
.address-link:visited {
    color: #ffffff !important; 
    text-decoration: none !important; 
}

.address-link:hover {
    color: #cccccc !important; 
    text-decoration: none !important; 
}

.footer-bottom{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px
}


.redes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icon {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.social-icon:hover {
    color: #cccccc;
}


.footer-locations {
    display: flex;
    justify-content: space-between;
    width: 60%;
}

.location1, .location2, .location3 {
    width: 33%;
}

.icon-email {
    display: inline-block;
    margin-right: 5px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .footer-locations {
        display: flex;
    }
}

@media (max-width: 767px) {
    .footer{
        justify-content: center;
        align-items: center;
    }
    .footer-wrapper {
        flex-direction: column;
        align-items: center;
        font-size: 10px;
    }

    .footer-links {
        display: none;
    }

    .footer-locations {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        justify-content: center;
        align-items: center;
    }

    .location1 {
        width: 100%;
        margin-bottom: 5px;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .location2 {
        width: 100%;
        margin-bottom: 5px;
        justify-content: center;
        text-align: center;
    }

    .location3 {
        width: 100%;
        margin-bottom: 5px;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .footer-bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 10px;
        order: 4;
    }
    
    .redes {
        display: flex;
        flex-direction: row;
        justify-content: space-between; 
        align-items: center;
        width: 50%; 
        margin: 0 auto; 
        order: 1;
    }
    
    .location1 {
        order: 2;
    }

    .location2 {
        order: 3;
    }

    .location3 {
        order: 4;
    }

    .social-icon {
        color: #ffffff;
        text-decoration: none;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .social-icon:hover {
        color: #cccccc;
    }
}










.flex-center{
    margin-top: -15px;
    height: 600px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#fondo{
    width: 100%; 
    height: 100%; 
    background-image: url(enruta2.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;  
    background-position: center;
}

.counter2 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.counter2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/imagen-1.webp');
    background-size: 100% auto;  
    background-position: center;
    opacity: 0.5;
    z-index: -1;
}

.flags img {
    width: 40px;
    height: auto;
    margin: 0 10px; 
}

.counter:hover {
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    cursor: pointer;
}

.boton3 {
    text-decoration: none;
    margin-top: 20px;
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    border-radius: 15px;
    color: white;
    border: none;
    padding: 0.3rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.boton3 a:hover {  
    transform: scale(1.1);
}

@media only screen and (max-width: 768px) {
    #fondo {
        background-size: auto 100%;
    }
    .flex-center {
        height: 800px;
    }
}












.galeria-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

    .swiper {
        margin-top: 10px;
        width: 100%;
        height: 700px;
    }

    .swiper p{
        font-weight: 500;
        font-size: 1rem; 
        color: #000080; 
        margin-bottom: 1.5rem; 
    }


    .swiper-pagination {
        position: absolute;
        margin-top: 30px;
    }

    .swiper-slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .swiper-slide img {
        width: 80%;
        height: auto;
        border-radius: 20px;
    }

    .swiper-slide h3 {
        font-weight: 800;
        margin-top: 20px;
        color: #1717c4;
        font-size: 24px;
        font-weight: bold;
    }

    .swiper-slide a {
        margin-top: 15px;
        margin-bottom: 15px;
        display: inline-block;
        background-image: linear-gradient(to right, #eb1f1f, #c41717);
        border-radius: 50px;
        color: white;
        border: none;
        padding: 1rem;
        font-weight: 800;
        font-size: 20px;
        margin-bottom: 20px;
        text-transform: uppercase;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .swiper-slide a:hover {
        background-image: linear-gradient(to right, #eb1f1f, #e72323);
    }
    
    @media (min-width: 1920px) {
        .swiper-slide img {
            width: 62%;
            height: auto;
            border-radius: 20px;
            margin-top: 20px;
            margin-bottom: 20px;
        }
    }
    @media (max-width: 767px) {
        .swiper {
            height: 250px; 
        }
    }




    
.flex-center3{
    height: 600px; 
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 90px;
}

#fondo3{
    width: 100%; 
    height: 135%; 
    background-image: url(enruta3.webp);
    background-repeat: no-repeat;
    background-position: center;
}

.counter2 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.counter2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/importadora6.webp');
    background-size: 100% auto;  
    background-position: center;
    opacity: 0.5;
    z-index: -1;
}



@media only screen and (max-width: 768px) {
    #fondo {
        background-size: auto 100%;
    }
    .flex-center {
        height: 800px;
    }
}




.contacto-section {
    margin-top: 55px;
    text-align: center;
    padding: 50px 0;
    font-family: 'Poppins', sans-serif;
}

.contact-title {
    margin-top: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}


form {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #eeeeee4d;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0.5, 0.5);  
}

form label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #000000;
}

.required {
    color: red;
    margin-left: 2px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

form textarea {
    resize: none;
    height: 150px;
    margin-top: 20px;
}


form button {
    color: #ffffff; 
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

form button:hover {
    background-image: linear-gradient(to right, #eb1f1f, #e91919);
}


.enviado {
    margin-top: 200px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 1.5rem;
}

.btn-enviado{
    background-image: linear-gradient(to right, #eb1f1f, #c41717);
color: #ffffff;
font-weight: bold;
border-radius: 50px;
padding: 10px 20px;
font-size: 16px;
display: inline-block;
margin-top: 10px;
transition: transform 0.3s ease, background 0.3s ease;
text-decoration: none;
font-family: 'Montserrat', sans-serif;
margin-bottom: 100px;
}


@media (max-width: 767px) {
    .contact-title {
        margin-top: 50px;
        font-size: 1.5rem;  
    }
    form {
        margin-left: 20px;  
        margin-right: 20px;  
    }
    .enviado{
        font-size: 20px;
    }
}