/* Variables para temas claro y oscuro */
:root {
    --bg-color: linear-gradient(to top, rgb(145, 195, 239), rgb(255, 255, 255));
    --text-color: #333;
    --primary-color: #007BFF;
    --secondary-color: #6c757d;
    --card-bg: linear-gradient(to right, rgb(196, 228, 217), rgb(255, 255, 255) 100%);
    --border-color: #e0e0e0;
    --nav-bg: #ffffff;
    --footer-bg: linear-gradient(to top, rgb(196, 228, 217), rgb(255, 255, 255) 80%);
    --footer-text: #333;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --animation-duration: 0.8s;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --primary-color: #8ab4f8;
    --secondary-color: #9aa0a6;
    --card-bg: linear-gradient(to left, rgb(3, 17, 40)40%, rgb(0, 111, 241)90%);
    --border-color: #444;
    --nav-bg: linear-gradient(to bottom, #02023d, #003399);
    --footer-bg: #231f1fc7;
    --footer-text: #e6e3e3;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

/* Estilos Generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.5s ease, color 0.5s ease;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 50px 5%;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: var(--text-color);
}

/* --- Animaciones --- */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Encabezado y Navegación --- */
.header {
    background: var(--nav-bg);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5%;
}

.header-actions {
    display: flex;
    /* Convierte este contenedor en un flexbox también */
    align-items: center;
    /* Centra verticalmente los elementos dentro de él */
    gap: 1px;
    /* Añade un espacio entre el botón y el menú */
    padding-right: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: -5%;
    margin-right: 20px;
    /* Por si necesitas que el logo tenga un espacio a la derecha */
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.slogan {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
}

.mobile-text {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    padding: 10px 15px;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
    cursor: pointer;
    align-items: center center;
}

.nav-item:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--nav-bg);
    box-shadow: var(--box-shadow);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 5px;
    display: none;
    min-width: 250px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    background: linear-gradient(to top, rgb(3, 49, 123)40%, rgb(0, 111, 241)90%);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    transition: background-color 0.3s ease;
    color: #FFF;
}

.dropdown-menu li a:hover {
    color: #fff;
    /* Nuevo color de texto */
    background-color: #7088a1;
    /* Nuevo color de fondo */
    /* background-color: var(--card-bg);*/
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2em;
    cursor: pointer;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* --- Carrusel ---************* EN PC */
.carousel-section {
    padding: 0;
}

.carousel-container {
    display: flex;
    width: 90%;
    height: 50vh;
    margin: 0 auto;
    background: var(--card-bg);
    box-shadow: var(--box-shadow);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 3%;
}

.carousel-text-box,
.carousel-image-box {
    flex: 1;
    position: relative;
}

.carousel-text-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.carousel-image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease-in-out;
    /*transition: all 1s ease-out;*/
    opacity: 0;
}

.fixed-img {
    opacity: 1;
    z-index: 1;
    mask: linear-gradient(to right, transparent 0%, black 5%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 5%);
}

.carousel-img.active {
    opacity: 1;
    z-index: 2;
}

.carousel-images:hover {
    cursor: progress;
    animation-play-state: paused;
}


.animado {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animado.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Sección de Párrafo --- */
.text-section {
    text-align: justify;
    max-width: 100%;
    margin: 0 auto;
    hyphens: auto;
}

.negrita {
    font-weight: bold;
}

/* --- Sección de Soluciones y Stack --- */
.cards-container,
.stack-container {
    display: grid;
    gap: 30px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.stack-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stack-card img {
    width: 80%;
    max-width: 120px;
    height: auto;
}

/* --- Pie de Página --- */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 5%;
    text-align: center;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    margin-bottom: 10px;
}

.logo-footer {
    height: 60px;
}

.footer-links a,
.footer-social a {
    color: var(--footer-text);
    margin: 0 10px;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--primary-color);
}

/* --- Media Queries para Responsividad --- */
/* --- Media Queries para Responsividad --- */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: var(--nav-bg);
        box-shadow: var(--box-shadow);
        border-top: 1px solid var(--border-color);
        position: absolute;
        top: 70px;
        left: 0;
    }

    .nav-menu.active {
        display: flex;
        padding: 10px 0;
        /* Espaciado interno para las opciones */
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-list li {
        width: 100%;
        /* Asegura que cada item ocupe todo el ancho */
    }

    .nav-item {
        width: 100%;
        padding: 20px 15px;
        /* Aumentado el padding para más separación vertical */
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        width: 100%;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .hamburger-menu {
        display: block;
        background-color: transparent;
        /* Fondo del botón transparente */
        color: var(--text-color);
        /* Color del ícono en modo claro */
    }

    .hamburger i {
        /* Estilos del ícono de la hamburguesa */
        color: #000;
        /* Color predeterminado para el ícono en modo claro */
    }

    .mobile-text {
        display: block;
        flex: 1;
        text-align: center;
        font-size: 1em;
        font-weight: bold;
        color: inherit;
        margin-left: -9%;
    }

    .logo-container {
        height: 20px;
        flex: 0;
    }

    .logo {
        height: 30px;
        margin-right: 10px;
    }

    .slogan {
        display: none;
    }

    /* Solución definitiva para el carrusel en móvil */
    .carousel-container {
        display: block;
        width: 100%;
        height: auto;
        padding-bottom: 0;
        border-radius: 0;
    }

    .carousel-image-box {
        position: relative;
        height: 250px;
        /* Tamaño fijo y predecible */
        margin-bottom: 20px;
    }

    /* Vuelve a un comportamiento de bloque simple para las imágenes */
    .carousel-images,
    .carousel-img {
        position: static;
        display: block;
        width: 100%;
        height: 100%;
    }

    .carousel-img {
        object-fit: cover;
    }

    /* Corrige el problema de las tarjetas en modo móvil */
    .cards-container,
    .stack-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Asegura que los elementos se muestren */
    .card,
    .stack-card {
        opacity: 1 !important;
        transform: translate(0, 0) !important;
    }
}

/* Nuevas reglas para el modo oscuro en móvil */
[data-theme="dark"] .hamburger-menu i {
    color: white;
    /* El ícono ahora es blanco en modo oscuro */
}

@media (max-width: 768px) {
    [data-theme="dark"] .nav-menu.active {
        background: #2c3e50;
        /* Un color de fondo más sólido para el menú en modo oscuro */
    }

    [data-theme="dark"] .nav-menu.active .nav-item {
        color: #ecf0f1;
        /* Letras claras para las opciones */
    }

    [data-theme="dark"] .dropdown-menu li a {
        color: #ecf0f1;
        /* Letras claras para las opciones del submenú */
    }
}


@media (max-width: 480px) {
    .section-title {
        font-size: 2em;
    }
}

/* FONDO ESTRELLADO  */
.estrellado {
    /*background: linear-gradient(to left, #1a1a3d, rgb(40, 72, 142));*/
    /* background-color: #1a1a3d;*/
    /* Azul oscuro */
    position: relative;
    overflow: hidden;
    /* Para ocultar las estrellas que se salen del contenedor */
}

.estrellado::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle,
            rgba(255, 255, 255, 0.8) 1px,
            transparent 1.5px),
        radial-gradient(circle, rgba(255, 255, 255, 0.6) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1.5px);
    background-size: 200px 200px, 300px 300px, 400px 400px, 500px 500px;
    background-position: 0 0, 50px 50px, 100px 100px, 150px 150px;
    animation: moveStars 20s linear infinite;
    /* Animación para movimiento de estrellas */
    pointer-events: none;
    /* Permite que los clics pasen a través de las estrellas */
}

