/* Reset y estilo base */


.btn-contacto {
    display: inline-block;
    padding: 8px 20px;
    background-color: #3498db;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-contacto:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}


#porque-elegirnos {
    padding-top: 100px; /* Ajusta según la altura de tu menú */
    scroll-margin-top: 100px; /* Para anclajes sin que se tape el título */
}





.contact-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #0915b9; /* color principal */
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-btn:hover {
    background-color: #1256d4; /* un poco más oscuro al pasar el mouse */
    transform: translateY(-2px);
}










* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
}

/* Navbar fijo */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #5ea0e1;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #125df3;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Secciones */
.section {
    padding: 100px 20px 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #2c3e50;
}

.subsection {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.subsection h3 {
    margin-bottom: 10px;
    color: #34495e;
}

/* Cards para servicios */
.service {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service ul {
    list-style: disc inside;
}

/* Valores como cards horizontales */
.values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.values li {
    background-color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #2c3e50;
    color: white;
    margin-top: 50px;
}

/* Botón flotante regresar */
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1c6bd2;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 1001;
}

.floating-btn:hover {
    background-color: #19007d;
}

/* Responsivo */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        height: 100vh;
        width: 200px;
        background-color: #34495e;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
        transition: 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        color: white;
    }

    .menu-toggle {
        display: block;
    }

    .values {
        flex-direction: column;
        align-items: center;
    }
}
