/* Paleta de colores */
:root {
    --primary-blue: #1E3A8A;
    --secondary-blue: #3B82F6;
    --background-white: #FFFFFF;
    --background-gray: #F3F4F6;
    --accent-yellow: #FACC15;
    --text-gray: #4B5563;
}

/* Aplicación de colores */
body {
    background-color: var(--background-white);
    color: var(--text-gray);
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.header {
    background: linear-gradient(to bottom, rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.9)), 
                url('../img/header.jpg') no-repeat center center/cover;
    background-blend-mode: color; /* Mezcla la imagen con el color */

    position: relative;
    color: white;
    text-align: center;
    padding: 60px 20px;

    /*background-color: var(--primary-blue);
    color: var(--background-white);
    text-align: center;
    padding: 60px 20px;*/
}

.logo-image {
    max-height: 50px; /* Ajusta este valor según el tamaño de tu logo */
    display: block;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

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

.hero {
    padding: 40px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-title span {
    color: #ffd700;
}

.cta-button {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: var(--secondary-blue);
    color: var(--background-white);
}

.section {
    background-color: var(--background-gray);
    padding: 60px 20px;
    text-align: center;
}

.features-container, .product-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.product-image {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
}

.product-details {
    max-width: 400px;
    text-align: left;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.demo-form input, .demo-form button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.demo-form button {
    background: #2563eb;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.demo-form button:hover {
    background: #1e40af;
}

.footer {
    background-color: var(--primary-blue);
    color: var(--background-white);
    text-align: center;
    padding: 20px;
}

/* Sección de video */
.video-section {
    background-color: var(--background-gray); /* Color de fondo neutro */
    padding: 60px 20px;
    text-align: center;
}

.video-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.video-description {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    outline: none;
    background-color: black;
}
/* Sección "Sobre Nosotros" */
.about-section {
    background-color: var(--background-gray); /* Fondo neutro */
    padding: 60px 20px;
    text-align: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-title {
    font-size: 2rem;
    color: var(--primary-blue); /* Azul de la paleta */
    margin-bottom: 20px;
}

.about-description {
    font-size: 1rem;
    color: var(--text-gray); /* Gris oscuro */
    margin-bottom: 40px;
    line-height: 1.6;
}

.about-details {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-card {
    background-color: white; /* Tarjetas con fondo blanco */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    max-width: 300px;
    flex: 1 1 300px; /* Asegura que sean responsivas */
}

.about-card h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Banner del Diagnóstico ISO */
.diagnostico-banner {
    background: linear-gradient(to right, #1E3A8A, #3B82F6); /* Azul degradado */
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 40px 0;
    /*border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);*/
}

.diagnostico-content {
    max-width: 800px;
    margin: 0 auto;
}

.diagnostico-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.diagnostico-text {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.diagnostico-button {
    background-color: #FACC15; /* Amarillo destacado */
    color: #1E3A8A; /* Azul oscuro para contraste */
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.diagnostico-button:hover {
    background-color: #FFD700; /* Amarillo más brillante */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* IMC */
.color-indicator-list ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* Estilo para cada elemento de la lista */
.color-indicator-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #333;
}

/* Estilo para los cuadros de color */
.color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

/* Colores específicos */
.color-box.red {
    background-color: #ff4d4d; /* Rojo */
}

.color-box.yellow {
    background-color: #ffd700; /* Amarillo */
}

.color-box.green {
    background-color: #4caf50; /* Verde */
}

/* Descripción */
.description {
    font-size: 1rem;
    color: #333;
}