.flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Boton Primary */
.btn-primary {
    margin-top: 24px;
    display: flex;
    padding: 13px 31px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(91deg, #e06c75 0%, #6b90df 100%);
    color: white;
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--Secondary, #6B90DF);
    border: 1px solid var(--Tertiary_2, #E9EAEC);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}
/* Boton secondary */
.btn-secondary {
    margin-top: 20px;
    display: flex;
    width: 168px;
    height: 48px;
    justify-content: center;
    align-items: center;
    padding: 13px 31px;
    border-radius: 8px;
    background-color: transparent;
    position: relative;
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: var(--Tertiary_2, #e9eaec);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 3px; /* Grosor del borde */
    background: var(--gradient-stroke);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: 1; /* Coloca el borde detrás del contenido del botón */
}

.btn-secondary:hover::before {
    opacity: 0;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--Secondary, #6B90DF);
    border: 1px solid var(--Tertiary_2, #E9EAEC);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.btn-secondary:active {
    transform: translateY(1px);
}

/* ------------------------Header styles ------------------------ */
.main-header {
    margin-top: 40px;
    flex-direction: row;
    width: 100%;
    height: 114px;
    border-radius: 8px;
    background: var(--variable-collection-primary-1);
    position: sticky;
    z-index: 1000;
    top: 0;
    left: 0;
    animation: fadeInDown 1s ease-out;
}

.logo {
    width: 153.44px;
    height: 37px;
}

.main-nav ul {
    flex-direction: row;
    gap: 48px;
    list-style: none;
}

.main-nav {
    width: 60%;
}

.mobile-nav {
    display: none;
}

.mobile-menu {
    display: none;
}

.logo-mobile {
    display: none;
}

.menu-toggle {
    display: none;
}

.nav-item a {
    color: var(--variable-collection-white);
    font-family: var(--body-large-18-mono-font-family);
    font-size: var(--body-large-18-mono-font-size);
    font-weight: var(--body-large-18-mono-font-weight);
    line-height: var(--body-large-18-mono-line-height);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    &:hover{
            color: var(--Tertiary_1, #AFBCDC);
            }

}

/* Línea debajo del texto */
.nav-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 4px;
    background-color: var(--White, #FDFDFD);
    border-radius: 32.5px/2px;
    filter: blur(4px);
    transition: width 0.3s ease-in-out;
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item.active a {
    color: var(--White, #FDFDFD);
}

    .nav-item.active a::after {
        width: 100%;
    }

.nav-item a.page-active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--White, #FDFDFD);
}

/* Clase activa específica */
.main-nav .nav-item a.page-active {
    color: #E06C75;
    font-weight: 600;
}

.main-header .btn-primary {
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 168px;
    opacity: 0;
    animation: fadeInDown 0.5s ease-out forwards;
    animation-delay: 1s;
}
.list-ul{
    align-items: flex-start;
}


/* ------------------------Main content ------------------------ */
.remote-section,
.remote-content,
.about-section,
.work-method,
.how-work,
.difference-section,
.work-section,
.manager-content,
.work-illustration,
.difference-illustration,
.rol-section,
.clients-section,
.logos-clients,
.logos-clients-container,
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.main-container {
    width: 100%;
    gap: 68px;
    overflow-x: hidden;
}
/*contenedor principal*/
.content {
    gap: 24px;
    width: 100%;
    height: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.5s;
}

.content h2 {
    margin-top: 48px;
}

.mapa-neps {
    position: relative;
    width: 530px;
    height: auto; /* Se ajustará según el contenido */
}

.mapa-img {
    width: 100%; /* Ajusta el tamaño del mapa */
    height: auto;
}

.mapa-neps img.iconos {
    position: absolute;
    animation: pulse 2s infinite;
}

/* Posiciona cada icono */
.icono-1 {
    top: 0%;
    left: 6%;
    transform: translate(-50%, -50%);
    width: 100px; /* Tamaño de los iconos */
}

.icono-2 {
    top: 18%;
    left: 26%;
    transform: translate(-50%, -50%);
    width: 80px;
}

.icono-3 {
    top: 36%;
    left: 35%;
    width: 100px;
    transform: translate(-50%, -50%);
}

.icono-4 {
    top: 55%;
    left: 44%;
    width: 100px;
    transform: translate(-50%, -50%);
}

.icono-5 {
    top: 65%;
    left: 53%;
    width: 100px;
    transform: translate(-50%, -50%);
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



.map {
    display: none;
}

/* ------------------------Services section ------------------------ */
.services {
    width: 100%;
    flex-direction: column;
    gap: 48px;
}

    .services h2 {
        margin-top: 48px;
    }

.services-container {
    flex-wrap: wrap;
    width: 100%;
    gap: 43px;
}

.our-services-container-1,
.our-services-container-2 {
    width: 85%;
    flex-direction: row;
    gap: 24px;
}

/* Tarjetas de servicios */
.service-card {
    position: relative; /* Necesario para el pseudo-elemento */
    height: 378px;
    width: 50%;
    padding: 48px 16px;
    gap: 24px;
    border-radius: 8px;
    background: var(--variable-collection-background-white);
    transition: transform 0.3s ease, background 0.3s ease;
}
/* Efecto hover para la tarjeta */
.service-card:hover {
    transform: translateY(-5px);
    border-radius: 8px;
    background: var(--Primary_1, #2C2D31);
}

/* Pseudo-elemento para el borde superior con gradiente */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, #e06c75 0%, #6b90df 100%);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
}

/* Mostrar el borde gradiente al hacer hover */
.service-card:hover::before {
    opacity: 1;
}

/* Icono del servicio */
.service-icon {
    width: 66px;
    height: 66px;
}

/* Encabezado del servicio */
.service-header {
    gap: 16px;
}

/* Títulos */
.service-card h3 {
    text-align: center;
    font-size: 30px;
}

/* Descripción */
.service-description {
    width: 100%;
    height: auto;
    color: var(--variable-collection-white);
    text-align: justify;
    font-family: var(--body-large-18-regular-font-family);
    font-size: var(--body-large-18-regular-font-size);
    font-style: normal;
    font-weight: var(--body-large-18-regular-font-weight);
    line-height: var(--body-large-18-regular-line-height);
}

.service-card .btn-secondary {
    width: 219px;
    margin: 0;
}

/* ------------------------Statistics section ------------------------ */
.stats h2 {
    margin-bottom: 48px;
}

.stats {
    width: 100%;
    gap: 48px;
}

.stats-container {
    width: 85%;
    padding: 40px 0px;
    gap: 10px;
    border-radius: 8px;
    background: var(--light);
    box-shadow: var(--sombra-2);
    transition: transform 0.3s ease;
}

.stats-container:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.stats-container-content {
    width: 100%;
    gap: 8px;
}

.content-stats {
    gap: 38px;
    flex-direction: row;
    display: flex;
}

.stat-icon {
    width: 71px;
    height: 71px;
    gap: 8.924px;
    border-radius: 3px;
    background: var(--Light, rgba(255, 255, 255, 0.05));
}

.stat-item {
    flex-direction: row;
    gap: 30px;
}

.stat-number {
    font-family: var(--h2-50-open-semibold-font-family);
    font-size: var(--h2-50-open-semibold-font-size);
    font-weight: var(--h2-50-open-semibold-font-weight);
    background: var(--gradient-stroke);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Open Sans";
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -1.6px;
}

.stat-label {
    font-family: var(--body-16-regular-font-family);
    font-size: var(--body-16-regular-font-size);
    color: var(--variable-collection-white);
    font-family: Roboto;
    font-size: 14.278px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.428px;
}

/* ------------------------Agile section ------------------------ */
.agile-section,
.remote-section {
    flex-direction: row;
    width: 100%;
    gap: 208px;
}

.agile-content,
.remote-content {
    height: 610px;
    align-items: flex-start;
    width: 40%;
    gap: 38px;
}

.agile-title {
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: var(--e);
    text-align: left;
    font-family: var(--h1-60-opensans-semibold-font-family);
    font-size: var(--h1-60-opensans-semibold-font-size);
    font-style: normal;
    font-weight: var(--h1-60-opensans-semibold-font-weight);
    letter-spacing: var(--h1-60-opensans-semibold-letter-spacing);
    line-height: normal;
}

.agile-description {
    color: var(--variable-collection-white);
    text-align: justify;
    font-family: Roboto;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    width: 520px;
    height: auto;
}

.service-icon-agile {
    display: none;
}

.agile-image img {
    width: 396px;
    height: 415px;
    border-radius: 12px;
    object-fit: cover;
}

.agile-link-2 {
    display: none;
}
/* ------------------------Remote section ------------------------ */


.remote-title {
    text-align: start;
    color: var(--e);
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: "Open Sans";
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -3px;
    margin-bottom: 16px;
    width: 504px;
    height: 64px;
}

.remote-description {
    font-family: var(--body-large-18-regular-font-family);
    font-size: var(--body-large-18-regular-font-size);
    color: var(--variable-collection-white);
    text-align: justify;
    font-family: Roboto;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    width: 520px;
    height: auto;
}

.service-icon-remote {
    display: none;
}

.remote-image img {
    width: 396px;
    height: 415px;
    border-radius: 8px;
    position: relative;
}

/* ------------------------How Work ------------------------ */

.how-work, .manager-content {
    height: auto;
    align-items: flex-start;
}

.how-work, .manager-content {
    width: 42%;
    gap: 40px;
}

.how-work .btn-primary {
    align-self: flex-end;
}

.how-work h2,
.manager-content h2 {
    text-align: left;
    background: linear-gradient(303deg, #6b90df 32.04%, #e06c75 72.99%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.how-work h4 {
    text-align: left;
}

.work-description {
    color: var(--Tertiary_2, #e9eaec);
    text-align: justify;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px; /* 135% */
}

.work-illustration,
.difference-illustration {
    width: 528px;
    height: 392px;
    gap: 10px;
}

/*---------------- Different Section-------------------------------- */
.difference-section,
.work-method {
    flex-direction: row;
    width: 100%;
    gap: 50px;
    margin-top: 80px;
}

.difference-illustration {
    padding-left: 40px;
}

.strong-difference {
    color: var(--Tertiary_1, #afbcdc);
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px; /* 120% */
}

.manager-features {
    display: flex;
    flex-direction: column;
    list-style: none;
    width: 90%;
    gap: 16px;
}

.rol-section {
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 68px;
}
/* ------------------------Clients Section ------------------------ */
.clients-section {
    width: 100%;
    gap: 48px;
}

.logos-clients {
    height: 413px;
    width: 85%;
    padding: 0px 44px;
    gap: 112.719px;
    object-fit: cover;
    border-radius: 23.73px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0px 11.865px 11.865px 0px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.logos-clients-container {
    flex-direction: row;
    width: 100%;
    height: 411px;
    align-content: center;
    gap: 40px 111.329px;
    flex-wrap: wrap;
}

.logos-clients:hover {
    transform: translateY(-5px);
}

/* ------------------------Testimonials Section ------------------------ */
.testimonials {
    padding: 4rem 2rem;
    width: 100%;
    gap: 48px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    place-items: center;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    height: 430px;
    width: 100%;
    gap: 10px;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
    }

.testimonial-content {
    width: 100%;
    gap: 20px 16px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}

.testimonial-text {
    width: 100%;
    height: 252px;
    font-size: 16px;
    justify-content: flex-start;
}

.author-name {
    width: 100%;
    color: #fff;
    font-family: "Open Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

.author-info {
    width: 100%;
    margin-top: 10px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
}

.author-image {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(to right, #e06c75, #6b90df);
}
/* ------------------------Nosotros-Page ----------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 90%;
    padding: 2rem;
}

.especialistas-card-container {
    width: 100%
}

    
.especialistas-card-container .our-services-container-1,
.especialistas-card-container .our-services-container-2 {
    width: 85%;
}

.especialistas-card-container .service-card {
    align-items: flex-start;
    height: 100%;
    width: 100%;
    gap: 40px;
}

.especialistas-card-container .service-header {
    width: 100%;
}

.nosotros-image-desktop {
    width: 100%;
    height: 100%;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    height: 200px;
}

.tech-list li {
    position: relative;
    padding-left: 20px;
    width: 100%;
}

.tech-list li::before {
    content: '•';
    color: #6B90DF;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}
/*-------------------- Seccion novedades y webinar (novedades)--------------------- */
.webinar-novedad-container,
.especialistas-container {
    width: 100%;
    gap: 80px;
    margin-top: 50px;
}

.novedad-webinar-info,
.especialistas-container-info {
    margin-top: 50px;
    gap: 18px;
    width: 100%;
}

.novedad-webinar-info h1 {
    background: linear-gradient(306deg, #6B90DF 6.74%, #E06C75 55.01%, #E06C75 84.62%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.novedad-webinar-info h2 {
    width: 100%;
    text-align: center;
}

.novedad-webinar-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
time{
    text-align: center;
    width: 100%;
}
.novedad-webinar-image img {
    height: 100%;
    width: 85%;
    object-fit: cover;
    border-radius: 20px;
}

.novedad-webinar-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.novedad-webinar-text {
    width: 85%;
    text-align: justify;
}

.novedad-webinar-title-description {
    width: 85%;
    text-align: left;
}

.novedad-webinar-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.novedad-webinar-author-testimonio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 50%;
    text-align: center;
}

.novedad-webinar-author .team-info {
    flex-direction: column;
}

.novedad-webinar-author .team-card {
    width: 50%;
}

.novedad-webinar-author .social-links {
    gap: 50px;
    justify-content: center;
    align-items: center;
}

.novedad-webinar-author .team-quote {
    width: 100%;
    text-align: justify;
}

.novedad-webinar-author .team-photo {
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(to right, #e06c75, #6b90df);
}
/* -------------------------Novedades section index----------------------- */
.news-section,
.webinars-section {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 68px;
}

.news-container,
.webinars-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.webinar-row .webinar-card .webinar-date-container {
    justify-content: space-between;
}

.datetime-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

.pill {
    width: 96px;
    height: 24px;
    padding: 3px 19px;
    gap: 10px;
    border-radius: 20px;
    border: 1px solid var(--White, #FDFDFD);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
}

    .pill:hover {
        background: var(--Secondary, #6B90DF);
    }

.webinar-row {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    width: 85%;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    color: var(--variable-collection-white);
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    transition: all 0.3s ease;
    background: transparent;
}

.pagination-item:hover {
    background: var(--Secondary, #6B90DF);
}
.pagination-arrow {
    cursor: pointer;
}

.pagination-arrow:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.pagination-arrow[style*="cursor: default"] {
    opacity: 0.5;
    pointer-events: none;
}
.pagination-numbers {
    display: flex;
    flex-direction: row;
}

.pagination-item.active {
    background: var(--Secondary, #6B90DF);
    border-color: var(--Secondary, #6B90DF);
}

.pagination-item:hover:not(.active) {
    background: white;
}
.news-card,
.webinar-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    border-radius: 8px;
    background-color: var(--variable-collection-background-white);
    border-radius: var(--variable-collection-radius-radius-2);
    transition: transform 0.3s ease;
}

.news-card:hover,
.webinar-card:hover {
    transform: translateY(-5px);
}

.news-image,
.webinar-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.news-content,
.webinar-content {
    display: flex;
    width: 100%;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.news-date-container,
.webinar-date-container {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.news-link,
.webinar-link {
    display: flex;
    width: 168px;
    height: 48px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: #e9eaec;
    font-family: "Open Sans";
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-link:hover,
.webinar-link:hover {
    color: var(--variable-collection-primary-2);
}


/* About section */
.about-container-father {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.about-section {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 144px;
}

.principles-image{
    display: flex;
    width: 60%
}
.about-title-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 600px;
    margin-bottom: 48px;
    overflow: hidden;
}

.principles-image-desktop{
    display:none;
}

.nosotros-image-desktop img {
    width: 500px;
    height: auto;
    align-items: center;
    justify-content: center;
    display: flex;
}

.comunicacion-afectiva,
.colaboracion,
.personas-motivadas,
.adaptabilidad {
    display:none;
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 2;
    animation: circular-motion 10s linear infinite;
    transform-origin: 50% 50%
}

/* Posiciones iniciales */
.comunicacion-afectiva {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(0, -200px);
    animation-delay: 0s;
}

.colaboracion {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(200px, 0);
    animation-delay: 1.5s;
}

.personas-motivadas {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(0, 200px);
    animation-delay: 3s;
}

.adaptabilidad {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(-200px, 0);
    animation-delay: 4.5s;
}

/* Animación circular */
@keyframes circular-motion {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translate(200px) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg) translate(200px) rotate(-360deg);
    }
}

.team-container {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.team-card {
    display: flex;
    width: 558px;
    height: 547px;
    padding: 48px 0px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-radius: 8px;
    background-color: var(--variable-collection-background-white);
    transition: transform 0.3s ease;
}

    .team-card:hover {
        transform: translateY(-5px);
    }

.team-photo {
    width: 150px;
    height: 150px;
}

    .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.team-info {
    display: flex;
    width: 503px;
    align-items: center;
    align-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.team-name {
    color: var(--Tertiary_2, #e9eaec);
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.96px;
}

.social-links {
    display: flex;
    flex-direction: row;
}

.social-links img {
    display: flex;
    width: 50px;
    height: 50px;
    gap: 12.725px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.social-links img:hover {
    background: var(--primary-1);
}

.team-quote {
    margin-top: 20px;
}

/* Contact section */
.contact-section {
    /*contenedor principal*/
    display: flex;
    width: 100%;
    height: 720px;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-top: 50px;
}

.contact-form {
    display: flex;
    width: 85%;
    height: 584px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.form-container {
    /*contenedor principal*/
    display: flex;
    width: 100%;
    height: 650px;
    padding: 48px 108px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-radius: 8px;
    background: var(--Background--white, rgba(253, 253, 253, 0.05));
}

.form-group {
    display: flex;
    width: 840px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.form-group label {
    display: flex;
    width: 100%;
    height: 20px;
    padding-right: 347px;
    align-items: center;
    color: var(--Tertiary_2, #e9eaec);
    /* texto input _ Label */
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.form-group input {
    color: rgba(44, 45, 49, 0.5);
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid var(--Gradient_Button, #e06c75);
    background: var(--Tertiary_2, #e9eaec);
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */
    letter-spacing: 0.15px;
}

.form-group textarea {
    display: flex;
    width: 100%;
    height: 232px;
    min-height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    border-radius: 8px;
    border: 2px solid var(--Gradient_Button, #e06c75);
    background: var(--Tertiary_2, #e9eaec);
}

.form-group textarea::placeholder {
    flex: 1 0 0;
    align-self: stretch;
    color: rgba(44, 45, 49, 0.5);
    font-feature-settings: "liga" off, "clig" off;
    padding: 12px 16px;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */
    letter-spacing: 0.15px;
}

.form-container .btn-primary {
    width: 168px;
    justify-content: center;
    align-items: center;
}
/*----------------Modal Form---------------*/
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
#modalError{
    text-align:center;
}
#modalError img {
    width: 66px;
    height: 66px;
    margin-bottom: 1rem;
}
.modal-content {
    border-radius: 8px;
    background: var(--Primary_1, #2C2D31);
    padding: 2rem;
    text-align: center;
    position: relative;
    max-width: 556px;
    width: 90%;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -2px; 
    left: -2px; 
    right: -2px;
    bottom: -2px; 
    background: linear-gradient(to right, #e06c75 0%, #6b90df 100%);
    border-radius: 10px; 
    z-index: 0; 

}

.modal-content::after {
    content: '';
    position: absolute;
    top: 2px; 
    left: 2px;
    right: 2px; 
    bottom: 2px; 
    background: var(--Primary_1, #2C2D31);
    border-radius: 6px; 
    z-index: 0; 
}

.modal-content > * {
    position: relative;
    z-index: 1;
}

.modal-content img {
    width: 66px;
    height: 66px;
    margin-bottom: 1rem;
}

.modal-content h3 {
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-content p {
    align-self: stretch;
    font-size: 16px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    background: var(--Background--white, rgba(253, 253, 253, 0.05));
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
/*-------------------error styles---------------*/
.error-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    width: 85%;
}

.error-container h1 {
    color: var(--White, #FDFDFD);
    font-family: "Roboto Mono";
    font-size: 294.333px;
    font-style: normal;
    font-weight: 500;
    line-height: 128%; /* 376.746px */
    letter-spacing: 5.887px;
}

.error-text-title {
    font-family: "Open Sans";
    font-size: 24px;
    font-weight: 400;
    color: var(--White, #FDFDFD);
    margin: 0;
}

.error-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.error-text-description {
    font-size: 16px;
    font-weight: 400;
    color: var(--White, #FDFDFD);
}

.error-container img {
    width: 100%;
    height: auto;
    margin-top: 24px;
}

.error-image {
    width: 100%;
    height: auto;
}
/* Footer styles */
.footer-container {
    /*contenedor principal*/
    display: flex;
    height: 392px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-content {
    display: flex;
    width: 85%;
    height: 226px;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-media {
    display: flex;
    height: 226px;
    gap: 30px;
    flex-direction: column;
    align-items: center;
}

.footer-media-content {
    display: flex;
    width: 254px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}

.footer-logo-container {
    display: flex;
    width: 254px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7.583px;
}

.footer-social-media {
    width: 254px;
    height: 35px;
    padding-right: 125px;
    align-items: flex-start;
    display: flex;
    gap: 12.725px;
    cursor: pointer;
}

.footer-social-media img {
    display: flex;
    width: 50px;
    height: 50px;
    padding: 12.725px;
    gap: 12.725px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.footer-social-media img:hover {
    background: var(--Secondary, #6B90DF);
}

.copyright {
    margin-top: 20px;
    width: 370px;
    height: 49px;
    color: #fff;
    font-family: Raleway;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 29px; /* 181.25% */
}

.footer-link {
    background: linear-gradient( 301deg, #e06c75 25.7%, #6b90df 91.91%, #e06c75 56.81%, #e06c75 57.34% );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Raleway;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 29px;
}

.footer-services {
    display: flex;
    width: 690px;
    height: 226px;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.footer-menu {
    display: flex;
    height: 226px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-menu-content {
    display: flex;
    width: 140.7px;
    height: 24px;
    flex-direction: column;
    justify-content: center;
}

.footer-menu h3 {
    display: flex;
    width: 140.7px;
    height: 24px;
    flex-direction: column;
    justify-content: center;
}

.footer-menu-list-services {
    color: #d3d3d3;
    font-family: "Roboto";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px; /* 150% */
    display: flex;
    width: 209px;
    height: 21px;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 360px) and (max-width: 768px) {
    /* Navbar----------------------- */
    h2 {
        width: 95%;
        font-size: 30px;
    }

    h4 {
        width: 90%;
        font-size: 24px;
    }

    .main-header {
        height: 62px;
        padding: 9px 34.289px 9px 22px;
    }

    .header-content {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .logo {
        display: none;
    }

    .logo-mobile {
        display: block;
        width: 61.711px;
        height: 23.056px;
    }

    .menu-toggle {
        display: flex;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .main-nav,
    .main-header
    .btn-primary {
        display: none;
    }

    /* Estilos del menú móvil */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #2c2d31;
        z-index: 1000;
    }

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 9px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .close-menu {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-nav {
        padding: 20px;
        display: block;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav .nav-item {
        margin-bottom: 20px;
    }

    .nav-item a:hover::after {
        display: none;
    }

    .mobile-nav .nav-item a {
        color: var(--White, #fdfdfd);
        font-family: "Roboto Mono";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 27px; /* 168.75% */
        display: block;
    }
    /* --------------------Main Container------------------------- */
    .main-container {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .content {
        padding: 20px;
        gap: 40px;
        width: 100%;
        justify-content: center;
    }

    .mapa-neps {
        display: none;
    }

    .map {
        display: flex;
        align-self: center;
        margin: 0 auto;
        width: 325.162px;
        height: 316.698px;
    }
    /* --------------------Seccion servicios------------------------- */

    .services {
        /* margin-left: 20px; */
        width: 100%;
    }

    .services-container {
        width: 100%;
        gap: 20px;
    }

    .service-header {
        flex-direction: row;
        gap: 12px;
    }

    .service-icon {
        width: 32px;
        height: 32px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-title {
        color: #fff;
        text-align: center;
        font-family: "Open Sans";
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 30px; /* 150% */
    }

    .our-services-container-1,
    .our-services-container-2 {
        flex-direction: column;
        width: 90%;
        gap: 20px;
    }

    .service-card {
        width: 100%;
        padding: 24px 16px;
        border-radius: 8px;
        align-items: flex-start;
        gap: 40px;
    }

    .service-description {
        color: #fff;
        margin-top: 8px;
        height: auto;
        text-align: justify;
        font-family: "Open Sans";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }
    /* --------------------novedades estructura------------------------- */
    .services-grid {
        grid-template-columns: 1fr;
        width: 95%;
        gap: 1rem;
        padding: 1rem;
    }

    .service-card {
        height: auto;
        padding: 1.5rem;
    }

    .service-header {
        justify-content: flex-start;
    }

    .tech-list {
        height: auto;
        min-height: 150px;
    }
    /* --------------------modificar------------------------- */
    .stats {
        width: 100%;
        margin: 0 auto;
        gap: 0;
    }

    .stats-container {
        width: 90%;
    }

    .stats-container-content {
        width: 100%;
    }

    .content-stats {
        display: flex;
        flex-direction: column;
        width: 90%;
        gap: 24px;
    }

    .stat-item {
        justify-content: flex-start;
        padding: 16px;
        background: rgba(253, 253, 253, 0.05);
        border-radius: 8px;
        gap: 40px;
        width: 100%;
    }

    .stat-item img {
        width: 24px;
        height: 24px;
    }

    .stat-content {
        flex-direction: row;
        gap: 12px;
    }

    .stat-number {
        color: #e06c75;
        font-family: "Open Sans";
        font-size: 24px;
        font-weight: 600;
    }

    .stat-label {
        color: #fff;
        font-family: "Open Sans";
        font-size: 16px;
        font-weight: 400;
    }
    /* --------------------error seccion------------------------- */
    .error-container{
        flex-direction:column;
        width: 100%;
    }
    .error-text-container h1{
        font-size: 150px;
    }
    .error-text-title{
        font-size: 18px;
    }
    .error-text-container{
        align-items: center;
        display: flex;
    }
    .error-text-description{
        width: 90%;
        text-align: center;
    }
    /* --------------------agile seccion------------------------- */

    .agile-section {
        gap: 40px;
        flex-direction: column;
    }

    .agile-title {
        font-size: 34px;
        letter-spacing: -2px;
        align-items: center;
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .agile-content {
        height: 100%;
        width: 100%;
    }

    .agile-description {
        width: 90%;
        align-self: center;
        height: auto;
        font-size: 18px;
    }

    .agile-image img {
        display: none;
    }

    .about-section {
        width: 428px;
    }

    .agile-section .btn-secondary {
        display: none;
    }

    .agile-link-2 {
        margin-top: 44px;
        display: flex;
        align-self: center;
        padding: 13px 31px;
        background: linear-gradient(91deg, #e06c75 0%, #6b90df 100%);
        border: none;
        border-radius: 8px;
        color: var(--variable-collection-tertiary-2);
        font-family: "Open Sans";
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .service-icon-agile {
        display: flex;
        align-self: center;
        width: 66px;
        height: 66px;
    }
    /* --------------------100% remotos seccion------------------------- */

    .remote-section {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .remote-section .btn-secondary {
        display: none;
    }

    .remote-content {
        width: 100%;
    }

    .remote-title {
        width: 100%;
        font-size: 34px;
    }

    .service-icon-remote {
        display: flex;
        align-self: center;
        width: 66px;
        height: 66px;
    }

    .remote-description {
        font-size: 18px;
        width: 90%;
        align-self: center;
    }

    .remote-title {
        text-align: center;
    }

    .remote-image img {
        display: none;
    }
    /* --------------------seccion noostros------------------------- */
    .about-section {
        width: 100%;
    }

    .about-container-father {
        width: 100%;
        gap: 0;
        justify-content: center;
    }

    .about-title-image-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 400px;
        width: 100%;
    }

    .principles-image-desktop {
        display: none;
    }

    .comunicacion-afectiva, .colaboracion, .personas-motivadas, .adaptabilidad {
        display: none;
    }

    .principles-image, .nosotros-image-desktop {
        margin-top: 20px;
        display: flex;
        height: 100%;
        width: 100%;
    }

    .team-container {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .team-card {
        width: 90%;
        justify-content: center;
        flex-direction: row;
        height: 100px;
        padding: 16px 16px;
        margin: 0 auto;
    }

    .team-photo {
        width: 50px;
        height: 50px;
    }

    .team-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 1;
    }

    .team-name {
        color: var(--Tertiary_2, #e9eaec);
        font-family: "Open Sans";
        font-size: 18px;
        font-weight: 600;
        /* padding-right: 70px; */
        width: 100%;
    }

    .team-role {
        color: rgba(233, 234, 236, 0.6);
        font-family: "Open Sans";
        font-size: 14px;
        font-weight: 400;
        align-self: flex-start;
    }

    .social-links {
        display: none;
    }

    .team-quote {
        display: none;
    }

    /* --------------------seccion como trabajamos------------------------ */

    .work-method {
        margin-top: 60px;
        align-items: center;
        gap: 48px;
        width: 100%;
    }

    .difference-section h2,
    .how-work h2,
    .how-work h4 {
        text-align: center;
    }

    .how-work {
        width: 100%;
        height: auto;
        align-items: center;
        gap: 24px;
    }

    .how-work .btn-primary {
        align-self: center;
    }

    .work-description {
        width: 90%;
    }

    .work-illustration {
        display: none;
    }

    .work-subtitle {
        text-align: center;
        width: 90%;
    }
    /*-------------------- Sección Different-------------------- */
    .difference-section {
        align-items: center;
        justify-content: center;
        gap: 30px;
        width: 100%;
        margin: 0 auto;
    }

    .difference-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }

    .manager-features {
        width: 90%;
    }

    .manager-content {
        width: 100%;
        height: auto;
        align-items: center;
    }

    .difference-illustration {
        display: none;
    }

    /*-------------------- Sección Clientes-------------------- */
    .clients-section {
        width: 100%;
        margin: 0 auto;
        display: flex;
    }

    .logos-clients {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        padding: 40px 16px;
        height: auto;
    }

    .logos-clients-container {
        display: flex;
        width: 100%;
        height: 169px;
        justify-content: center;
        align-items: center;
        align-content: center;
        gap: 40px 37.531px;
        flex-wrap: wrap;
    }

    .logos-clients-container img {
        width: 71.555px;
        height: 20.396px;
    }


    /*-------------- novedades y webinar index------------------- */

    .novedad-webinar-author {
        width: 90%;
    }

    .novedad-webinar-image img {
        height: 50%;
        width: 90%;
    }

    .novedad-webinar-text {
        width: 90%;
        text-align: justify;
    }

    .novedad-webinar-title-description {
        width: 90%;
        text-align: left;
    }

    .novedad-webinar-author-testimonio {
        width: 90%;
    }

    .novedad-webinar-info h2 {
        width: 90%;
    }

    .pagination {
        gap: 4px;
    }

    .novedad-webinar-author .team-card {
        width: 100%;
    }

    .pagination-item {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .news-carousel-controls,
    .webinar-carousel-controls {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-secondary {
        width: 168px;
        align-self: center;
    }

    .carousel-dot.active {
        background: linear-gradient(91deg, #e06c75 0%, #6b90df 100%);
        width: 10px;
        height: 10px;
    }
    /* Estilos compartidos para los contenedores de carousel */

    .news-container,
    .webinars-container,
    .testimonial-content {
        width: 100%;
    }

    .webinar-content,
    .news-content {
        padding: 20px;
    }

    .pill {
        width: 86px;
    }

    .webinar-date {
        font-size: 12px;
    }

    .news-container,
    .webinars-container {
        grid-template-columns: 1fr;
        /*width: 90%;*/
    }

    .webinars-container, .webinar-row {
        flex-direction: column;
    }
    .carousel-inner {
        display: flex;
        transition: transform 0.3s ease-in-out;
        width: 100%;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
        /*gap: 1.5rem;*/
    }

    .testimonial-card {
        /*width: 90%;*/
    }

    .testimonial-text {
        width: 100%;
        height: 200px;
        font-size: 14px;
        overflow-y: auto;
    }

    .webinar-card,
    .news-card {
        width: 100%;
        display: flex;
    }

    /* Controles del carousel */
    .carousel-controls {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .carousel-dot.active {
        background: linear-gradient(91deg, #E06C75 0%, #6B90DF 100%);
        width: 10px;
        height: 10px;
    }

    /* Contenido interno de las cards */
    .card-content {
        width: 100%;
        height: 100%;
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Ajustes específicos para imágenes en las cards */
    .card-image {
        width: 100%;
        height: auto;
        border-radius: 8px;
        overflow: hidden;
    }

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /*-------------------- Sección Testimonials-------------------- */

    .carousel-controls {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
    }


    /*-------------------- Sección Contact form-------------------- */
    .modal-content{
        width: 70%;
    }
    .contact-section {
        width: 100%;
        height: 600px;
        margin: 0 auto;
        margin-top: 68px;
        gap: 0;
    }

    .contact-form {
        width: 100%;
    }

    .form-container {
        width: 90%;
        padding: 30px 20px;
        height: auto;
    }

    .form-group {
        width: 90%;
    }

        .form-group label {
            padding: 0;
            width: 90%;
        }

        .form-group textarea {
            min-height: 100px;
            height: 50px;
            resize: vertical;
            overflow: auto;
        }

    /* ------------------------Footer section-------------------------*/
    .footer-container {
        width: 100%;
        align-items: center;
        height: 900px;
        gap: 300px;
    }

    .footer-content {
        width: 100%;
        flex-direction: column-reverse;
        align-items: center;
        gap: 50px;
        justify-content: center;
    }

    .footer-media {
        align-items: center;
        text-align: center;
        margin-top: 90px;
    }

    .linear {
        width: 338.001px;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        margin-top: 30px;
        align-self: center;
    }

    .copyright {
        width: 338px;
        align-self: center;
    }

    .footer-social-media {
        justify-content: center;
        padding-right: 0;
        width: 100%;
    }

    .footer-social-media img {
        display: flex;
        width: 50px;
        height: 50px;
        padding: 12.725px;
        gap: 12.725px;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.05);
    }

    .footer-logo-container {
        align-items: center;
        width: 100%;
    }

    .footer-services {
        width: 100%;
        flex-direction: column;
        gap: 48px;
        align-items: center;
        height: 428px;
        margin-top: 90px;
    }

    .footer-menu {
        align-items: center;
        height: 408px;
        width: 338px;
    }

    .footer-menu-list-services {
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .footer-content h3 {
        text-align: center;
        width: 100%;
        font-size: 24px;
    }
}

@media (min-width: 769px) and (max-width:992px) {


    .main-nav ul {
        display: flex;
        gap: 24px;
    }


    .main-header .btn-primary {
        width: 140px;
    }


    /* Hover states */
    .main-nav ul li a:hover {
        color: white;
    }

    .btn-primary:hover {
        opacity: 0.9;
    }


    .service-card {
        padding: 20px;
    }

    .service-header {
        gap: 10px;
        margin-bottom: 15px;
        width: 100%;
    }

        .service-header h3 {
            margin: 0;
            font-size: 20px;
            line-height: 1.3;
        }

    .service-icon {
        width: 35px;
        height: 35px;
        object-fit: contain;
    }

    .service-description {
        flex: 1;
        margin: 0 0 20px 0;
        line-height: 1.5;
        font-size: 16px;
    }

    .service-card .btn-secondary {
        width: fit-content;
        padding: 10px 20px;
        margin-top: auto;
        align-self: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 95%;
        gap: 1.5rem;
    }

    .especialistas-card-container .service-card {
        height: auto;
        min-height: 300px;
    }

    .tech-list {
        height: auto;
        min-height: 200px;
    }

    /* Contenedor de servicios */
    .our-services-container-1,
    .our-services-container-2 {
        width: 90%;
        display: flex;
        justify-content: center;
        gap: 32px;
        margin: 0 auto;
    }

    .stats-container {
        width: 95%;
        padding: 32px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    .stats {
        gap: 0;
    }

    .stats-container-content {
        width: 100%;
    }

    .content-stats {
        width: 100%;
        flex-direction: row;
    }

    .stat-item {
        gap: 12px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .stat-content {
        align-items: flex-start;
    }

    .stat-number {
        font-size: 24px;
        font-weight: 600;
        margin: 0;
        background: linear-gradient(91deg, #E06C75 0%, #6B90DF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        white-space: nowrap;
    }

    .stat-text {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
        white-space: nowrap;
    }

    .agile-section,
    .remote-section {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
        padding: 0 24px;
        width: 100%;
    }

    .agile-content,
    .remote-content {
        width: 45%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .agile-title,
    .remote-title {
        font-size: 40px;
        letter-spacing: -1px;
        line-height: 1.2;
    }

    .agile-description,
    .remote-description {
        font-size: 20px;
        width: 90%;
    }

    .agile-image,
    .remote-image {
        width: 45%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .agile-image img,
        .remote-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 8px;
            display: block; /* Asegura que la imagen se muestre */
        }

    /* Botones de ambas secciones */
    .agile-section .btn-secondary,
    .remote-section .btn-secondary {
        align-self: flex-start;
        margin-top: 24px;
    }

    .difference-section, .work-method {
        width: 90%;
        margin: 60px auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .difference-container, .how-work {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .manager-content, .how-work {
        width: 50%;
        flex-direction: column;
        gap: 24px;
    }

    .manager-content h2, .how-work h2 {
        font-size: 32px;
        width: 100%;
    }

    .manager-content h4, .how-work h4 {
        font-size: 30px;
        text-align: left;
        letter-spacing: -2.2px;
    }

    .manager-features {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .error-container h1{
        font-size: 180px
    }
    .error-text-container{
        width: 90%;
    }
    .error-container{
        width: 90%;
    }

    .difference-illustration, .work-illustration {
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .difference-illustration img, .work-illustration img {
            width: 100%;
            height: auto;
            max-height: 350px;
            object-fit: contain;
        }

    .rol-section {
        width: 100%;
    }

    .logos-clients {
        width: 95%;
    }

    .team-container {
        width: 95%;
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .team-card {
        width: calc(50% - 16px); /* Ajustado para el nuevo gap */
        height: auto; /* Cambiado a auto para adaptarse al contenido */
    }

    .team-info {
        width: 100%;
        height: 300px;
        padding-left: 24px;
    }

    .novedad-webinar-author .team-info {
        flex-wrap: nowrap;
    }

    .author-info {
        width: 100%;
    }

    .testimonials-container {
        width: 100%;
        /*gap: 16px;*/
    }

    .testimonial-content {
        width: 100%;
    }

    .testimonial-card {
        width: 100%;
    }

    .testimonial-text {
        width: 100%;
        height: 200px;
        font-size: 15px;
        overflow-y: auto;
    }

    .novedad-webinar-author .team-quote {
        width: 90%;
    }


    .author-info {
        width: 100%;
        padding: 0;
        gap: 10px;
    }

    .author-image {
        width: 40px; /* Imagen de autor más pequeña */
        height: 40px;
    }

    .author-name {
        font-size: 16px;
        width: 100%;
        line-height: normal;
    }

    .author-company {
        font-size: 14px;
        height: auto;
    }

    .news-container,
    .webinars-container {
        grid-template-columns: repeat(3, 1fr);
        /*width: 90%;*/
    }

    .news-content,
    .webinar-content {
        padding: 16px;
    }

    .news-date-container,
    .webinar-date-container {
        font-size: 14px;
    }

    .webinar-row {
        width: 95%;
    }

    .nosotros-image-desktop {
        width: 70%;
        height: auto;
    }

    .especialistas-container .novedad-webinar-text,
    .novedad-webinar-description .novedad-webinar-text,
    .novedad-webinar-title-description {
        width: 90%;
    }

    .especialistas-container .novedad-webinar-image img,
    .novedad-webinar-image img {
        width: 90%;
    }

    .novedad-webinar-info h2 {
        width: 90%;
    }

    .novedad-webinar-author .team-card {
        width: 550px;
    }
    /* .news-link,
  .webinar-link {
      font-size: 14px;
      padding: 8px 0;
      margin-top: auto;
  }  */
    .contact-section {
        width: 100%;
        padding: 40px 0;
        display: flex;
        justify-content: center;
    }

    .contact-form {
        width: 90%;
    }

    .form-container {
        width: 100%;
        padding: 50px;
        gap: 24px;
    }

    .form-group {
        width: 100%;
    }

        .form-group label {
            font-size: 16px;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
            max-height: 200px; /* Limita la altura máxima */
        }

    /* Estilo para el botón del formulario si existe */
    .form-container button {
        margin-top: 16px;
        padding: 12px 24px;
    }

    /* Asegura que los inputs no se desborden */
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #6B90DF;
    }
    /* Aseguramos que el contenedor principal tenga el mismo ancho */
    .contact-form {
        width: 90%;
        margin: 0 auto;
    }

    .footer-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .footer-content {
        width: 90%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
    }



    .footer-services {
        display: flex;
        gap: 0;
        width: 75%;
        justify-content: flex-end;
    }

    .footer-menu {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-width: 160px; /* Ancho mínimo para las columnas */
    }

        .footer-menu h3 {
            font-size: 20px;
        }

    .copyright {
        width: 90%;
        font-size: 14px;
    }
}

@media (min-width: 993px) and (max-width:1325px) {
    .main-header {
        width: 100%;
    }

        .main-header .btn-primary {
            width: 140px;
        }

    .service-card {
        width: 50%;
        justify-content: space-between;
        height: 500px;
    }

    .our-services-container-1,
    .our-services-container-2 {
        width: 90%;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        width: 95%;
        gap: 1.75rem;
    }

    .especialistas-card-container .service-card {
        height: auto;
        min-height: 350px;
    }

    .tech-list {
        height: auto;
        min-height: 200px;
    }

    .novedad-webinar-image img {
        width: 90%;
    }

    .novedad-webinar-description .novedad-webinar-text,
    .novedad-webinar-title-description,
    .novedad-webinar-info h2 {
        width: 90%;
    }

    .service-card .btn-secondary {
        margin: 0;
    }

    .stats-container {
        width: 90%;
    }

    .stats-container-content {
        width: 100%;
    }

    .content-stats {
        width: 95%;
        gap: 24px;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-item {
        gap: 24px;
    }

    .agile-section,
    .remote-section {
        gap: 90px;
        width: 90%;
    }

    .agile-content,
    .remote-content {
        width: 50%;
    }

    .work-method {
        width: 90%;
        gap: 0px;
        height: auto;
    }

    .difference-section {
        width: 100%;
        gap: 0px;
    }

    .how-work {
        width: 40%;
    }

    .manager-content {
        width: 50%;
        height: auto;
    }

    .manager-features {
        width: 90%;
    }

    .difference-illustration {
        width: 400px;
    }

    .agile-description,
    .remote-description {
        width: 100%;
    }

    .rol-section {
        width: 100%;
    }

    .team-container {
        width: 95%;
    }

    .team-card {
        width: 50%;
    }

    .team-info {
        width: 90%;
    }

    .author-info {
        width: 100%;
    }

    .testimonials-container {
        /*width: 95%;*/
    }

    .testimonial-content {
        width: 100%;
    }

    .testimonial-card {
        width: 100%;
    }

    .testimonial-text {
        width: 100%;
        height: 200px;
        font-size: 15px;
        overflow-y: auto;
    }

    .author-company {
        width: 90%;
    }

    .webinars-container,
    .news-container {
        /*width: 95%;*/
    }


    .webinar-row {
        width: 95%;
    }

    .form-container {
        width: 95%;
    }

    .contact-form {
        width: 95%;
    }

    .copyright {
        width: 90%;
    }
}

.news-container-wrap {
    width: 85%;
}

.testimonial-container-wrap {
    width: 85%;
}

@media (min-width: 360px) and (max-width: 1325px) {
    .news-container-wrap {
        width: 90%;
    } 
    
    .testimonial-container-wrap {
        width: 90%;
    }
}

.section {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ----- ESTILOS FEDE ------*/

.body {
   width: 85%;
}

@media (min-width: 360px) and (max-width: 768px) {
    .body {
        width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .body {
        width: 90%;
    }
}

@media (min-width: 993px) and (max-width: 1325px) {
    .body {
        width: 90%;
    }
}

.custom-unordered-list {
}

.custom-list-item {
   margin: 20px 0;
}

.custom-paragraph {
   margin: 20px 0;
}

.blue {
    color: #afbcdc;
}

.red {
   color: #e06c75
}

.title-gradient {
    text-align: left;
    background: linear-gradient(303deg, #6b90df 32.04%, #e06c75 72.99%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote {
    font-size: 18px;
    font-style: italic;
    border-left: 3px solid;
    border-image: linear-gradient(360deg, #6b90df 32.04%, #e06c75 72.99%) 1;
    margin-left: 30px;
    padding: 10px;
    margin: 60px 30px;
}

.quote-text {}

.quote-name {
    font-size: 16px; 
    font-style: normal; 
    color: rgba(175, 188, 220, 1); 
    margin: 20px 0 0 50px;
}
