@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2d3436;
    --secondary-color: #0984e3;
    --accent-color: #00cec9;
    --text-color: #dfe6e9;
    --background-color: #1e272e;
    --card-background: #2d3436;
    --hover-color: #00b894;
    --font-primary: 'Poppins', sans-serif;
    --accent-color-filter: hue-rotate(180deg) saturate(1000%) brightness(0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 400;
}

/* Header Styles */
header {
    padding: 1rem;
    width: 100%;
    top: 0;
    z-index: 10000;
    height: 15vh;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    display: flex;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: var(--accent-color);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-text p {
    font-size: 2rem;
    line-height: 1.4;
    margin: 10px 0;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-animation {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.hero-gif {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(0, 206, 201, 0.3);
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-color) 100%);
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 206, 201, 0.1);
}

.hero-gif:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 206, 201, 0.5);
}

.digital-circuit {
    position: relative;
    width: 300px;
    height: 300px;
}

.circuit-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
}

.circuit-path {
    position: absolute;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    animation: circuitFlow 2s infinite;
}

.circuit-path.horizontal {
    width: 200px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.circuit-path.vertical {
    width: 2px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0.5s;
}

.circuit-path.diagonal-1 {
    width: 2px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation-delay: 1s;
}

.circuit-path.diagonal-2 {
    width: 2px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation-delay: 1.5s;
}

.circuit-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-color);
    animation: nodePulse 2s infinite;
}

.circuit-node.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.circuit-node.top {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0.5s;
}

.circuit-node.bottom {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    animation-delay: 1s;
}

.circuit-node.left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    animation-delay: 1.5s;
}

.circuit-node.right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
    animation-delay: 2s;
}

.circuit-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes circuitFlow {
    0% {
        opacity: 0.3;
        box-shadow: 0 0 5px var(--accent-color);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px var(--accent-color);
    }
    100% {
        opacity: 0.3;
        box-shadow: 0 0 5px var(--accent-color);
    }
}

