
/* Asegura que el contenedor principal ocupe todo el espacio disponible */
.page-container {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita el scroll horizontal */
}

/* Modifica el nav-bar para pantallas pequeñas */
.navbar-top-horizontal {
    flex-direction: column; /* Apila el logo y los enlaces */
    padding: 1rem;
    gap: 15px;
    text-align: center;
}

.navbar-brand-container {
    justify-content: center; /* Centra el logo y el nombre */
}

.navbar-main-links {
    flex-direction: column; /* Apila los enlaces de navegación */
    gap: 10px;
    width: 100%;
}

.nav-link {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.nav-link.active {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Ajusta el contenido principal para que se apile en una sola columna */
.main-content-area {
    flex-direction: column;
    padding: 1rem;
}

.page-content {
    flex-direction: column;
    gap: 1rem;
}

/* Asegura que las secciones ocupen todo el ancho */
.central-section-one,
.central-section-two {
    flex: none;
    width: 100%;
    padding: 1rem;
}

/* Estilo para los logos de marca */
.brand-logos {
    justify-content: space-around;
    gap: 10px;
}

.brand-logos img {
    height: 40px; /* Reduce el tamaño de los logos */
}


/*
 * ----------------------------------------
 * Media query para pantallas de escritorio (a partir de 768px)
 * ----------------------------------------
 */

@media (min-width: 768px) {
    /* Revierte los estilos del menú para que se vean horizontales */
    .navbar-top-horizontal {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.8rem 2rem;
        gap: 25px;
    }

    .navbar-main-links {
        flex-direction: row;
        width: auto;
    }

    .nav-link {
        width: auto;
        border-bottom: none;
        padding: 5px 0;
    }

    /* Revierte el contenido principal para que sea horizontal */
    .main-content-area {
        flex-direction: row;
        padding: 3rem 2rem;
        gap: 40px;
    }
    
    .page-content {
        flex-direction: row;
        gap: 30px;
    }
    
    .central-section-one,
    .central-section-two {
        flex: 1;
        padding: 25px;
    }
    
    /* Vuelve los logos a su tamaño normal */
    .brand-logos img {
        height: 60px;
    }
}

/* Aquí va todo el CSS que me enviaste, lo he unificado para que sea un solo archivo */
/* Estilos Generales del Contenedor de la Página */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f2f5;
}

.hero-header {
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    padding: 0.5rem 0; /* Padding más pequeño */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.header-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.main-content-area {
    flex-grow: 1;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.central-section-one,
.central-section-two {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.central-section-two h3 {
    color: #0056b3;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.central-section-two p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

.btn-secondary {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.app-footer {
    background-color: #212529;
    color: #e0e0e0;
    padding: 3rem 2rem;
    font-size: 0.95rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}

.footer-column h4 {
    color: #007bff;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.7rem;
}

.footer-column ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-column p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column i {
    font-size: 1.1rem;
    color: #007bff;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    color: #a0a0a0;
}

.navbar-top-horizontal {
    background-color: #0056b3;
    color: white;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    position: relative;
}

.navbar-brand-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.company-logo-link {
    display: flex;
    align-items: center;
    height: 45px;
}

.company-logo {
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.company-name-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.company-name-link:hover {
    color: #e0e0e0;
}

.navbar-main-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #cceeff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #cceeff;
    transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    font-weight: bold;
    color: #cceeff;
}

.nav-link.active::after {
    width: 100%;
    background-color: #cceeff;
}

.btn-whatsapp-nav {
    background-color: #25D366;
    color: white !important;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-nav:hover {
    background-color: #1DA851;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp-nav i {
    font-size: 1.1rem;
    color: white;
}

.page-content {
    display: flex;
    gap: 30px;
    padding: 2rem;
    flex-wrap: wrap;
}

.central-section-one,
.central-section-two {
    flex: 1;
    min-width: 300px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.whatsapp-prompt {
    font-size: 1.35rem;
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 15px;
    text-align: center;
}

.btn-whatsapp-hero {
    display: block;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 30px;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-hero:hover {
    background-color: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp-hero i {
    margin-right: 12px;
    font-size: 1.6rem;
    vertical-align: middle;
}

h2, h3 {
    color: #0056b3;
    margin-bottom: 1rem;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: #333;
}

.call-to-action {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d9534f;
    margin-top: 25px;
}

.btn-primary {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    font-size: 1.1rem;
}

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

.why-choose-us li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-choose-us i {
    font-size: 1.4rem;
    color: #007bff;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.brand-logos img {
    height: 60px;
    filter: grayscale(80%);
    transition: filter 0.3s ease;
}

.brand-logos img:hover {
    filter: grayscale(0%);
}

.testimonial {
    background-color: #e9f7ef;
    border-left: 5px solid #28a745;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-style: italic;
    color: #555;
}

.whatsapp-section-two {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.whatsapp-section-two p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.btn-whatsapp-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #128C7E;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-secondary:hover {
    background-color: #075E54;
    transform: translateY(-2px);
}

.btn-whatsapp-secondary i {
    font-size: 1.2rem;
}

.image-container {
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

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

/* Media Queries para responsividad */
@media (max-width: 992px) {
    .main-navigation-navmenu .main-navigation a {
        margin: 0 10px;
        font-size: 1rem;
    }
    .main-navigation-navmenu .btn-contact {
        margin-left: 15px;
    }
}
@media (max-width: 768px) {
    .main-content-area {
        padding: 2rem 1rem;
        gap: 30px;
    }
    .central-section-one,
    .central-section-two {
        padding: 20px;
    }
    .central-section-two h3 {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-column ul {
        text-align: center;
        margin-bottom: 20px;
    }
    .footer-column p {
        justify-content: center;
    }
    .page-content {
        flex-direction: column;
        padding: 1rem;
    }
    .central-section-one,
    .central-section-two {
        min-width: unset;
    }
    .btn-primary, .btn-whatsapp-hero, .btn-whatsapp-secondary {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .whatsapp-prompt {
        font-size: 1.1rem;
    }
    .btn-whatsapp-hero {
        font-size: 1.2rem;
        padding: 12px 20px;
    }
    .btn-whatsapp-hero i {
        font-size: 1.4rem;
    }
}