body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: black;
}

.compact-header {
    background: linear-gradient(to left, #217bfe, #078efb, #ac87eb, #ee4d5d);
    padding: 8px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.5));
}

.nav-compact {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link-compact {
    font-size: 16px;
    padding: 8px 10px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-link-compact:hover {
    opacity: 0.8;
}

.contact-button {
    text-decoration: none;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 11px;
}

.contact-button.phone {
    background-color: #4285F4;
}

.contact-button.email {
    background-color: #EA4335;
}

.gradient-text {
    background: linear-gradient(to left, #217bfe, #078efb, #ac87eb, #ee4d5d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

/* Estilos específicos para la entrada de blog */
.article-content h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
    border-bottom: 2px solid #eff6ff;
    padding-bottom: 5px;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.article-content p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    color: #4b5563;
}

.article-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.article-content a {
    color: #2563eb;
    text-decoration: underline;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.reveal {
    opacity: 0;
    /* Empieza invisible */
    transform: translateY(30px);
    /* Empieza un poco más abajo */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    /* Se vuelve visible */
    transform: translateY(0);
    /* Sube a su posición original */
}


body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: black;
}

.bg-hero-pattern {
    background-color: white;
    position: relative;
    overflow: hidden;
}

/* Animated background circles */
.bg-hero-pattern::before,
.bg-hero-pattern::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 15s infinite ease-in-out;
}

.bg-hero-pattern::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #217bfe, transparent 60%);
    top: -10%;
    left: -10%;
}

.bg-hero-pattern::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #078efb, transparent 60%);
    bottom: -20%;
    right: -15%;
    animation-delay: 3s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

/* Service card hover effect */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-card:hover .glow {
    opacity: 0.1;
    transform: scale(2.5);
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.glow-blue {
    background-color: #217bfe;
}

.glow-green {
    background-color: #34d399;
}

.glow-purple {
    background-color: #ac87eb;
}

.glow-red {
    background-color: #ee4d5d;
}

.glow-indigo {
    background-color: #6366f1;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Chat Widget Styles */
.chat-options-container {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Section anchors for Google Sites */
.section-anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(to left, #217bfe, #078efb, #ac87eb, #ee4d5d);
}

.gradient-text {
    background: linear-gradient(to left, #217bfe, #078efb, #ac87eb, #ee4d5d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact info buttons */
.contact-button {
    text-decoration: none;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-size: 11px;
}

.contact-button.phone {
    background-color: #4285F4;
}

.contact-button.email {
    background-color: #EA4335;
}

.contact-button:hover {
    opacity: 0.9;
}

/* Carousel styles */
.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 200px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Estilos para el menú de navegación */
.navbar-nav>li>a {
    font-size: 12px;
    /* Reducido de 13px a 12px */
    padding: 10px 12px !important;
    /* Reducido el padding */
    font-weight: bold !important;
    color: black;
}

.navbar-nav {
    align-items: center;
}

/* Estilos para el submenú de "Cloud" - MEJORADO */
.dropdown {
    position: relative;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.submenu li {
    padding: 0;
}

.submenu a {
    color: black !important;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    transition: background-color 0.2s ease;
}

.submenu a:hover {
    background-color: #f1f5f9;
    color: #2563eb !important;
}

/* Asegurar que el submenú permanezca visible al pasar el cursor sobre él */
.dropdown .submenu:hover {
    display: block;
}

/* Estilos para el número y el correo */
.contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a {
    text-decoration: none;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-size: 11px;
}

.contact-info a.phone {
    background-color: #4285F4;
}

.contact-info a.email {
    background-color: #EA4335;
}

.contact-info a:hover {
    opacity: 0.9;
}

/* Header superior */
.top-header {
    background: linear-gradient(to left, #217bfe, #078efb, #ac87eb, #ee4d5d);
    padding: 8px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Ajustes para el menú responsivo */
@media (max-width: 991px) {
    .navbar-nav>li>a {
        font-size: 14px;
        padding: 10px 15px !important;
    }

    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
    }
}

/* NUEVOS ESTILOS PARA EL HEADER COMPACTO */
.compact-header {
    background: linear-gradient(to left, #217bfe, #078efb, #ac87eb, #ee4d5d);
    padding: 8px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 80px;
    /* Logo más grande */
    width: auto;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.5));
}

.nav-compact {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link-compact {
    font-size: 16px;
    padding: 8px 10px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-link-compact:hover {
    opacity: 0.8;
}

.contact-info-compact {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1200px) {
    .nav-link-compact {
        font-size: 11px;
        padding: 8px 8px;
    }
}

@media (max-width: 1080px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-compact {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 70px;
    }

    .nav-link-compact {
        font-size: 11px;
        padding: 6px 8px;
    }
}

/* Header Gradient */
.compact-header {
    background: linear-gradient(to left, #217bfe, #078efb, #ac87eb, #ee4d5d);
    padding: 8px 0;
}

/* Text Gradients para títulos */
.gradient-text {
    background: linear-gradient(to left, #217bfe, #078efb, #ac87eb, #ee4d5d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Estilos de navegación del header (Mismos que original) */
.nav-link-compact {
    font-size: 16px;
    padding: 8px 10px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-link-compact:hover {
    opacity: 0.8;
}

.contact-button {
    text-decoration: none;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 11px;
}

.contact-button.phone {
    background-color: #4285F4;
}

.contact-button.email {
    background-color: #EA4335;
}


/* Estilos específicos para las Tarjetas del Blog */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Sticky Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}