:root {
    --primary-color: #1a73bc;
    --secondary-color: #253746;
    --accent-color: #ffd700;
    --text-color: #333;
    --background-color: #ffffff;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

header {
    background-color: var(--background-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 6rem;
}

.cliente-h3 {
    font-size: 25px;
    align-items: left;
    color: var(--primary-color);
}

.cliente-h2 {
    font-size: 15px;
    align-items: left;
    text-align: left;
    justify-content: space-between;
    color: var(--text-color);
}

h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h2 {
    font-size: 40px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.icon {
    font-size: 50px;
    color: #1a73bc;
}

.text-p{
    color: white;
    line-height: 1.4em;
    text-align: center;
    font-size: 12px;
}

.text-pizq{
    color: white;
    line-height: 1.4em;
    text-align: right;
    font-size: 12px;
}

h1{
    font-size: 90px;
    font-weight: 900;
    z-index: 100;
    color:#ffffff;
    margin-bottom: 30px;
}

.hx{
    font-size: 80px;
    font-weight: 900;
    z-index: 100;
    color:#ffffff;
    margin-bottom: 30px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 0 6rem;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.image-container1 {
    display: flex;
    align-items: center;
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.video-bordes {
    border-radius: 15px; /* Ajusta el valor según sea necesario */
}

.hero-image {
    flex: 1;
    background-image: url('assets/img/FondoBase05web.svg');
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 20px;
}

.hero-image1 {
    flex: 1;
    height: 50%;
    border-radius: 20px;
}

.hero-image-SGS {
    flex: 1;
    background-image: url('assets/img/multiplataforma.png');
    background-size: cover;
    background-position: center;
    height: 300px;
    border-radius: 10px;
}

.image-container {
    width: 80%;
    max-width: 500px;
    margin: auto;
    margin-bottom: 20px;

}
.image-container img {
    width: 100%;
    border-radius: 10px;
}

.image-container1 img {
    border-radius: 10px;
    width: 200px; /* Ajusta el tamaño según sea necesario */
    margin-right: 20px;
}

.hero-content1 {
    flex: 1;
    text-align: justify;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #145a9c;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.about-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.services {
    padding: 4rem 0;
    border-radius: 10px;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.client-logo {
    background-color: var(--background-color);
    padding: 2rem;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    text-align: center;
}


.contact-info, .contact-form {
    flex: 1;
}

.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;
}

.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(255, 255, 255, 0.877);
}

.absolute{
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    position: absolute;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items:center;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border: 6px solid #fff;
    position: absolute;
    left: 10px;
}


.clients-g {
    text-align: center;
}
.clientes-grid {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 450px; /* Ajustar según sea necesario */
}
.client-logo {
    display: flex;
    align-items: center;
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
    padding: 0 20px;
}
.client-logo img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-right: 20px;
}
.carousel-dots {
    text-align: center;
    padding: 10px;
}
.carousel-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}
.carousel-dots .dot.active {
    background-color: #000;
}

video{
    width: 100%;
}

header{
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.about-gridNosotros {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}
.about-itemNosotros {
    flex: 1 1 100%;
    min-width: 250px;
    max-width: 300px;
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

.hero-image1Nosotros {
    max-width: 200px;
    margin-right: 20px;
}


@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }

    .testimonials .testimonial-item .testimonial-img {
        position: static;
        left: auto;
    }
}


@media screen and (max-width: 768px){

    h3 {
        margin-bottom: 0.7rem;
        color: var(--primary-color);
    }
    
    h2 {
        font-size: 20px;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
    }
    
    .icon {
        font-size: 25px;
        color: #1a73bc;
    }
    
    h1{
        font-size: 25px;
        font-weight: 450;
        z-index: 100;
        color:#ffffff;
        margin-bottom: 10px;
    }

    .text-p{
        color: white;
        line-height: 1em;
        text-align: center;
        font-size: 8px;
    }

    .text-pizq{
        color: white;
        line-height: 1em;
        text-align: right;
        font-size: 6px;
    }

    .cliente-h3 {
        font-size: 15px;
        align-items: left;
        color: var(--primary-color);
    }
    
    .cliente-h2 {
        font-size: 10px;
        align-items: left;
        text-align: left;
        justify-content: space-between;
        color: var(--text-color);
    }

    h1::after{
        display: none;
    }

    ul {
        display: flex;
        flex-wrap: wrap; /* Permitir que los elementos se envuelvan en varias líneas */
        width: 100%;
        text-align: center;
        background-color: #ffffff;
    }
    
    ul li {
        margin: 5px;
        flex: 1 1 20%; /* Forzar a cada elemento ocupar el 50% del contenedor */
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active + ul {
        display: flex;
    }
    
    .about-itemNosotros {
        flex: 1 1 calc(33.333% - 20px);
        margin: 5px;
    }

    .hero-image1Nosotros {
        max-width: 100px;
        margin-right: 5px;
    }
}