@keyframes moveStars {
    0% {
        background-position: 0 0, 50px 50px, 100px 100px, 150px 150px;
    }

    100% {
        background-position: -100px -100px, 0 0, 50px 50px, 100px 100px;
    }
}

/* FIN ESTRELLADO simula cielo estrellado */

/* === INICIO TARJETAS PARA SERVICIOS === */

.fila-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 30px;
    box-sizing: border-box;
    justify-content: center;
    place-items: center;
}

.servicios {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 250px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: transparent;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    margin-top: 10%;
    margin-block-end: 10%;
}

.servicios.visible {
    opacity: 1;
    transform: translateY(0);
}

.servicios:hover {
    transform: scale(1.2);
    cursor: default;
}

.servicios-titulo {
    background-color: #004080;
    color: white;
    padding: 10px;
    text-align: center;
}

.servicios-titulo h3 {
    color: white;
    margin: 0;
    font-size: 1.2em;
}

.servicios-contenido {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
    text-align: center;
}

.descripcion-servicios {
    font-size: 13px;
    color: inherit;
    margin-bottom: 5px;
}

.imagen-servicios {
    width: auto;
    height: 125px;
    overflow: hidden;
    object-fit: contain;
    margin: 0 auto;
}

.servicios img {
    max-width: auto;
    max-height: 125px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.servicios-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Botón Ver más */
.boton-servicios {
    margin-top: auto;
    padding: 5px;
    text-align: center;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 0 0 12px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.boton-servicios:hover {
    background-color: #c5710b;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .fila-servicios {
        flex-direction: column;
        align-items: center;
    }
}

/* === FIN TARJETAS PARA SERVICIOS === */

/* aqui todo lo que sea de texto menos la bienvenida*/
.linea-hr {
    width: 350px;
    /* Ancho deseado de la línea */
    height: 5px;
    /* Grosor de la línea */
    background: linear-gradient(to right,
            transparent 0%,
            rgb(0, 64, 128) 50%,
            transparent 100%);
    /* background: linear-gradient(to right, transparent 0%, black 50%, transparent 100%);*/
    margin: 0 auto;
    /* Centra horizontalmente */
    /* display: block;  Opcional, si el elemento no es un bloque */
    margin-bottom: 3%;
}


/* En pantallas pequeñas, muestra el salto */
@media (max-width: 768px) {
    .linea-hr {
        display: none;
        /* O display: block si es el caso */
    }
}


.contenido-centrado {
    text-align: center;
    margin-top: 10px;
    animation: fadeIn 2s ease-in-out;
    margin-bottom: 1px;
}

.contenido-left {
    text-align: left;
    margin-top: 20px;
    animation: fadeIn 2s ease-in-out;
}

.contenido-justify {
    text-align: justify;
    margin-top: 20px;
    animation: fadeIn 2s ease-in-out;
    margin-left: 20px;
    margin-right: 20px;
}

.contenido-centrado h2 {
    font-size: 32px;
    /*color: #2c3e50;*/
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.contenido-centrado h3 {
    font-size: 24px;
    /*color: #2c3e50;*/
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    line-height: 1px;
}

.contenido-centrado p {
    font-size: 20px;
    /*color: #34495e;*/
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 20px;
}

.negrita {
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === EMPIEZA STACK DE HERRAMIENTAS  === */
.contenedor-tools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 60px;
    height: auto;
    /* 40px a izquierda y derecha */
    /*  max-width: 100%;
    padding: 10px;*/
    box-sizing: border-box;
    padding-bottom: 30px;
}

.tools {
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    height: 200px;
}

.tools.visible {
    transform: translateX(0);
    opacity: 1;
}

.tools:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.imagen-tools {
    width: auto;
    height: 200px;
    overflow: hidden;
    object-fit: contain;
    margin: 0 auto;
}

.imagen-tools img {
    width: 300px;
    max-width: 100%;
    border-radius: 15px;
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);*/
    transition: transform 0.5s ease;
    margin: 0 auto;
    display: flex;
    object-fit: contain;
    margin-bottom: 16px;
}

h3 {
    margin: 15px;
    font-size: 1.2em;
}

p {
    margin: 0 15px 15px;
    font-size: 0.95em;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .contenedor-tools {
        flex-direction: column;
        align-items: center;
    }

    .imagen-tools img {
        margin-bottom: 20px;
        /* Ajusta según lo que necesites */
    }

    /*    @media (prefers-color-scheme: dark) {*/
    /*.imagen-tools img {*/
    /* filter: brightness(1.2);*/
    /* Aumenta visibilidad  }*/
}

/* === FINALIZA HERRAMIENTAS DE SOPORTE  === */
.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animación base */
.animatable {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

/* Cuando está visible */
.animatable.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes específicas */
.tools.animatable {
    transform: translateX(100px);
}

.tools.animatable.visible {
    transform: translateX(0);
}

.servicios.animatable {
    transform: scale(0.8);
}

.servicios.animatable.visible {
    transform: scale(1);
}

/* INICIA MENU LATERAL */
.menu-lateral {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 10px;
    z-index: 1000;
}

.boton {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /*  background: linear-gradient(to left, rgb(0, 26, 52), rgb(40, 72, 142));*/
    background-color: #c5710b;
    color: white;
    text-decoration: none;
    border-radius: 0%;
    font-size: 20px;
    /* transition: background-color 0.3s;*/
}

.boton:hover {
    background-color: #078017;
    color: white;
}

/* Tooltip */
.tooltiptext {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    z-index: 1;
}

.boton:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Flechita del tooltip */
.tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.boton.messenger i {
    color: #0084FF;
    background-color: white;
    /* Color oficial de Messenger */
}

/* Responsive: en pantallas pequeñas, mostrar tooltip debajo */
@media (max-width: 600px) {
    .tooltiptext {
        right: auto;
        left: 50%;
        top: 60px;
        transform: translateX(-50%);
    }

    .tooltiptext::after {
        left: 50%;
        top: -12px;
        margin-left: -6px;
        border-color: #333 transparent transparent transparent;
    }
}

/* FIN MENU LATERAL */

/* === INICIA BOTON IR ARRIBA === */
#btnSubir {
    position: fixed;
    bottom: 30px;
    right: 5px;
    padding: 10px 15px;
    font-size: 14px;
    background: linear-gradient(to left, rgb(0, 26, 52), rgb(40, 72, 142));
    /*background-color: #007BFF;*/
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin-bottom: 3%;
}

#btnSubir.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#btnSubir:hover {
    background-color: #0056b3;
}


