body {
    font-family: Arial, sans-serif;
    margin: 0;
    scroll-behavior: smooth;
    color: #333;
}

h1, h2 {
    color: #0288d1;
}

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

.btn-demo {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #0288d1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}


/* Para ofuscación */
.obf {
    unicode-bidi: bidi-override;
    direction: rtl;
}

.oba:after {
    content: '@';
}

.obd:after {
    content: '.';
}


/* Menú fijo de la cabecera */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center; /* Esto centra el nav */
    padding: 10px 20px;
    z-index: 1000;
}

.logo-container {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    margin-right: 10px;
}

.program-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0288d1;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
}

nav a.active,
nav a:hover {
    color: #fff;
    background-color: #02669b;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}


/* Secciones - Común a todas las secciones */
section {
    padding: 80px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-content {
    max-width: 1200px;
    margin: auto;
    width: 100%;
}


/* Sección Hero */
.hero {
    height: 100vh;
    background: url('images/cube.jpg') center/cover no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important; /* Esto la deja “quieta” */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;            
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

.hero-overlay h1 {
    font-size: 3rem;
    color: #0288d1;
}


/* Sección Qué es (sobre el programa) */
.que-es-section {
    background: url('images/cube-3.jpg') center/cover no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important; /* Esto la deja “quieta” */
    padding: 80px 20px;
    text-align: center;
}

.que-es-overlay {
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    text-align: left;
    border-radius: 8px;
}


/* Sección Funcionalidades/features de la aplicación */
.features-section {
    background: url('images/cube-2.jpg') center/cover no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important; /* Esto la deja “quieta” */
    padding: 80px 20px;
    text-align: center;
}

.features-section h2 {
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card-feature {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex: 1 1 300px;
    max-width: 320px;
    transition: transform 0.3s ease;
}

.card-feature img {
    width: 100%;
    height: auto;
    display: block;
}

.card-feature h3 {
    margin: 15px 0 10px;
    font-size: 1.2rem;
    color: #0288d1;
}

.card-feature p {
    font-size: 0.95rem;
    padding: 0 15px 20px;
    color: #555;
}

.card-feature:hover {
    transform: translateY(-5px);
}

.card-feature.center {
    transform: scale(1.1);
    z-index: 2;
}


/* Sección Sobre la empresa */
.empresa-section {
    background: url('images/building.jpg') center/cover no-repeat !important;
    padding: 80px 20px;
    text-align: center;
}


/* Sección de Solicitar Demo (contacto) */
.contacto-section {
    background: url('images/demo.jpg') center/cover no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important; /* Esto la deja “quieta” */
    padding: 80px 20px;
    text-align: center;
}

/* CTA (Cuadro con datos para solicitar demo) */
.cta {
    background: #0288d1;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    margin-top: 20px;
}

.cta a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}


/* Footer */
footer {
    background: #f5f5f5;
    color: #555;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}
