body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8fafc; /* Lighter gray */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.hero-bg {
    background-color: #111827; /* Negro suave */
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo-blue {
    color: #0D6EFD;
}

.logo-red {
    color: #E63946;
}

.primary-btn {
    background-color: #0D6EFD; /* Blue from your logo */
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .primary-btn:hover {
        background-color: #0B5ED7;
        transform: translateY(-2px);
    }

.secondary-btn {
    background-color: transparent;
    color: #f8fafc;
    border: 2px solid #f8fafc;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

    .secondary-btn:hover {
        background-color: #f8fafc;
        color: #111827;
        transform: translateY(-2px);
    }

.section-title {
    color: #1e293b; /* Darker gray */
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    }
/* Animation styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Logo Carousel Styles */
.logo-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.logo-track {
    display: flex;
    width: calc(200px * 20); /* 10 logos * 2 */
    animation: scroll 40s linear infinite;
}

.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

.logo-slide {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.tech-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease-in-out;
    max-height: 64px; /* h-16 */
}

.logo-slide:hover .tech-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 10));
    }
}

/* Language Switcher */
.lang-switcher button {
    transition: all 0.2s ease;
}

    .lang-switcher button.active {
        color: #0D6EFD;
        font-weight: 700;
    }

/* Animated Underline for Nav Links */
.animated-underline {
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease-out;
}

    .animated-underline::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #0D6EFD;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease-out;
    }

    .animated-underline:hover {
        color: #0D6EFD;
    }

        .animated-underline:hover::after {
            transform: scaleX(1);
        }

/* Hamburger Menu Icon Animation - CORRECTED */
.hamburger-button {
    width: 24px;
    height: 24px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

    .hamburger-button span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #1e293b;
        border-radius: 2px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

        .hamburger-button span:nth-child(1) {
            top: 4px;
        }

        .hamburger-button span:nth-child(2) {
            top: 11px;
        }

        .hamburger-button span:nth-child(3) {
            top: 18px;
        }

    .hamburger-button.is-active span:nth-child(1) {
        top: 11px;
        transform: rotate(135deg);
    }

    .hamburger-button.is-active span:nth-child(2) {
        opacity: 0;
        left: -24px;
    }

    .hamburger-button.is-active span:nth-child(3) {
        top: 11px;
        transform: rotate(-135deg);
    }
