body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* ======== HEADER ======== */
header {
    background-color: #0044cc;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.branding img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

/* ======== SECCIONES PRINCIPALES ======== */
.download-section, .tutorials {
    padding: 40px 20px;
    text-align: center;
}

/* ======== CAJAS DE DESCARGA ======== */
.download-platform {
    background: #fff;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

/* ======== TITULOS ======== */
h2 {
    color: #0044cc;
}

/* ======== VIDEOS ======== */
.video-tutorial {
    margin: 20px auto;
    max-width: 600px;
}

video {
    width: 100%;
    border-radius: 10px;
}

/* ======== WHATSAPP CONTACTO ======== */
.whatsapp-contact {
    background: #25D366;
    color: white;
    text-align: center;
    padding: 15px;
    margin: 20px auto;
    border-radius: 5px;
    max-width: 600px;
}

.whatsapp-contact a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    background: #128C7E;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.3s;
}

.whatsapp-contact a:hover {
    background: #0d6e5e;
}

/* ======== FOOTER ======== */
footer {
    background-color: #0044cc;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ======== ESTILO PARA LA IMAGEN GRANDE ======== */
.imagen-grande {
    width: 500px !important;  /* Tamaño reducido */
    height: auto !important;
    display: block !important;
    margin: auto !important;
}

.downloader-info {
    margin-bottom: 20px; /* Ajusta el espacio según lo necesites */
}


/* ======== OPTIMIZACIÓN PARA MÓVILES ======== */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 15px;
    }

    .branding img {
        max-width: 150px;
    }

    .whatsapp-contact {
        padding: 10px;
        font-size: 14px;
    }

    .whatsapp-contact a {
        font-size: 14px;
        padding: 8px 15px;
    }

    .download-section, .tutorials {
        padding: 20px 10px;
    }

    .download-platform {
        max-width: 90%;
        padding: 15px;
    }

    .video-tutorial {
        max-width: 100%;
    }

    .video-container {
        margin: 15px auto;
        max-width: 600px;
        text-align: center;
    }

    .video-container video {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .btn-download-ios {
        display: inline-block;
        background-color: #007AFF; /* Azul de Apple */
        color: white;
        font-size: 18px;
        padding: 12px 20px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: bold;
        text-align: center;
        margin-top: 10px;
        transition: background-color 0.3s, transform 0.2s;
    }

    .btn-download-ios:hover {
        background-color: #005BBB;
        transform: scale(1.05);
    }

    .app-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 15px 0;
    }

    .app-icon {
        width: 80px; /* Tamaño pequeño */
        height: auto;
        border-radius: 10px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }

    .download-platform {
        text-align: center;
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        max-width: 600px;
        margin: auto;
    }

    .app-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        align-items: center;
        margin: 20px 0;
    }

    .app-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 150px; /* Ancho máximo para cada app */
    }

    .app-icon {
        max-height: 100px; /* Ajuste del tamaño de la imagen */
        width: auto;
    }

    .app-item p {
        margin-top: 5px;
        font-weight: bold;
        font-size: 14px;
        color: #333;
    }

    /* Estilo del botón */
    .btn-action {
        display: inline-block;
        background-color: #008000; /* Color verde como el otro botón */
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        padding: 12px 20px;
        border-radius: 5px;
        margin-top: 15px;
        transition: background 0.3s ease;
    }

    .btn-action:hover {
        background-color: #006400; /* Verde más oscuro al pasar el mouse */
    }

    /* Ajuste adicional para pantallas pequeñas */
    .imagen-grande {
        width: 80px !important; /* Aún más pequeña en móviles */
    }

    footer {
        padding: 15px;
        font-size: 14px;
    }
}