@keyframes nodePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px var(--accent-color);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px var(--accent-color);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px var(--accent-color);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .hero-text p {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .hero-text p {
        font-size: 1.5rem;
    }

    .hero-animation {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    header {
        height: 12vh;
    }

    .hero {
        height: 88vh;
        padding: 1rem;
    }

    .hero-content {
        flex-direction: column-reverse;
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-text {
        width: 100%;
        text-align: center;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.3rem;
        margin: 1rem 0;
    }

    .cta-button {
        margin: 1rem auto;
        display: block;
    }

    .hero-animation {
        width: 100%;
        min-height: 250px;
        justify-content: center;
    }

    .hero-gif {
        max-width: 250px;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        color: var(--text-color);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 8%;
        right: 0;
        background-color: rgba(45, 52, 54, 0.9);
        backdrop-filter: blur(8px);
        /* padding: 1.5rem; */
        flex-direction: column;
        width: 250px;
        border-radius: 5px 0 0 5px;
        box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
        z-index: 10001;
        border: 1px solid rgba(0, 206, 201, 0.2);
    }

    .nav-links.active {
        display: block;
        /* line-height: 1; */
        text-align: right;
        font-size: 1.1rem;
    }

    .nav-links a {
        padding: 0.3rem 0;
        text-align: right;
        border-bottom: 1px solid rgba(0, 206, 201, 0.1);
        display: block;
        transition: all 0.3s ease;
        color: var(--text-color);
        text-decoration: none;
        position: relative;
    }

    .nav-links a:hover {
        color: var(--accent-color);
        background-color: rgba(0, 206, 201, 0.1);
        transform: translateX(-10px);
    }

    .nav-links a:active {
        transform: translateX(-15px);
        color: var(--hover-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) {
.cta-button{
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
}    /* Tus estilos acá */

.hero-gif{
    max-width: 180px;
}
}


@media (max-width: 576px) {
    header {
        height: 10vh;
        padding: 0 1rem;
    }

    .hero {
        height: 90vh;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .hero-content {
        margin: 0;
        gap: 0;
        height: 100%;
        justify-content: center;
    }

    .hero-text {
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .hero-animation {
        min-height: auto;
        height: 30%;
        display: flex;
        align-items: flex-end;
        margin-bottom: 1.5rem;
        padding-bottom: 0;
    }

    
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-top: -1rem;
    }

    .hero-text p {
        font-size: 1.1rem;
        margin: 1rem 0;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem !important;
        margin: 0.5rem auto;
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 5px;
    max-width: 200px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--text-color);
}

.cta-button:hover::before {
    width: 100%;
}

/* Services Section */
.services {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-bottom: 100px;
}

.services h2 {
    text-align: center;
    margin-bottom: 150px;
    font-size: 4.5rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 1rem;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-background);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 206, 201, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 206, 201, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 10px 30px rgba(0, 206, 201, 0.2);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.service-card h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 8rem 1rem;
    margin: 200px auto;
    position: relative;
    max-width: 1300px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.about h2 {
    color: var(--accent-color);
    margin-bottom: 3rem;
    font-weight: 600;
    font-size: 4.5rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.about-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0 2rem;
}

.about-content p::before,
.about-content p::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    font-family: serif;
}

.about-content p::before {
    top: -20px;
    left: 0;
}

.about-content p::after {
    bottom: -40px;
    right: 0;
}

@media (max-width: 1200px) {
    .about {
        padding: 6rem 1rem;
        margin: 150px auto;
    }

    .about h2 {
        font-size: 3.5rem;
        margin-bottom: 2.5rem;
    }

    .about-content p {
        font-size: 1.6rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 1rem;
        margin: 100px auto;
    }

    .about h2 {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    .about-content p {
        font-size: 1.4rem;
        line-height: 1.6;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 3rem 1rem;
        margin: 80px auto;
    }

    .about h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .about-content p {
        font-size: 1.2rem;
        line-height: 1.5;
        padding: 0 1.5rem;
        margin-top: 1.5rem;
    }

    .about-content p::before,
    .about-content p::after {
        font-size: 3rem;
        opacity: 0.2;
    }

    .about-content p::before {
        top: -25px;
        left: -5px;
    }

    .about-content p::after {
        bottom: -35px;
        right: -5px;
    }
}

/* Technologies Section */
.technologies {
    padding: 5rem 1rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.technologies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
}

.technologies h2 {
    text-align: center;
    margin-bottom: 120px;
    color: var(--accent-color);
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 1rem;
}

.technologies h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.tech-card {
    background: rgba(45, 52, 54, 0.7);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 206, 201, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 206, 201, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tech-card:hover::before {
    transform: translateX(100%);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 206, 201, 0.2);
    border-color: var(--accent-color);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.tech-icon i {
    font-size: 3.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon img {
}

.tech-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
}

.tech-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .technologies h2 {
        font-size: 3.5rem;
        margin-bottom: 100px;
    }
}

@media (max-width: 768px) {
    .technologies h2 {
        font-size: 2.8rem;
        margin-bottom: 80px;
    }
}

@media (max-width: 576px) {
    .technologies h2 {
        font-size: 2.2rem;
        margin-bottom: 60px;
    }
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background-color: var(--card-background);
    color: var(--text-color);
    font-family: var(--font-primary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--hover-color);
}

/* Footer */
footer {
    margin-top: 100px;
    background-color: var(--primary-color);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.footer-section p {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    font-size: 1.2rem;
}

.footer-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
    transition: all 0.5s ease;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 206, 201, 0.1);
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 300;
}

@media (max-width: 1200px) {
    .footer-content {
        padding: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .footer-section p,
    .footer-link {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    footer {
        margin-top: 80px;
        padding: 2rem 1rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
    }

    .footer-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .footer-section p,
    .footer-link {
        font-size: 1rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    footer {
        margin-top: 60px;
        padding: 1.5rem 1rem 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p,
    .footer-link {
        font-size: 0.9rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {


 

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72%;
        right: 0;
        background-color: rgba(45, 52, 54, 0.9);
        backdrop-filter: blur(8px);
        padding: 0.5rem 1rem;
        flex-direction: column;
        width: 150px;
        border-radius: 5px 0 0 5px;
        box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
        z-index: 10001;
        border: 1px solid rgba(0, 206, 201, 0.2);
    }

    .nav-links.active {
        display: block;
        /* line-height: 2.5; */
        text-align: right;
        font-size: 0.7rem;
    }

    .nav-links a {
        /* padding: 1rem 1.5rem; */
        text-align: right;
        border-bottom: 1px solid rgba(0, 206, 201, 0.1);
        display: block;
        transition: all 0.3s ease;
        color: var(--text-color);
        text-decoration: none;
        position: relative;
    }

    .nav-links a:hover {
        color: var(--accent-color);
        background-color: rgba(0, 206, 201, 0.1);
        transform: translateX(-10px);
    }

    .nav-links a:active {
        transform: translateX(-15px);
        color: var(--hover-color);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-section h3 {
        font-size: 1.5rem;
    }

    .footer-section p {
        font-size: 1.1rem;
    }

    .social-links a {
        font-size: 1.5rem;
    }

    .footer-bottom {
        font-size: 1rem;
    }
    .tech-more {
        margin-top: 3rem;
        padding: 2rem 0;
    }

    .tech-more p {
        font-size: 2rem;
    }

    .services h2 {
        font-size: 2.8rem;
        margin-bottom: 80px;
    }
} 

/* Clients Slider Styles */
.clients {
    padding: 4rem 0;
    background-color: var(--card-background);
    /* background: linear-gradient(180deg, rgba(45, 52, 54, 0.1) 0%, rgba(45, 52, 54, 0.05) 100%); */
    overflow: hidden;
    margin: 200px auto;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 201, 0.3), transparent);
}

.clients::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 201, 0.3), transparent);
}

.clients h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--accent-color);
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 1rem;
}

/* .clients h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
} */

.clients-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 0;
}

.clients-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.client-logo {
    flex: 0 0 auto;
    width: 250px;
    height: 125px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 206, 201, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 16px;
    /* background: linear-gradient(45deg, transparent, rgba(0, 206, 201, 0.1), transparent); */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-logo:hover::before {
    opacity: 1;
}

.client-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 206, 201, 0.2);
    border-color: var(--accent-color);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

.tech-more {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    padding: 3rem 0;
}

.tech-more p {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.tech-more-decoration {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto;
    position: relative;
}

.tech-more-decoration::before,
.tech-more-decoration::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
    top: 50%;
    transform: translateY(-50%);
}


@media (max-width: 576px) { 
    
    .logo-afip{ 
        max-width: 70px;
    }

    /* Servicios */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services h2 {
        font-size: 2.2rem;
        margin-bottom: 60px;
    }

    /* Hero */


    
    .hero-content{
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .hero-animation {
        min-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-gif {
        width: 30%;
        max-width: 143px;
        min-width: 130px;
        border-radius: 30px;
        padding: 0.8rem;
    }

    
}


@media (max-width: 480px) {
    .tech-more p {
        font-size: 1.8rem;
    }
    .nav-links.active {
        max-width: 93px;
        font-size: 0.6rem;
    }
}

@media (max-width: 355px) {
    .cta-button {
        overflow: visible;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 355px) {
.nav-links.active{
    max-width: 73px;
    font-size: 0.4rem;
}
}




@-webkit-keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
  .fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
  }
  
  .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
} 

.logo-afip{
    max-width: 100px;
}
@media (max-width: 1200px) {


    .clients {
        margin: 150px auto;
    }

    .clients h2 {
        font-size: 3.5rem;
        margin-bottom: 2.5rem;
    }

    .client-logo {
        width: 200px;
        height: 100px;
        margin: 0 1.5rem;
        padding: 1.2rem;
    }
}

@media (max-width: 992px) {
    .clients {
        margin: 120px auto;
    }

    .clients h2 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .client-logo {
        width: 180px;
        height: 90px;
        margin: 0 1.2rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content{
        flex-direction: column-reverse;
    }
    .logo-afip{
        max-width: 70px;
    }
    .clients {
        padding: 3rem 0;
        margin: 100px auto;
    }

    .clients h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .clients-slider {
        padding: 2rem 0;
    }

    .client-logo {
        width: 180px;
        height: 90px;
        margin: 0 1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .clients {
        padding: 2rem 0;
        margin: 80px auto;
    }

    .clients h2 {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .clients-slider {
        padding: 1.5rem 0;
    }

    .client-logo {
        width: 180px;
        height: 90px;
        margin: 0 0.8rem;
        padding: 0.6rem;
    }
}

@media (max-width: 400px) {
    .clients h2 {
        font-size: 2rem;
    }

    .client-logo {
        width: 160px;
        height: 80px;
        margin: 0 0.6rem;
        padding: 0.5rem;
    }
} 