/* Variables y reset */
:root {
    --primary: #3a86ff;
    --primary-dark: #2667cc;
    --secondary: #ff006e;
    --dark: #0c0c1d;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #00b4d8;
    --gradient-primary: linear-gradient(135deg, var(--primary), #5e60ce);
    --gradient-accent: linear-gradient(135deg, var(--secondary), #fb5607);
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-accent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    height: 5px;
    width: 80px;
    background: var(--gradient-primary);
    margin: 20px auto;
    border-radius: 5px;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 30px;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animación general para fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

/* Animación del logo flotante */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(58, 134, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0);
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
    position: relative;
}

.loader::before, .loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.loader::before {
    width: 70px;
    height: 70px;
    border: 5px solid transparent;
    border-left-color: var(--secondary);
    animation: spin 1.5s linear infinite reverse;
}

.loader::after {
    width: 30px;
    height: 30px;
    background: var(--primary);
    animation: pulse 2s ease infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(12, 12, 29, 0.95);
    box-shadow: var(--shadow);
    padding: 10px 0;
    backdrop-filter: blur(10px);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary);
    animation: float 3s ease-in-out infinite;
    padding-left: 5px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    margin-right: 2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.navbar .nav-links {
    display: flex;
    gap: 30px;
}

.navbar .nav-links a {
    color: var(--light);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: var(--transition);
    border-radius: 5px;
}

.navbar .nav-links a:hover::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--light);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(12, 12, 29, 0.9), rgba(12, 12, 29, 0.7)), url('../img/hero-tec1.jpg') center/cover;
    color: var(--light);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 10%, rgba(255, 0, 110, 0.3), transparent 30%),
        radial-gradient(circle at 20% 30%, rgba(58, 134, 255, 0.3), transparent 40%);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    animation: fadeIn 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 700;
    animation: fadeIn 0.8s ease 0.5s forwards;
    opacity: 0;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: rgba(248, 249, 250, 0.8);
    animation: fadeIn 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeIn 0.8s ease 1.1s forwards;
    opacity: 0;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--light);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.hero-image {
    position: absolute;
    right: 50px;
    bottom: 0;
    width: 40%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
    display: none;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--light);
    animation: fadeIn 0.8s ease 1.5s forwards, bounce 2s ease infinite;
    opacity: 0;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-30px) translateX(-50%);
    }
    60% {
        transform: translateY(-15px) translateX(-50%);
    }
}

/* Floating tech elements */
.tech-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    padding: 15px;
    box-shadow: var(--shadow);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    width: 70px;
    height: 70px;
    animation: float 6s ease-in-out infinite;
}

.tech-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0.5s;
}

.tech-element:nth-child(2) {
    top: 60%;
    left: 15%;
    animation-delay: 0.8s;
}

.tech-element:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 1.2s;
}

.tech-element:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

/* Features Section */
.features {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(94, 96, 206, 0.1));
    top: -150px;
    left: -150px;
    z-index: 0;
}

.features::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(251, 86, 7, 0.1));
    bottom: -150px;
    right: -150px;
    z-index: 0;
}

.features-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    position: relative;
    z-index: 2;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: var(--gradient-primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    background-color: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-description {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--secondary);
    gap: 10px;
}

/* About Section */
.about {
    background-color: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    color: rgba(248, 249, 250, 0.8);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-title {
    color: rgba(248, 249, 250, 0.7);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonial-container {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }

        /* CLAVE: Contenedor del slider con overflow hidden */
        .testimonial-slider {
            overflow: hidden;
            position: relative;
            width: 100%;
            height: 400px; /* Altura fija para evitar saltos */
        }

        /* CLAVE: Tarjetas posicionadas absolutamente para el efecto slide */
        .testimonial-card {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            background: white;
            border-radius: 20px;
            padding: 3rem 2rem;
            /*box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);*/
            text-align: center;
            transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
            opacity: 0;
            transform: translateX(100%);
        }

        .testimonial-card.active {
            opacity: 1;
            transform: translateX(0);
        }

        .testimonial-avatar {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid #007bff;
        }

        .testimonial-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .testimonial-text {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #666;
            margin-bottom: 1.5rem;
            font-style: italic;
        }

        .testimonial-name {
            font-size: 1.3rem;
            color: #333;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .testimonial-position {
            color: #007bff;
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Controles de navegación */
        .testimonial-controls {
            display: flex;
            justify-content: space-between;
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .testimonial-control {
            width: 50px;
            height: 50px;
            background: #007bff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            pointer-events: all;
            margin: 0 -25px;
            z-index: 10;
        }

        .testimonial-control:hover {
            background: #0056b3;
            transform: scale(1.1);
        }

        .testimonial-control i {
            font-size: 1.2rem;
        }

        /* Indicadores de puntos (opcional) */
        .testimonial-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 2rem;
        }

        .testimonial-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .testimonial-dot.active {
            background: #007bff;
        }

/* CTA Section */
.cta {
    background: linear-gradient(rgba(12, 12, 29, 0.9), rgba(12, 12, 29, 0.8)), url('../img/cta-tec.webp') center/cover;
    color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 10%, rgba(255, 0, 110, 0.3), transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(58, 134, 255, 0.3), transparent 30%);
    z-index: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-title.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.cta-description {
    margin-bottom: 40px;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-description.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.newsletter-form.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: var(--light);
    font-size: 1rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(248, 249, 250, 0.6);
}

.newsletter-button {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.3);
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-logo span {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-about {
    max-width: 300px;
}

.footer-about p {
    color: rgba(248, 249, 250, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 5px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(248, 249, 250, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: var(--light);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(248, 249, 250, 0.7);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(248, 249, 250, 0.6);
    font-size: 0.9rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 2;
    }

    .about-text {
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .navbar .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 250px;
        background-color: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1001;
    }

    .navbar .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1002;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

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

    .footer-about {
        max-width: 100%;
    }

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

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        background: transparent;
    }

    .newsletter-input {
        width: 100%;
        margin-bottom: 15px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.1);
    }

    .newsletter-button {
        width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la sección de tecnologías */
.tech-title {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: var(--light);
    position: relative;
    display: inline-block;
}

.tech-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px 10px;
    transition: var(--transition);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.tech-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 10px;
}

.tech-item:nth-child(1) .tech-icon {
    color: #E44D26; /* HTML5 color */
}

.tech-item:nth-child(2) .tech-icon {
    color: #264DE4; /* CSS3 color */
}

.tech-item:nth-child(3) .tech-icon {
    color: #F7DF1E; /* JavaScript color */
}

.tech-item:nth-child(4) .tech-icon {
    color: #61DAFB; /* React color */
}

.tech-item:nth-child(5) .tech-icon {
    color: #21759B; /* WordPress color */
}

.tech-item:nth-child(6) .tech-icon {
    color: #2496ED; /* Docker color */
}

.tech-item:nth-child(7) .tech-icon {
    color: #68A063; /* Node.js color */
}

.tech-item:nth-child(8) .tech-icon {
    color: #4DB33D; /* MongoDB color */
}

.tech-name {
    color: var(--light);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Media queries para la sección de tecnologías */
@media (max-width: 992px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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