

/* Estilos por defecto */
/* Reset básico */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Roboto', sans-serif;
}
html{
    scroll-behavior: smooth;
}

/* Corregir estilos para elementos HTML5 que no tienen definiciones de estilo por defecto */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Corregir los márgenes de las listas */
ol, ul {
    list-style: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    margin: 0;
}

.navbar-brand img {
    height: 5rem;
    width: auto;
    /* max-height: 5rem; */
}
#section1 {
    padding-top: 100px; /* Ajusta este valor según la altura real de tu navbar */
}

#section4 {
    margin-bottom: 20px; /* Ajusta este valor según sea necesario */
}
/* Añade tu propio estilo a partir de aquí */
#contacto{
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}
#contacto form div {
    margin-bottom: 15px;
}
#contacto label {
    display: block;
    margin-bottom: 5px;
}
#contacto input, #contacto textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#contacto button {
    padding: 10px 15px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
#contacto button:hover{
    background-color: #0056B3;
}

/* Estilo del contenedor del botón */
.cta-container {
  text-align: center;
  margin: 20px 0;
}

/* Estilo del botón */
.cta-button {
  background-color: red; /* Color de fondo del botón */
  color: white; /* Color del texto */
  padding: 15px 25px; /* Espaciado interno del botón */
  text-decoration: none; /* Quitar subrayado del enlace */
  font-size: 18px; /* Tamaño de la fuente */
  border-radius: 5px; /* Bordes redondeados */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
  transition: background-color 0.3s ease; /* Transición de color */
}

.cta-button:hover {
  background-color: #e04e2c; /* Color de fondo al pasar el mouse */
}

.figure {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex: 1;
    color: #fff;
    justify-content: space-around;
}

#vision {
    background-color: #3498db; /* Azul */
    display: block;
}

#mision {
    background-color: #2ecc71; /* Verde */
    display: block;
}

#valores {
    background-color: #e74c3c; /* Rojo */
    display: block;
}

.box {
    flex: 1 1 calc(33.333% -40px);
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
}
.box h4{
    margin: 10px 0;
}
.box p{
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
    }

    .nuestrosproductos{
        display: flex;
        width: 33%;
        gap: 20px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .container2 {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: left;
    }
.whatsapp-spacer {
    display: block;
    height: 50px;
    width: 100%;
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 66px;
    height: 66px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 24px;
    text-align: center;
    z-index: 1000;
}
.whatsapp-button:hover {
    background-color: #128c7e;
    text-decoration: none;
}

.text-green {
    color: #28a745;
}

.text-blue {
    color: #3498db;
}
.navbar-brand {
    gap: 8px;
}

.image-container {
  text-align: center; /* Centra la imagen horizontalmente */
  margin: 20px 0; /* Márgenes superior e inferior */
}

/* Imagen responsiva */
.responsive-image {
  width: 100%; /* Ancho por defecto para pantallas grandes y medianas */
  max-width: 100%; /* Asegura que la imagen no exceda el ancho del contenedor */
  height: auto; /* Mantiene la proporción de la imagen */
}

@media (min-width: 769px) and (max-width: 1024){
    .card{
        width: 40%;
        margin: 10px 0;
    }
      .responsive-image {
        width: 90%; /* Ancho para pantallas pequeñas */
      }

 }