@media (max-width: 768px) {
    #btnSubir {
        margin-bottom: 20%;
        background-color: #853017;

    }
}

/* === FIN BOTON IR ARRIBA === */


/* INICIA BOTON REGRESAR */
header.boton {
    width: 100%;
    height: 60px;
    background-color: #f4f4f4;
    position: sticky;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-regresar {
    width: 50px;
    height: 50px;
    background-color: transparent;
    color: inherit;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    min-width: unset;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-regresar:hover {
    zoom: 2;
    transform: translate(-50%, -50%) scale(1.1);
}

.btn-regresar:active {
    /*background-color: #004578;*/
    transform: translate(-50%, -50%) scale(0.95);
}

.btn-regresar svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

main {
    padding: 20px;
}

@media (max-width: 768px) {
    .btn-regresar {
        display: none;
        /* O display: block si es el caso */
    }
}

/* FIN BOTON REGRESAR */
/********* empieza tarjetas de nosotros **********/
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px;
}

.card {
    background: inherit;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    width: 300px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
    color: #0078D7;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    margin-bottom: 8px;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación de escala suave */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

/* Aplicar animaciones */
.intro-box {
    animation: fadeInUp 1s ease-out;
}

.card {
    animation: fadeInUp 1s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.card:hover {
    animation: pulse 0.6s ease-in-out;
}