body {
    line-height: 1.6;
    margin: 0;
    padding: 0;
}


@keyframes palpito {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
.servicios-descripcion {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    margin-top: 100px;
    font-size: 1.2rem;
    color: #002246;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 5px solid #b6b000;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: palpito 2s infinite ease-in-out;
}

.linea-metalmecanica, 
.engineering-projects-section, 
.production-series-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 50px 20px;
    margin-top: 20px;
    width: 100%;
}

.engineering-projects-section {
    background-image: url('/Imagenes/rb_17580.png'); 
    background-color: #0d3c66;
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.production-series-section {
    margin-bottom: 100px; 
}

.linea-metalmecanica h2,
.engineering-projects-section h2,
.production-series-section h2 {
    text-align: center;
    font-size: 40px;
    color: #BCA500;
    margin-bottom: 15px;
    font-weight: bold;
}

.linea-metalmecanica h2::after,
.engineering-projects-section h2::after,
.production-series-section h2::after {
    content: "";
    display: block;
    width: 400px;
    height: 4px;
    background-color: #BCA500;
    margin: 10px auto 0;
    border-radius: 2px;
}

.engineering-projects-section p{
    text-align: justify;
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.linea-metalmecanica p,
.production-series-section p {
    text-align: left;
    font-size: 20px;
    color: #002246;
    margin-bottom: 20px;
}

.linea-metalmecanica .linea-metalmecanica-content, 
.engineering-projects-content, 
.production-series-content {
    flex: 1;
    max-width: 650px;
    text-align: left;
}

.linea-metalmecanica .linea-metalmecanica-image,
.engineering-projects-image,
.production-series-image {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.linea-metalmecanica img,
.engineering-projects-image img,
.production-series-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.linea-metalmecanica img:hover,
.engineering-projects-image img:hover,
.production-series-image img:hover {
    transform: scale(1.05); 
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3); 
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px); 
    }
    60% {
        transform: translateY(-4px); 
    }
}

.btn-ver-mas-mec {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 50px;
    background-color: #002246;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    animation: bounce 1.5s infinite ease-in-out; 

}

.btn-ver-mas-mec-ingieenering{
    display: inline-block;
    margin-top: 20px;
    padding: 8px 50px;
    background-color: #BCA500;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    animation: bounce 1.5s infinite ease-in-out; 
}

.btn-ver-mas-mec-ingieenering:hover {
    background: linear-gradient(90deg, #BCA500, #ffe30d);
    transform: scale(1.05);
}

.btn-ver-mas-mec:hover {
    background: linear-gradient(90deg, #002C59, #0061c2);
    transform: scale(1.05);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.slide-in {
    animation: slideInLeft 0.8s ease forwards;
    opacity: 0;
}


@media (max-width: 768px) {
  .linea-metalmecanica,
  .engineering-projects-section,
  .production-series-section {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .linea-metalmecanica h2,
  .engineering-projects-section h2,
  .production-series-section h2 {
    font-size: 28px;
  }

  .linea-metalmecanica h2::after,
  .engineering-projects-section h2::after,
  .production-series-section h2::after {
    width: 150px;
  }

  .linea-metalmecanica p,
  .engineering-projects-section p,
  .production-series-section p {
    font-size: 16px;
    text-align: justify;
  }

  .linea-metalmecanica .linea-metalmecanica-content,
  .engineering-projects-content,
  .production-series-content,
  .linea-metalmecanica .linea-metalmecanica-image,
  .engineering-projects-image,
  .production-series-image {
    max-width: 100%;
  }

  .linea-metalmecanica img,
  .engineering-projects-image img,
  .production-series-image img {
    width: 100%;
    max-width: 100%;
  }

  .servicios-descripcion {
    margin-top: 50px;
    font-size: 1rem;
    padding: 15px;
    border-left: 4px solid #b6b000;
  }

  .btn-ver-mas-mec,
  .btn-ver-mas-mec-ingieenering {
    padding: 10px 30px;
    font-size: 15px;
    width: fit-content;
    margin: 0 auto;
    display: block;
  }
}








