/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Encabezado */
header {
    background: url('header-image.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

header p {
    font-size: 1.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.btn-primary {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #ff5733;
    padding: 15px 30px;
    border-radius: 50px;
    margin-top: 10px;
    font-size: 1.1em;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #c44529;
}

/* Secciones */
section {
    padding: 40px 0;
    text-align: center;
}

section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #007bff;
}

section p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #666;
}

ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

ul li {
    padding: 10px 0;
    font-size: 1.1em;
    color: #555;
}

/* Testimonios */
blockquote {
    font-size: 1.2em;
    margin: 20px auto;
    width: 80%;
    line-height: 1.4;
    font-style: italic;
    border-left: 5px solid #007bff;
    padding-left: 20px;
    color: #555;
    background: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

cite {
    display: block;
    margin-top: 10px;
    font-size: 1em;
    color: #333;
    font-style: normal;
}

/* Planes y Precios */
.pricing-table {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.pricing-plan {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    min-width: 250px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pricing-plan h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #007bff;
}

.pricing-plan p {
    font-size: 1em;
    color: #666;
}

.btn-secondary {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #007bff;
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 10px;
    font-size: 1em;
    transition: background 0.3s ease;
}

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

/* Preguntas Frecuentes */
.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #333;
}

.faq-item p {
    color: #666;
}

/* Pie de Página */
footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p, .social-links a, .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1em;
}

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

footer .social-links {
    margin: 10px 0;
}

footer .footer-links {
    margin: 10px 0;
}

/* Sección "¿Qué es Comuniapp?" */
section#about {
    background: #f9f9f9;
    padding: 60px 0;
}

section#about .container {
    text-align: left;
}

section#about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #007bff;
    text-align: center;
}

section#about p {
    margin-bottom: 30px;
    font-size: 1.2em;
    color: #555;
    text-align: center;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
    padding: 0;
}

.features-list li {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    width: 45%;
    min-width: 300px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-list li:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.features-list li img {
    /*max-width: 150px;
    max-height: 150px;*/
    max-width: 33%;
    height: auto;
    margin-right: 20px;
    object-fit: contain; /* Asegura que la imagen se ajuste bien al contenedor */
}

.features-list li p {
    font-size: 1.1em;
    color: #333;
    margin: 0;
}

.why-choose-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    width: 45%;
    min-width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #007bff;
}

.card p {
    font-size: 1em;
    color: #666;
}


/* Testimonios */
.testimonial-carousel {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial {
    min-width: 100%;
    transition: transform 0.5s ease;
    padding: 20px;
    box-sizing: border-box;

}

.testimonial blockquote {
    font-size: 1.2em;
    line-height: 1.4;
    font-style: italic;
    border-left: 5px solid #007bff;
    padding-left: 20px;
    color: #555;
    background: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
    background: #fff;
}

.testimonial cite {
    display: block;
    font-size: 1em;
    color: #333;
    font-style: normal;
}

/* Botones del carrusel */
.carousel-buttons {
    position: relative;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-buttons button {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
}

.carousel-buttons button:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* Sección "Planes y Precios" */
/*#pricing {
    padding: 60px 0;
    background: #fff;
}


.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.pricing-card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.pricing-card p {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 20px;
}*/

/* Sección "Planes y Precios" */
#pricing {
    padding: 60px 0;
    background: #fff;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

.pricing-card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.pricing-card p {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Color verde de WhatsApp */
    border-radius: 60px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 60px;
}

.whatsapp-float:hover {
    background-color: #128C7E;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    margin-bottom: 10px;
    font-weight: bold;
}

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

.contact-form button {
    background-color: #FFA500; /* Color del botón */
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 300px;
}

.popup-content button {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.popup-content button:hover {
    background: #0056b3;
}
