
/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #2B3035;
}

/* Navbar */
nav {
    background-color: #2B3035;
    padding: 10px;
    box-shadow: 0px 0px 15px 1px rgba(0, 0, 0, 0.5);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ddd;
}

.d-block{
    width: 100%;
    height: 600px;
}

/* Servicios con tarjetas */
.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 30%;
    margin: 5px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.card img {
    width: 100%;
    height: 150px;
    border-radius: 10px 10px 0 0;
}

.card h3 {
    margin: 15px 0;
}

.card:hover {
    transform: translateY(-10px);
}
.icon{
    text-decoration: none;
    color: white;
}
.icon:hover {
    transform: translateY(-5px);
}

/* Contacto */
#contact {
    background-color: #2B3035;
    color: white;
    padding: 20px;
    text-align: center;
}
iframe{
    width: 100%;
    height: 300px;
    border: 0;
    margin-bottom: -10px;
}
footer {
    text-align: center;
    padding: 10px;
    background-color: #2B3035;
    color: white;
}

/* Secciones generales */
section {
    padding: 40px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
}

.img{
    width: 40px;
    height:40px;
}
.img2{
    width: 25px;
    height:25px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 100px;
    margin-left: 100px;
    
}
.div{
    padding: 40px;
}
.link{
    text-decoration: none;
    color: black;
    background-color: #ffcc00;
    padding: 10px;
    border-radius: 10px;
}
/* Media Queries para Responsividad */

/* Ajuste del navbar para pantallas pequeñas */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
    .img2{
        width: 25px;
        height:25px;
        margin-top: 15px;
        margin-bottom: 15px;
        margin-right: 50px;
        margin-left: 50px;
        
    }
}

/* Ajuste del tamaño de las tarjetas para pantallas pequeñas */
@media (max-width: 768px) {
    .card {
        width: 100%;
        margin: 10px 0;
    }
    .carousel-slide img {
        width: 100%;
        height: 240px;
    }
    
    .services-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Ajuste del carrusel para pantallas pequeñas */
@media (max-width: 768px) {
    .d-block{
        width: 100%;
        height: 240px;
    }
    .carousel-caption {
        
        bottom: 10px;
        font-size: 0.9em;
    }
}

/* Ajuste de las secciones para pantallas más pequeñas */
@media (max-width: 480px) {
    section {
        padding: 20px;
    }

    h2 {
        font-size: 1.5em;
    }
}




/* Estilos del formulario de contacto */
#contact {

    padding: 50px;
    text-align: center;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;

    border-radius: 10px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.2);
}

#contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

#contact-form button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

#contact-form button:hover {
    background-color: #555;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    #contact-form {
        padding: 15px;
    }

    #contact-form button {
        width: 100%;
    }
}
     /* Navbar */
     .navbar-nav .nav-link {
        transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        color: #ffcc00;
    }

    /* Carrusel */
    .carousel-item {
        transition: transform 0.8s ease, opacity 0.8s ease;
    }

    .carousel-caption h5 {
        animation: fadeInDown 1s;
    }

    .carousel-caption p {
        animation: fadeInUp 1.5s;
    }


    /* Animaciones de texto */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


   	/*botón up*/
		.boton-subir{
            display: none;
            background: #ffcc00;
      
            border-radius: 5px;
            position: fixed;
            right: 50px;
            bottom:5px;
            z-index: 999999999;
            }
            .boton-subir:hover{
              box-shadow:   0px 2px 10px 0px #ffcc00;
            }
            .boton-subir i{
              color: black;
              font-size: 1.5em;
              padding: 10px 10px 10px 8px;
              -ms-transform: rotate(-45deg); /* IE 9 */
              -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
              transform: rotate(-45deg);
            }


            .boton-whats{
             
                background: #15ff00;
          
                border-radius: 5px;
                position: fixed;
                right: 5px;
                bottom:5px;
                z-index: 999999999;
                }

                .boton-whats:hover{
                    box-shadow:   0px 2px 10px 0px #10b101;
                  }
                  .boton-whats i{
                    color: black;
                    font-size: 1.5em;
                    padding: 10px 10px 10px 10px;
             
                  }

          