 :root {
            --midnight: #0f172a;
            --tech-blue: #38bdf8;
            --soft-bg: #f8fafc;
            --text-muted: #64748b;
        }
        

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--soft-bg);
            color: var(--midnight);
            overflow-x: hidden;
        }

        /* Navbar */
        .navbar {
            background-color: rgba(15, 23, 42, 0.95);
            padding: 1rem 0;
            backdrop-filter: blur(10px);
        }
        .navbar-brand {
            font-weight: 700;
            letter-spacing: 1px;
            color: #fff !important;
        }
        .navbar-brand span {
            color: var(--tech-blue);
        }
        .nav-link {
            color: rgba(255,255,255,0.8) !important;
            font-size: 0.9rem;
            margin: 0 10px;
            transition: color 0.3s;
        }
        .nav-link:hover {
            color: var(--tech-blue) !important;
        }

        /* Hero Section */
        /* Nuevo CSS para un Hero profesional */
        .hero {
            position: relative;
            width: 100%;
            /* Eliminamos el padding fijo y usamos min-height si fuera necesario */
            padding-top: 80px; /* Igual a la altura de tu navbar */
        }

        .hero img {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
            padding-top: 60px;
        }
        .hero-title {
            font-weight: 700;
            font-size: 3.5rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }
        .hero-subtitle {
            color: #94a3b8;
            font-size: 1.1rem;
            max-width: 600px;
            margin-bottom: 2.5rem;
        }
        .btn-tech {
            background-color: var(--tech-blue);
            color: var(--midnight);
            font-weight: 600;
            padding: 12px 30px;
            border-radius: 50px;
            border: none;
            transition: all 0.3s;
        }
        .btn-tech:hover {
            background-color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
        }

        /* Services */
        .section-padding {
            padding: 100px 0;
        }
        .service-card {
            background: #fff;
            border-radius: 20px;
            padding: 40px;
            height: 100%;
            border: 1px solid #e2e8f0;
            transition: all 0.3s;
        }
        .service-card:hover {
            transform: translateY(-10px);
            border-color: var(--tech-blue);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
        }
        .service-icon {
            font-size: 2.5rem;
            color: var(--tech-blue);
            margin-bottom: 20px;
            display: inline-block;
        }
        .service-card h4 {
            font-weight: 700;
            margin-bottom: 15px;
        }

        /* Alliance Banner */
        .alliance-banner {
            background-color: #f1f5f9;
            padding: 40px 0;
            border-top: 1px solid #e2e8f0;
            border-bottom: 1px solid #e2e8f0;
        }
        .alliance-text {
            color: var(--text-muted);
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* Footer */
        .site-footer {
            background-color: var(--midnight);
            color: #94a3b8;
            padding: 80px 0 40px;
        }
        .footer-brand {
            color: #fff;
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 20px;
            display: block;
        }
        .footer-brand span { color: var(--tech-blue); }
        .footer-link {
            color: #94a3b8;
            text-decoration: none;
            transition: color 0.3s;
            display: block;
            margin-bottom: 10px;
        }
        .footer-link:hover { color: #fff; }
        .social-icons a {
            font-size: 1.2rem;
            color: #94a3b8;
            margin-right: 15px;
            transition: color 0.3s;
        }
        .social-icons a:hover { color: var(--tech-blue); }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title { font-size: 2.5rem; }
        }
        
        .maintenance-warning {
            background-color: #ffc107; /* Amarillo de advertencia Bootstrap */
            border-top: 4px solid #000;
            border-bottom: 4px solid #000;
            padding: 15px 0;
            color: #000;
            font-weight: 700;
        }

        .blink-animation {
            animation: blinker 1.5s linear infinite;
        }

        @keyframes blinker {
            50% { opacity: 0.2; }
        }

        .warning-text {
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.95rem;
        }

        /* Ajustes para la sección About */
#nosotros .bg-primary {
    background-color: var(--tech-blue) !important;
}

#nosotros img {
    transition: transform 0.5s ease;
}

#nosotros img:hover {
    transform: scale(1.02);
}

/* Para asegurar que el scroll-margin sea correcto al hacer clic en el menú */
#nosotros {
    scroll-margin-top: 80px;
}

/* Estilo para el botón Leer más */
.btn-read-more {
    color: var(--tech-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover {
    color: var(--midnight);
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Ajuste para que todas las tarjetas tengan el mismo alto y el botón al final */
.service-card {
    display: flex;
    flex-direction: column;
}

/* Sección CTA Horizontal */
.cta-banner {
    background: linear-gradient(135deg, var(--midnight) 0%, #1e293b 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

/* Efecto decorativo de fondo */
.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--tech-blue);
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.cta-text h3 {
    color: #fff;
    font-size: 1.75rem;
}

.cta-text p {
    color: #cbd5e1;
    font-size: 1rem;
}

/* Botón llamativo invertido */
.btn-light-tech {
    background-color: var(--tech-blue);
    color: var(--midnight);
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 50px;
    border: 2px solid var(--tech-blue);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-light-tech:hover {
    background-color: transparent;
    color: var(--tech-blue);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 768px) {
    .cta-text {
        text-align: center;
    }
    .cta-banner {
        padding: 40px 0;
    }
}

/* Latest News Styles */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.news-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-container img {
    transform: scale(1.1);
}

.news-card .badge {
    top: 0;
    left: 0;
    font-weight: 500;
    background-color: var(--tech-blue) !important;
}

/* Resaltado del idioma activo */
.active-lang {
    opacity: 1 !important;
    border-bottom: 2px solid var(--tech-blue);
    padding-bottom: 0px !important;
}

/* Efecto hover suave para banderas */
.nav-link.opacity-50:hover {
    opacity: 0.8 !important;
    transition: opacity 0.3s;
}
