/* Estilos Globales */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navbar Minimalista */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 70px;
    /* Ajusta la altura */
    width: auto;
    /* Mantiene la proporción */
    max-width: 400px;
    /* Limita el tamaño máximo */
    display: block;
    /* Asegura que se muestre correctamente */
}

.navbar-nav {
    display: flex;
    gap: 20px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

.navbar-buttons {
    display: flex;
    gap: 10px;
}

.navbar-buttons .btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Hero Section */
/* Ajustes del Hero Section con Slider */
.hero {
    position: relative;
    overflow: hidden;
}

.hero .carousel {
    position: relative;
}

.hero .carousel-inner {
    max-height: 500px;
    /* Ajusta la altura del slider */
}

.hero .carousel img {
    object-fit: cover;
    height: 500px;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Aumenta el contraste */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 900px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.hero-overlay .btn {
    margin-top: 15px;
    font-size: 1.2rem;
    padding: 12px 24px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* === SECCIÓN BENEFICIOS === */
.benefits-section {
    text-align: center;
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
}

.brand-name {
    color: #007bff;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* Diseño de la cuadrícula de beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    /* Aumentado para mayor separación */
    max-width: 1100px;
    margin: auto;
}

/* Estilos de las tarjetas */
.benefit-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Títulos */
.benefit-card h3 {
    font-size: 1.6rem;
    /* Más grande para destacar */
    font-weight: bold;
    margin: 15px 0;
    color: #222;
    /* Mayor contraste */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Íconos */
.benefit-card i {
    font-size: 2rem;
    color: #007bff;
}

/* Imágenes */
.benefit-card img {
    width: 90%;
    /* Mantener margen interno para mejor alineación */
    max-height: 200px;
    /* Uniformizar tamaño */
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Texto dentro de las tarjetas */
.benefit-card p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 20px;
    }

    .benefit-card h3 {
        font-size: 1.4rem;
    }

    .benefit-card img {
        max-height: 180px;
    }

    /* Ajustes para el Hero Section en móviles */
    .hero .carousel-inner {
        max-height: 350px;
        /* Reducimos la altura en móviles */
    }

    .hero .carousel img {
        object-fit: cover;
        height: 350px;
        /* Ajustamos altura */
    }

    .hero-overlay {
        padding: 15px;
        background: rgba(0, 0, 0, 0.7);
        /* Mayor contraste para mejor lectura */
    }

    .hero-title {
        font-size: 2rem;
        /* Reducimos el tamaño en móviles */
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .hero-overlay .btn {
        font-size: 1rem;
        padding: 10px 20px;
        margin-top: 10px;
        width: auto;
        display: block;
    }
}




/* Sección de Servicios */
/* Sección de Servicios - Con Fondo Degradado */
.services-cards {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #ffffff, #e3f2fd);
    /* Blanco a azul suave */
    background-image: url("/img/bg_services.jpeg");
    /* Imagen de fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Degradado suave */
}

/* Contenedor del logo y título */
.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* Logo centrado sobre el título */
.services-logo {
    width: 400px;
    /* Ajusta el tamaño del logo */
    height: auto;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.service-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 10px 0;
    color: #222;
}

.service-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Estilos para hacer los precios llamativos */
.service-card .price-container {
    display: flex;
    justify-content: right;
    align-items: baseline;
    gap: 5px;
    /* Espacio entre "Desde" y el precio */
    margin-top: 10px;
    padding-right: 15px;
    /* Ajuste derecho */
}

.service-card .price-label {
    font-size: 1rem;
    /* Tamaño más pequeño para "Desde" */
    font-weight: bold;
    color: #666;
    /* Color más tenue */
}

.service-card .price {
    font-size: 1.6rem;
    /* Tamaño grande solo para el precio */
    font-weight: bold;
    color: #ff6a00;
    /* Naranja llamativo */
    font-family: Arial, sans-serif;
}


.service-card button {
    margin-top: 10px;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.service-card button:hover {
    background-color: #0056b3;
}

/* Texto CTA */
.cta-text {
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Responsividad */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-logo {
        width: 350px;
        /* Reduce el tamaño del logo en móviles */
    }
}


/* Estilos para la sección de testimonios */
/* Sección de Testimonios */
.testimonials-section {
    padding: 80px 20px;
    background: #f0f4f8;
    background: linear-gradient(to bottom, #D2EEF8, #f8f9fa);
    /* Ajusta los colores */
}

/* Estilo de las tarjetas */
.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 350px;
    margin: auto;
}

.stars {
    color: #f4c150;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.testimonial-card h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Footer del testimonio */
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #007bff;
}

.testimonial-company {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}


/* Botón de redes sociales */
.testimonials-section .btn-outline-primary {
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
}

/* Ajuste del contenedor Swiper para evitar desbordamientos */
.swiper-container {
    position: relative;
    /* Asegura que los botones de navegación estén bien ubicados */
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    /* Agrega espacio para evitar que se superpongan con otra sección */
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

/* Ajustar el ancho de las tarjetas en móviles */
@media (max-width: 768px) {
    .swiper-slide {
        display: flex;
        justify-content: center;
    }

    .testimonial-card {
        max-width: 90%;
        /* Ocupará el 90% del ancho disponible */
        margin: 0 auto;
        /* Asegura que esté centrado */
    }

    .swiper-wrapper {
        flex-wrap: nowrap;
        /* Evita que los testimonios se acumulen en columnas */
    }

    .swiper-container {
        padding: 10px 0;
        /* Espaciado para evitar cortes */
    }
}



/* ======= Sección de Contacto ======= */
.contact-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    background: linear-gradient(to top, #B5B7B8, #F8F9FA);
    /* Ajusta los colores */
}

.contact-form-container {
    max-width: 800px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: auto;
}

/* Diseño en dos columnas para pantallas grandes */
@media (min-width: 768px) {
    .contact-form .row {
        display: flex;
        gap: 20px;
    }

    .contact-form .col-md-6 {
        flex: 1;
    }
}

/* Iconos en las etiquetas */
.contact-form label {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Estilos para los inputs y textarea */
.contact-form input,
.contact-form textarea {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
    width: 100%;
    font-size: 1rem;
}

/* Botón de Enviar */
.contact-form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s;
    display: block;
    margin: 20px auto;
    /* Centrado */
    width: 50%;
    /* Reducimos el ancho en PC */
    max-width: 300px;
    /* Máximo tamaño para evitar que sea demasiado grande */
}

.contact-form button:hover {
    background-color: #0056b3;
}


@media (max-width: 768px) {
    .contact-form button {
        width: 100%;
        /* En móviles sigue ocupando el 100% */
    }
}




/* Suavizar transición entre secciones con degradado */
.section-transition {
    height: 100px;
    /* Altura de la transición */
    background: linear-gradient(to bottom, #e3f2fd, #f8f9fa);
    /* Ajusta los colores */
}



/* Botones flotantes de contacto */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    /* Ajusta la posición desde la parte inferior */
    right: 20px;
    /* Ajusta la posición desde la derecha */
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Espaciado entre botones */
    z-index: 1000;
    /* Asegura que estén siempre visibles */
}

/* Estilo general de los botones flotantes */
.btn-floating {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Botón de WhatsApp */
.whatsapp {
    background-color: #25D366;
}

.whatsapp:hover {
    background-color: #1EBE5D;
    transform: scale(1.1);
}

/* Botón de Llamada */
.call {
    background-color: #007bff;
}

.call:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}




/* Pie de Página */
footer {
    background: #f1f1f1;
    color: #333;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    color: #0056b3;
}