@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #16a4cf;
    --secondary-color:  #ce149f;
    --text-color: #333;
    --background-color: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}


/* ... (estilos existentes) ... */

header {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px; /* Ajusta este valor según el tamaño deseado para tu logo */
    width: auto;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* ... (resto de los estilos) ... */

main {
    padding-top: 60px;
}

section {
    padding: 4rem 2rem;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}


/* ... (estilos existentes) ... */

.hero {
    height: calc(100vh - 60px);
    overflow: hidden;
    position: relative;
    margin-top: -65px;
    width: 100%; /* Asegura que el hero ocupe todo el ancho */
}

.hero-image {
    width: 105%;
    height: 110%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .hero-image {
        object-position: left center; /* Ajusta la posición en pantallas más pequeñas si es necesario */
    }
}

.hero-content {
    position: absolute;
    bottom: 25%; /* Cambiamos 'top: 50%' por 'bottom: 20%' para moverlo más abajo */
    left: 20%; /* Cambiamos 'left: 50%' por 'left: 10%' para moverlo a la izquierda */
    transform: translateY(50%); /* Ajustamos el transform para que solo se mueva verticalmente */
    text-align: left; /* Alineamos el texto a la izquierda */
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.8rem 1.5rem; /* Reducido de 1rem 2rem */
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem; /* Reducido de 1.2rem */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #05f1dd;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.cta-button {
    animation: pulse 2s infinite;
}

/* ... (resto de los estilos) ... */

.services-section {
    background-color: #f9f9f9;
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon img {
    width: 40px; /* Reducido de 60px */
    height: 40px; /* Reducido de 60px */
}
.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-color);
}

/* ... (resto de los estilos) ... */

.parallax {
    background-image: url('../images/parallax-bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.steps {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.clients-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 0;
}

.clients-slider img {
    max-width: 150px;
    height: auto;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contact-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: #2980b9;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Aumenta Clientes */

.aumenta-clientes {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.aumenta-clientes .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.aumenta-clientes .section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.aumenta-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.aumenta-text h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* ... resto de los estilos ... */

.aumenta-text {
    flex: 1;
}

.aumenta-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.aumenta-text p {
    margin-bottom: 1rem;
}

.aumenta-text ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.aumenta-text ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.aumenta-text ul li::before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.aumenta-video {
    flex: 0 0 600px; /* This ensures the video container is exactly 600px wide */
    max-width: 100%; /* This ensures it doesn't overflow on smaller screens */
}

.aumenta-video video {
    width: 90%;
    height: auto;
    max-width: 600px;
    max-height: 560px;
    object-fit: cover; /* This ensures the video fills the container while maintaining its aspect ratio */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .aumenta-content {
        flex-direction: column;
        align-items: center;
    }

    .aumenta-video {
        flex: 0 0 auto;
        width: 100%;
        max-width: 600px;
    }
}

/* ... resto de los estilos ... */

.resultados {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.resultados-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.resultados-text {
    flex: 1;
}

.resultados-image {
    flex: 1;
}

.resultados-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.resultados .section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.resultados .section-subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat p {
    margin-top: 0.5rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .resultados-content {
        flex-direction: column;
    }

    .resultados-image {
        order: -1;
    }
}

/* ... resto de los estilos... */

.nuestros-clientes {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.nuestros-clientes .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.nuestros-clientes .section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.client-item {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.client-item img {
    max-width: 110%;
    max-height: 110%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Efectos */
.effect-zoom:hover img {
    transform: scale(1.1);
}

.effect-rotate:hover img {
    transform: rotate(10deg);
}

.effect-slide:hover img {
    transform: translateY(-10px);
}

.effect-fade:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .client-item {
        width: 150px;
        height: 150px;
    }
}
/*... resto de los estilos... */

.contacto {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.contacto .section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contacto-content {
    display: flex;
    gap: 2rem;
}

.contacto-form,
.contacto-map {
    flex: 1;
}

#contact-form {
    display: flex;
    flex-direction: column;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contact-form textarea {
    height: 150px;
}

#contact-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: var(--secondary-color);
}

.contacto-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contacto-content {
        flex-direction: column;
    }
}