.menu-bar {
    background-color: #4867ff;
    color: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #4867ff;
}




.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 80px; /* Tamaño del logo */
    height: 80px; /* Tamaño del logo */
    border-radius: 60%; /* Redondear la imagen del logo */
    margin-right: 50px;
}

.company-name {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #171111; /* Color del enlace al pasar el ratón */
}









.banner {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-image.active {
    opacity: 1;
}

.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.banner-controls button {
    background-color: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: white;
    font-size: 20px;
}

.banner-controls button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}




/* Contenedor principal */
.container {
    display: flex;
    flex-direction: column; /* Cambiar a columna para centrar contenido */
    align-items: center; /* Centrar horizontalmente */
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 900px;
    width: 100%;
    margin: auto; /* Centrar el contenedor en la página */
}

/* Logo */
.logo {
    width: 60px; /* Tamaño de la imagen ajustado */
    height: 60px; /* Tamaño de la imagen ajustado */
    border-radius: 50%; /* Redondear la imagen */
}

/* Tarjetas */
.card {
    width: 300px;
    text-align: center;
}

.card img {
    width: 60px; /* Tamaño de la imagen ajustado */
    height: 60px; /* Tamaño de la imagen ajustado */
    object-fit: cover;
    border-radius: 50%; /* Redondear la imagen */
}

.card h2 {
    font-size: 20px;
    margin-top: 20px;
}

.card p {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 10px;
}

.card hr {
    margin: 20px 0;
    border: 1px solid #eee;
}





/* Servicios */
.servicios-contenedor {
    display: flex;
    justify-content: center; /* Centrar los elementos dentro del contenedor */
    gap: 20px;
    flex-wrap: wrap; /* Asegurarse de que los elementos se ajusten en múltiples filas si es necesario */
}

.servicio {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease;
}

.servicio img {
    width: 200px; /* Tamaño de la imagen ajustado */
    height: 200px; /* Tamaño de la imagen ajustado */
    border-radius: 50%; /* Redondear la imagen */
    margin-bottom: 15px;
}

.servicio h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.servicio p {
    font-size: 0.9em;
    color: #555;
}

.servicio:hover {
    transform: translateY(-5px);
}






.container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    padding: 20px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 30%;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.card h3 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.card p {
    margin-top: 10px;
    font-size: 16px;
    color: #666;
}


.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-top: center;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.contact-form textarea {
    height: 100px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}



#map {
    height: 400px; /* Ajusta la altura según sea necesario */
    width: 100%;
  }




  .container {
    text-align: center; /* Center text inside the container */
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

/* Style for the image */
.responsive-image {
    width: 1000px; /* Set the width of the image */
    height: 600px; /* Set the height of the image */
    object-fit: cover; /* Ensure the image covers the area without distortion */
}



#carrete {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.item {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: white; 
  background-color: #f00;
}
.item:nth-child(even) {
  background-color: #0f0;
}



.container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    margin: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  


  .testimonial img:not(.star-rating) {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* solo para las imágenes de los testimonios */
    margin-bottom: 10px;
  }
  
  .testimonial .star-rating {
    border-radius: 0; /* para las estrellas */
    width: 120px; /* ajustado para que sean iguales de tamaño */
    height: 28px; /* ajustado para que sean iguales de tamaño */
    margin: 0 2px; /* ajustado para que estén centradas */
  }
  
  .testimonial p {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .rating {
    display: flex;
    justify-content: center; /* para centrar las estrellas */
    margin-bottom: 5px;
  }
  
  .rating i {
    color: gold;
    font-size: 18px;
    margin: 0 2px;
  }
  








.comment-container {
    display: flex;
    align-items: center;
}

.user-images {
    width: 100px;
    height: 100px;
    margin-right: 20px;
    position: relative;
}

.user-images img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.user-images img.active {
    opacity: 1;
}

.comment-content {
    max-width: 400px;
}

.stars {
    font-size: 24px;
    color: gold;
}

