/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    /*color: #333;*/
    margin-top: 110px; /* Para evitar que el contenido quede cubierto por el navbar */
    font-size: 1.2rem;
    line-height: 1.6;
    color: #7f8c8d !important;
}

h1, h2, h3 {
    font-family: 'Open Sans', sans-serif !important;
}

.navbar {
    background-color: #003366;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Asegura que el navbar se quede encima del contenido */
    padding: 15px 0;
    box-shadow: 0px 0px 25px 1px black;
}

.navbar-brand img {
    height: 80px;
}

.navbar-nav .nav-link {
    color: #353535;
    padding: 15px;
}

.navbar-nav .nav-link:hover {
    color: #ffd700;
}

.hero {
    background-color: #004080;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
}

.hero .btn {
    background-color: #ffd700;
    color: #003366;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.hero .btn:hover {
    background-color: #e6b800;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.about, .productos, .ventajas, .testimonios {
    padding: 60px 0;
}


.productos, .testimonios, .contact {
    padding: 60px 0;
    background-color: #f8f8f8;
    /*color:white;*/
}

.testimonial-item {
    background-color: #e9ecef;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.product-item, .advantage-item {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.product-item img, .advantage-item img {
    width: 100%;
    height: auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.contact-form button {
    background-color: #003366;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #00509E;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}


/* Estilos para la Sección de Preguntas Frecuentes */
.faq {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.faq .section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.accordion-button {
    background-color: #003366;
    color: white;
    border: none;
    font-size: 1.1rem;
    padding: 15px;
    text-align: left;
    width: 100%;
    border-radius: 5px;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #ffd700;
    color: #003366;
}

.accordion-body {
    background-color: #e9ecef;
    padding: 15px;
    font-size: 1rem;
    border-top: 1px solid #ddd;
}

.accordion-item + .accordion-item {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .accordion-button {
        font-size: 1rem;
    }
}

/* Estilos para el Footer */
.footer {
    background-color: #235CA8;
    color: white;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 1rem;
}

.footer p {
    margin: 0;
}

.footer a {
    color: #ffd700;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer p {
        font-size: 0.9rem;
    }
}


.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Distancia desde la parte inferior */
    left: 20px; /* Distancia desde el lado izquierdo */
    z-index: 1000;
    width: 60px; /* Tamaño del ícono */
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 35px; /* Tamaño del ícono interno */
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

/* Contenedor general de productos */
.productos {
    padding: 50px 15px;
    background-color: #f8f8f8;
}

/* Asegura que las columnas sean responsivas */
.productos .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra horizontalmente las columnas */
    gap: 20px; /* Espaciado uniforme entre columnas */
}

/* Ajusta cada columna */
.productos .col-md-4 {
    flex: 1 1 300px; /* Tamaño mínimo de 300px, responsivo */
    max-width: 30%; /* Limita el ancho máximo al 30% */
    display: flex;
    justify-content: center;
}

/* Estilo de cada tarjeta */
.productos .product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: justify; /* Justifica el texto */
    height: auto; /* Altura flexible para adaptarse al contenido */
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    width: 100%; /* Asegura que cada tarjeta ocupe todo el ancho disponible */
    min-width: 300px;
}

/* Imagen de cada producto */
.productos .product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px; /* Bordes redondeados para un diseño moderno */
}

/* Títulos */
.productos .product-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center; /* Centra el título */
}

/* Texto */
.productos .product-item p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1; /* Distribuye uniformemente el texto */
    text-align: justify; /* Justifica el texto */
}

/* Responsividad */
@media (max-width: 992px) {
    .productos .col-md-4 {
        max-width: 45%; /* Dos columnas en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .productos .col-md-4 {
        max-width: 100%; /* Una columna en pantallas pequeñas */
    }
}

.intro {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.intro .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 3px black;
}

.intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.intro img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Estilos generales para la sección */
#intro {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa el alto completo de la ventana */
    overflow: hidden;
}

#intro img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo sin deformarse */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Capa de superposición */
#intro .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenido del texto */
#intro .content {
    text-align: center;
    color: white;
    z-index: 3;
}

#intro .content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

#intro .content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#intro .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#intro .btn-primary:hover {
    background-color: #0056b3;
}

/* Botón flotante */
.btn-subir {
    position: fixed;
    bottom: 20px; /* Distancia desde el borde inferior */
    right: 20px; /* Distancia desde el borde derecho */
    width: 50px;
    height: 50px;
    background-color: #ffd700; /* Color amarillo */
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%; /* Hace el botón circular */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
    cursor: pointer;
    opacity: 0; /* Oculto por defecto */
    visibility: hidden; /* Para evitar clics cuando está oculto */
    transition: opacity 0.3s, visibility 0.3s; /* Transiciones suaves */
    z-index: 1000;
}

/* Muestra el botón cuando es visible */
.btn-subir.show {
    opacity: 1;
    visibility: visible;
}

.btn-subir:hover {
    background-color: #00A13B; /* Color más oscuro al pasar el mouse */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.productos .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
    min-width: 300px;
}

.productos .card:hover {
    transform: translateY(-10px);
}

.productos .card-img-top {
    border-radius: 10px 10px 0 0;
    max-height: 250px;
    object-fit: cover;
}

.productos .card-body {
    padding: 20px;
}

.productos .card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #003366;
}

.productos .card-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    text-align: justify;
}

#nosotros .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

#nosotros .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #7f8c8d;
    text-align: justify;
}

#nosotros .row {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    #nosotros .section-title {
        font-size: 1.5rem;
    }
    #nosotros .lead {
        font-size: 1rem;
    }
}
#ventajas .advantage-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#ventajas .advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#ventajas .advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

#ventajas .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

#ventajas h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #34495e;
}

#ventajas p {
    font-size: 1rem;
    color: #7f8c8d;
    margin-top: 10px;
}
.contact .form-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
}

.contact .input-group {
    position: relative;
}

.contact .input-group-text {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.contact .form-control {
    border-radius: 8px;
    padding-left: 40px;
}

.contact i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
}

.contact button {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 15px;
    background-color: #2c3e50;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #34495e;
}

.contact .section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}
.custom-hr-y {
    width: 50%; /* Ajusta el porcentaje según el ancho deseado */
    border: 0;
    border-top: 2px solid #817b00; /* El color puede ser personalizado */
    margin: 0 auto; /* Centra la línea */
}

.custom-hr-g {
    width: 50%; /* Ajusta el porcentaje según el ancho deseado */
    border: 0;
    border-top: 2px solid #00A13B; /* El color puede ser personalizado */
    margin: 0 auto; /* Centra la línea */
}

.custom-hr-r {
    width: 50%; /* Ajusta el porcentaje según el ancho deseado */
    border: 0;
    border-top: 2px solid #CB1017; /* El color puede ser personalizado */
    margin: 0 auto; /* Centra la línea */
}

.custom-hr-b {
    width: 50%; /* Ajusta el porcentaje según el ancho deseado */
    border: 0;
    border-top: 2px solid #235CA8; /* El color puede ser personalizado */
    margin: 0 auto; /* Centra la línea */
}

.w-90{
    width:90% !important;
}

.icon-caracter{
    width: 100px !important;
    margin-bottom: 15px;
}

.input-padding{
        padding: .375rem 1rem !important;
}

.bg-blue{
    background-color:#0D7BFF !important;
}
