html{
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #5e6f91;
}

.nav-general{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #5e6f91;
    padding: 6px 25px;
    color: white;
    border: 3px solid #000;
}

header {
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 70px 20px;
    color: rgb(0, 0, 0);
    border: 3px solid #000;
    text-align: center;
    background-image: url(src/fondo-header.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.titulo-bienvenido{
    font-size: 80px; 
    margin-left: 280px; 
    margin-right: 280px; 
    color: #ffffff;
}

.img-inicio{
    width: 50%;
    border-radius: 30px;
    box-shadow: 0px 0px 30px #000;
}

.boton{
    border: 2px solid #fff;
    padding: 10px;
    background-color: #5e6f91;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-size: 20px;
}

.boton:hover{
    transition: all .3s ease;
    transform: scale(1);
    background-color: #4379e5;
}

.logo {
    display: flex;
    align-items: center;
}
.logo img {
    width: 35%;
    height: 60px;
    margin-right: 15px;
    border-radius: 70px;
    text-align: center;
}
.titulo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}
.navbar {
    display: flex;
    gap: 20px;
}
.nav-link {
    text-decoration: none;
    color: white;
    font-size: 25px;
    padding: 2px;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #f1c40f;
}
.container {
    width: 65%;
    margin: 10px auto;
    padding: 10px 60px;
    background: white;
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.1);
    text-align: center;
}
.container h1 {
    color: #2c3e50;
}
.container p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}
.contact {
    margin-top: 30px;
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
}
.footer {
    text-align: center;
    padding: 20px;
    background-color: #5b7a99;
    color: white;
    margin-top: 50px;
    border: 3px solid #000;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 95%;
    margin: auto;
}

.service {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.508);
    transition: transform 0.3s ease-in-out;
}

.service:hover {
    transform: translateY(-5px);
}

.service-info{
    width: 50%;
}

.service-info h2 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 8px;
}

.service-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.footer-row{
    display: flex;
    flex-wrap: wrap;
}

.footer-links{
    width: 25%;
    padding: 0 15px;
}

.footer-links h4{
    font-size: 25px;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 500px;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links ul li a{
    font-size: 15px;
    text-decoration: none;
    color: #dfd6d6;
    display: block;
    margin-bottom: 15px;
    transition: all .3s ease;
}

.footer-links ul li a:hover{
    color: #ffffff;
    padding-left: 6px;
}

.social-link a{
    display: inline-block;
    min-height: 40px;
    width: 40px;
    background-color: #2d6192;
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all .5s ease;
}

.social-link a:hover{
    background-color: #374858;
}

@media (max-width: 991px) {
    header{
        height: 500px;
    }
    .boton1{
        margin-top: 130px;
    }
    .titulo-bienvenido {
        font-size: 60px;
        margin: 10px;
    }
    .container {
        width: 90%;
        padding: 10px 20px;
    }
    .services-container {
        grid-template-columns: 1fr;
    }
    .footer-links {
        width: 100%;
        text-align: center;
    }
    .nav-general {
        flex-direction: column;
        text-align: center;
    }
    .service{
        padding: 50px 30px; /* Ajusta el padding del formulario */
        width: 80%; /* El formulario ocupa el 100% del ancho */
        flex-direction: column; /* Organiza el contenido en columna */
        justify-content: center; /* Centra el contenido */
        margin-top: 10px;
    }
    .img-inicio{
        width: 90%;
    }
    .nav-link{
        font-size: 16px;
    }
}

.contacto {
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgb(0, 0, 0);
    transition: transform 0.3s ease-in-out;
    width: 75%;
}

.contacto-titulo{
    text-align: center;
    font-size: 25px;
}

.form-cont{
    display: flex; /* Flexbox para organizar los elementos */
    flex-direction: column; /* Coloca los elementos en una columna */
    text-align: left; /* Alinea el texto a la izquierda */
    width: 80%;
}

.form-cont label{
    color: #2e57a9; /* Color blanco */
    font-size: 20px; /* Tamaño del texto */
    font-weight: 400; /* Grosor del texto */
    margin-bottom: 5px; /* Margen inferior */
}

/* Estilos para los inputs y textarea */
.form-cont input, textarea{
    padding: 10px 15px; /* Espaciado interno */
    border-radius: 25px; /* Bordes redondeados */
    margin-bottom: 10px; /* Margen inferior */
    background-color: #5e6b86; /* Color de fondo */
    border: 2px solid #000000; /* Borde blanco */
    color: #ffffff; /* Color del texto */
    outline:none; /* Elimina el contorno */
}
.submit{
    transition: all .3s ease;
}
.submit:hover{
    background-color: #6f8bc3;
    cursor:pointer;
}

/* Estilos para los placeholders de inputs y textarea */
.form-cont input::placeholder, textarea::placeholder{
    color: #fff; /* Color del placeholder */
}

#trucazo{
    opacity: 0;
}

@media (max-width:991px){
    .contacto{
        width: 90%;
    }
    .form-cont{
        width: 90%;
    }
}

li{
    list-style: none;
}

ul{
    padding-left: 0;
}

.lis{
    text-align: justify;
}

p{
    text-align: justify;
}

img{
    width: 100%;

}

.exp{
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.272);
    transition: transform 0.3s ease-in-out;
    width: 90%;
}

.img-servicios{
    width: 40%;
    margin-right: 10px;
}

h2{
    font-size: 40px;
    color: #2d5983;
}

.img-exp img{
    width: 14%;
}

@media(max-width:991px){
    .img-servicios{
        width: 100%;
    }
    .service-info{
        width: 100%;
    }
    .exp{
        width: 90%;
    }
    .img-exp img{
        width: 30%;
        margin-top: 5px;
    }
}

/* Estilos para el ícono de WhatsApp que se muestra en la esquina inferior derecha */
#whatsapp {
    position: fixed; /* Fija el ícono en su posición */
    bottom: 20px; /* Distancia desde la parte inferior */
    right:20px; /* Distancia desde la parte derecha */
}

/* Estilos para el ícono SVG dentro del botón de WhatsApp */
svg {
    width: 80px; /* Tamaño del ícono */
    filter: drop-shadow(0 1px 4px rgba(0,0,0,.4)); /* Añade una sombra al ícono */
}

/* Estilos para el círculo dentro del SVG */
circle {
    fill: #25d366; /* Color verde para el fondo del ícono */
}

/* Estilos para la ruta (path) dentro del SVG */
path {
    fill: #fff; /* Color blanco para el ícono */
}